Home
last modified time | relevance | path

Searched refs:logical_ashift (Results 1 – 11 of 11) sorted by relevance

/freebsd-14-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_add/
HDadd-o_ashift.ksh60 logical_ashift=$(get_tunable VDEV_FILE_LOGICAL_ASHIFT)
93 exp=$(( (ashift <= max_auto_ashift) ? ashift : logical_ashift ))
/freebsd-14-stable/sys/contrib/openzfs/module/os/freebsd/zfs/
HDvdev_file.c89 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_file_open() argument
174 *logical_ashift = vdev_file_logical_ashift; in vdev_file_open()
346 ZFS_MODULE_PARAM(zfs_vdev_file, vdev_file_, logical_ashift, UINT, ZMOD_RW,
HDvdev_geom.c805 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-14-stable/sys/contrib/openzfs/module/os/linux/zfs/
HDvdev_file.c89 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_file_open() argument
173 *logical_ashift = vdev_file_logical_ashift; in vdev_file_open()
374 ZFS_MODULE_PARAM(zfs_vdev_file, vdev_file_, logical_ashift, UINT, ZMOD_RW,
HDvdev_disk.c284 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_disk_open() argument
456 *logical_ashift = highbit64(MAX(logical_block_size, in vdev_disk_open()
/freebsd-14-stable/sys/contrib/openzfs/module/zfs/
HDvdev_draid.c1487 uint64_t logical_ashift = 0, physical_ashift = 0; in vdev_draid_calculate_asize() local
1500 logical_ashift = MAX(logical_ashift, cvd->vdev_ashift); in vdev_draid_calculate_asize()
1507 physical_ashift = vdev_best_ashift(logical_ashift, in vdev_draid_calculate_asize()
1513 *logical_ashiftp = logical_ashift; in vdev_draid_calculate_asize()
1542 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_draid_open() argument
1581 logical_ashift, physical_ashift); in vdev_draid_open()
2454 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_draid_spare_open() argument
2471 *logical_ashift = *physical_ashift = ASHIFT_MIN; in vdev_draid_spare_open()
2492 logical_ashift, physical_ashift); in vdev_draid_spare_open()
HDvdev_mirror.c388 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()
HDvdev_raidz.c1501 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_raidz_open() argument
1530 *logical_ashift = MAX(*logical_ashift, cvd->vdev_ashift); in vdev_raidz_open()
1537 *physical_ashift = vdev_best_ashift(*logical_ashift, in vdev_raidz_open()
HDvdev_indirect.c950 uint64_t *logical_ashift, uint64_t *physical_ashift) in vdev_indirect_open() argument
954 *logical_ashift = vd->vdev_ashift; in vdev_indirect_open()
HDvdev.c2004 uint64_t logical_ashift = 0; in vdev_open() local
2037 &logical_ashift, &physical_ashift); in vdev_open()
2169 vd->vdev_logical_ashift = MAX(logical_ashift, in vdev_open()
/freebsd-14-stable/sys/contrib/openzfs/tests/zfs-tests/include/
HDtunables.cfg85 VDEV_FILE_LOGICAL_ASHIFT vdev.file.logical_ashift vdev_file_logical_ashift