Lines Matching refs:jid
118 int jid = 0; /* job id */ in cray_login_failure() local
120 if ((jid = getjtab(&jtab)) < 0) in cray_login_failure()
136 fsent.jid = jid; in cray_login_failure()
202 int jid; /* job ID */ in cray_setup() local
245 if ((jid = getjtab(&jtab)) < 0) { in cray_setup()
396 fsent.jid = jid; in cray_setup()
432 fsent.jid = jid; in cray_setup()
476 ssent.jid = jid; in cray_setup()
595 sr = setlimits(username, C_JOB, jid, UDBRC_INTER); in cray_setup()
609 init_info.s_sessinit.si_sid = jid; in cray_setup()
720 cray_delete_tmpdir(char *login, int jid, uid_t uid) in cray_delete_tmpdir() argument
727 snprintf(jtmp, TPATHSIZ, "%s/jtmp.%06d%c", JTMPDIR, jid, c); in cray_delete_tmpdir()
750 int jid; in cray_job_termination_handler() local
754 if ((jid = waitjob(&jtab)) == -1 || in cray_job_termination_handler()
758 cray_delete_tmpdir(login, jid, jtab.j_uid); in cray_job_termination_handler()
767 int jid; in cray_init_job() local
770 jid = setjob(pw->pw_uid, WJSIGNAL); in cray_init_job()
771 if (jid < 0) in cray_init_job()
775 snprintf(cray_tmpdir, TPATHSIZ, "%s/jtmp.%06d%c", JTMPDIR, jid, c); in cray_init_job()
792 int jid; in cray_set_tmpdir() local
795 if ((jid = getjtab(&jbuf)) < 0) in cray_set_tmpdir()
801 ut->ut_jid = jid; in cray_set_tmpdir()