Lines Matching refs:ac

277 	struct acct ac;  in do_acct_process()  local
293 memset((caddr_t)&ac, 0, sizeof(struct acct)); in do_acct_process()
295 strncpy(ac.ac_comm, current->comm, ACCT_COMM); in do_acct_process()
296 ac.ac_comm[ACCT_COMM - 1] = '\0'; in do_acct_process()
298 ac.ac_btime = CT_TO_SECS(current->start_time) + (xtime.tv_sec - (jiffies / HZ)); in do_acct_process()
299 ac.ac_etime = encode_comp_t(jiffies - current->start_time); in do_acct_process()
300 ac.ac_utime = encode_comp_t(current->times.tms_utime); in do_acct_process()
301 ac.ac_stime = encode_comp_t(current->times.tms_stime); in do_acct_process()
302 ac.ac_uid = current->uid; in do_acct_process()
303 ac.ac_gid = current->gid; in do_acct_process()
304 ac.ac_tty = (current->tty) ? kdev_t_to_nr(current->tty->device) : 0; in do_acct_process()
306 ac.ac_flag = 0; in do_acct_process()
308 ac.ac_flag |= AFORK; in do_acct_process()
310 ac.ac_flag |= ASU; in do_acct_process()
312 ac.ac_flag |= ACORE; in do_acct_process()
314 ac.ac_flag |= AXSIG; in do_acct_process()
328 ac.ac_mem = encode_comp_t(vsize); in do_acct_process()
329 ac.ac_io = encode_comp_t(0 /* current->io_usage */); /* %% */ in do_acct_process()
330 ac.ac_rw = encode_comp_t(ac.ac_io / 1024); in do_acct_process()
331 ac.ac_minflt = encode_comp_t(current->min_flt); in do_acct_process()
332 ac.ac_majflt = encode_comp_t(current->maj_flt); in do_acct_process()
333 ac.ac_swaps = encode_comp_t(current->nswap); in do_acct_process()
334 ac.ac_exitcode = exitcode; in do_acct_process()
347 file->f_op->write(file, (char *)&ac, in do_acct_process()