Home
last modified time | relevance | path

Searched refs:sd_lockstruct (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/fs/gfs2/
Dsys.c321 const struct lm_lockops *ops = sdp->sd_lockstruct.ls_ops; in proto_name_show()
327 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in block_show()
339 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in block_store()
374 !strcmp(sdp->sd_lockstruct.ls_ops->lm_proto_name, "lock_dlm")) in wdack_store()
383 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in lkfirst_show()
405 if (sdp->sd_lockstruct.ls_ops->lm_mount == NULL) in lkfirst_store()
407 sdp->sd_lockstruct.ls_first = first; in lkfirst_store()
416 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in first_done_show()
472 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in recover_done_show()
478 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in recover_status_show()
[all …]
Dlock_dlm.c253 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gdlm_lock()
282 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gdlm_put_lock()
319 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gdlm_cancel()
497 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_unlock()
520 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_lock()
550 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_unlock()
556 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_lock()
563 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in control_unlock()
569 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in control_lock()
577 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_control_func()
[all …]
Drecovery.c266 if (jd->jd_jid == sdp->sd_lockstruct.ls_jid) in clean_journal()
280 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_recovery_done()
289 if (sdp->sd_lockstruct.ls_ops->lm_recovery_result) in gfs2_recovery_done()
290 sdp->sd_lockstruct.ls_ops->lm_recovery_result(sdp, jid, message); in gfs2_recovery_done()
309 if (jd->jd_jid != sdp->sd_lockstruct.ls_jid) { in gfs2_recover_func()
Dops_fstype.c526 if (sdp->sd_lockstruct.ls_ops->lm_first_done) in gfs2_others_may_mount()
527 sdp->sd_lockstruct.ls_ops->lm_first_done(sdp); in gfs2_others_may_mount()
683 if (sdp->sd_lockstruct.ls_jid >= gfs2_jindex_size(sdp)) { in init_journal()
685 sdp->sd_lockstruct.ls_jid); in init_journal()
691 sdp->sd_jdesc = gfs2_jdesc_find(sdp, sdp->sd_lockstruct.ls_jid); in init_journal()
693 error = gfs2_glock_nq_num(sdp, sdp->sd_lockstruct.ls_jid, in init_journal()
727 if (sdp->sd_lockstruct.ls_first) { in init_journal()
936 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_lm_mount()
1008 const struct lm_lockops *lm = sdp->sd_lockstruct.ls_ops; in gfs2_lm_unmount()
1016 if (sdp->sd_lockstruct.ls_ops->lm_mount == NULL) in wait_on_journal()
[all …]
Dutil.c38 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_lm_withdraw()
64 if (!strcmp(sdp->sd_lockstruct.ls_ops->lm_proto_name, "lock_dlm")) in gfs2_lm_withdraw()
Ddentry.c58 if (sdp->sd_lockstruct.ls_ops->lm_mount == NULL) { in gfs2_drevalidate()
Dglock.c249 sdp->sd_lockstruct.ls_ops->lm_put_lock(gl); in __gfs2_glock_put()
578 if (sdp->sd_lockstruct.ls_ops->lm_lock) { in do_xmote()
580 ret = sdp->sd_lockstruct.ls_ops->lm_lock(gl, target, lck_flags); in do_xmote()
1160 if (sdp->sd_lockstruct.ls_ops->lm_cancel) in add_to_queue()
1161 sdp->sd_lockstruct.ls_ops->lm_cancel(gl); in add_to_queue()
1495 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gfs2_glock_complete()
Dincore.h722 struct lm_lockstruct sd_lockstruct; member
Dfile.c1171 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_lock()
Drgrp.c978 for (i = 0; i < sdp->sd_lockstruct.ls_jid; i++) in set_rgrp_preferences()