Home
last modified time | relevance | path

Searched refs:stat64 (Results 1 – 25 of 213) sorted by relevance

123456789

/illumos-gate/usr/src/cmd/backup/dump/
H A Dpartial.c36 static int lf_ftw_mark(const char *, const struct stat64 *, int);
43 struct stat64 st; in partial_check()
45 if (stat64(disk, &st) < 0 || in partial_check()
56 stat64(mnt->mnt_dir, &st) < 0) in partial_check()
98 struct stat64 st; in partial_mark()
106 if (stat64(path, &st) < 0 || in partial_mark()
140 struct stat64 st; in lf_mark_root()
149 if (stat64(dotdot, &st) < 0) in lf_mark_root()
167 if (stat64(dotdot, &st) < 0 || in lf_mark_root()
182 lf_ftw_mark(const char *name, const struct stat64 *st, int flag) in lf_ftw_mark()
H A Dlftw.c106 int (*)(const char *, const struct stat64 *, int),
108 int (*)(const char *, struct stat64 *));
113 int (*fn)(const char *, const struct stat64 *, int), in lf_lftw() argument
131 int (*fn)(const char *, const struct stat64 *, int), in lf_xftw() argument
133 int (*statfn)(const char *, struct stat64 *)) in lf_xftw()
142 struct stat64 sb; in lf_xftw()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dttyname.c158 struct stat64 fsb = { 0 }; in _ttyname_dev()
203 struct stat64 tfsb; in _ttyname_common()
358 ispts(struct stat64 *fsb, int match_mask) in ispts()
361 struct stat64 stb; in ispts()
366 if (stat64(buf, &stb) != 0) in ispts()
385 ispty(struct stat64 *fsb, int match_mask) in ispty()
388 struct stat64 stb; in ispty()
427 if (stat64(buf, &stb) != 0) in ispty()
485 struct stat64 tsb; in srch_dir()
538 if (stat64(file_name, &tsb) < 0) in srch_dir()
[all …]
H A Dgetvfsent.c59 (vgetp->xx == NULL || stat64(vgetp->xx, &statb) == -1 ||\
74 struct stat64 statb; in getvfsspec()
77 if (special && stat64(special, &statb) == 0 && in getvfsspec()
91 stat64(vgetp->vfs_special, &statb) == -1 || in getvfsspec()
114 struct stat64 statb; in getvfsany()
138 if (vrefp->vfs_special && stat64(vrefp->vfs_special, &statb) == 0 && in getvfsany()
146 if (vrefp->vfs_fsckdev && stat64(vrefp->vfs_fsckdev, &statb) == 0 && in getvfsany()
H A Dftok.c44 struct stat64 st; in ftok()
49 if (stat64(path, &st) < 0) in ftok()
H A Dposix_fadvise.c48 struct stat64 statb; in posix_fadvise()
75 struct stat64 statb; in posix_fadvise64()
/illumos-gate/usr/src/lib/libadm/common/
H A Dfulldevnm.c97 static char *getblkcomplete(char *, struct stat64 *);
153 struct stat64 buf; in test_if_blk()
156 if (stat64(new_path, &buf) != 0) in test_if_blk()
174 struct stat64 buf; in test_if_raw()
177 if (stat64(new_path, &buf) != 0) in test_if_raw()
194 getblkcomplete(char *cp, struct stat64 *dat) in getblkcomplete()
247 getrawcomplete(char *cp, struct stat64 *dat) in getrawcomplete()
337 struct stat64 buf; in getfullblkname()
354 if (stat64(cp, &buf) != 0) { in getfullblkname()
419 struct stat64 buf; in getfullrawname()
[all …]
H A Ddevtab.c114 samedev(struct stat64 x, struct stat64 y) in samedev()
913 struct stat64 devstatbuf; /* Stat struct, <device> */ in _getdevrec()
914 struct stat64 tblstatbuf; /* Stat struct, tbl entry */ in _getdevrec()
949 if (stat64(device, &devstatbuf) != 0) errno = ENODEV; in _getdevrec()
964 if (stat64(devrec->cdevice, &tblstatbuf) == 0) { in _getdevrec()
987 if (stat64(devrec->bdevice, &tblstatbuf) == 0) { in _getdevrec()
1010 if (stat64(devrec->pathname, in _getdevrec()
/illumos-gate/usr/src/uts/common/sys/
H A Dstat.h89 struct stat64 { struct
130 struct stat64 {
161 #pragma redefine_extname stat stat64
172 #define stat stat64
190 #pragma redefine_extname stat64 stat
200 #define stat64 stat
278 struct stat64 {
303 struct stat64 {
497 extern int fstat64(int, struct stat64 *);
498 extern int stat64(const char *_RESTRICT_KYWD, struct stat64 *_RESTRICT_KYWD);
[all …]
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dstat.c37 fstatat64(int fd, const char *name, struct stat64 *sb, int flags) in fstatat64()
42 #pragma weak _stat64 = stat64
44 stat64(const char *name, struct stat64 *sb) in stat64() function
55 lstat64(const char *name, struct stat64 *sb) in lstat64()
66 fstat64(int fd, struct stat64 *sb) in fstat64()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dgross.c66 extern int fstat64(int fd, struct stat64* st) in fstat64()
75 extern int lstat64(const char* path, struct stat64* st) in lstat64()
84 extern int stat64(const char* path, struct stat64* st) in stat64() function
/illumos-gate/usr/src/lib/libgen/common/
H A Dcopylist.c81 struct stat64 stbuf; in copylist64()
84 if (stat64(filenm, &stbuf) == -1) { in copylist64()
97 struct stat64 stbuf; in copylist()
100 if (stat64(filenm, &stbuf) == -1) { in copylist()
H A Drmdirp.c54 struct stat64 st, cst; in rmdirp()
59 currstat = stat64(".", &cst); in rmdirp()
98 if (stat64(d, &st) < 0) { in rmdirp()
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_ancil.c218 struct stat64 filestat; in ypcheck_map_existence_yptol()
233 if (stat64(dbfile, &filestat) == -1) { in ypcheck_map_existence_yptol()
246 if (stat64(dbfile, &filestat) == -1) { in ypcheck_map_existence_yptol()
261 if (stat64(dbfile, &filestat) == -1) { in ypcheck_map_existence_yptol()
275 if (stat64(dbfile, &filestat) == -1) { in ypcheck_map_existence_yptol()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_proto.h64 struct stat64 *,
69 struct stat64 *,
74 struct stat64 *,
H A Dtlm_traverse.c104 struct stat64 ts_st;
132 struct stat64 fd_attr;
153 char *name, long *countp, struct stat64 *attr, in fs_populate_dents()
203 fs_getstat(char *path, fs_fhandle_t *fh, struct stat64 *st) in fs_getstat()
229 struct stat64 st; in fs_getdents()
336 struct stat64 pst, est; in traverse_post()
755 struct stat64 pst, est; in traverse_level()
1063 struct stat64 src_attr; in filecopy()
1064 struct stat64 dst_attr; in filecopy()
1087 if (stat64(src, &src_attr) < 0) { in filecopy()
[all …]
/illumos-gate/usr/src/head/
H A Dftw.h141 int (*)(const char *, const struct stat64 *, int), int);
143 int (*)(const char *, const struct stat64 *, int), int);
146 int (*)(const char *, const struct stat64 *, int, struct FTW *),
/illumos-gate/usr/src/cmd/ndmpd/include/
H A Dtlm_buffers.h171 boolean_t (*bs_fn)(struct bk_selector *bks, struct stat64 *s);
246 struct stat64 *,
251 struct stat64 *);
256 struct stat64 *,
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c90 static struct mntlist *findmntent(char *, struct stat64 *, struct mntlist *);
282 struct stat64 *argstat; in main()
298 argstat = (struct stat64 *)xmalloc(argc * sizeof (*argstat)); in main()
324 if (stat64(cp, &argstat[i]) < 0) { in main()
689 struct stat64 device_stat, mount_stat; in mpath()
702 if (stat64(mnt.mnt_mountp, &mount_stat) != 0) in mpath()
704 if (stat64(mnt.mnt_special, &device_stat) != 0) in mpath()
768 findmntent(char *path, struct stat64 *pstat, struct mntlist *mlist) in findmntent()
826 struct stat64 fs_sb; in findmntent()
828 if (stat64(mnt->mnt_mountp, &fs_sb) < 0 && in findmntent()
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Dstat.c412 static int cstatat64(int, char *, struct stat64 *, int, int);
413 static int cstat64(vnode_t *, struct stat64 *, int, cred_t *);
416 fstat64(int fd, struct stat64 *sb) in fstat64()
422 fstatat64(int fd, char *name, struct stat64 *sb, int flags) in fstatat64()
439 stat64(char *name, struct stat64 *sb) in stat64() function
445 lstat64(char *name, struct stat64 *sb) in lstat64()
451 cstat64(vnode_t *vp, struct stat64 *ubp, int flag, cred_t *cr) in cstat64()
454 struct stat64 lsb; in cstat64()
487 cstatat64(int fd, char *name, struct stat64 *sb, int follow, int flags) in cstatat64()
/illumos-gate/usr/src/cmd/bart/
H A Dcreate.c37 static int eval_file(const char *fname, const struct stat64 *statb,
40 static char *get_acl_string(const char *fname, const struct stat64 *statb,
45 static int walker(const char *name, const struct stat64 *sp,
289 struct stat64 stat_buf; in create_manifest_filelist()
344 walker(const char *name, const struct stat64 *sp, int type, struct FTW *ftwx) in walker()
417 eval_file(const char *fname, const struct stat64 *statb, struct FTW *ftwx) in eval_file()
611 get_acl_string(const char *fname, const struct stat64 *statb, int *err_code) in get_acl_string()
/illumos-gate/usr/src/cmd/vi/port/
H A Dexpreserve.c99 struct stat64 stbuf;
148 if (stat64((char *)filname, &stbuf))
181 struct stat64 stbuf; in copyout()
220 struct stat64 stbuf; in copyout()
222 if (stat64((char *)name, &stbuf) == 0) in copyout()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd.h800 struct stat64 *,
804 struct stat64 *);
808 struct stat64 *,
813 struct stat64 *,
817 struct stat64 *,
821 struct stat64 *);
825 struct stat64 *,
829 struct stat64 *,
1044 extern int fs_getstat(char *, struct fs_fhandle *, struct stat64 *);
1046 char *, int *, struct fs_fhandle *, struct stat64 *);
H A Dndmpd_fhistory.c117 struct stat64 *file_stat, u_longlong_t fh_info) in ndmpd_api_file_history_path_v2()
297 struct stat64 *file_stat, u_longlong_t fh_info) in ndmpd_api_file_history_node_v2()
904 struct stat64 ret_attr; in ndmpd_fhdir_v3_cb()
909 err = stat64(dirpath, &ret_attr); in ndmpd_fhdir_v3_cb()
940 struct stat64 *stp, u_longlong_t off) in ndmpd_fhnode_v3_cb()
1041 struct stat64 *st, u_longlong_t ll_idx) in ndmpd_path_restored_v3()
1333 struct stat64 *stp, u_longlong_t off) in ndmpd_file_history_path()
1379 struct stat64 *stp) in ndmpd_file_history_dir()
1488 struct stat64 ret_attr; in ndmpd_file_history_dir()
1493 err = stat64(dirpath, &ret_attr); in ndmpd_file_history_dir()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/shared/
H A Dutils.c192 struct stat64 filestat;
204 if (stat64(dbfile, &filestat) != -1) {
208 if (stat64(dbfile, &filestat) != -1) {

123456789