Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 4 of 4) sorted by relevance

/block/
Dblk-lib.c235 unsigned int sz; in __blkdev_issue_zeroout() local
257 sz = min((sector_t) PAGE_SIZE >> 9 , nr_sects); in __blkdev_issue_zeroout()
258 ret = bio_add_page(bio, ZERO_PAGE(0), sz << 9, 0); in __blkdev_issue_zeroout()
261 if (ret < (sz << 9)) in __blkdev_issue_zeroout()
Dbsg-lib.c92 size_t sz = (sizeof(struct scatterlist) * req->nr_phys_segments); in bsg_map_buffer() local
96 buf->sg_list = kzalloc(sz, GFP_KERNEL); in bsg_map_buffer()
Dbio.c74 unsigned int sz = sizeof(struct bio) + extra_size; in bio_find_or_create_slab() local
88 else if (bslab->slab_size == sz) { in bio_find_or_create_slab()
115 slab = kmem_cache_create(bslab->name, sz, ARCH_KMALLOC_MINALIGN, in bio_find_or_create_slab()
122 bslab->slab_size = sz; in bio_find_or_create_slab()
/block/partitions/
Defi.c190 uint32_t sz = 0; in is_pmbr_valid() local
231 sz = le32_to_cpu(mbr->partition_record[part].size_in_lba); in is_pmbr_valid()
232 if (sz != (uint32_t) total_sectors - 1 && sz != 0xFFFFFFFF) in is_pmbr_valid()
234 sz, min_t(uint32_t, in is_pmbr_valid()