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

/freebsd-current/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_device_path.c99 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 Dzfs_mod.c202 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 Dzpool_vdev.c186 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 Dlibzfs_pool_os.c132 uint64_t wholedisk; local
138 &wholedisk) != 0 || !wholedisk) {
/freebsd-current/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_import_os.c697 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 Dvdev_disk.c177 * 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 Dlibzfs_pool.c2847 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