/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 6684 struct stat64 statbuf; in unshare_unmount_path() local 6695 if (stat64(path, &statbuf) != 0) { in unshare_unmount_path() 6700 path_inode = statbuf.st_ino; in unshare_unmount_path() 6707 if (entry.mnt_major == major(statbuf.st_dev) && in unshare_unmount_path() 6708 entry.mnt_minor == minor(statbuf.st_dev)) in unshare_unmount_path() 6736 if (stat64(entry.mnt_mountp, &statbuf) != 0) { in unshare_unmount_path() 6740 } else if (statbuf.st_ino != path_inode) { in unshare_unmount_path()
|
/illumos-gate/usr/src/cmd/lp/cmd/ |
H A D | lpforms.c | 163 struct stat statbuf; in main() local
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 1982 struct stat statbuf; in wallmsg() local 1991 if (access(UTMPX_FILE, R_OK) != 0 || stat(UTMPX_FILE, &statbuf) != 0) { in wallmsg() 1994 } else if (statbuf.st_uid != 0 || (statbuf.st_mode & 07777) != 0644) { in wallmsg()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 4258 struct stat statbuf; in cmd_file() local 4272 if ((err = fstat(fileno(infile), &statbuf)) != 0) { in cmd_file() 4278 if (!S_ISREG(statbuf.st_mode)) { in cmd_file()
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | main.cc | 200 struct stat statbuf; in main() local 2452 struct stat statbuf; in enter_argv_values() local
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 956 struct stat statbuf; in valid_mount_point() local 960 if (lstat(path, &statbuf) != 0) { in valid_mount_point() 966 if (S_ISLNK(statbuf.st_mode)) { in valid_mount_point() 970 if (!leaf && !S_ISDIR(statbuf.st_mode)) { in valid_mount_point()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | conf.c | 3312 struct stat statbuf; 3335 if (stat(dir, &statbuf) == 0 && ustat(statbuf.st_dev, &fs) == 0)
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 454 struct stat64 statbuf; in zpool_valid_proplist() local 646 (stat64(strval, &statbuf) != 0 || in zpool_valid_proplist() 647 !S_ISDIR(statbuf.st_mode))) { in zpool_valid_proplist()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_sol_dev.c | 638 nitems(vmstats.statbuf), in vmmdev_do_ioctl() 639 &vmstats.num_entries, vmstats.statbuf); in vmmdev_do_ioctl()
|
/illumos-gate/usr/src/cmd/svc/svcs/ |
H A D | svcs.c | 2076 struct stat64 statbuf; in get_fmri_state() local 2079 if (stat64(path, &statbuf) == 0) in get_fmri_state()
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 112 #define LSTAT(dir, path, statbuf) fstatat(dir, \ argument 114 path : Gen.g_attrnam_p), statbuf, AT_SYMLINK_NOFOLLOW) 115 #define STAT(dir, path, statbuf) fstatat(dir, \ argument 117 path : Gen.g_attrnam_p), statbuf, 0)
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 1086 struct stat statbuf = {0}; in install_bootloader() local 1107 if (stat(bam_root, &statbuf) != 0) { in install_bootloader() 1119 if (mnt.mnt_major == major(statbuf.st_dev) && in install_bootloader() 1120 mnt.mnt_minor == minor(statbuf.st_dev)) { in install_bootloader()
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 7394 struct stat statbuf; in cmd_file() local 7408 if ((err = fstat(fileno(infile), &statbuf)) != 0) { in cmd_file() 7414 if (!S_ISREG(statbuf.st_mode)) { in cmd_file()
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 9492 struct stat statbuf; in verify_compress_opt() local 9494 if (stat(t, &statbuf) == -1) in verify_compress_opt()
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 583 struct stat statbuf; in zonecfg_get_handle_impl() local 592 if (stat(filename, &statbuf) == 0) in zonecfg_get_handle_impl()
|