Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/gfs2/
Dutil.c168 if (sdp->sd_lockstruct.ls_ops->lm_lock == NULL) { /* lock_nolock */ in signal_our_withdraw()
226 sdp->sd_lockstruct.ls_jid); in signal_our_withdraw()
247 "own journal jid %d.\n", sdp->sd_lockstruct.ls_jid); in signal_our_withdraw()
250 sdp->sd_lockstruct.ls_jid); in signal_our_withdraw()
275 sdp->sd_lockstruct.ls_jid, PTR_ERR(inode)); in signal_our_withdraw()
289 sdp->sd_lockstruct.ls_jid); in signal_our_withdraw()
294 sdp->sd_lockstruct.ls_jid); in signal_our_withdraw()
297 "mount.\n", sdp->sd_lockstruct.ls_jid); in signal_our_withdraw()
321 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_withdraw()
344 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()
324 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gdlm_cancel()
503 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_unlock()
526 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_lock()
556 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_unlock()
562 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_lock()
569 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in control_unlock()
575 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in control_lock()
590 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()
743 if (sdp->sd_lockstruct.ls_jid >= gfs2_jindex_size(sdp)) { in init_journal()
745 sdp->sd_lockstruct.ls_jid); in init_journal()
751 sdp->sd_jdesc = gfs2_jdesc_find(sdp, sdp->sd_lockstruct.ls_jid); in init_journal()
753 error = gfs2_glock_nq_num(sdp, sdp->sd_lockstruct.ls_jid, in init_journal()
794 if (sdp->sd_lockstruct.ls_first) { in init_journal()
978 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_lm_mount()
1050 const struct lm_lockops *lm = sdp->sd_lockstruct.ls_ops; in gfs2_lm_unmount()
1057 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()
693 if (sdp->sd_lockstruct.ls_ops->lm_lock) { in do_xmote()
695 ret = sdp->sd_lockstruct.ls_ops->lm_lock(gl, target, lck_flags); in do_xmote()
1385 if (sdp->sd_lockstruct.ls_ops->lm_cancel) in add_to_queue()
1386 sdp->sd_lockstruct.ls_ops->lm_cancel(gl); in add_to_queue()
1728 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gfs2_glock_complete()
Dincore.h739 struct lm_lockstruct sd_lockstruct; member
Dfile.c1245 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()