/netbsd-current/crypto/dist/ipsec-tools/src/racoon/ |
H A D | safefile.c | 37 #include <sys/stat.h> 52 struct stat s; 62 if (stat(path, &s) != 0)
|
/netbsd-current/external/gpl2/lvm2/dist/daemons/dmeventd/plugins/snapshot/ |
H A D | dmeventd_snapshot.c | 73 static void _parse_snapshot_params(char *params, struct snap_status *stat) argument 81 stat->used = stat->max = 0; 84 stat->invalid = 1; 101 stat->used = atoi(params); 102 stat->max = atoi(p); 113 struct snap_status stat = { 0 }; local 130 _parse_snapshot_params(params, &stat); 135 if (stat.invalid || !stat [all...] |
/netbsd-current/external/gpl2/lvm2/dist/lib/misc/ |
H A D | sharedlib.c | 25 #include <sys/stat.h> 31 struct stat info; 39 libname) == -1) || stat(path, &info) == -1)
|
/netbsd-current/external/ibm-public/postfix/dist/src/global/ |
H A D | mail_trigger.c | 57 #include <sys/stat.h> 77 struct stat st; 86 if ((status = stat(path, &st)) < 0) {
|
/netbsd-current/lib/libc/compat/gen/ |
H A D | compat___fts31.c | 25 #include <sys/stat.h> 27 #include <compat/sys/stat.h> 43 #define stat __compat___stat30 macro
|
H A D | compat___fts32.c | 41 #include <sys/stat.h> 42 #include <compat/sys/stat.h> 49 #define stat __compat___stat30 macro
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mc/ |
H A D | nouveau_nvkm_subdev_mc_tu102.c | 33 u32 stat = nvkm_rd32(device, 0xb81010); local 34 if (stat & 0x00000050) { 37 nvkm_wr32(device, 0xb81010, stat & 0x00000050);
|
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/ |
H A D | mkdir.c | 24 #include <sys/stat.h> 33 /* Disable the definition of mkdir to rpl_mkdir (from the <sys/stat.h> 40 which are included in the <sys/stat.h> override. */ 79 struct stat st; 80 if (stat (tmp_dir, &st) == 0)
|
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/ |
H A D | mkdir.c | 24 #include <sys/stat.h> 33 /* Disable the definition of mkdir to rpl_mkdir (from the <sys/stat.h> 40 which are included in the <sys/stat.h> override. */ 79 struct stat st; 80 if (stat (tmp_dir, &st) == 0 || errno == EOVERFLOW)
|
/netbsd-current/sys/arch/ia64/stand/ia64/ski/ |
H A D | skifs.c | 82 struct disk_stat stat; local 87 stat.fd = (u_int64_t) f->f_fsdata; 88 ssc((u_int64_t)&stat, 0, 0, 0, SSC_WAIT_COMPLETION); 90 *resid = size - stat.count; 91 f->f_offset += stat.count; 120 skifs_stat(struct open_file *f, struct stat *sb)
|
/netbsd-current/external/bsd/am-utils/dist/libamu/ |
H A D | clnt_sperrno.c | 134 clnt_sperrno(enum clnt_stat stat) argument 139 if (rpc_errlist[i].status == stat) {
|
/netbsd-current/external/gpl2/xcvs/dist/lib/ |
H A D | openat.h | 23 #include <sys/stat.h> 41 int fstatat (int fd, char const *file, struct stat *st, int flag);
|
/netbsd-current/lib/libc/compat/sys/ |
H A D | compat___stat13.c | 43 #include <sys/stat.h> 46 #include <compat/sys/stat.h> 50 "warning: reference to compatibility __stat13(); include <sys/stat.h> to generate correct reference") 53 "warning: reference to compatibility __fstat13(); include <sys/stat.h> to generate correct reference") 56 "warning: reference to compatibility __lstat13(); include <sys/stat.h> to generate correct reference") 67 * Convert from a new to an old stat structure. 70 static void cvtstat(struct stat13 *, const struct stat *); 73 cvtstat(struct stat13 *ost, const struct stat *st) 101 struct stat nst; 113 struct stat ns [all...] |
H A D | compat___stat30.c | 43 #include <sys/stat.h> 46 #include <compat/sys/stat.h> 50 "warning: reference to compatibility __stat30(); include <sys/stat.h> to generate correct reference") 53 "warning: reference to compatibility __fstat30(); include <sys/stat.h> to generate correct reference") 56 "warning: reference to compatibility __lstat30(); include <sys/stat.h> to generate correct reference") 68 * Convert from a new to an old stat structure. 71 static void cvtstat(struct stat30 *, const struct stat *); 74 cvtstat(struct stat30 *ost, const struct stat *st) 98 struct stat nst; 110 struct stat ns [all...] |
/netbsd-current/lib/libutil/ |
H A D | secure_path.c | 43 #include <sys/stat.h> 52 struct stat sb; 61 /* syslog(LOG_ERR, "cannot stat %s: %m", path) */;
|
/netbsd-current/usr.bin/tail/ |
H A D | extern.h | 40 void forward(FILE *, enum STYLE, off_t, struct stat *); 41 void reverse(FILE *, enum STYLE, off_t, struct stat *);
|
/netbsd-current/usr.bin/crunch/crunchide/ |
H A D | exec_coff.c | 49 #include <sys/stat.h> 61 struct stat sb;
|
H A D | exec_ecoff.c | 43 #include <sys/stat.h> 59 struct stat sb;
|
/netbsd-current/tests/net/net/ |
H A D | t_raw.c | 4 #include <sys/stat.h> 27 struct stat sb;
|
/netbsd-current/external/gpl3/gcc.old/dist/libgfortran/caf/ |
H A D | mpi.c | 134 int *stat, char *errmsg, size_t errmsg_len, 173 if (stat) 174 *stat = 0; 187 if (stat) 189 *stat = caf_is_finalized ? STAT_STOPPED_IMAGE : 1; 208 _gfortran_caf_deregister (caf_token_t *token, int *stat, char *errmsg, size_t errmsg_len) argument 214 if (stat) 216 *stat = STAT_STOPPED_IMAGE; 233 if (stat) 234 *stat 133 _gfortran_caf_register(size_t size, caf_register_t type, caf_token_t *token, int *stat, char *errmsg, size_t errmsg_len, int num_alloc_comps __attribute__ ((unused))) argument 242 _gfortran_caf_sync_all(int *stat, char *errmsg, size_t errmsg_len) argument 280 _gfortran_caf_sync_images(int count, int images[], int *stat, char *errmsg, size_t errmsg_len) argument [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gdbsupport/ |
H A D | fileio.h | 24 #include <sys/stat.h> 69 /* Pack a host-format struct stat into a struct fio_stat. */ 71 extern void host_to_fileio_stat (struct stat *st, struct fio_stat *fst);
|
/netbsd-current/external/gpl3/gcc/dist/libgfortran/caf/ |
H A D | mpi.c | 134 int *stat, char *errmsg, size_t errmsg_len, 173 if (stat) 174 *stat = 0; 187 if (stat) 189 *stat = caf_is_finalized ? STAT_STOPPED_IMAGE : 1; 208 _gfortran_caf_deregister (caf_token_t *token, int *stat, char *errmsg, size_t errmsg_len) argument 214 if (stat) 216 *stat = STAT_STOPPED_IMAGE; 233 if (stat) 234 *stat 133 _gfortran_caf_register(size_t size, caf_register_t type, caf_token_t *token, int *stat, char *errmsg, size_t errmsg_len, int num_alloc_comps __attribute__ ((unused))) argument 242 _gfortran_caf_sync_all(int *stat, char *errmsg, size_t errmsg_len) argument 280 _gfortran_caf_sync_images(int count, int images[], int *stat, char *errmsg, size_t errmsg_len) argument [all...] |
/netbsd-current/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_entry_stat.c | 29 #include <sys/stat.h> 38 const struct stat * 41 struct stat *st; 42 if (entry->stat == NULL) { 43 entry->stat = calloc(1, sizeof(*st)); 44 if (entry->stat == NULL) 55 * stat structure. 58 return (entry->stat); 60 st = entry->stat; 82 * information into struct stat [all...] |
/netbsd-current/tests/fs/tmpfs/ |
H A D | t_times.sh | 42 eval $(stat -s a | sed -e 's|st_|ost_|g') || atf_fail "stat failed" 52 eval $(stat -s a) || atf_fail "stat failed" 62 eval $(stat -s a) || atf_fail "stat failed" 83 eval $(stat -s b | sed -e 's|st_|ost_|g') || atf_fail "stat failed" 87 eval $(stat -s b) || atf_fail "stat faile [all...] |
/netbsd-current/usr.sbin/rpc.pcnfsd/ |
H A D | pcnfsd.x | 272 arstat stat; 282 pirstat stat; 294 psrstat stat; 321 pirstat stat; 336 psrstat stat; 381 pirstat stat; 398 pcrstat stat; 408 pirstat stat; 424 pirstat stat; 438 pcrstat stat; [all...] |