Lines Matching refs:wholedisk
187 struct stat64 *statbuf, boolean_t *wholedisk) in is_shorthand_path() argument
193 *wholedisk = zfs_dev_is_whole_disk(path); in is_shorthand_path()
194 if (*wholedisk || (stat64(path, statbuf) == 0)) in is_shorthand_path()
200 *wholedisk = B_FALSE; in is_shorthand_path()
279 boolean_t wholedisk = B_FALSE; in make_leaf_vdev() local
303 wholedisk = zfs_dev_is_whole_disk(path); in make_leaf_vdev()
304 if (!wholedisk && (stat64(path, &statbuf) != 0)) { in make_leaf_vdev()
321 wholedisk = B_TRUE; in make_leaf_vdev()
326 &statbuf, &wholedisk); in make_leaf_vdev()
356 if (wholedisk || S_ISBLK(statbuf.st_mode)) { in make_leaf_vdev()
382 (uint64_t)wholedisk) == 0); in make_leaf_vdev()
982 uint64_t wholedisk; in make_disks() local
1005 &wholedisk)); in make_disks()
1007 if (!wholedisk) { in make_disks()
1161 uint64_t wholedisk = B_FALSE; in is_device_in_use() local
1172 ZPOOL_CONFIG_WHOLE_DISK, &wholedisk)); in is_device_in_use()
1181 if (wholedisk) { in is_device_in_use()
1192 ret = check_device(path, force, isspare, wholedisk); in is_device_in_use()