Searched refs:blksize_shift (Results 1 – 4 of 4) sorted by relevance
56 ns->blksize_shift = min_t(u8, in nvmet_file_ns_enable()78 ns->blksize_shift = 0; in nvmet_file_ns_enable()148 pos = le64_to_cpu(req->cmd->rw.slba) << req->ns->blksize_shift; in nvmet_file_execute_io()295 offset = le64_to_cpu(range.slba) << req->ns->blksize_shift; in nvmet_file_execute_discard()297 len <<= req->ns->blksize_shift; in nvmet_file_execute_discard()347 offset = le64_to_cpu(write_zeroes->slba) << req->ns->blksize_shift; in nvmet_file_write_zeroes_work()349 req->ns->blksize_shift); in nvmet_file_write_zeroes_work()
66 ns->blksize_shift = blksize_bits(bdev_logical_block_size(ns->bdev)); in nvmet_bdev_ns_enable()171 sector <<= (req->ns->blksize_shift - 9); in nvmet_bdev_execute_rw()233 le64_to_cpu(range->slba) << (ns->blksize_shift - 9), in nvmet_bdev_discard_range()234 le32_to_cpu(range->nlb) << (ns->blksize_shift - 9), in nvmet_bdev_discard_range()299 (req->ns->blksize_shift - 9); in nvmet_bdev_execute_write_zeroes()301 (req->ns->blksize_shift - 9)); in nvmet_bdev_execute_write_zeroes()
59 u32 blksize_shift; member495 req->ns->blksize_shift; in nvmet_rw_len()
435 id->ncap = id->nsze = cpu_to_le64(ns->size >> ns->blksize_shift); in nvmet_execute_identify_ns()464 id->lbaf[0].ds = ns->blksize_shift; in nvmet_execute_identify_ns()