Searched refs:jid (Results 1 – 7 of 7) sorted by relevance
/fs/gfs2/ |
D | sys.c | 421 int gfs2_recover_set(struct gfs2_sbd *sdp, unsigned jid) in gfs2_recover_set() argument 440 if (sdp->sd_jdesc->jd_jid == jid && !sdp->sd_args.ar_spectator) in gfs2_recover_set() 444 if (jd->jd_jid != jid && !sdp->sd_args.ar_spectator) in gfs2_recover_set() 456 unsigned jid; in recover_store() local 459 rv = sscanf(buf, "%u", &jid); in recover_store() 468 rv = gfs2_recover_set(sdp, jid); in recover_store() 492 int jid; in jid_store() local 495 rv = sscanf(buf, "%d", &jid); in jid_store() 509 if (sdp->sd_args.ar_spectator && jid > 0) in jid_store() 510 rv = jid = -EINVAL; in jid_store() [all …]
|
D | lock_dlm.c | 1141 int jid = slot->slot - 1; in gdlm_recover_slot() local 1145 jid); in gdlm_recover_slot() 1149 if (ls->ls_recover_size < jid + 1) { in gdlm_recover_slot() 1151 jid, ls->ls_recover_block, ls->ls_recover_size); in gdlm_recover_slot() 1156 if (ls->ls_recover_submit[jid]) { in gdlm_recover_slot() 1158 jid, ls->ls_recover_block, ls->ls_recover_submit[jid]); in gdlm_recover_slot() 1160 ls->ls_recover_submit[jid] = ls->ls_recover_block; in gdlm_recover_slot() 1198 static void gdlm_recovery_result(struct gfs2_sbd *sdp, unsigned int jid, in gdlm_recovery_result() argument 1205 jid); in gdlm_recovery_result() 1212 if (jid == ls->ls_jid) in gdlm_recovery_result() [all …]
|
D | recovery.c | 280 static void gfs2_recovery_done(struct gfs2_sbd *sdp, unsigned int jid, in gfs2_recovery_done() argument 288 ls->ls_recover_jid_done = jid; in gfs2_recovery_done() 290 sprintf(env_jid, "JID=%u", jid); in gfs2_recovery_done() 296 sdp->sd_lockstruct.ls_ops->lm_recovery_result(sdp, jid, message); in gfs2_recovery_done()
|
D | sys.h | 19 int gfs2_recover_set(struct gfs2_sbd *sdp, unsigned jid);
|
D | super.h | 27 extern struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid);
|
D | super.c | 81 static struct gfs2_jdesc *jdesc_find_i(struct list_head *head, unsigned int jid) in jdesc_find_i() argument 87 if (jd->jd_jid == jid) { in jdesc_find_i() 99 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) in gfs2_jdesc_find() argument 104 jd = jdesc_find_i(&sdp->sd_jindex_list, jid); in gfs2_jdesc_find()
|
D | glock.h | 124 void (*lm_recovery_result) (struct gfs2_sbd *sdp, unsigned int jid,
|