Home
last modified time | relevance | path

Searched refs:srcstat (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddisk_discovery.c218 struct stat srcstat, targstat; in device_get_disk_name_from_dir() local
223 loc_err = stat(path, &srcstat); in device_get_disk_name_from_dir()
240 (void *)&(srcstat.st_ino), in device_get_disk_name_from_dir()
243 (void *)&(srcstat.st_dev), in device_get_disk_name_from_dir()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgtrans.c906 struct stat srcstat; in pkgxfer() local
1005 if (stat(srcdir, &srcstat) != -1) { in pkgxfer()
1006 if (chmod(dstdir, (srcstat.st_mode & S_IAMB)) == -1) { in pkgxfer()