/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_lib.c | 1238 struct stat64 stbuf; in get_zfsvolname() local 1244 if (stat64(path, &stbuf) != 0) { in get_zfsvolname() 1253 stbuf.st_dev) in get_zfsvolname()
|
/illumos-gate/usr/src/cmd/more/ |
H A D | more.c | 457 struct stat stbuf; in checkf() local 461 if (stat (fs, &stbuf) == -1) { in checkf() 468 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) { in checkf() 484 if ((file_size = (off_t)stbuf.st_size) == 0) in checkf()
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | hotplug.c | 1067 struct stat stbuf; in h_get_physical_name_from_link() local 1123 if (lstat(source, &stbuf) == -1) { in h_get_physical_name_from_link() 1137 if (!S_ISLNK(stbuf.st_mode)) { in h_get_physical_name_from_link() 1200 struct stat stbuf; in h_get_physical_name() local 1213 status = lstat(s, &stbuf); in h_get_physical_name() 1218 if ((status == -1) || !S_ISLNK(stbuf.st_mode)) { in h_get_physical_name()
|
/illumos-gate/usr/src/cmd/troff/ |
H A D | n1.c | 455 struct stat stbuf; local 458 stat(ttyp, &stbuf); 459 mode = stbuf.st_mode;
|
/illumos-gate/usr/src/cmd/fdformat/ |
H A D | fdformat.c | 1079 struct stat stbuf; in check_mount() local 1108 if (fstat(mfd, &stbuf) == -1 || !S_ISCHR(stbuf.st_mode)) { in check_mount()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 975 struct stat stbuf; in validate_filename() local 978 if (stat(filename, &stbuf) < 0) { in validate_filename() 990 if (stat(filename, &stbuf) < 0) in validate_filename()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 1325 struct stat stbuf; in disk_present() local 1337 if (fstat(search_file, &stbuf) == -1 || !S_ISCHR(stbuf.st_mode)) { in disk_present()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yp_b_subr.c | 1497 struct statvfs stbuf; in cache_check() local 1499 st = statvfs(BINDING, &stbuf); in cache_check() 1506 if (strncasecmp(stbuf.f_basetype, "NFS", 3) == 0) in cache_check()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uustat.c | 1112 struct stat stbuf; local 1117 if (stat(fullname, &stbuf) != -1) { 1118 return ((int)((ptime - stbuf.st_mtime)/_sec_per_day));
|
H A D | uuxqt.c | 368 struct stat stbuf; local 393 if (stat(rqfile, &stbuf) == -1) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | wpa_supplicant.c | 588 struct stat stbuf; in wpa_supplicant_door_setup() local 603 if (stat(doorname, &stbuf) < 0) { in wpa_supplicant_door_setup()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 652 struct stat stbuf; in nfsmount() local 729 if (lstat(mntpnt, &stbuf) < 0) { in nfsmount() 2356 if (stat(mntpnt, &stbuf) == 0) { in nfsmount() 2359 mnttabtext, stbuf.st_dev, stbuf.st_rdev); in nfsmount() 4095 struct stat stbuf; in create_homedir() local 4106 if (stat(src, &stbuf) == 0) { in create_homedir()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | cmds.c | 683 struct stat stbuf; in getit() local 685 if (stat(argv[2], &stbuf) < 0) { in getit() 690 restart_point = stbuf.st_size; in getit()
|
/illumos-gate/usr/src/cmd/picl/picld/ |
H A D | picld.c | 1026 struct stat stbuf; in setup_door() local 1044 if (stat(PICLD_DOOR, &stbuf) < 0) { in setup_door()
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldapmodify.c | 333 struct stat stbuf; in process() local 334 if ( stat( rejfile, &stbuf ) < 0 ) { in process()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | main.c | 1912 struct stat stbuf; local 1915 if (stat(".", &stbuf) < 0) 1917 if (stbuf.st_uid != RealUid) 3911 struct stat stbuf; local 3913 if (fstat(fd, &stbuf) >= 0 || errno != EBADF)
|
H A D | util.c | 1715 struct stat stbuf; local 1717 if (fstat(fd, &stbuf) < 0 && errno != EOPNOTSUPP)
|
H A D | map.c | 1680 struct stat stbuf; local 1702 if (pfd < 0 || fstat(pfd, &stbuf) < 0 || 1703 stbuf.st_mtime > map->map_mtime) 2312 struct stat stbuf; local 2352 if (fd < 0 || fstat(fd, &stbuf) < 0 || stbuf.st_mtime > map->map_mtime)
|
H A D | conf.c | 1179 struct stat stbuf; in ttypath() local 1193 if (stat(pathn, &stbuf) < 0 || !bitset(S_IWOTH, stbuf.st_mode)) in ttypath()
|
H A D | deliver.c | 4610 struct stat stbuf; local 4612 if (fstat(sm_io_getinfo(e->e_dfp, SM_IO_WHAT_FD, NULL), &stbuf) 4617 e->e_dfdev = stbuf.st_dev; 4618 e->e_dfino = stbuf.st_ino;
|
H A D | queue.c | 548 struct stat stbuf; local 565 if (fstat(dfd, &stbuf) < 0) 569 e->e_dfdev = stbuf.st_dev; 570 e->e_dfino = ST_INODE(stbuf);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | localtime.c | 1433 struct stat64 stbuf; in load_zoneinfo() local 1460 if (fstat64(fid, &stbuf) == -1) { in load_zoneinfo() 1465 flen = (size_t)stbuf.st_size; in load_zoneinfo()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_list.c | 879 struct stat stbuf; in issue_fcp_scsi_cmd() local 882 if (stat(xport_phys, &stbuf) < 0) { in issue_fcp_scsi_cmd() 887 fscsi->scsi_fc_port_num = (uint32_t)minor(stbuf.st_rdev); in issue_fcp_scsi_cmd()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 2335 struct stat64 stbuf; local 2406 if (fstat64(P->asfd, &stbuf) == -1) { 2426 core_info->core_size = stbuf.st_size;
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 8979 struct stat stbuf; in altroot_cmd() local 8989 if (stat(path, &stbuf) < 0) { in altroot_cmd()
|