Home
last modified time | relevance | path

Searched refs:acct (Results 1 – 25 of 37) sorted by relevance

12

/openbsd/usr.sbin/vmd/
H A Dvioscsi.c299 acct->resp_desc->len, acct->resp_idx, acct->req_idx, acct->idx); in vioscsi_handle_inquiry()
314 acct->resp_idx, acct->req_idx, acct->idx); in vioscsi_handle_inquiry()
411 acct->resp_idx, acct->req_idx, acct->idx); in vioscsi_handle_mode_sense()
549 acct->resp_idx, acct->req_idx, acct->idx); in vioscsi_handle_mode_sense_big()
566 acct->resp_idx, acct->req_idx, acct->idx); in vioscsi_handle_mode_sense_big()
664 acct->resp_idx, acct->req_idx, acct->idx); in vioscsi_handle_read_capacity()
679 acct->resp_idx, acct->req_idx, acct->idx); in vioscsi_handle_read_capacity()
739 acct->resp_idx, acct->req_idx, acct->idx); in vioscsi_handle_read_capacity_16()
754 acct->resp_idx, acct->req_idx, acct->idx); in vioscsi_handle_read_capacity_16()
838 acct->resp_desc->len, acct->resp_idx, acct->req_idx, acct->idx); in vioscsi_handle_report_luns()
[all …]
/openbsd/sys/kern/
H A Dkern_acct.c169 struct acct acct; in acct_process() local
196 memcpy(acct.ac_comm, pr->ps_comm, sizeof acct.ac_comm); in acct_process()
200 acct.ac_utime = encode_comp_t(ut.tv_sec, ut.tv_nsec); in acct_process()
207 acct.ac_btime = realstart.tv_sec; in acct_process()
218 acct.ac_mem = 0; in acct_process()
224 acct.ac_uid = pr->ps_ucred->cr_ruid; in acct_process()
225 acct.ac_gid = pr->ps_ucred->cr_rgid; in acct_process()
232 acct.ac_tty = -1; in acct_process()
235 acct.ac_flag = pr->ps_acflag; in acct_process()
238 acct.ac_pid = pr->ps_pid; in acct_process()
[all …]
/openbsd/regress/usr.bin/lastcomm/
H A DMakefile34 ${SUDO} touch /var/account/acct
35 -${SUDO} mv -f /var/account/acct.2 /var/account/acct.3
36 -${SUDO} mv -f /var/account/acct.1 /var/account/acct.2
37 -${SUDO} mv -f /var/account/acct.0 /var/account/acct.1
38 ${SUDO} cp -f /var/account/acct /var/account/acct.0
40 ${SUDO} accton /var/account/acct
/openbsd/usr.bin/lastcomm/
H A Dlastcomm.c52 int requested(char *[], struct acct *);
62 struct acct ab; in main()
94 size = sb.st_size - sb.st_size % sizeof(struct acct); in main()
97 if (size < sizeof(struct acct)) in main()
104 size -= sizeof(struct acct); in main()
111 if (fread(&ab, sizeof(struct acct), 1, fp) != 1) in main()
143 if (fseek(fp, 2 * -(long)sizeof(struct acct), SEEK_CUR) == -1) in main()
145 size -= sizeof(struct acct); in main()
187 requested(char *argv[], struct acct *acp) in requested()
/openbsd/etc/
H A Ddaily68 if [ -f /var/account/acct ]; then
69 test -f /var/account/acct.2 && \
70 mv -f /var/account/acct.2 /var/account/acct.3
71 test -f /var/account/acct.1 && \
72 mv -f /var/account/acct.1 /var/account/acct.2
73 test -f /var/account/acct.0 && \
74 mv -f /var/account/acct.0 /var/account/acct.1
75 cp -f /var/account/acct /var/account/acct.0
77 lastcomm -f /var/account/acct.0 | grep -e ' -[A-Z]*[EMPTU]'
H A Drc615 [[ ! -f /var/account/acct ]] && touch /var/account/acct
617 accton /var/account/acct
H A DMakefile179 ${DESTDIR}/var/account/acct
H A Dservices192 radacct 1813/udp radius-acct # radius accounting
/openbsd/usr.sbin/accton/
H A Daccton.c63 if (acct(NULL)) in main()
67 if (acct(*argv)) in main()
/openbsd/usr.sbin/npppd/npppd/
H A Dnpppd_auth.c526 (auth->data.radius.acct.timeout == 0) in npppd_auth_radius_reload()
527 ? DEFAULT_RADIUS_TIMEOUT : auth->data.radius.acct.timeout; in npppd_auth_radius_reload()
534 (auth->data.radius.acct.max_tries == 0) in npppd_auth_radius_reload()
535 ? DEFAULT_RADIUS_MAX_TRIES : auth->data.radius.acct.max_tries; in npppd_auth_radius_reload()
542 (auth->data.radius.acct.max_failovers == 0) in npppd_auth_radius_reload()
544 : auth->data.radius.acct.max_failovers; in npppd_auth_radius_reload()
575 TAILQ_FOREACH(server, &auth->data.radius.acct.servers, entry) { in npppd_auth_radius_reload()
H A Dnpppd.h168 struct radconf acct; member
H A Dparse.y645 TAILQ_INIT(&n->data.radius.acct.servers);
694 curr_radconf = &curr_authconf->data.radius.acct;
1565 radconf_fini(&auth->data.radius.acct);
/openbsd/usr.sbin/sa/
H A Dmain.c292 struct acct ac; in acct_load()
312 rv = read(fd, &ac, sizeof(struct acct)); in acct_load()
315 else if (rv > 0 && rv < sizeof(struct acct)) in acct_load()
317 if (rv != sizeof(struct acct)) in acct_load()
H A Dextern.h35 #define CI_COMMLEN (sizeof(((struct acct *)NULL)->ac_comm))
/openbsd/gnu/usr.bin/perl/cpan/libnet/lib/Net/
H A DFTP.pm332 my ($ftp, $user, $pass, $acct) = @_;
340 ($user, $pass, $acct) = $rc->lpa()
409 ($ruser, $pass, $acct) = $rc->lpa()
419 $ok = $ftp->_ACCT($acct)
420 if (defined($acct) && ($ok == CMD_MORE || $ok == CMD_OK));
434 my $acct = shift;
435 $ftp->_ACCT($acct) == CMD_OK;
H A DNetrc.pm50 my ($login, $pass, $acct) = (undef, undef, undef);
/openbsd/sys/sys/
H A Dacct.h49 struct acct { struct
/openbsd/share/man/man5/
H A DMakefile4 MAN= acct.5 ar.5 bsd.port.mk.5 bsd.port.arch.mk.5 bsd.regress.mk.5 \
/openbsd/distrib/sets/lists/etc/
H A Dmi53 ./var/account/acct
/openbsd/lib/libc/sys/
H A DMakefile.inc45 access.o acct.o adjfreq.o adjtime.o \
181 access.2 acct.2 adjfreq.2 adjtime.2 bind.2 brk.2 chdir.2 \
/openbsd/lib/libc/hidden/
H A Dunistd.h35 PROTO_NORMAL(acct);
/openbsd/include/
H A Dunistd.h477 int acct(const char *);
/openbsd/sys/conf/
H A DGENERIC14 option ACCOUNTING # acct(2) process accounting
/openbsd/sbin/init/
H A Dinit.c1320 acct(NULL); in f_nice_death()
1392 acct(NULL); in f_death()
/openbsd/etc/mtree/
H A Dspecial164 acct type=file mode=0644 uname=root gname=wheel optional

12