Searched refs:jid (Results 1 – 7 of 7) sorted by relevance
/linux/fs/gfs2/ |
H A D | sys.c | 498 int gfs2_recover_set(struct gfs2_sbd *sdp, unsigned jid) in gfs2_recover_set() argument 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() [all …]
|
H A D | lock_dlm.c | 1177 int jid = slot->slot - 1; in gdlm_recover_slot() local 1181 jid); in gdlm_recover_slot() 1185 if (ls->ls_recover_size < jid + 1) { in gdlm_recover_slot() 1192 if (ls->ls_recover_submit[jid]) { in gdlm_recover_slot() 1194 jid, ls->ls_recover_block, ls->ls_recover_submit[jid]); in gdlm_recover_slot() 1241 jid); in gdlm_recovery_result() 1248 if (jid == ls->ls_jid) in gdlm_recovery_result() 1256 if (ls->ls_recover_size < jid + 1) { in gdlm_recovery_result() 1258 jid, ls->ls_recover_size); in gdlm_recovery_result() 1263 fs_info(sdp, "recover jid %d result %s\n", jid, in gdlm_recovery_result() [all …]
|
H A D | sys.h | 19 int gfs2_recover_set(struct gfs2_sbd *sdp, unsigned jid);
|
H A D | recovery.c | 279 static void gfs2_recovery_done(struct gfs2_sbd *sdp, unsigned int jid, in gfs2_recovery_done() argument 287 ls->ls_recover_jid_done = jid; in gfs2_recovery_done() 289 sprintf(env_jid, "JID=%u", jid); in gfs2_recovery_done() 295 sdp->sd_lockstruct.ls_ops->lm_recovery_result(sdp, jid, message); in gfs2_recovery_done()
|
H A D | super.h | 31 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid);
|
H A D | glock.h | 123 void (*lm_recovery_result) (struct gfs2_sbd *sdp, unsigned int jid,
|
H A D | super.c | 85 static struct gfs2_jdesc *jdesc_find_i(struct list_head *head, unsigned int jid) in jdesc_find_i() argument 90 if (jd->jd_jid == jid) in jdesc_find_i() 96 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) in gfs2_jdesc_find() argument 101 jd = jdesc_find_i(&sdp->sd_jindex_list, jid); in gfs2_jdesc_find()
|