Lines Matching refs:valid_acct
194 int valid_acct = -1; /* flag for reading valid acct */ in cray_setup() local
493 while (valid_acct == -1) { in cray_setup()
502 valid_acct = ue.ue_acids[0]; in cray_setup()
503 strlcpy(acct_name, acid2nam(valid_acct), MAXACID); in cray_setup()
527 valid_acct = nam2acid(acct_name); in cray_setup()
528 if (valid_acct == -1) in cray_setup()
539 if ((valid_acct != -1) && in cray_setup()
544 if (valid_acct == ue.ue_acids[i]) in cray_setup()
553 valid_acct = -1; in cray_setup()
564 valid_acct = ue.ue_acids[0]; in cray_setup()
571 valid_acct = ue.ue_acids[0]; in cray_setup()
573 if (acctid(0, valid_acct) < 0) { in cray_setup()
574 printf ("Bad account id: %d\n", valid_acct); in cray_setup()
583 if (setshares(ue.ue_uid, valid_acct, printf, 0, 0)) { in cray_setup()
585 ue.ue_shares, ue.ue_name, ue.ue_uid, valid_acct); in cray_setup()