Home
last modified time | relevance | path

Searched refs:mh (Results 1 – 8 of 8) sorted by relevance

/fs/dlm/
Drcom.c34 struct dlm_mhandle *mh; in create_rcom() local
38 mh = dlm_lowcomms_get_buffer(to_nodeid, mb_len, GFP_NOFS, &mb); in create_rcom()
39 if (!mh) { in create_rcom()
60 *mh_ret = mh; in create_rcom()
65 static void send_rcom(struct dlm_ls *ls, struct dlm_mhandle *mh, in send_rcom() argument
69 dlm_lowcomms_commit_buffer(mh); in send_rcom()
145 struct dlm_mhandle *mh; in dlm_rcom_status() local
158 sizeof(struct rcom_status), &rc, &mh); in dlm_rcom_status()
167 send_rcom(ls, mh, rc); in dlm_rcom_status()
195 struct dlm_mhandle *mh; in receive_rcom_status() local
[all …]
Dlock.c3536 struct dlm_mhandle *mh; in _create_message() local
3543 mh = dlm_lowcomms_get_buffer(to_nodeid, mb_len, GFP_NOFS, &mb); in _create_message()
3544 if (!mh) in _create_message()
3559 *mh_ret = mh; in _create_message()
3594 static int send_message(struct dlm_mhandle *mh, struct dlm_message *ms) in send_message() argument
3597 dlm_lowcomms_commit_buffer(mh); in send_message()
3648 struct dlm_mhandle *mh; in send_common() local
3657 error = create_message(r, lkb, to_nodeid, mstype, &ms, &mh); in send_common()
3663 error = send_message(mh, ms); in send_common()
3713 struct dlm_mhandle *mh; in send_grant() local
[all …]
Dlowcomms.h20 void dlm_lowcomms_commit_buffer(void *mh);
Dlowcomms.c1464 void dlm_lowcomms_commit_buffer(void *mh) in dlm_lowcomms_commit_buffer() argument
1466 struct writequeue_entry *e = (struct writequeue_entry *)mh; in dlm_lowcomms_commit_buffer()
/fs/gfs2/
Dutil.h83 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_meta_check() local
84 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_meta_check()
104 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_check_i() local
105 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_metatype_check_i()
106 u16 t = be32_to_cpu(mh->mh_type); in gfs2_metatype_check_i()
122 struct gfs2_meta_header *mh; in gfs2_metatype_set() local
123 mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_set()
124 mh->mh_type = cpu_to_be32(type); in gfs2_metatype_set()
125 mh->mh_format = cpu_to_be32(format); in gfs2_metatype_set()
Dtrans.c194 struct gfs2_meta_header *mh; in gfs2_trans_add_meta() local
223 mh = (struct gfs2_meta_header *)bd->bd_bh->b_data; in gfs2_trans_add_meta()
224 if (unlikely(mh->mh_magic != cpu_to_be32(GFS2_MAGIC))) { in gfs2_trans_add_meta()
235 mh->__pad0 = cpu_to_be64(0); in gfs2_trans_add_meta()
236 mh->mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in gfs2_trans_add_meta()
Dlops.c783 struct gfs2_meta_header *mh = in buf_lo_scan_elements() local
786 if (mh->mh_type == cpu_to_be32(GFS2_METATYPE_RG)) { in buf_lo_scan_elements()
857 struct gfs2_meta_header *mh; in revoke_lo_before_commit() local
879 mh = page_address(page); in revoke_lo_before_commit()
880 clear_page(mh); in revoke_lo_before_commit()
881 mh->mh_magic = cpu_to_be32(GFS2_MAGIC); in revoke_lo_before_commit()
882 mh->mh_type = cpu_to_be32(GFS2_METATYPE_LB); in revoke_lo_before_commit()
883 mh->mh_format = cpu_to_be32(GFS2_FORMAT_LB); in revoke_lo_before_commit()
Dmeta_io.c160 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in meta_prep_new() local
167 mh->mh_magic = cpu_to_be32(GFS2_MAGIC); in meta_prep_new()