Searched refs:blksize_shift (Results 1 – 5 of 5) sorted by relevance
56 ns->blksize_shift = min_t(u8, in nvmet_file_ns_enable()72 ns->blksize_shift = 0; in nvmet_file_ns_enable()141 pos = le64_to_cpu(req->cmd->rw.slba) << req->ns->blksize_shift; in nvmet_file_execute_io()294 offset = le64_to_cpu(range.slba) << req->ns->blksize_shift; in nvmet_file_execute_discard()296 len <<= req->ns->blksize_shift; in nvmet_file_execute_discard()348 offset = le64_to_cpu(write_zeroes->slba) << req->ns->blksize_shift; in nvmet_file_write_zeroes_work()350 req->ns->blksize_shift); in nvmet_file_write_zeroes_work()
99 ns->blksize_shift = blksize_bits(bdev_logical_block_size(ns->bdev)); in nvmet_bdev_ns_enable()370 le32_to_cpu(range->nlb) << (ns->blksize_shift - 9), in nvmet_bdev_discard_range()440 (req->ns->blksize_shift - 9)); in nvmet_bdev_execute_write_zeroes()
64 u32 blksize_shift; member590 req->ns->blksize_shift; in nvmet_rw_data_len()673 return cpu_to_le64(sect >> (ns->blksize_shift - SECTOR_SHIFT)); in nvmet_sect_to_lba()678 return le64_to_cpu(lba) << (ns->blksize_shift - SECTOR_SHIFT); in nvmet_lba_to_sect()
68 ns->blksize_shift = blksize_bits(bdev_logical_block_size(ns->bdev)); in nvmet_bdev_zns_enable()132 req->ns->blksize_shift; in nvmet_execute_identify_cns_cs_ns()
528 cpu_to_le64(req->ns->size >> req->ns->blksize_shift); in nvmet_execute_identify_ns()557 id->lbaf[0].ds = req->ns->blksize_shift; in nvmet_execute_identify_ns()