Searched refs:get_blocks (Results 1 – 9 of 9) sorted by relevance
36 unsigned long long blocks_long = dev->transport->get_blocks(dev); in sbc_emulate_readcapacity()83 unsigned long long blocks = dev->transport->get_blocks(dev); in sbc_emulate_readcapacity_16()187 return cmd->se_dev->transport->get_blocks(cmd->se_dev) - in sbc_get_write_same_sectors()285 sector_t end_lba = dev->transport->get_blocks(dev) + 1; in sbc_setup_write_same()1114 end_lba = dev->transport->get_blocks(dev) + 1; in sbc_parse_cdb()1199 if (lba + range > dev->transport->get_blocks(dev) + 1) { in sbc_execute_unmap()
177 return (dev) ? dev->transport->get_blocks(dev) > U32_MAX : false; in target_sense_desc_format()
890 (unsigned long long)(dev->transport->get_blocks(dev) + 1) * in fd_format_prot()894 ret = fd_do_prot_fill(dev, 0, dev->transport->get_blocks(dev) + 1, in fd_format_prot()939 .get_blocks = fd_get_blocks,
651 .get_blocks = rd_get_blocks,
876 .get_blocks = iblock_get_blocks,
1087 .get_blocks = pscsi_get_blocks,
1035 u64 blocks = dev->transport->get_blocks(dev); in spc_emulate_modesense()
2857 .get_blocks = tcmu_get_blocks,
46 sector_t (*get_blocks)(struct se_device *); member