Home
last modified time | relevance | path

Searched refs:statbuf (Results 151 – 165 of 165) sorted by relevance

1234567

/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c6684 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 Dlpforms.c163 struct stat statbuf; in main() local
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c1982 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 Dnwamcfg.c4258 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 Dmain.cc200 struct stat statbuf; in main() local
2452 struct stat statbuf; in enter_argv_values() local
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c956 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 Dconf.c3312 struct stat statbuf;
3335 if (stat(dir, &statbuf) == 0 && ustat(statbuf.st_dev, &fs) == 0)
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c454 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 Dvmm_sol_dev.c638 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 Dsvcs.c2076 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 Dcpio.c112 #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 Dbootadm.c1086 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 Dzonecfg.c7394 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 Dtar.c9492 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 Dlibzonecfg.c583 struct stat statbuf; in zonecfg_get_handle_impl() local
592 if (stat(filename, &statbuf) == 0) in zonecfg_get_handle_impl()

1234567