Searched refs:mh (Results 1 – 8 of 8) sorted by relevance
/fs/dlm/ |
D | rcom.c | 36 struct dlm_mhandle *mh; in create_rcom() local 40 mh = dlm_lowcomms_get_buffer(to_nodeid, mb_len, GFP_NOFS, &mb); in create_rcom() 41 if (!mh) { in create_rcom() 62 *mh_ret = mh; in create_rcom() 67 static void send_rcom(struct dlm_ls *ls, struct dlm_mhandle *mh, in send_rcom() argument 71 dlm_lowcomms_commit_buffer(mh); in send_rcom() 147 struct dlm_mhandle *mh; in dlm_rcom_status() local 159 sizeof(struct rcom_status), &rc, &mh); in dlm_rcom_status() 168 send_rcom(ls, mh, rc); in dlm_rcom_status() 194 struct dlm_mhandle *mh; in receive_rcom_status() local [all …]
|
D | lock.c | 3532 struct dlm_mhandle *mh; in _create_message() local 3539 mh = dlm_lowcomms_get_buffer(to_nodeid, mb_len, GFP_NOFS, &mb); in _create_message() 3540 if (!mh) in _create_message() 3555 *mh_ret = mh; in _create_message() 3590 static int send_message(struct dlm_mhandle *mh, struct dlm_message *ms) in send_message() argument 3593 dlm_lowcomms_commit_buffer(mh); in send_message() 3644 struct dlm_mhandle *mh; in send_common() local 3653 error = create_message(r, lkb, to_nodeid, mstype, &ms, &mh); in send_common() 3659 error = send_message(mh, ms); in send_common() 3709 struct dlm_mhandle *mh; in send_grant() local [all …]
|
D | lowcomms.h | 22 void dlm_lowcomms_commit_buffer(void *mh);
|
D | lowcomms.c | 1446 void dlm_lowcomms_commit_buffer(void *mh) in dlm_lowcomms_commit_buffer() argument 1448 struct writequeue_entry *e = (struct writequeue_entry *)mh; in dlm_lowcomms_commit_buffer()
|
/fs/gfs2/ |
D | util.h | 86 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_meta_check() local 87 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_meta_check() 107 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_check_i() local 108 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_metatype_check_i() 109 u16 t = be32_to_cpu(mh->mh_type); in gfs2_metatype_check_i() 125 struct gfs2_meta_header *mh; in gfs2_metatype_set() local 126 mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_set() 127 mh->mh_type = cpu_to_be32(type); in gfs2_metatype_set() 128 mh->mh_format = cpu_to_be32(format); in gfs2_metatype_set()
|
D | trans.c | 199 struct gfs2_meta_header *mh; in meta_lo_add() local 209 mh = (struct gfs2_meta_header *)bd->bd_bh->b_data; in meta_lo_add() 210 if (unlikely(mh->mh_magic != cpu_to_be32(GFS2_MAGIC))) { in meta_lo_add() 220 mh->__pad0 = cpu_to_be64(0); in meta_lo_add() 221 mh->mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in meta_lo_add()
|
D | lops.c | 616 struct gfs2_meta_header *mh; in revoke_lo_before_commit() local 638 mh = page_address(page); in revoke_lo_before_commit() 639 clear_page(mh); in revoke_lo_before_commit() 640 mh->mh_magic = cpu_to_be32(GFS2_MAGIC); in revoke_lo_before_commit() 641 mh->mh_type = cpu_to_be32(GFS2_METATYPE_LB); in revoke_lo_before_commit() 642 mh->mh_format = cpu_to_be32(GFS2_FORMAT_LB); in revoke_lo_before_commit()
|
D | meta_io.c | 164 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in meta_prep_new() local 171 mh->mh_magic = cpu_to_be32(GFS2_MAGIC); in meta_prep_new()
|