| /openbsd-src/usr.bin/rdist/ |
| H A D | client.c | 318 linkinfo(struct stat *statp) in linkinfo() argument 324 if (lp->inum == statp->st_ino && lp->devnum == statp->st_dev) { in linkinfo() 332 lp->inum = statp->st_ino; in linkinfo() 333 lp->devnum = statp->st_dev; in linkinfo() 334 lp->count = statp->st_nlink - 1; in linkinfo() 771 update(char *rname, opt_t opts, struct stat *statp) in update() argument 782 debugmsg(DM_CALL, "update(%s, %#x, %p)\n", rname, opts, statp); in update() 784 switch (statp->st_mode & S_IFMT) { in update() 801 if (isexec(target, statp)) { in update() 870 if (n <= 1 || !S_ISREG(statp->st_mode)) in update() [all …]
|
| H A D | isexec.c | 43 isexec(char *file, struct stat *statp) in isexec() argument 51 if (!S_ISREG(statp->st_mode) || in isexec() 52 !(statp->st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))) in isexec()
|
| /openbsd-src/usr.bin/kdump/ |
| H A D | ktrstruct.c | 214 ktrstat(const struct stat *statp) in ktrstat() argument 219 * note: ktrstruct() has already verified that statp points to a in ktrstat() 223 strmode(statp->st_mode, mode); in ktrstat() 225 statp->st_dev, (unsigned long long)statp->st_ino, in ktrstat() 226 mode, statp->st_nlink); in ktrstat() 227 uidname(statp->st_uid); in ktrstat() 229 gidname(statp->st_gid); in ktrstat() 230 printf(", rdev=%d, ", statp->st_rdev); in ktrstat() 232 print_timespec(&statp in ktrstat() [all...] |
| /openbsd-src/lib/libc/rpc/ |
| H A D | xdr_rec.c | 78 bool_t __xdrrec_getrec(XDR *xdrs, enum xprt_stat *statp, bool_t expectdata); 513 __xdrrec_getrec(XDR *xdrs, enum xprt_stat *statp, bool_t expectdata) in __xdrrec_getrec() argument 523 *statp = expectdata ? XPRT_DIED : XPRT_IDLE; in __xdrrec_getrec() 527 *statp = XPRT_DIED; in __xdrrec_getrec() 533 *statp = XPRT_MOREREQS; in __xdrrec_getrec() 540 *statp = XPRT_DIED; in __xdrrec_getrec() 557 *statp = XPRT_DIED; in __xdrrec_getrec() 562 *statp = expectdata ? XPRT_DIED : XPRT_IDLE; in __xdrrec_getrec() 577 *statp = XPRT_MOREREQS; in __xdrrec_getrec() 582 *statp = XPRT_MOREREQS; in __xdrrec_getrec()
|
| /openbsd-src/gnu/usr.bin/binutils/binutils/ |
| H A D | filemode.c | 67 filemodestring (struct stat *statp, char *str) 69 mode_string ((unsigned long) statp->st_mode, str);
|
| /openbsd-src/gnu/usr.bin/cvs/src/ |
| H A D | lock.c | 97 static void set_lockers_name PROTO((struct stat *statp)); 693 set_lockers_name (statp) in set_lockers_name() argument 694 struct stat *statp; in set_lockers_name() 700 if ((pw = (struct passwd *) getpwuid (statp->st_uid)) != 708 (void) sprintf (lockers_name, "uid%lu", (unsigned long) statp->st_uid);
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_platform_linux.cpp | 337 struct __res_state *statp = (struct __res_state*)state; in ExtractResolvFDs() local 339 if (statp->_u._ext.nsaddrs[i] && statp->_u._ext.nssocks[i] != -1) in ExtractResolvFDs() 340 fds[cnt++] = statp->_u._ext.nssocks[i]; in ExtractResolvFDs()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/ |
| H A D | Module.pm | 202 P => $ro->{statp}, 207 PV => $stat->{P}{$ro->{statp}},
|
| /openbsd-src/usr.bin/ssh/ |
| H A D | scp.c | 1442 rsource(char *name, struct stat *statp) in rsource() argument 1458 if (do_times(remout, verbose_mode, statp) < 0) { in rsource() 1464 (u_int) (statp->st_mode & FILEMODEMASK), 0, last); in rsource()
|