Searched refs:logical_ashift (Results 1 – 11 of 11) sorted by relevance
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_add/ |
H A D | add-o_ashift.ksh | 60 logical_ashift=$(get_tunable VDEV_FILE_LOGICAL_ASHIFT) 93 exp=$(( (ashift <= max_auto_ashift) ? ashift : logical_ashift ))
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | vdev_file.c | 89 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_file_open() argument 174 *logical_ashift = vdev_file_logical_ashift; in vdev_file_open() 339 ZFS_MODULE_PARAM(zfs_vdev_file, vdev_file_, logical_ashift, UINT, ZMOD_RW,
|
H A D | vdev_geom.c | 805 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_geom_open() argument 951 *logical_ashift = highbit(MAX(pp->sectorsize, SPA_MINBLOCKSIZE)) - 1; in vdev_geom_open() 953 if (pp->stripesize && pp->stripesize > (1 << *logical_ashift) && in vdev_geom_open()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | vdev_file.c | 91 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_file_open() argument 175 *logical_ashift = vdev_file_logical_ashift; in vdev_file_open() 370 ZFS_MODULE_PARAM(zfs_vdev_file, vdev_file_, logical_ashift, UINT, ZMOD_RW,
|
H A D | vdev_disk.c | 284 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_disk_open() argument 459 *logical_ashift = highbit64(MAX(logical_block_size, in vdev_disk_open()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_draid.c | 1473 uint64_t logical_ashift = 0, physical_ashift = 0; in vdev_draid_calculate_asize() local 1486 logical_ashift = MAX(logical_ashift, cvd->vdev_ashift); in vdev_draid_calculate_asize() 1493 physical_ashift = vdev_best_ashift(logical_ashift, in vdev_draid_calculate_asize() 1499 *logical_ashiftp = logical_ashift; in vdev_draid_calculate_asize() 1528 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_draid_open() argument 1567 logical_ashift, physical_ashift); in vdev_draid_open() 2440 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_draid_spare_open() argument 2457 *logical_ashift = *physical_ashift = ASHIFT_MIN; in vdev_draid_spare_open() 2478 logical_ashift, physical_ashift); in vdev_draid_spare_open()
|
H A D | vdev_mirror.c | 388 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_mirror_open() argument 411 *logical_ashift = MAX(*logical_ashift, cvd->vdev_ashift); in vdev_mirror_open() 418 *physical_ashift = vdev_best_ashift(*logical_ashift, in vdev_mirror_open()
|
H A D | vdev_indirect.c | 951 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_indirect_open() argument 955 *logical_ashift = vd->vdev_ashift; in vdev_indirect_open()
|
H A D | vdev_raidz.c | 2135 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_raidz_open() argument 2164 *logical_ashift = MAX(*logical_ashift, cvd->vdev_ashift); in vdev_raidz_open() 2171 *physical_ashift = vdev_best_ashift(*logical_ashift, in vdev_raidz_open()
|
H A D | vdev.c | 2031 uint64_t logical_ashift = 0; in vdev_open() local 2064 &logical_ashift, &physical_ashift); in vdev_open() 2196 vd->vdev_logical_ashift = MAX(logical_ashift, in vdev_open()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/include/ |
H A D | tunables.cfg | 93 VDEV_FILE_LOGICAL_ASHIFT vdev.file.logical_ashift vdev_file_logical_ashift
|