Searched refs:DIV_ROUND_UP_SECTOR_T (Results 1 – 7 of 7) sorted by relevance
/linux/include/linux/ |
H A D | math.h | 46 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d) macro 48 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP(ll,d) macro
|
/linux/block/ |
H A D | blk-lib.c | 190 sector_t pages = DIV_ROUND_UP_SECTOR_T(nr_sects, PAGE_SIZE / 512); in __blkdev_sectors_to_bio_pages()
|
/linux/drivers/md/ |
H A D | md-bitmap.c | 843 bm_blocks = DIV_ROUND_UP_SECTOR_T(bm_blocks, in md_bitmap_read_sb() 848 bm_blocks = DIV_ROUND_UP_SECTOR_T(bm_blocks, 4096); in md_bitmap_read_sb() 2414 chunks = DIV_ROUND_UP_SECTOR_T(blocks, 1 << chunkshift); in __bitmap_resize() 2423 chunks = DIV_ROUND_UP_SECTOR_T(blocks, 1 << chunkshift); in __bitmap_resize()
|
H A D | dm-zoned-target.c | 814 DIV_ROUND_UP_SECTOR_T(reg_dev->capacity, in dmz_fixup_devices()
|
H A D | raid10.c | 3854 size = DIV_ROUND_UP_SECTOR_T(size, conf->geo.raid_disks); in calc_sectors() 4641 s = DIV_ROUND_UP_SECTOR_T(s, geo->raid_disks); in last_dev_address()
|
H A D | raid5.c | 5740 logical_sector = DIV_ROUND_UP_SECTOR_T(logical_sector, in make_discard_request() 6121 stripe_cnt = DIV_ROUND_UP_SECTOR_T(ctx.last_sector - logical_sector, in raid5_make_request()
|
/linux/drivers/accel/habanalabs/gaudi2/ |
H A D | gaudi2.c | 2375 DIV_ROUND_UP_SECTOR_T(prop->dram_size, prop->dram_page_size)); in gaudi2_set_dram_properties()
|