Home
last modified time | relevance | path

Searched refs:jid (Results 1 – 7 of 7) sorted by relevance

/fs/gfs2/
Dsys.c421 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 …]
Dlock_dlm.c1141 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 …]
Drecovery.c280 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()
Dsys.h19 int gfs2_recover_set(struct gfs2_sbd *sdp, unsigned jid);
Dsuper.h27 extern struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid);
Dsuper.c81 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()
Dglock.h124 void (*lm_recovery_result) (struct gfs2_sbd *sdp, unsigned int jid,