Lines Matching refs:cb_arg

115 	void					*cb_arg;
322 void *cb_arg;
520 _init_write_super_cpl(void *cb_arg, int reduce_errno)
522 struct reduce_init_load_ctx *init_ctx = cb_arg;
540 init_ctx->cb_fn(init_ctx->cb_arg, init_ctx->vol, rc);
553 init_ctx->cb_fn(init_ctx->cb_arg, NULL, rc);
558 _init_write_path_cpl(void *cb_arg, int reduce_errno)
560 struct reduce_init_load_ctx *init_ctx = cb_arg;
565 _init_write_super_cpl(cb_arg, reduce_errno);
572 init_ctx->backing_cb_args.cb_arg = init_ctx;
626 spdk_reduce_vol_op_with_handle_complete cb_fn, void *cb_arg)
648 cb_fn(cb_arg, NULL, -EINVAL);
655 cb_fn(cb_arg, NULL, rc);
663 cb_fn(cb_arg, NULL, -EINVAL);
669 cb_fn(cb_arg, NULL, -EINVAL);
675 cb_fn(cb_arg, NULL, -ENOMEM);
688 cb_fn(cb_arg, NULL, -ENOMEM);
695 cb_fn(cb_arg, NULL, -ENOMEM);
702 cb_fn(cb_arg, NULL, -ENOMEM);
711 cb_fn(cb_arg, NULL, -ENOMEM);
731 cb_fn(cb_arg, NULL, -errno);
739 cb_fn(cb_arg, NULL, -ENOMEM);
753 cb_fn(cb_arg, NULL, rc);
773 init_ctx->cb_arg = cb_arg;
779 init_ctx->backing_cb_args.cb_arg = init_ctx;
796 static void destroy_load_cb(void *cb_arg, struct spdk_reduce_vol *vol, int reduce_errno);
799 _load_read_super_and_path_cpl(void *cb_arg, int reduce_errno)
801 struct reduce_init_load_ctx *load_ctx = cb_arg;
835 load_ctx->cb_fn(load_ctx->cb_arg, vol, 0);
897 load_ctx->cb_fn(load_ctx->cb_arg, vol, 0);
905 load_ctx->cb_fn(load_ctx->cb_arg, NULL, rc);
911 spdk_reduce_vol_op_with_handle_complete cb_fn, void *cb_arg)
919 cb_fn(cb_arg, NULL, -EINVAL);
925 cb_fn(cb_arg, NULL, -ENOMEM);
939 cb_fn(cb_arg, NULL, -ENOMEM);
948 cb_fn(cb_arg, NULL, -ENOMEM);
955 cb_fn(cb_arg, NULL, -ENOMEM);
965 cb_fn(cb_arg, NULL, -ENOMEM);
971 load_ctx->cb_arg = cb_arg;
987 load_ctx->backing_cb_args.cb_arg = load_ctx;
993 spdk_reduce_vol_op_complete cb_fn, void *cb_arg)
998 cb_fn(cb_arg, -EINVAL);
1007 cb_fn(cb_arg, 0);
1012 void *cb_arg;
1023 destroy_unload_cpl(void *cb_arg, int reduce_errno)
1025 struct reduce_destroy_ctx *destroy_ctx = cb_arg;
1038 destroy_ctx->cb_fn(destroy_ctx->cb_arg, destroy_ctx->reduce_errno);
1045 _destroy_zero_super_cpl(void *cb_arg, int reduce_errno)
1047 struct reduce_destroy_ctx *destroy_ctx = cb_arg;
1055 destroy_load_cb(void *cb_arg, struct spdk_reduce_vol *vol, int reduce_errno)
1057 struct reduce_destroy_ctx *destroy_ctx = cb_arg;
1061 destroy_ctx->cb_fn(destroy_ctx->cb_arg, reduce_errno);
1072 destroy_ctx->backing_cb_args.cb_arg = destroy_ctx;
1087 spdk_reduce_vol_op_complete cb_fn, void *cb_arg)
1094 cb_fn(cb_arg, -ENOMEM);
1101 cb_fn(cb_arg, -ENOMEM);
1112 cb_fn(cb_arg, -ENOMEM);
1116 destroy_ctx->cb_arg = cb_arg;
1140 req->cb_fn(req->cb_arg, reduce_errno);
1273 req->backing_cb_args.cb_arg = req;
1346 req->backing_cb_args.cb_arg = req;
1474 req->backing_cb_args.cb_arg = req;
1488 req->backing_cb_args.cb_arg = req;
1555 req->backing_cb_args.cb_arg = req;
1836 spdk_reduce_vol_op_complete cb_fn, void *cb_arg)
1844 cb_fn(cb_arg, 0);
1849 cb_fn(cb_arg, -EINVAL);
1854 cb_fn(cb_arg, -EINVAL);
1870 cb_fn(cb_arg, 0);
1876 cb_fn(cb_arg, -ENOMEM);
1890 req->cb_arg = cb_arg;
1926 spdk_reduce_vol_op_complete cb_fn, void *cb_arg)
1933 cb_fn(cb_arg, 0);
1938 cb_fn(cb_arg, -EINVAL);
1943 cb_fn(cb_arg, -EINVAL);
1952 cb_fn(cb_arg, -ENOMEM);
1966 req->cb_arg = cb_arg;
1997 spdk_reduce_vol_op_complete cb_fn, void *cb_arg)
2004 cb_fn(cb_arg, -EINVAL);
2015 cb_fn(cb_arg, 0);
2021 cb_fn(cb_arg, -ENOMEM);
2035 req->cb_arg = cb_arg;
2049 void *cb_arg;
2057 ctx->cb_fn(ctx->cb_arg, reduce_errno);
2063 spdk_reduce_vol_op_complete cb_fn, void *cb_arg)
2069 cb_fn(cb_arg, -ENOMEM);
2077 ctx->cb_arg = cb_arg;
2086 spdk_reduce_vol_op_complete cb_fn, void *cb_arg)
2089 _reduce_vol_unmap_partial_chunk(vol, offset, length, cb_fn, cb_arg);
2091 _reduce_vol_unmap_full_chunk(vol, offset, length, cb_fn, cb_arg);
2093 cb_fn(cb_arg, -EINVAL);