Home
last modified time | relevance | path

Searched refs:blocks_long (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/target/
Dtarget_core_iblock.c235 unsigned long long blocks_long = in iblock_emulate_read_cap_with_block_size() local
239 return blocks_long; in iblock_emulate_read_cap_with_block_size()
245 blocks_long <<= 1; in iblock_emulate_read_cap_with_block_size()
248 blocks_long <<= 2; in iblock_emulate_read_cap_with_block_size()
251 blocks_long <<= 3; in iblock_emulate_read_cap_with_block_size()
260 blocks_long >>= 1; in iblock_emulate_read_cap_with_block_size()
263 blocks_long <<= 1; in iblock_emulate_read_cap_with_block_size()
266 blocks_long <<= 2; in iblock_emulate_read_cap_with_block_size()
275 blocks_long >>= 2; in iblock_emulate_read_cap_with_block_size()
278 blocks_long >>= 1; in iblock_emulate_read_cap_with_block_size()
[all …]
Dtarget_core_rd.c622 unsigned long long blocks_long = ((rd_dev->rd_page_count * PAGE_SIZE) / in rd_get_blocks() local
625 return blocks_long; in rd_get_blocks()
Dtarget_core_sbc.c36 unsigned long long blocks_long = dev->transport->get_blocks(dev); in sbc_emulate_readcapacity() local
56 if (blocks_long >= 0x00000000ffffffff) in sbc_emulate_readcapacity()
59 blocks = (u32)blocks_long; in sbc_emulate_readcapacity()