23 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DIXCM 104 cp_fop =
M0_AMB(cp_fop, req_fop, cf_fop);
155 if (cp_fop ==
NULL) {
266 #undef M0_TRACE_SUBSYSTEM M0_INTERNAL void m0_cm_ag_id_copy(struct m0_cm_ag_id *dst, const struct m0_cm_ag_id *src)
M0_INTERNAL int m0_rpc_post(struct m0_rpc_item *item)
M0_INTERNAL void m0_fom_wakeup(struct m0_fom *fom)
M0_INTERNAL void m0_mutex_unlock(struct m0_mutex *mutex)
enum m0_rpc_item_priority ri_prio
#define M0_FOM_LONG_LOCK_RETURN(rc)
static int dixcp_to_dixcpx(struct m0_dix_cm_cp *dix_cp, struct m0_dix_cpx *dix_cpx)
struct m0_rpc_at_buf dcx_ab_key
bool m0_rpc_item_is_generic_reply_fop(const struct m0_rpc_item *item)
M0_INTERNAL int m0_dix_cm_cp_send(struct m0_cm_cp *cp, struct m0_fop_type *ft)
M0_INTERNAL struct m0_long_lock * m0_ctg_lock(struct m0_cas_ctg *ctg)
M0_INTERNAL void m0_fop_init(struct m0_fop *fop, struct m0_fop_type *fopt, void *data, void(*fop_release)(struct m0_ref *))
#define M0_LOG(level,...)
M0_INTERNAL void m0_rpc_at_init(struct m0_rpc_at_buf *ab)
struct m0_long_lock_link dc_meta_lock
static void dix_cp_reply_received(struct m0_rpc_item *item)
struct m0_cm_ag_id cag_id
M0_INTERNAL int m0_dix_cm_cp_send_wait(struct m0_cm_cp *cp)
void * m0_fop_data(const struct m0_fop *fop)
M0_INTERNAL int m0_rpc_at_add(struct m0_rpc_at_buf *ab, const struct m0_buf *buf, const struct m0_rpc_conn *conn)
M0_INTERNAL int m0_rpc_at_load(struct m0_rpc_at_buf *ab, struct m0_fom *fom, int next_phase)
M0_INTERNAL void m0_mutex_lock(struct m0_mutex *mutex)
static struct m0_rpc_item * item
struct m0_rpc_session * px_session
int32_t m0_rpc_item_generic_reply_rc(const struct m0_rpc_item *reply)
uint32_t dcx_ctg_op_flags
return M0_ERR(-EOPNOTSUPP)
M0_INTERNAL int m0_dix_cm_cp_recv_init(struct m0_cm_cp *cp)
#define M0_AMB(obj, ptr, field)
static struct m0_rpc_session session
M0_INTERNAL struct m0_cas_ctg * m0_ctg_meta(void)
M0_INTERNAL int m0_bitmap_onwire_init(struct m0_bitmap_onwire *ow_map, size_t nr)
struct m0_rpc_conn * px_conn
void m0_fom_phase_move(struct m0_fom *fom, int32_t rc, int phase)
struct m0_rpc_at_buf dcx_ab_val
const struct m0_cm_cp_ops * c_ops
struct m0_rpc_item * ri_reply
M0_INTERNAL struct m0_cm * cpfom2cm(struct m0_fom *fom)
struct m0_cm_aggr_group * c_ag
M0_INTERNAL int m0_fop_data_alloc(struct m0_fop *fop)
M0_INTERNAL void m0_buf_free(struct m0_buf *buf)
M0_INTERNAL void m0_fop_fini(struct m0_fop *fop)
M0_INTERNAL int m0_dix_cm_cp_recv_wait(struct m0_cm_cp *cp)
void(* rio_replied)(struct m0_rpc_item *item)
static const struct m0_rpc_item_ops dix_cp_item_ops
int32_t m0_rpc_item_error(const struct m0_rpc_item *item)
struct m0_cm_proxy * c_cm_proxy
struct m0_bitmap_onwire cpx_bm
void(* co_complete)(struct m0_cm_cp *cp)
#define M0_ALLOC_PTR(ptr)
const struct m0_rpc_item_ops * ri_ops
struct m0_rpc_session * ri_session
static void dix_cp_fop_release(struct m0_ref *ref)
struct m0_rpc_item * m0_fop_to_rpc_item(const struct m0_fop *fop)
M0_INTERNAL void m0_rpc_at_fini(struct m0_rpc_at_buf *ab)
void m0_fop_put_lock(struct m0_fop *fop)
static struct m0_fop * fop
struct m0_fop * m0_rpc_item_to_fop(const struct m0_rpc_item *item)
M0_INTERNAL int m0_dix_cm_cp_sw_check(struct m0_cm_cp *cp)
static struct m0_fop_type * ft[]
enum m0_cm_cp_priority c_prio
struct m0_fid dcx_ctg_fid
M0_INTERNAL bool m0_long_read_lock(struct m0_long_lock *lk, struct m0_long_lock_link *link, int next_phase)
void m0_fom_phase_set(struct m0_fom *fom, int phase)
M0_INTERNAL struct m0_dix_cm_cp * cp2dixcp(const struct m0_cm_cp *cp)
struct m0_cm_ag_id cpx_ag_id