Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/gfs2/
H A 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()
H A 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 …]
H A 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 …]
H A 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()
H A Dops_fstype.c539 if (sdp->sd_lockstruct.ls_ops->lm_first_done) in gfs2_others_may_mount()
540 sdp->sd_lockstruct.ls_ops->lm_first_done(sdp); in gfs2_others_may_mount()
748 if (sdp->sd_lockstruct.ls_jid >= gfs2_jindex_size(sdp)) { in init_journal()
750 sdp->sd_lockstruct.ls_jid); in init_journal()
756 sdp->sd_jdesc = gfs2_jdesc_find(sdp, sdp->sd_lockstruct.ls_jid); in init_journal()
758 error = gfs2_glock_nq_num(sdp, sdp->sd_lockstruct.ls_jid, in init_journal()
799 if (sdp->sd_lockstruct.ls_first) { in init_journal()
983 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_lm_mount()
1055 const struct lm_lockops *lm = sdp->sd_lockstruct.ls_ops; in gfs2_lm_unmount()
1062 if (sdp->sd_lockstruct.ls_ops->lm_mount == NULL) in wait_on_journal()
[all …]
H A Ddentry.c58 if (sdp->sd_lockstruct.ls_ops->lm_mount == NULL) { in gfs2_drevalidate()
H A 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()
H A Dincore.h739 struct lm_lockstruct sd_lockstruct; member
H A Dfile.c1248 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_lock()
H A Drgrp.c957 for (i = 0; i < sdp->sd_lockstruct.ls_jid; i++) in set_rgrp_preferences()