/freebsd-current/usr.sbin/pw/ |
H A D | rm_r.c | 64 struct stat st; local 86 if (fstatat(dirfd, e->d_name, &st, AT_SYMLINK_NOFOLLOW) != 0) 88 if (S_ISDIR(st.st_mode)) { 91 } else if (S_ISLNK(st.st_mode) || st.st_uid == uid) 97 if (fstatat(rootfd, path, &st, AT_SYMLINK_NOFOLLOW) != 0) 99 if (S_ISLNK(st.st_mode)) { 102 } else if (st.st_uid == uid) {
|
H A D | pw_user.c | 87 struct stat st; local 95 if (fstatat(dfd, dir, &st, 0) != -1) { 96 if (S_ISDIR(st.st_mode)) 113 if (fstatat(dfd, dirs, &st, 0) == -1) { 116 if (fstatat(dfd, dirs, &st, 0) == -1) { 123 if (fstatat(dfd, dirs, &st, 0) == -1) { 671 struct stat st; local 675 stat(e->d_name, &st) == 0 && 676 !S_ISDIR(st.st_mode) && 677 st 830 struct stat st; local 1181 struct stat st; local 1522 struct stat st; local [all...] |
/freebsd-current/tools/test/stress2/tools/ |
H A D | flip.c | 85 struct stat st; local 120 if (fstat(fd, &st) == -1) 122 if ((st.st_mode & S_IFREG) == 0) 124 size = st.st_size;
|
/freebsd-current/sys/vm/ |
H A D | uma_core.c | 3607 struct stack st; local 3612 stack_save(&st); 3613 stack_print(&st);
|
/freebsd-current/sys/rpc/ |
H A D | svc.c | 403 SVCTHREAD *st; local 406 st = LIST_FIRST(&grp->sg_idlethreads); 407 if (st) { 408 LIST_REMOVE(st, st_ilink); 410 xprt->xp_thread = st; 411 st->st_xprt = xprt; 412 cv_signal(&st->st_cond); 1161 SVCTHREAD *st, *stpref; local 1169 st = mem_alloc(sizeof(*st)); 1424 SVCTHREAD *st; local 1474 SVCTHREAD *st; local [all...] |
/freebsd-current/sys/dev/bnxt/bnxt_re/ |
H A D | ib_verbs.c | 5028 u64 va, u64 st, u64 cmask) 5027 bnxt_re_get_page_shift(struct ib_umem *umem, u64 va, u64 st, u64 cmask) argument
|
/freebsd-current/sbin/pfctl/ |
H A D | pfctl.c | 2298 struct stat st; local 2304 if (fstat(fileno(fp), &st)) { 2308 if (S_ISDIR(st.st_mode)) {
|
/freebsd-current/lib/libpmc/pmu-events/ |
H A D | jevents.c | 1035 struct stat st; local 1038 if (stat(path, &st)) 1041 if (S_ISDIR(st.st_mode)) {
|
/freebsd-current/contrib/ntp/sntp/tests/ |
H A D | Makefile.in | 1182 st=0; \ 1186 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ 1188 || { echo "$$errmsg $$i.log" >&2; st=1; }; \ 1190 test $$st -eq 0 || exit 1; \
|
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | Makefile.in | 2434 st=0; \ 2438 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ 2440 || { echo "$$errmsg $$i.log" >&2; st=1; }; \ 2442 test $$st -eq 0 || exit 1; \
|
/freebsd-current/contrib/ntp/sntp/ |
H A D | configure | 8613 struct stat st; 8631 || fstat(fileno(stdout), &st) != 0 25945 struct stat st; 25963 || fstat(fileno(stdout), &st) != 0
|
/freebsd-current/contrib/ntp/scripts/ntpsweep/ |
H A D | ntpsweep.in | 62 Host st offset(s) version system processor
|
/freebsd-current/contrib/ntp/ntpq/ |
H A D | ntpq.c | 331 #define DEFTIMEOUT 5 /* wait 5 seconds for 1st pkt */ 3285 enum PState st; local 3293 st = sInit; 3296 while (st != sDone) { 3297 switch (st) 3305 st = sName; 3319 st = sValU; 3323 st = sDone; 3332 st = sValQ; 3337 st [all...] |
/freebsd-current/contrib/ntp/ntpd/ |
H A D | refclock_tsyncpci.c | 781 SecTimeObj st; // Time, in seconds local 785 SecTimeFromDoyTime(&st, pDt); 788 st.seconds = (int)((signed long long)st.seconds + (signed long long)off); 791 DoyTimeFromSecTime(pDt, &st); 888 // because months start on the 1st.
|
H A D | refclock_palisade.c | 539 int st; local 616 for (st = 66, ts = 0; st <= 73; st++) 617 if (mb(st)) { 618 if (mb(st) > 0) ts++; 619 printf(" %02d", mb(st)); 680 st = mb(18); 681 if (st < 0 || st > 1 [all...] |
H A D | ntpd.c | 638 status_$t st; local 641 proc2_$make_server(&puid, &st);
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | statestr.c | 438 u_int32 st 441 return decode_bitflags(st, " ", k_st_bits, COUNTOF(k_st_bits)); 452 int st 465 getcode(CTL_SYS_LI(st), leap_codes), 466 getcode(CTL_SYS_SOURCE(st), sync_codes), 467 getevents(CTL_SYS_NEVNT(st)), 468 getcode(CTL_SYS_EVENT(st), sys_codes)); 472 pst = (u_char)CTL_PEER_STATVAL(st); 476 getevents(CTL_PEER_NEVNT(st))); 477 if (CTL_PEER_EVENT(st) ! [all...] |
/freebsd-current/contrib/ntp/ |
H A D | configure | 15916 struct stat st; 15934 || fstat(fileno(stdout), &st) != 0 18012 struct stat st; 18030 || fstat(fileno(stdout), &st) != 0
|
/freebsd-current/usr.sbin/arp/ |
H A D | arp.c | 541 int st, found_entry = 0; local 562 st = sysctl(mib, 6, buf, &needed, NULL, 0); 563 if (st == 0 || errno != ENOMEM) 567 if (st == -1)
|
/freebsd-current/sys/kern/ |
H A D | uipc_mqueue.c | 2566 mqf_stat(struct file *fp, struct stat *st, struct ucred *active_cred) argument 2570 bzero(st, sizeof *st); 2572 st->st_atim = pn->mn_atime; 2573 st->st_mtim = pn->mn_mtime; 2574 st->st_ctim = pn->mn_ctime; 2575 st->st_birthtim = pn->mn_birth; 2576 st->st_uid = pn->mn_uid; 2577 st->st_gid = pn->mn_gid; 2578 st [all...] |
/freebsd-current/sys/geom/ |
H A D | geom_io.c | 151 struct stack st; local 154 stack_save(&st); 155 CTRSTACK(KTR_GEOM, &st, 3); 169 struct stack st; local 172 stack_save(&st); 173 CTRSTACK(KTR_GEOM, &st, 3); 184 struct stack st; local 187 stack_save(&st); 188 CTRSTACK(KTR_GEOM, &st, 3); 229 struct stack st; local 258 struct stack st; local 574 size_t st, su; local 663 size_t st, su; local [all...] |
/freebsd-current/sys/compat/linux/ |
H A D | linux_file.c | 660 struct stat st; local 667 UIO_USERSPACE, &st) == 0) { 668 if (S_ISDIR(st.st_mode)) 681 struct stat st; local 691 pathseg, &st) == 0 && S_ISDIR(st.st_mode))
|
/freebsd-current/contrib/bmake/ |
H A D | parse.c | 368 struct stat st; local 370 bufSize = fstat(fd, &st) == 0 && S_ISREG(st.st_mode) && 371 st.st_size > 0 && st.st_size < 1024 * 1024 * 1024 372 ? (size_t)st.st_size : 1024;
|
H A D | main.c | 1147 struct stat st; local 1149 stat(make, &st) == 0) 1933 struct stat st; local 1935 if (lstat(file, &st) == -1) 1938 if (S_ISDIR(st.st_mode)) { 2150 struct stat st; local 2160 if (stat(tmpdir, &st) < 0 || !S_ISDIR(st.st_mode)) {
|
/freebsd-current/sys/sys/ |
H A D | vnode.h | 694 void cvtstat(struct stat *st, struct ostat *ost); 696 int freebsd11_cvtstat(struct stat *st, struct freebsd11_stat *ost);
|