Lines Matching refs:jid
117 int jid = 0; /* job id */ in cray_login_failure() local
119 if ((jid = getjtab(&jtab)) < 0) in cray_login_failure()
135 fsent.jid = jid; in cray_login_failure()
201 int jid; /* job ID */ in cray_setup() local
244 if ((jid = getjtab(&jtab)) < 0) { in cray_setup()
395 fsent.jid = jid; in cray_setup()
431 fsent.jid = jid; in cray_setup()
475 ssent.jid = jid; in cray_setup()
594 sr = setlimits(username, C_JOB, jid, UDBRC_INTER); in cray_setup()
608 init_info.s_sessinit.si_sid = jid; in cray_setup()
719 cray_delete_tmpdir(char *login, int jid, uid_t uid) in cray_delete_tmpdir() argument
726 snprintf(jtmp, TPATHSIZ, "%s/jtmp.%06d%c", JTMPDIR, jid, c); in cray_delete_tmpdir()
749 int jid; in cray_job_termination_handler() local
753 if ((jid = waitjob(&jtab)) == -1 || in cray_job_termination_handler()
757 cray_delete_tmpdir(login, jid, jtab.j_uid); in cray_job_termination_handler()
766 int jid; in cray_init_job() local
769 jid = setjob(pw->pw_uid, WJSIGNAL); in cray_init_job()
770 if (jid < 0) in cray_init_job()
774 snprintf(cray_tmpdir, TPATHSIZ, "%s/jtmp.%06d%c", JTMPDIR, jid, c); in cray_init_job()
791 int jid; in cray_set_tmpdir() local
794 if ((jid = getjtab(&jbuf)) < 0) in cray_set_tmpdir()
800 ut->ut_jid = jid; in cray_set_tmpdir()