Home
last modified time | relevance | path

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

/Linux-v5.10/fs/gfs2/
Dutil.c123 if (sdp->sd_lockstruct.ls_ops->lm_lock == NULL) { /* lock_nolock */ in signal_our_withdraw()
180 sdp->sd_lockstruct.ls_jid); in signal_our_withdraw()
201 "own journal jid %d.\n", sdp->sd_lockstruct.ls_jid); in signal_our_withdraw()
204 sdp->sd_lockstruct.ls_jid); in signal_our_withdraw()
229 sdp->sd_lockstruct.ls_jid, PTR_ERR(inode)); in signal_our_withdraw()
243 sdp->sd_lockstruct.ls_jid); in signal_our_withdraw()
248 sdp->sd_lockstruct.ls_jid); in signal_our_withdraw()
251 "mount.\n", sdp->sd_lockstruct.ls_jid); in signal_our_withdraw()
275 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_withdraw()
298 if (!strcmp(sdp->sd_lockstruct.ls_ops->lm_proto_name, "lock_dlm")) in gfs2_withdraw()
Dlock_dlm.c257 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gdlm_lock()
286 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gdlm_put_lock()
323 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gdlm_cancel()
502 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_unlock()
525 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_lock()
555 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_unlock()
561 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_lock()
568 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in control_unlock()
574 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in control_lock()
589 if (jd->jd_jid == sdp->sd_lockstruct.ls_jid) in remote_withdraw()
[all …]
Dsys.c322 const struct lm_lockops *ops = sdp->sd_lockstruct.ls_ops; in proto_name_show()
328 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in block_show()
340 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in block_store()
375 !strcmp(sdp->sd_lockstruct.ls_ops->lm_proto_name, "lock_dlm")) in wdack_store()
384 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in lkfirst_show()
406 if (sdp->sd_lockstruct.ls_ops->lm_mount == NULL) in lkfirst_store()
408 sdp->sd_lockstruct.ls_first = first; in lkfirst_store()
417 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in first_done_show()
475 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in recover_done_show()
481 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in recover_status_show()
[all …]
Drecovery.c273 if (jd->jd_jid == sdp->sd_lockstruct.ls_jid) { in clean_journal()
286 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_recovery_done()
295 if (sdp->sd_lockstruct.ls_ops->lm_recovery_result) in gfs2_recovery_done()
296 sdp->sd_lockstruct.ls_ops->lm_recovery_result(sdp, jid, message); in gfs2_recovery_done()
343 if (jd->jd_jid == sdp->sd_lockstruct.ls_jid) { in update_statfs_inode()
423 if (jd->jd_jid != sdp->sd_lockstruct.ls_jid) { in gfs2_recover_func()
Dops_fstype.c534 if (sdp->sd_lockstruct.ls_ops->lm_first_done) in gfs2_others_may_mount()
535 sdp->sd_lockstruct.ls_ops->lm_first_done(sdp); in gfs2_others_may_mount()
741 if (sdp->sd_lockstruct.ls_jid >= gfs2_jindex_size(sdp)) { in init_journal()
743 sdp->sd_lockstruct.ls_jid); in init_journal()
749 sdp->sd_jdesc = gfs2_jdesc_find(sdp, sdp->sd_lockstruct.ls_jid); in init_journal()
751 error = gfs2_glock_nq_num(sdp, sdp->sd_lockstruct.ls_jid, in init_journal()
792 if (sdp->sd_lockstruct.ls_first) { in init_journal()
976 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_lm_mount()
1048 const struct lm_lockops *lm = sdp->sd_lockstruct.ls_ops; in gfs2_lm_unmount()
1055 if (sdp->sd_lockstruct.ls_ops->lm_mount == NULL) in wait_on_journal()
[all …]
Ddentry.c58 if (sdp->sd_lockstruct.ls_ops->lm_mount == NULL) { in gfs2_drevalidate()
Dglock.c280 sdp->sd_lockstruct.ls_ops->lm_put_lock(gl); in __gfs2_glock_put()
675 if (sdp->sd_lockstruct.ls_ops->lm_lock) { in do_xmote()
677 ret = sdp->sd_lockstruct.ls_ops->lm_lock(gl, target, lck_flags); in do_xmote()
1367 if (sdp->sd_lockstruct.ls_ops->lm_cancel) in add_to_queue()
1368 sdp->sd_lockstruct.ls_ops->lm_cancel(gl); in add_to_queue()
1708 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gfs2_glock_complete()
Dincore.h739 struct lm_lockstruct sd_lockstruct; member
Dfile.c1242 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_lock()
Drgrp.c955 for (i = 0; i < sdp->sd_lockstruct.ls_jid; i++) in set_rgrp_preferences()