Searched refs:sabuf (Results 1 – 2 of 2) sorted by relevance
610 struct acct sabuf; variable633 sabuf.ac_btime = time((time_t *)0); in preacct()635 sabuf.ac_uid = getuid(); in preacct()636 sabuf.ac_gid = getgid(); in preacct()637 movstrn(simple(cmdadr), sabuf.ac_comm, sizeof (sabuf.ac_comm)); in preacct()650 sabuf.ac_utime = compress(buffer.tms_utime + buffer.tms_cutime); in doacct()651 sabuf.ac_stime = compress(buffer.tms_stime + buffer.tms_cstime); in doacct()652 sabuf.ac_etime = compress(after - before); in doacct()656 write(fd, &sabuf, sizeof (sabuf)); in doacct()
1362 static struct acct sabuf; variable1382 sabuf.ac_flag |= AEXPND; in sh_accsusp()1393 sabuf.ac_btime = time(NIL(time_t *)); in sh_accbegin()1395 sabuf.ac_uid = getuid(); in sh_accbegin()1396 sabuf.ac_gid = getgid(); in sh_accbegin()1397 strncpy(sabuf.ac_comm, (char*)path_basename(cmdname), in sh_accbegin()1398 sizeof(sabuf.ac_comm)); in sh_accbegin()1413 sabuf.ac_utime = compress(buffer.tms_utime + buffer.tms_cutime); in sh_accend()1414 sabuf.ac_stime = compress(buffer.tms_stime + buffer.tms_cstime); in sh_accend()1415 sabuf.ac_etime = compress( (time_t)(after-before)); in sh_accend()[all …]