Lines Matching refs:jid
498 int gfs2_recover_set(struct gfs2_sbd *sdp, unsigned jid) in gfs2_recover_set() argument
517 if (sdp->sd_jdesc->jd_jid == jid && !sdp->sd_args.ar_spectator) in gfs2_recover_set()
521 if (jd->jd_jid != jid && !sdp->sd_args.ar_spectator) in gfs2_recover_set()
533 unsigned jid; in recover_store() local
536 rv = sscanf(buf, "%u", &jid); in recover_store()
545 rv = gfs2_recover_set(sdp, jid); in recover_store()
569 int jid; in jid_store() local
572 rv = sscanf(buf, "%d", &jid); in jid_store()
586 if (sdp->sd_args.ar_spectator && jid > 0) in jid_store()
587 rv = jid = -EINVAL; in jid_store()
588 sdp->sd_lockstruct.ls_jid = jid; in jid_store()
603 GDLM_ATTR(jid, 0644, jid_show, jid_store);