Home
last modified time | relevance | path

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

/Linux-v6.6/fs/gfs2/
Dsys.c498 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()
[all …]
Dlock_dlm.c1149 int jid = slot->slot - 1; in gdlm_recover_slot() local
1153 jid); in gdlm_recover_slot()
1157 if (ls->ls_recover_size < jid + 1) { in gdlm_recover_slot()
1159 jid, ls->ls_recover_block, ls->ls_recover_size); in gdlm_recover_slot()
1164 if (ls->ls_recover_submit[jid]) { in gdlm_recover_slot()
1166 jid, ls->ls_recover_block, ls->ls_recover_submit[jid]); in gdlm_recover_slot()
1168 ls->ls_recover_submit[jid] = ls->ls_recover_block; in gdlm_recover_slot()
1206 static void gdlm_recovery_result(struct gfs2_sbd *sdp, unsigned int jid, in gdlm_recovery_result() argument
1213 jid); in gdlm_recovery_result()
1220 if (jid == ls->ls_jid) in gdlm_recovery_result()
[all …]
Dsys.h19 int gfs2_recover_set(struct gfs2_sbd *sdp, unsigned jid);
Drecovery.c279 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()
Dsuper.h31 extern struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid);
Dglock.h122 void (*lm_recovery_result) (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
86 if (jd->jd_jid == jid) in jdesc_find_i()
92 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) in gfs2_jdesc_find() argument
97 jd = jdesc_find_i(&sdp->sd_jindex_list, jid); in gfs2_jdesc_find()