23 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_FDMI 68 return M0_RC(-EINVAL);
100 return M0_RC(-EINVAL);
103 M0_CONF_ROOT_FDMI_FLT_GRPS_FID);
106 for (flt_grp_tmp =
NULL;
111 if (
grp->ffg_rec_type == rec_type_id) {
112 flt_grp = flt_grp_tmp;
118 if (flt_grp !=
NULL) {
120 M0_CONF_FDMI_FGRP_FILTERS_FID);
124 rc = (
rc < 0) ?
rc : -ENOENT;
177 #undef M0_TRACE_SUBSYSTEM
struct m0_conf_fdmi_filter * fci_cur_flt
const struct m0_filterc_ops filterc_def_ops
static struct m0_sm_group * grp
static int m0_filterc_open(struct m0_filterc_ctx *ctx, enum m0_fdmi_rec_type_id rec_type_id, struct m0_filterc_iter *iter)
struct m0_filterc_ctx * fci_filterc_ctx
static int open_filter_group(struct m0_filterc_ctx *ctx, enum m0_fdmi_rec_type_id rec_type_id, struct m0_conf_obj **out)
M0_INTERNAL struct m0_confc * m0_reqh2confc(struct m0_reqh *reqh)
M0_INTERNAL void m0_filterc_ctx_init(struct m0_filterc_ctx *ctx, const struct m0_filterc_ops *ops)
M0_INTERNAL void m0_filterc_ctx_fini(struct m0_filterc_ctx *ctx)
#define M0_CONF_CAST(ptr, type)
#define m0_confc_open_sync(result, origin,...)
static struct fdmi_ctx ctx
int(* fco_start)(struct m0_filterc_ctx *ctx, struct m0_reqh *reqh)
M0_INTERNAL void m0_confc_close(struct m0_conf_obj *obj)
static void m0_filterc_close(struct m0_filterc_iter *iter)
struct m0_conf_obj * fci_dir
M0_INTERNAL int m0_confc_readdir_sync(struct m0_conf_obj *dir, struct m0_conf_obj **pptr)
static void m0_filterc_stop(struct m0_filterc_ctx *ctx)
static int m0_filterc_get_next(struct m0_filterc_iter *iter, struct m0_conf_fdmi_filter **out)
static int m0_filterc_start(struct m0_filterc_ctx *ctx, struct m0_reqh *reqh)