Searched refs:mh (Results 1 – 7 of 7) sorted by relevance
/fs/dlm/ |
D | rcom.c | 37 struct dlm_mhandle *mh; in create_rcom() local 41 mh = dlm_lowcomms_get_buffer(to_nodeid, mb_len, ls->ls_allocation, &mb); in create_rcom() 42 if (!mh) { in create_rcom() 63 *mh_ret = mh; in create_rcom() 68 static void send_rcom(struct dlm_ls *ls, struct dlm_mhandle *mh, in send_rcom() argument 72 dlm_lowcomms_commit_buffer(mh); in send_rcom() 133 struct dlm_mhandle *mh; in dlm_rcom_status() local 144 error = create_rcom(ls, nodeid, DLM_RCOM_STATUS, 0, &rc, &mh); in dlm_rcom_status() 151 send_rcom(ls, mh, rc); in dlm_rcom_status() 174 struct dlm_mhandle *mh; in receive_rcom_status() local [all …]
|
D | lock.c | 2641 struct dlm_mhandle *mh; in _create_message() local 2648 mh = dlm_lowcomms_get_buffer(to_nodeid, mb_len, ls->ls_allocation, &mb); in _create_message() 2649 if (!mh) in _create_message() 2664 *mh_ret = mh; in _create_message() 2699 static int send_message(struct dlm_mhandle *mh, struct dlm_message *ms) in send_message() argument 2702 dlm_lowcomms_commit_buffer(mh); in send_message() 2753 struct dlm_mhandle *mh; in send_common() local 2762 error = create_message(r, lkb, to_nodeid, mstype, &ms, &mh); in send_common() 2768 error = send_message(mh, ms); in send_common() 2818 struct dlm_mhandle *mh; in send_grant() local [all …]
|
D | lowcomms.h | 21 void dlm_lowcomms_commit_buffer(void *mh);
|
D | lowcomms.c | 1222 void dlm_lowcomms_commit_buffer(void *mh) in dlm_lowcomms_commit_buffer() argument 1224 struct writequeue_entry *e = (struct writequeue_entry *)mh; in dlm_lowcomms_commit_buffer()
|
/fs/gfs2/ |
D | util.h | 85 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_meta_check_i() local 86 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_meta_check_i() 108 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_check_i() local 109 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_metatype_check_i() 110 u16 t = be32_to_cpu(mh->mh_type); in gfs2_metatype_check_i() 126 struct gfs2_meta_header *mh; in gfs2_metatype_set() local 127 mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_set() 128 mh->mh_type = cpu_to_be32(type); in gfs2_metatype_set() 129 mh->mh_format = cpu_to_be32(format); in gfs2_metatype_set()
|
D | lops.c | 323 struct gfs2_meta_header *mh; in revoke_lo_before_commit() local 348 mh = (struct gfs2_meta_header *)bh->b_data; in revoke_lo_before_commit() 349 mh->mh_magic = cpu_to_be32(GFS2_MAGIC); in revoke_lo_before_commit() 350 mh->mh_type = cpu_to_be32(GFS2_METATYPE_LB); in revoke_lo_before_commit() 351 mh->mh_format = cpu_to_be32(GFS2_FORMAT_LB); in revoke_lo_before_commit()
|
D | meta_io.c | 187 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in meta_prep_new() local 194 mh->mh_magic = cpu_to_be32(GFS2_MAGIC); in meta_prep_new()
|