Searched refs:DIV_ROUND_UP_SECTOR_T (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/include/linux/ |
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-6.6.21/block/ |
D | blk-lib.c | 163 sector_t pages = DIV_ROUND_UP_SECTOR_T(nr_sects, PAGE_SIZE / 512); in __blkdev_sectors_to_bio_pages()
|
/linux-6.6.21/drivers/md/ |
D | md-bitmap.c | 644 bm_blocks = DIV_ROUND_UP_SECTOR_T(bm_blocks, in md_bitmap_read_sb() 649 bm_blocks = DIV_ROUND_UP_SECTOR_T(bm_blocks, 4096); in md_bitmap_read_sb() 2174 chunks = DIV_ROUND_UP_SECTOR_T(blocks, 1 << chunkshift); in md_bitmap_resize() 2183 chunks = DIV_ROUND_UP_SECTOR_T(blocks, 1 << chunkshift); in md_bitmap_resize()
|
D | dm-zoned-target.c | 814 DIV_ROUND_UP_SECTOR_T(reg_dev->capacity, in dmz_fixup_devices()
|
D | raid10.c | 3967 size = DIV_ROUND_UP_SECTOR_T(size, conf->geo.raid_disks); in calc_sectors() 4752 s = DIV_ROUND_UP_SECTOR_T(s, geo->raid_disks); in last_dev_address()
|
D | raid5.c | 5804 logical_sector = DIV_ROUND_UP_SECTOR_T(logical_sector, in make_discard_request() 6183 stripe_cnt = DIV_ROUND_UP_SECTOR_T(ctx.last_sector - logical_sector, in raid5_make_request()
|
/linux-6.6.21/drivers/accel/habanalabs/common/ |
D | memory.c | 1574 cur_npages = DIV_ROUND_UP_SECTOR_T(cur_size_to_export, page_size); in alloc_sgt_from_device_pages() 1575 nents = cur_npages * DIV_ROUND_UP_SECTOR_T(page_size, dma_max_seg_size); in alloc_sgt_from_device_pages()
|
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/ |
D | gaudi2.c | 2261 DIV_ROUND_UP_SECTOR_T(prop->dram_size, prop->dram_page_size)); in gaudi2_set_dram_properties()
|