Searched refs:blksize_shift (Results 1 – 4 of 4) sorted by relevance
68 ns->blksize_shift = min_t(u8, in nvmet_file_ns_enable()90 ns->blksize_shift = 0; in nvmet_file_ns_enable()160 pos = le64_to_cpu(req->cmd->rw.slba) << req->ns->blksize_shift; in nvmet_file_execute_io()313 offset = le64_to_cpu(range.slba) << req->ns->blksize_shift; in nvmet_file_execute_discard()315 len <<= req->ns->blksize_shift; in nvmet_file_execute_discard()367 offset = le64_to_cpu(write_zeroes->slba) << req->ns->blksize_shift; in nvmet_file_write_zeroes_work()369 req->ns->blksize_shift); in nvmet_file_write_zeroes_work()
62 u32 blksize_shift; member534 req->ns->blksize_shift; in nvmet_rw_data_len()605 return cpu_to_le64(sect >> (ns->blksize_shift - SECTOR_SHIFT)); in nvmet_sect_to_lba()610 return le64_to_cpu(lba) << (ns->blksize_shift - SECTOR_SHIFT); in nvmet_lba_to_sect()
82 ns->blksize_shift = blksize_bits(bdev_logical_block_size(ns->bdev)); in nvmet_bdev_ns_enable()348 le32_to_cpu(range->nlb) << (ns->blksize_shift - 9), in nvmet_bdev_discard_range()418 (req->ns->blksize_shift - 9)); in nvmet_bdev_execute_write_zeroes()
501 cpu_to_le64(req->ns->size >> req->ns->blksize_shift); in nvmet_execute_identify_ns()530 id->lbaf[0].ds = req->ns->blksize_shift; in nvmet_execute_identify_ns()