Home
last modified time | relevance | path

Searched refs:zv_name (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzvol.c139 if (zv->zv_hash == hash && strcmp(zv->zv_name, name) == 0) { in zvol_find_by_name_hash()
154 strcmp(zv->zv_name, name) == 0); in zvol_find_by_name_hash()
772 error = dsl_prop_get_integer(zv->zv_name, "readonly", &ro, NULL); in zvol_setup_zv()
879 VERIFY0(dmu_objset_hold(zv->zv_name, zv, &zv->zv_objset)); in zvol_resume()
914 boolean_t ro = (readonly || (strchr(zv->zv_name, '@') != NULL)); in zvol_first_open()
915 error = dmu_objset_own(zv->zv_name, DMU_OST_ZVOL, ro, B_TRUE, zv, &os); in zvol_first_open()
1294 if (name == NULL || strcmp(zv->zv_name, name) == 0 || in zvol_remove_minors_impl()
1295 (strncmp(zv->zv_name, name, namelen) == 0 && in zvol_remove_minors_impl()
1296 (zv->zv_name[namelen] == '/' || in zvol_remove_minors_impl()
1297 zv->zv_name[namelen] == '@'))) { in zvol_remove_minors_impl()
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzvol_impl.h39 char zv_name[MAXNAMELEN]; /* name */ member
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzvol_os.c925 error = copy_to_user((void *)arg, zv->zv_name, MAXNAMELEN); in zvol_ioctl()
1409 strlcpy(zv->zv_name, name, sizeof (zv->zv_name)); in zvol_alloc()
1746 strlcpy(zv->zv_name, newname, sizeof (zv->zv_name)); in zvol_os_rename_minor()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzvol_os.c1326 strlcpy(zv->zv_name, newname, sizeof (zv->zv_name)); in zvol_os_rename_minor()
1340 ZFS_LOG(1, "ZVOL %s destroyed.", zv->zv_name); in zvol_os_free()
1470 (void) strlcpy(zv->zv_name, name, MAXPATHLEN); in zvol_os_create_minor()