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()134 pos = le64_to_cpu(req->cmd->rw.slba) << req->ns->blksize_shift; in nvmet_file_execute_io()288 offset = le64_to_cpu(range.slba) << req->ns->blksize_shift; in nvmet_file_execute_discard()290 len <<= req->ns->blksize_shift; in nvmet_file_execute_discard()342 offset = le64_to_cpu(write_zeroes->slba) << req->ns->blksize_shift; in nvmet_file_write_zeroes_work()344 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()369 le32_to_cpu(range->nlb) << (ns->blksize_shift - 9), in nvmet_bdev_discard_range()439 (req->ns->blksize_shift - 9)); in nvmet_bdev_execute_write_zeroes()
65 u32 blksize_shift; member594 req->ns->blksize_shift; in nvmet_rw_data_len()677 return cpu_to_le64(sect >> (ns->blksize_shift - SECTOR_SHIFT)); in nvmet_sect_to_lba()682 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()134 req->ns->blksize_shift; in nvmet_execute_identify_ns_zns()
527 cpu_to_le64(req->ns->size >> req->ns->blksize_shift); in nvmet_execute_identify_ns()556 id->lbaf[0].ds = req->ns->blksize_shift; in nvmet_execute_identify_ns()