Searched refs:wholedisk (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_device_path.c82 zfs_strcmp_shortname(const char *name, const char *cmp_name, int wholedisk) argument
110 if (wholedisk)
139 zfs_strcmp_pathname(const char *name, const char *cmp, int wholedisk) argument
158 return (zfs_strcmp_shortname(name, cmp_name, wholedisk));
164 if (wholedisk) {
/freebsd-13-stable/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_mod.c185 uint64_t wholedisk = 0ULL; local
212 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_WHOLE_DISK, &wholedisk);
221 " wholedisk %d, %s dm (guid %llu)", zpool_get_name(zhp), path,
222 physpath ? physpath : "NULL", wholedisk, is_dm ? "is" : "not",
236 if (wholedisk) {
274 !(wholedisk || is_dm) || (physpath == NULL)) {
396 * path/physpath/wholedisk to keep it simple.
415 nvlist_add_uint64(newvd, ZPOOL_CONFIG_WHOLE_DISK, wholedisk) != 0 ||
736 uint64_t wholedisk; local
745 &wholedisk);
[all...]
/freebsd-13-stable/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c187 struct stat64 *statbuf, boolean_t *wholedisk)
193 *wholedisk = zfs_dev_is_whole_disk(path);
194 if (*wholedisk || (stat64(path, statbuf) == 0))
200 *wholedisk = B_FALSE;
279 boolean_t wholedisk = B_FALSE; local
303 wholedisk = zfs_dev_is_whole_disk(path);
304 if (!wholedisk && (stat64(path, &statbuf) != 0)) {
321 wholedisk = B_TRUE;
326 &statbuf, &wholedisk);
356 if (wholedisk || S_ISBL
186 is_shorthand_path(const char *arg, char *path, size_t path_size, struct stat64 *statbuf, boolean_t *wholedisk) argument
942 uint64_t wholedisk; local
1101 uint64_t wholedisk = B_FALSE; local
[all...]
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_pool_os.c133 uint64_t wholedisk; local
139 &wholedisk) != 0 || !wholedisk) {
/freebsd-13-stable/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_device_path_os.c508 boolean_t wholedisk = B_FALSE; local
523 wholedisk = udev_mpath_whole_disk(dev);
526 return (wholedisk);
H A Dzutil_import_os.c708 boolean_t wholedisk)
755 if (!wholedisk && !udev_mpath_whole_disk(dev))
804 uint64_t wholedisk = 0; local
841 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_WHOLE_DISK, &wholedisk);
846 if (encode_device_strings(path, &vds, (boolean_t)wholedisk) == 0) {
707 encode_device_strings(const char *path, vdev_dev_strs_t *ds, boolean_t wholedisk) argument
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_disk.c108 * It is possible to expand a vdev when it has been created as a wholedisk
114 * responsible for verifying the expected partition layout in the wholedisk
124 bdev_max_capacity(struct block_device *bdev, uint64_t wholedisk) argument
129 if (wholedisk && bdev != bdev_whole(bdev)) {
131 * When reporting maximum expansion capacity for a wholedisk
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c2610 uint64_t wholedisk = 0; local
2613 &wholedisk);
2614 if (zfs_strcmp_pathname(srchval, val, wholedisk) == 0)
3060 uint64_t wholedisk = 0; local
3063 &wholedisk);
3074 if (wholedisk) {

Completed in 80 milliseconds