Searched refs:volmode (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | zvol_wait | 31 name,volmode,receive_resume_token,redact_snaps,keystatus | 32 while IFS=" " read -r name volmode token redacted keystatus; do # IFS=\t here! 37 [ "$volmode" = "none" ] && continue 38 [ "$volmode" = "default" ] && [ "$default_volmode" = "3" ] &&
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/ |
H A D | zvol_misc_volmode.ksh | 53 zfs inherit volmode $TESTPOOL 106 log_must zfs set volmode="$value" "$ds" 131 log_mustnot zfs set volmode="$badval" $ZVOL 193 log_must zfs inherit volmode $ZVOL 213 log_must zfs inherit volmode $SUBZVOL
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zvol_os.c | 1346 uint64_t volmode; in zvol_alloc() local 1349 if (dsl_prop_get_integer(name, "volmode", &volmode, NULL) != 0) in zvol_alloc() 1352 if (volmode == ZFS_VOLMODE_DEFAULT) in zvol_alloc() 1353 volmode = zvol_volmode; in zvol_alloc() 1355 if (volmode == ZFS_VOLMODE_NONE) in zvol_alloc() 1361 zv->zv_volmode = volmode; in zvol_alloc() 1422 if (volmode == ZFS_VOLMODE_DEV) { in zvol_alloc()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zvol_os.c | 1385 uint64_t volmode, hash; in zvol_os_create_minor() local 1415 zfs_prop_to_name(ZFS_PROP_VOLMODE), &volmode, NULL); in zvol_os_create_minor() 1416 if (error || volmode == ZFS_VOLMODE_DEFAULT) in zvol_os_create_minor() 1417 volmode = zvol_volmode; in zvol_os_create_minor() 1428 zv->zv_volmode = volmode; in zvol_os_create_minor() 1503 if (error == 0 && volmode == ZFS_VOLMODE_GEOM) { in zvol_os_create_minor()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zvol.c | 1482 zvol_set_volmode_impl(char *name, uint64_t volmode) in zvol_set_volmode_impl() argument 1498 if (zv == NULL && volmode == ZFS_VOLMODE_NONE) in zvol_set_volmode_impl() 1503 if (old_volmode == volmode) in zvol_set_volmode_impl() 1508 switch (volmode) { in zvol_set_volmode_impl()
|