Searched refs:wholedisk (Results 1 - 7 of 7) sorted by relevance
/freebsd-current/sys/contrib/openzfs/lib/libzutil/ |
H A D | zutil_device_path.c | 99 zfs_strcmp_shortname(const char *name, const char *cmp_name, int wholedisk) argument 126 if (wholedisk) 155 zfs_strcmp_pathname(const char *name, const char *cmp, int wholedisk) argument 173 return (zfs_strcmp_shortname(name, cmp_name, wholedisk)); 179 if (wholedisk) {
|
/freebsd-current/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_mod.c | 202 uint64_t wholedisk = 0ULL; local 242 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_WHOLE_DISK, &wholedisk); 308 wholedisk ? "is" : "not", 325 if (wholedisk) { 366 !(wholedisk || is_mpath_wholedisk) || (physpath == NULL)) { 412 " it's a multipath wholedisk, don't label"); 534 * path/physpath/wholedisk to keep it simple. 553 nvlist_add_uint64(newvd, ZPOOL_CONFIG_WHOLE_DISK, wholedisk) != 0 || 1026 * Thus a partition with wholedisk=1 set tells us that zfs created the 1037 uint64_t wholedisk local 1084 uint64_t wholedisk = 0; local 1136 wholedisk = 0, udev_parent_size = 0; local [all...] |
/freebsd-current/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_vdev.c | 186 struct stat64 *statbuf, boolean_t *wholedisk) 192 *wholedisk = zfs_dev_is_whole_disk(path); 193 if (*wholedisk || (stat64(path, statbuf) == 0)) 199 *wholedisk = B_FALSE; 278 boolean_t wholedisk = B_FALSE; local 302 wholedisk = zfs_dev_is_whole_disk(path); 303 if (!wholedisk && (stat64(path, &statbuf) != 0)) { 320 wholedisk = B_TRUE; 325 &statbuf, &wholedisk); 355 if (wholedisk || S_ISBL 185 is_shorthand_path(const char *arg, char *path, size_t path_size, struct stat64 *statbuf, boolean_t *wholedisk) argument 970 uint64_t wholedisk; local 1149 uint64_t wholedisk = B_FALSE; local [all...] |
/freebsd-current/sys/contrib/openzfs/lib/libzfs/os/linux/ |
H A D | libzfs_pool_os.c | 132 uint64_t wholedisk; local 138 &wholedisk) != 0 || !wholedisk) {
|
/freebsd-current/sys/contrib/openzfs/lib/libzutil/os/linux/ |
H A D | zutil_import_os.c | 697 boolean_t wholedisk) 744 if (!wholedisk && !udev_mpath_whole_disk(dev)) 766 (void) wholedisk; 868 uint64_t wholedisk = 0; local 904 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_WHOLE_DISK, &wholedisk); 909 if (encode_device_strings(path, &vds, (boolean_t)wholedisk) == 0) { 696 encode_device_strings(const char *path, vdev_dev_strs_t *ds, boolean_t wholedisk) argument
|
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | vdev_disk.c | 177 * It is possible to expand a vdev when it has been created as a wholedisk 183 * responsible for verifying the expected partition layout in the wholedisk 193 bdev_max_capacity(struct block_device *bdev, uint64_t wholedisk) argument 198 if (wholedisk && bdev != bdev_whole(bdev)) { 200 * When reporting maximum expansion capacity for a wholedisk
|
/freebsd-current/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_pool.c | 2847 uint64_t wholedisk = 0; local 2850 &wholedisk); 2851 if (zfs_strcmp_pathname(srchval, val, wholedisk) == 0) 3162 uint64_t wholedisk = 0; local 3165 &wholedisk); 3176 if (wholedisk) {
|
Completed in 321 milliseconds