Home
last modified time | relevance | path

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

/block/
Dblk-lib.c309 unsigned int sz; in __blkdev_issue_zero_pages() local
325 sz = min((sector_t) PAGE_SIZE, nr_sects << 9); in __blkdev_issue_zero_pages()
326 bi_size = bio_add_page(bio, ZERO_PAGE(0), sz, 0); in __blkdev_issue_zero_pages()
329 if (bi_size < sz) in __blkdev_issue_zero_pages()
Dbsg-lib.c206 size_t sz = (sizeof(struct scatterlist) * req->nr_phys_segments); in bsg_map_buffer() local
210 buf->sg_list = kmalloc(sz, GFP_KERNEL); in bsg_map_buffer()
Dbio.c67 unsigned int sz = sizeof(struct bio) + extra_size; in bio_find_or_create_slab() local
81 else if (bslab->slab_size == sz) { in bio_find_or_create_slab()
108 slab = kmem_cache_create(bslab->name, sz, ARCH_KMALLOC_MINALIGN, in bio_find_or_create_slab()
115 bslab->slab_size = sz; in bio_find_or_create_slab()
/block/partitions/
Defi.c176 uint32_t sz = 0; in is_pmbr_valid() local
217 sz = le32_to_cpu(mbr->partition_record[part].size_in_lba); in is_pmbr_valid()
218 if (sz != (uint32_t) total_sectors - 1 && sz != 0xFFFFFFFF) in is_pmbr_valid()
220 sz, min_t(uint32_t, in is_pmbr_valid()