Lines Matching refs:acctbuf
60 struct acct acctbuf;
107 bzero(&ag->acctbuf, sizeof (ag->acctbuf));
407 bcopy(ua->u_comm, ag->acctbuf.ac_comm, sizeof (ag->acctbuf.ac_comm));
408 ag->acctbuf.ac_btime = ua->u_start.tv_sec;
409 ag->acctbuf.ac_utime = acct_compress(NSEC_TO_TICK(p->p_acct[LMS_USER]));
410 ag->acctbuf.ac_stime = acct_compress(
412 ag->acctbuf.ac_etime = acct_compress(ddi_get_lbolt() - ua->u_ticks);
413 ag->acctbuf.ac_mem = acct_compress((ulong_t)ua->u_mem);
414 ag->acctbuf.ac_io = acct_compress((ulong_t)p->p_ru.ioch);
415 ag->acctbuf.ac_rw = acct_compress((ulong_t)(p->p_ru.inblock +
418 ag->acctbuf.ac_uid = crgetruid(cr);
419 ag->acctbuf.ac_gid = crgetrgid(cr);
420 (void) cmpldev(&ag->acctbuf.ac_tty, cttydev(p));
421 ag->acctbuf.ac_stat = st;
422 ag->acctbuf.ac_flag = (ua->u_acflag | AEXPND);
434 error = vn_rdwr(UIO_WRITE, vp, (caddr_t)&ag->acctbuf,
435 sizeof (ag->acctbuf), 0LL, UIO_SYSSPACE, FAPPEND,