/freebsd/sbin/kldstat/ |
H A D | kldstat.c | 54 bzero(&stat, sizeof(stat)); in printmod() 62 stat.name, stat.data.intval, stat.data.uintval, in printmod() 65 printf("\t\t%3d %s\n", stat.id, stat.name); in printmod() 83 stat.id, stat.refs, PTR_WIDTH, stat.address, in printfile() 84 buf, stat.name); in printfile() 87 stat.id, stat.refs, PTR_WIDTH, stat.address, in printfile() 88 stat.size, stat.name); in printfile() 172 stat.id, stat.refs, stat.name, in main() 173 stat.data.intval, stat.data.uintval, in main() 177 printf("%3d %4d %s\n", stat.id, stat.refs, in main() [all …]
|
/freebsd/sys/dev/sfxge/common/ |
H A D | ef10_mac.c | 606 __inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat, in ef10_mac_stats_update() 652 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); in ef10_mac_stats_update() 655 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); in ef10_mac_stats_update() 726 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_PKTS]), &value); in ef10_mac_stats_update() 787 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE0_CHAR_ERR]), in ef10_mac_stats_update() 789 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE1_CHAR_ERR]), in ef10_mac_stats_update() 793 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE2_CHAR_ERR]), in ef10_mac_stats_update() 795 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE3_CHAR_ERR]), in ef10_mac_stats_update() 799 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE0_DISP_ERR]), in ef10_mac_stats_update() 801 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE1_DISP_ERR]), in ef10_mac_stats_update() [all …]
|
H A D | siena_mac.c | 271 __inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat, in siena_mac_stats_update() 300 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); in siena_mac_stats_update() 302 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); in siena_mac_stats_update() 373 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_PKTS]), &value); in siena_mac_stats_update() 434 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE0_CHAR_ERR]), in siena_mac_stats_update() 436 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE1_CHAR_ERR]), in siena_mac_stats_update() 440 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE2_CHAR_ERR]), in siena_mac_stats_update() 442 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE3_CHAR_ERR]), in siena_mac_stats_update() 446 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE0_DISP_ERR]), in siena_mac_stats_update() 448 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE1_DISP_ERR]), in siena_mac_stats_update() [all …]
|
/freebsd/contrib/pjdfstest/tests/unlink/ |
H A D | 00.t | 53 ctime1=`${fstest} stat ${n0} ctime` 56 ctime2=`${fstest} stat ${n0} ctime` 62 ctime1=`${fstest} stat ${n0} ctime` 65 ctime2=`${fstest} stat ${n0} ctime` 71 ctime1=`${fstest} stat ${n0} ctime` 74 ctime2=`${fstest} stat ${n0} ctime` 139 time=`${fstest} stat ${n0} ctime` 150 time=`${fstest} stat ${n0} ctime` 161 time=`${fstest} stat ${n0} ctime` 172 time=`${fstest} stat ${n0} ctime` [all …]
|
/freebsd/usr.bin/stat/tests/ |
H A D | stat_test.sh | 41 atf_check -o match:'.* a' stat -Fn a 42 atf_check -o match:'.* b/' stat -Fn b 63 stat_out=stat.output 118 atf_check -o not-empty stat -r a 150 eval $(stat -s $path) 169 stat -t '%s' -f '%a' foo 178 stat -t "$date_format" "$@" 190 local gid=$(stat -f '%5g' $path) 192 local inode=$(stat -f '%i' $path) 196 local nlink=$(stat -f '%l' $path) [all …]
|
/freebsd/usr.bin/systat/ |
H A D | zarc.c | 114 #define DO(stat) \ in domode() argument 115 delta->hits.stat = (curstat.hits.stat - oldstat.hits.stat); \ in domode() 116 delta->misses.stat = (curstat.misses.stat - oldstat.misses.stat); \ in domode() 117 rate->current.stat = calc_rate(delta->hits.stat, delta->misses.stat); \ in domode() 118 rate->total.stat = calc_rate(curstat.hits.stat, curstat.misses.stat) in domode() 145 #define DO(stat, col, width) \ in showzarc() argument 147 #define RATES(stat) mvwprintw(wnd, row, 31+1, "%3"PRIu64, rate.current.stat);\ in showzarc() argument 149 #define HITS(stat) DO(delta.hits.stat, 31+1+5, 6); \ in showzarc() argument 150 DO(curstat.hits.stat, 31+1+5+7+7+8+5, 6) in showzarc() 151 #define MISSES(stat) DO(delta.misses.stat, 31+1+5+7, 6); \ in showzarc() argument [all …]
|
/freebsd/contrib/pjdfstest/tests/chown/ |
H A D | 00.t | 37 expect 123,456 stat ${n1} uid,gid 38 expect 123,456 stat ${n0} uid,gid 75 expect 65534,65533 stat ${n0} uid,gid 76 expect 65534,65533 stat ${n1} uid,gid 79 expect 65534,65532 stat ${n0} uid,gid 80 expect 65534,65532 stat ${n1} uid,gid 83 expect 65534,65531 stat ${n0} uid,gid 394 expect 0,0 stat ${n0} uid,gid 403 expect 0,0 stat ${n1} uid,gid 442 expect 0,0 stat ${n0} uid,gid [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_stat.c | 61 struct stat sa, sb; in ATF_TC_BODY() 70 ATF_REQUIRE(stat(path, &sa) == 0); in ATF_TC_BODY() 72 ATF_REQUIRE(stat(path, &sb) == 0); in ATF_TC_BODY() 95 struct stat sa, sb; in ATF_TC_BODY() 129 ATF_REQUIRE(stat(".", &sb) == 0); in ATF_TC_BODY() 164 struct stat st; in ATF_TC_BODY() 204 struct stat sa, sb; in ATF_TC_BODY() 246 struct stat sa, sb; in ATF_TC_BODY() 286 struct stat sa, sb, sc; in ATF_TC_BODY() 331 struct stat st; in ATF_TC_BODY() [all …]
|
/freebsd/sys/dev/rtwn/usb/ |
H A D | rtwn_usb_rx.c | 83 rxdw0 = le32toh(stat->rxdw0); in rtwn_rx_check_pre_alloc() 120 __func__, le32toh(stat->rxdw0), le32toh(stat->rxdw1), in rtwn_rx_copy_to_mbuf() 121 le32toh(stat->rxdw2), le32toh(stat->rxdw3), le32toh(stat->rxdw4), in rtwn_rx_copy_to_mbuf() 122 le32toh(stat->tsf_low)); in rtwn_rx_copy_to_mbuf() 180 le32toh(stat->rxdw1), le32toh(stat->rxdw2), in rtwn_rxeof_fragmented() 181 le32toh(stat->rxdw3), le32toh(stat->rxdw4), in rtwn_rxeof_fragmented() 182 le32toh(stat->tsf_low)); in rtwn_rxeof_fragmented() 185 rxdw0 = le32toh(stat->rxdw0); in rtwn_rxeof_fragmented() 194 (caddr_t)stat); in rtwn_rxeof_fragmented() 355 m_copydata(m, 0, sizeof(stat), (caddr_t)&stat); in rtwn_rx_frame() [all …]
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | lock_proc.c | 446 res.stat.stat = nlm_granted; in nlm_test_1_svc() 448 res.stat.stat = nlm_denied; in nlm_test_1_svc() 478 res.stat.stat = nlm_granted; in nlm_test_msg_1_svc() 480 res.stat.stat = nlm_denied; in nlm_test_msg_1_svc() 625 res.stat.stat = unlock(&arg4, 0); in nlm_unlock_1_svc() 844 res.stat.stat = nlm_granted; in nlm_nm_lock_3_svc() 912 res.stat.stat = nlm4_granted; in nlm4_test_4_svc() 914 res.stat.stat = nlm4_denied; in nlm4_test_4_svc() 939 res.stat.stat = nlm4_granted; in nlm4_test_msg_4_svc() 941 res.stat.stat = nlm4_denied; in nlm4_test_msg_4_svc() [all …]
|
/freebsd/contrib/pjdfstest/tests/chflags/ |
H A D | 00.t | 42 expect none stat ${n0} flags 50 expect none stat ${n0} flags 58 expect none stat ${n0} flags 66 expect none stat ${n0} flags 76 expect none stat ${n1} flags 88 expect none stat ${n1} flags 95 expect none stat ${n1} flags 99 expect none stat ${n1} flags 102 expect none stat ${n1} flags 105 expect none stat ${n1} flags [all …]
|
/freebsd/contrib/pjdfstest/tests/link/ |
H A D | 12.t | 28 expect 1 stat ${n0} nlink 30 expect 2 stat ${n0} nlink 32 expect 1 stat ${n0} nlink 36 expect 1 stat ${n0} nlink 39 expect 2 stat ${n0} nlink 41 expect 1 stat ${n0} nlink 45 expect 2 stat ${n0} nlink 48 expect 1 stat ${n0} nlink 54 expect 2 stat ${n0} nlink 56 expect 1 stat ${n0} nlink [all …]
|
H A D | 13.t | 30 expect 1 stat ${n0}/${n1} nlink 32 expect 2 stat ${n0}/${n1} nlink 34 expect 1 stat ${n0}/${n1} nlink 38 expect 1 stat ${n0}/${n1} nlink 41 expect 2 stat ${n0}/${n1} nlink 43 expect 1 stat ${n0}/${n1} nlink 47 expect 2 stat ${n0}/${n1} nlink 50 expect 1 stat ${n0}/${n1} nlink 54 expect 2 stat ${n0}/${n1} nlink 57 expect 1 stat ${n0}/${n1} nlink [all …]
|
/freebsd/contrib/netbsd-tests/lib/librumphijack/ |
H A D | t_vfs.sh | 131 atf_check -s exit:0 -o save:stat.out \ 135 atf_check -s exit:0 -o file:stat.out \ 145 atf_check -s exit:0 -o save:stat.out \ 149 atf_check -s exit:0 -o file:stat.out \ 151 atf_check -s exit:0 -o file:stat.out \ 191 atf_check -s exit:0 -o save:stat.out \ 193 atf_check -s exit:0 -o file:stat.out \ 194 stat -f "${statstr}" /dev/null 205 atf_check -s exit:0 -o save:stat.out \ 206 stat -f "${statstr}" /dir/file [all …]
|
/freebsd/tools/regression/security/cap_test/ |
H A D | cap_test_pdfork.c | 56 struct stat stat; in test_pdfork() local 84 REQUIRE(fstat(pd, &stat)); in test_pdfork() 89 CHECK(now >= stat.st_birthtime); in test_pdfork() 90 CHECK((now - stat.st_birthtime) < 2); in test_pdfork() 91 CHECK(stat.st_birthtime == stat.st_atime); in test_pdfork() 92 CHECK(stat.st_atime == stat.st_ctime); in test_pdfork() 93 CHECK(stat.st_ctime == stat.st_mtime); in test_pdfork()
|
/freebsd/contrib/pjdfstest/tests/open/ |
H A D | 00.t | 59 time=`${fstest} stat . ctime` 62 atime=`${fstest} stat ${n0} atime` 64 mtime=`${fstest} stat ${n0} mtime` 68 mtime=`${fstest} stat . mtime` 70 ctime=`${fstest} stat . ctime` 76 dmtime=`${fstest} stat . mtime` 77 dctime=`${fstest} stat . ctime` 80 mtime=`${fstest} stat . mtime` 82 ctime=`${fstest} stat . ctime` 87 expect 5 stat ${n0} size [all …]
|
/freebsd/contrib/ntp/sntp/libevent/build-aux/ |
H A D | depcomp | 192 stat=$? 195 exit $stat 218 stat=$? 221 exit $stat 260 stat=$? 315 stat=$? 344 stat=$? 397 stat=$? 453 stat=$? 506 stat=$? [all …]
|
/freebsd/contrib/openbsm/config/ |
H A D | depcomp | 192 stat=$? 195 exit $stat 218 stat=$? 221 exit $stat 260 stat=$? 315 stat=$? 344 stat=$? 397 stat=$? 453 stat=$? 506 stat=$? [all …]
|
/freebsd/contrib/sqlite3/ |
H A D | depcomp | 192 stat=$? 195 exit $stat 218 stat=$? 221 exit $stat 260 stat=$? 315 stat=$? 344 stat=$? 397 stat=$? 453 stat=$? 506 stat=$? [all …]
|
/freebsd/contrib/file/ |
H A D | depcomp | 192 stat=$? 195 exit $stat 218 stat=$? 221 exit $stat 260 stat=$? 315 stat=$? 344 stat=$? 397 stat=$? 453 stat=$? 506 stat=$? [all …]
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | depcomp | 192 stat=$? 195 exit $stat 218 stat=$? 221 exit $stat 260 stat=$? 315 stat=$? 344 stat=$? 397 stat=$? 453 stat=$? 506 stat=$? [all …]
|
/freebsd/contrib/openpam/ |
H A D | depcomp | 192 stat=$? 195 exit $stat 218 stat=$? 221 exit $stat 260 stat=$? 315 stat=$? 344 stat=$? 397 stat=$? 453 stat=$? 506 stat=$? [all …]
|
/freebsd/contrib/libevent/build-aux/ |
H A D | depcomp | 192 stat=$? 195 exit $stat 218 stat=$? 221 exit $stat 260 stat=$? 315 stat=$? 344 stat=$? 397 stat=$? 453 stat=$? 506 stat=$? [all …]
|
/freebsd/contrib/pjdfstest/tests/chmod/ |
H A D | 08.t | 29 expect 0644 stat ${n0} mode 32 expect 0600 stat ${n0} mode 40 expect 0600 stat ${n0} mode 51 expect 0600 stat ${n0} mode 56 expect 0400 stat ${n0} mode 64 expect 0644 stat ${n0} mode 67 expect 0600 stat ${n0} mode 74 expect 0644 stat ${n0} mode 77 expect 0600 stat ${n0} mode 83 expect 0600 stat ${n0} mode [all …]
|
/freebsd/usr.sbin/ypserv/ |
H A D | yp_server.c | 146 result.stat = YP_YPERR; 151 result.stat = YP_BADARGS; 156 result.stat = yp_errno; 217 result.stat = YP_YPERR; 227 result.stat = yp_errno; 249 result.stat = YP_YPERR; 259 result.stat = yp_errno; 587 result.stat = YP_YPERR; 597 result.stat = yp_errno; 686 struct stat statbuf; [all …]
|