/freebsd-10.3-release/sys/nlm/ |
H A D | nlm_advlock.c | 88 static int nlm_map_status(nlm4_stats stat); 558 dst->stat.stat = (enum nlm4_stats) src->stat.stat; 570 enum clnt_stat stat; local 577 stat = nlm_test_1(&args1, &res1, client, ext, timo); 579 if (stat == RPC_SUCCESS) { 581 res->stat.stat 601 enum clnt_stat stat; local 630 enum clnt_stat stat; local 657 enum clnt_stat stat; local 728 enum clnt_stat stat; local 927 enum clnt_stat stat; local 1002 enum clnt_stat stat; local 1077 nlm_map_status(nlm4_stats stat) argument [all...] |
/freebsd-10.3-release/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_truncate.c | 34 #include <sys/stat.h> 58 struct stat st; 67 (void)memset(&st, 0, sizeof(struct stat)); 118 struct stat st; 127 (void)memset(&st, 0, sizeof(struct stat));
|
H A D | t_clone.c | 100 int stat; local 133 while (waitpid(pid, &stat, __WCLONE) != pid) 137 ATF_REQUIRE_MSG(WIFEXITED(stat) != 0, "child didn't exit"); 140 WEXITSTATUS(stat), frobme[1]); 142 switch (WEXITSTATUS(stat)) { 157 WEXITSTATUS(stat));
|
/freebsd-10.3-release/contrib/ncurses/ncurses/tinfo/ |
H A D | access.c | 36 #include <sys/stat.h> 136 struct stat sb; 138 if (stat(path, &sb) == 0 149 struct stat sb; 151 if (stat(path, &sb) == 0
|
/freebsd-10.3-release/include/rpcsvc/ |
H A D | nlm_prot.x | 41 union nlm_testrply switch (nlm_stats stat) { 49 nlm_stats stat; 54 nlm_stat stat; 59 nlm_testrply stat; 135 nlm_stats stat; 161 nlm4_stats stat; 189 union nlm4_testrply switch (nlm4_stats stat) { 198 nlm4_testrply stat; 209 nlm4_stat stat; 241 nlm4_stats stat; [all...] |
/freebsd-10.3-release/contrib/gdb/include/gdb/ |
H A D | callback.h | 72 /* Forward decl for stat/fstat. */ 73 struct stat; 95 int (*stat) PARAMS ((host_callback *, const char *, struct stat *)); 96 int (*fstat) PARAMS ((host_callback *, int, struct stat *)); 138 /* Layout of `stat' struct. 268 /* Translate host stat struct to target. 269 If stat struct ptr is NULL, just compute target stat struct size. 270 Result is size of target stat struc 94 int (*stat) PARAMS ((host_callback *, const char *, struct stat *)); member in struct:host_callback_struct [all...] |
/freebsd-10.3-release/usr.sbin/ppp/ |
H A D | prompt.c | 420 int stat, fd = p ? p->fd_in : STDIN_FILENO; local 423 stat = fcntl(fd, F_GETFL, 0); 424 if (stat > 0) { 425 stat |= O_NONBLOCK; 426 fcntl(fd, F_SETFL, stat); 454 int stat; local 462 stat = fcntl(p->fd_in, F_GETFL, 0); 463 if (stat > 0) { 464 stat |= O_NONBLOCK; 465 fcntl(p->fd_in, F_SETFL, stat); 477 int stat; local 493 int stat; local [all...] |
/freebsd-10.3-release/bin/ln/ |
H A D | ln.c | 45 #include <sys/stat.h> 74 struct stat sb; 167 if (stat(targetdir, &sb)) 185 struct stat sb1, sb2; 209 if (stat(pathbuf, &sb1) != 0) 217 if (stat(pathbuf, &sb2) != 0) 225 struct stat sb; 234 if ((Pflag ? lstat : stat)(source, &sb)) { 252 (!hflag && stat(target, &sb) == 0 && S_ISDIR(sb.st_mode))) { 271 if (stat(sourc [all...] |
/freebsd-10.3-release/usr.bin/systat/ |
H A D | ip.c | 62 struct stat { struct 67 static struct stat curstat, initstat, oldstat; 141 domode(struct stat *ret) 143 const struct stat *sub; 161 #define DO(stat) ret->stat = (curstat.stat - sub->stat) / divisor 203 struct stat stats; 209 #define DO(stat, ro [all...] |
H A D | tcp.c | 162 #define DO(stat) ret->stat = (curstat.stat - sub->stat) / divisor 236 #define DO(stat, row, col) \ 237 mvwprintw(wnd, row, col, "%12lu", stats.stat) 238 #define L(row, stat) DO(stat, row, 0) 239 #define R(row, stat) DO(stat, ro [all...] |
/freebsd-10.3-release/contrib/netbsd-tests/usr.bin/rump_server/ |
H A D | t_disk.sh | 58 atf_check -s exit:0 -o inline:'32768\n' stat -f %z the.img 64 atf_check -s exit:0 -o inline:'49152\n' stat -f %z the.img 74 atf_check -s exit:0 -o inline:'65536\n' stat -f %z the.img 95 env LD_PRELOAD=/usr/lib/librumphijack.so stat -f %HT /rump/img 102 env LD_PRELOAD=/usr/lib/librumphijack.so stat -f %HT /rump/img 109 env LD_PRELOAD=/usr/lib/librumphijack.so stat -f %HT /rump/img 116 env LD_PRELOAD=/usr/lib/librumphijack.so stat -f %HT /rump/img
|
/freebsd-10.3-release/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_setattr.sh | 42 eval $(stat -s own | sed -e 's|st_|ost_|g') 44 eval $(stat -s own) 76 eval $(stat -s grp | sed -e 's|st_|ost_|g') 78 eval $(stat -s grp) 112 eval $(stat -s owngrp) 145 eval $(stat -s mode) 178 eval $(stat -s times)
|
H A D | t_create.sh | 66 eval $(stat -s . | sed -e 's|st_|dst_|g') 67 eval $(stat -s a) 77 eval $(stat -s b) 82 eval $(stat -s c) 87 eval $(stat -s b/a) 92 eval $(stat -s c/a)
|
H A D | t_mkdir.sh | 46 eval $(stat -s ${Mount_Point}) 66 eval $(stat -s ${Mount_Point}) 104 eval $(stat -s b) 109 eval $(stat -s c) 114 eval $(stat -s b/a) 119 eval $(stat -s c/a)
|
H A D | t_mknod.sh | 42 eval $(stat -s fd0a) 76 eval $(stat -s null) 110 eval $(stat -s pipe)
|
/freebsd-10.3-release/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_renameat.c | 43 #include <sys/stat.h> 62 struct stat ost, nst; 69 ATF_REQUIRE(stat(FILE, &ost) == 0); 77 ATF_REQUIRE(stat(TARGET, &nst) == 0); 91 struct stat ost, nst; 98 ATF_REQUIRE(stat(FILE, &ost) == 0); 102 ATF_REQUIRE(stat(TARGET, &nst) == 0);
|
H A D | t_fchmodat.c | 44 #include <sys/stat.h> 63 struct stat st; 73 ATF_REQUIRE(stat(FILE, &st) == 0); 86 struct stat st; 95 ATF_REQUIRE(stat(BASEFILE, &st) == 0); 170 struct stat st;
|
/freebsd-10.3-release/sbin/fsck/ |
H A D | fsutil.c | 39 #include <sys/stat.h> 136 struct stat stslash, stchar; 138 if (stat("/", &stslash) < 0) { 139 perr("Can't stat `/'"); 142 if (stat(origname, &stchar) < 0) { 143 perr("Can't stat %s\n", origname); 158 struct stat devstat, mntdevstat; 164 if (stat(name, &devstat) != 0) 184 if (stat(dev_name, &mntdevstat) == 0 &&
|
/freebsd-10.3-release/tools/regression/posixsem/ |
H A D | posixsem.c | 91 #define CSTAT_CLASS(stat) ((stat) >> 16) 92 #define CSTAT_ERROR(stat) ((stat) & 0xffff) 99 * '*stat'. If there is an error in pipe(), fork(), or wait() this 103 child_worker(int (*func)(void *arg), void *arg, int *stat) argument 128 if (read(pfd[0], stat, sizeof(*stat)) < 0) { 1053 int stat; local 1066 if (child_worker(wait_twoproc_child, NULL, &stat) < 1233 int nsems_max, stat; local 1288 int i, nsems_max, stat; local 1342 int stat; local 1353 int nsems_max, stat; local 1386 int stat; local 1398 int i, nsems_max, stat; local [all...] |
/freebsd-10.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-spi.c | 439 cvmx_spxx_clk_stat_t stat; local 452 stat.u64 = cvmx_read_csr(CVMX_SPXX_CLK_STAT(interface)); 453 if (stat.s.s4clk0 && stat.s.s4clk1 && clock_transitions) 458 cvmx_write_csr(CVMX_SPXX_CLK_STAT(interface), stat.u64); 459 stat.s.s4clk0 = 0; 460 stat.s.s4clk1 = 0; 467 } while (stat.s.s4clk0 == 0 || stat.s.s4clk1 == 0); 476 stat 511 cvmx_spxx_clk_stat_t stat; local 594 cvmx_spxx_clk_stat_t stat; local [all...] |
/freebsd-10.3-release/contrib/gcc/config/ |
H A D | dfp-bit.c | 303 int stat; 304 stat = dfp_compare_op (decNumberCompare, arg_a, arg_b); 306 return stat != 0; 314 int stat; 315 stat = dfp_compare_op (decNumberCompare, arg_a, arg_b); 317 return stat != 0; 325 int stat; 326 stat = dfp_compare_op (decNumberCompare, arg_a, arg_b); 328 return (stat == -1) ? -1 : 1; 336 int stat; 301 int stat; local 312 int stat; local 323 int stat; local 334 int stat; local 345 int stat; local 356 int stat; local [all...] |
/freebsd-10.3-release/contrib/netbsd-tests/lib/libc/ttyio/ |
H A D | t_ptm.c | 38 #include <sys/stat.h> 62 struct stat stm, sts; 87 REQUIRE_ERRNO(stat(ptm.cn, &sts), -1); 92 REQUIRE_ERRNO(stat(ptm.sn, &sts), -1); 127 struct stat stm, sts; 142 REQUIRE_ERRNO(stat("/dev/ptyp0", &sts), -1);
|
/freebsd-10.3-release/usr.sbin/pkg_install/lib/ |
H A D | pen.c | 46 struct stat sb; 51 else if ((cp = getenv("PKG_TMPDIR")) != NULL && stat(cp, &sb) != FAIL && (min_free(cp) >= sz)) 53 else if ((cp = getenv("TMPDIR")) != NULL && stat(cp, &sb) != FAIL && (min_free(cp) >= sz)) 55 else if (stat("/var/tmp", &sb) != FAIL && min_free("/var/tmp") >= sz) 57 else if (stat("/tmp", &sb) != FAIL && min_free("/tmp") >= sz) 59 else if ((stat("/usr/tmp", &sb) == SUCCESS || mkdir("/usr/tmp", 01777) == SUCCESS) && min_free("/usr/tmp") >= sz)
|
/freebsd-10.3-release/tools/regression/tmpfs/ |
H A D | t_rmdir | 52 eval $(stat -s ${Work_Dir}) 55 eval $(stat -s ${Work_Dir}) 80 eval $(stat -s ${Work_Dir})
|
/freebsd-10.3-release/contrib/nvi/ex/ |
H A D | ex_mkexrc.c | 18 #include <sys/stat.h> 42 struct stat sb; 61 if (!FL_ISSET(cmdp->iflags, E_C_FORCE) && !stat(fname, &sb)) {
|