Searched refs:stat (Results 251 - 275 of 2128) sorted by relevance

<<11121314151617181920>>

/freebsd-10.3-release/sys/nlm/
H A Dnlm_advlock.c88 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 Dt_truncate.c34 #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 Dt_clone.c100 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 Daccess.c36 #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 Dnlm_prot.x41 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 Dcallback.h72 /* 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 Dprompt.c420 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 Dln.c45 #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 Dip.c62 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 Dtcp.c162 #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 Dt_disk.sh58 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 Dt_setattr.sh42 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 Dt_create.sh66 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 Dt_mkdir.sh46 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 Dt_mknod.sh42 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 Dt_renameat.c43 #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 Dt_fchmodat.c44 #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 Dfsutil.c39 #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 Dposixsem.c91 #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 Dcvmx-spi.c439 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 Ddfp-bit.c303 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 Dt_ptm.c38 #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 Dpen.c46 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 Dt_rmdir52 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 Dex_mkexrc.c18 #include <sys/stat.h>
42 struct stat sb;
61 if (!FL_ISSET(cmdp->iflags, E_C_FORCE) && !stat(fname, &sb)) {

Completed in 234 milliseconds

<<11121314151617181920>>