| /freebsd-13.1/contrib/apr/locks/unix/ |
| H A D | thread_rwlock.c | 33 if (stat) { in thread_rwlock_cleanup() 37 return stat; in thread_rwlock_cleanup() 70 if (stat) { in apr_thread_rwlock_rdlock() 74 return stat; in apr_thread_rwlock_rdlock() 83 if (stat) { in apr_thread_rwlock_tryrdlock() 90 return stat; in apr_thread_rwlock_tryrdlock() 99 if (stat) { in apr_thread_rwlock_wrlock() 103 return stat; in apr_thread_rwlock_wrlock() 112 if (stat) { in apr_thread_rwlock_trywrlock() 119 return stat; in apr_thread_rwlock_trywrlock() [all …]
|
| /freebsd-13.1/sbin/kldstat/ |
| H A D | kldstat.c | 57 bzero(&stat, sizeof(stat)); in printmod() 65 stat.name, stat.data.intval, stat.data.uintval, in printmod() 68 printf("\t\t%3d %s\n", stat.id, stat.name); in printmod() 86 stat.id, stat.refs, PTR_WIDTH, stat.address, in printfile() 87 buf, stat.name); in printfile() 90 stat.id, stat.refs, PTR_WIDTH, stat.address, in printfile() 91 stat.size, stat.name); in printfile() 175 stat.id, stat.refs, stat.name, in main() 176 stat.data.intval, stat.data.uintval, in main() 180 printf("%3d %4d %s\n", stat.id, stat.refs, in main() [all …]
|
| /freebsd-13.1/sys/dev/sfxge/common/ |
| H A D | ef10_mac.c | 608 __inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat, in ef10_mac_stats_update() 654 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); in ef10_mac_stats_update() 657 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); in ef10_mac_stats_update() 728 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_PKTS]), &value); in ef10_mac_stats_update() 789 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE0_CHAR_ERR]), in ef10_mac_stats_update() 791 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE1_CHAR_ERR]), in ef10_mac_stats_update() 795 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE2_CHAR_ERR]), in ef10_mac_stats_update() 797 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE3_CHAR_ERR]), in ef10_mac_stats_update() 801 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE0_DISP_ERR]), in ef10_mac_stats_update() 803 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE1_DISP_ERR]), in ef10_mac_stats_update() [all …]
|
| H A D | siena_mac.c | 273 __inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat, in siena_mac_stats_update() 302 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); in siena_mac_stats_update() 304 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); in siena_mac_stats_update() 375 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_PKTS]), &value); in siena_mac_stats_update() 436 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE0_CHAR_ERR]), in siena_mac_stats_update() 438 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE1_CHAR_ERR]), in siena_mac_stats_update() 442 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE2_CHAR_ERR]), in siena_mac_stats_update() 444 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE3_CHAR_ERR]), in siena_mac_stats_update() 448 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE0_DISP_ERR]), in siena_mac_stats_update() 450 EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE1_DISP_ERR]), in siena_mac_stats_update() [all …]
|
| /freebsd-13.1/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-13.1/usr.bin/stat/tests/ |
| H A D | stat_test.sh | 42 atf_check -o match:'.* a' stat -Fn a 43 atf_check -o match:'.* b/' stat -Fn b 64 stat_out=stat.output 119 atf_check -o not-empty stat -r a 151 eval $(stat -s $path) 170 stat -t '%s' -f '%a' foo 179 stat -t "$date_format" "$@" 191 local gid=$(stat -f '%5g' $path) 193 local inode=$(stat -f '%i' $path) 197 local nlink=$(stat -f '%l' $path) [all …]
|
| /freebsd-13.1/contrib/apr/threadproc/unix/ |
| H A D | thread.c | 43 apr_status_t stat; in apr_threadattr_create() local 49 if (stat == 0) { in apr_threadattr_create() 55 stat = errno; in apr_threadattr_create() 58 return stat; in apr_threadattr_create() 83 stat = errno; 86 return stat; 107 int stat; local 110 if (stat == 0) { 114 stat = errno; 117 return stat; [all …]
|
| /freebsd-13.1/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-13.1/usr.bin/systat/ |
| H A D | zarc.c | 119 #define DO(stat) \ in domode() argument 120 delta->hits.stat = (curstat.hits.stat - oldstat.hits.stat); \ in domode() 121 delta->misses.stat = (curstat.misses.stat - oldstat.misses.stat); \ in domode() 122 rate->current.stat = calc_rate(delta->hits.stat, delta->misses.stat); \ in domode() 123 rate->total.stat = calc_rate(curstat.hits.stat, curstat.misses.stat) in domode() 152 #define DO(stat, col, width) \ in showzarc() argument 154 #define RATES(stat) mvwprintw(wnd, row, 31+1, "%3"PRIu64, rate.current.stat);\ in showzarc() argument 156 #define HITS(stat) DO(delta.hits.stat, 31+1+5, 6); \ in showzarc() argument 157 DO(curstat.hits.stat, 31+1+5+7+7+8+5, 6) in showzarc() 158 #define MISSES(stat) DO(delta.misses.stat, 31+1+5+7, 6); \ in showzarc() argument [all …]
|
| /freebsd-13.1/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-13.1/stand/i386/libfirewire/ |
| H A D | fwohci.c | 88 uint32_t fun, stat; in fwphy_rddata() local 112 stat = OREAD(sc, FWOHCI_INTSTAT); in fwphy_rddata() 430 if(stat & OHCI_INT_PHY_BUS_R ){ 453 uint32_t stat; local 456 if (stat == 0xffffffff) { 459 return(stat); 461 if (stat) 463 return(stat); 469 uint32_t stat; local 471 stat = fwochi_check_stat(sc); [all …]
|
| /freebsd-13.1/sys/dev/rtwn/usb/ |
| H A D | rtwn_usb_rx.c | 85 rxdw0 = le32toh(stat->rxdw0); in rtwn_rx_check_pre_alloc() 122 __func__, le32toh(stat->rxdw0), le32toh(stat->rxdw1), in rtwn_rx_copy_to_mbuf() 123 le32toh(stat->rxdw2), le32toh(stat->rxdw3), le32toh(stat->rxdw4), in rtwn_rx_copy_to_mbuf() 124 le32toh(stat->tsf_low)); in rtwn_rx_copy_to_mbuf() 182 le32toh(stat->rxdw1), le32toh(stat->rxdw2), in rtwn_rxeof_fragmented() 183 le32toh(stat->rxdw3), le32toh(stat->rxdw4), in rtwn_rxeof_fragmented() 184 le32toh(stat->tsf_low)); in rtwn_rxeof_fragmented() 187 rxdw0 = le32toh(stat->rxdw0); in rtwn_rxeof_fragmented() 196 (caddr_t)stat); in rtwn_rxeof_fragmented() 357 m_copydata(m, 0, sizeof(stat), (caddr_t)&stat); in rtwn_rx_frame() [all …]
|
| /freebsd-13.1/usr.sbin/rpc.lockd/ |
| H A D | lock_proc.c | 447 res.stat.stat = nlm_granted; in nlm_test_1_svc() 449 res.stat.stat = nlm_denied; in nlm_test_1_svc() 479 res.stat.stat = nlm_granted; in nlm_test_msg_1_svc() 481 res.stat.stat = nlm_denied; in nlm_test_msg_1_svc() 626 res.stat.stat = unlock(&arg4, 0); in nlm_unlock_1_svc() 845 res.stat.stat = nlm_granted; in nlm_nm_lock_3_svc() 913 res.stat.stat = nlm4_granted; in nlm4_test_4_svc() 915 res.stat.stat = nlm4_denied; in nlm4_test_4_svc() 940 res.stat.stat = nlm4_granted; in nlm4_test_msg_4_svc() 942 res.stat.stat = nlm4_denied; in nlm4_test_msg_4_svc() [all …]
|
| /freebsd-13.1/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-13.1/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-13.1/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-13.1/tools/regression/security/cap_test/ |
| H A D | cap_test_pdfork.c | 61 struct stat stat; in test_pdfork() local 89 REQUIRE(fstat(pd, &stat)); in test_pdfork() 94 CHECK(now >= stat.st_birthtime); in test_pdfork() 95 CHECK((now - stat.st_birthtime) < 2); in test_pdfork() 96 CHECK(stat.st_birthtime == stat.st_atime); in test_pdfork() 97 CHECK(stat.st_atime == stat.st_ctime); in test_pdfork() 98 CHECK(stat.st_ctime == stat.st_mtime); in test_pdfork()
|
| /freebsd-13.1/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-13.1/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-13.1/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-13.1/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-13.1/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-13.1/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-13.1/contrib/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 …]
|