Searched refs:blkshift (Results 1 – 4 of 4) sorted by relevance
121 int blkshift; member618 s->blkshift = lbaf->ds; in nvme_identify()1015 return s->nsze << s->blkshift; in nvme_co_getlength()1021 assert(s->blkshift >= BDRV_SECTOR_BITS && s->blkshift <= 12); in nvme_get_blocksize()1022 return UINT32_C(1) << s->blkshift; in nvme_get_blocksize()1352 cdw12 = ((bytes >> s->blkshift) - 1) & 0xFFFF; in nvme_co_pwrite_zeroes()1357 assert(((cdw12 + 1) << s->blkshift) == bytes); in nvme_co_pwrite_zeroes()1431 assert(QEMU_IS_ALIGNED(bytes, 1UL << s->blkshift)); in nvme_co_pdiscard()1433 assert((bytes >> s->blkshift) <= UINT32_MAX); in nvme_co_pdiscard()1440 buf->nlb = cpu_to_le32(bytes >> s->blkshift); in nvme_co_pdiscard()[all …]
107 const unsigned int blkshift = mapping->host->i_blkbits - SECTOR_SHIFT; in iomap_bmap() local116 bno = iomap_sector(&iter.iomap, iter.pos) >> blkshift; in iomap_bmap()
45 int blkshift; member
54 block = blk_rq_pos(req) << 9 >> tr->blkshift; in do_blktrans_request()55 nsect = blk_rq_cur_bytes(req) >> tr->blkshift; in do_blktrans_request()499 tr->blkshift = ffs(tr->blksize) - 1; in register_mtd_blktrans()