Home
last modified time | relevance | path

Searched refs:chunk_shift (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/drivers/md/
Ddm-unstripe.c22 u8 chunk_shift; member
89 uc->chunk_shift = is_power_of_2(uc->chunk_size) ? fls(uc->chunk_size) - 1 : 0; in unstripe_ctr()
123 if (uc->chunk_shift) in map_to_core()
124 tmp_sector >>= uc->chunk_shift; in map_to_core()
Ddm-exception-store.h123 unsigned chunk_shift; member
177 return sector >> store->chunk_shift; in sector_to_chunk()
Ddm-exception-store.c153 store->chunk_size = store->chunk_mask = store->chunk_shift = 0; in set_chunk_size()
186 store->chunk_shift = __ffs(chunk_size); in dm_exception_store_set_chunk_size()
Draid10.c585 chunk = r10bio->sector >> geo->chunk_shift; in __raid10_find_phys()
594 sector += stripe << geo->chunk_shift; in __raid10_find_phys()
671 chunk = sector >> geo->chunk_shift; in raid10_find_virt()
684 chunk = sector >> geo->chunk_shift; in raid10_find_virt()
688 return (vchunk << geo->chunk_shift) + offset; in raid10_find_virt()
1647 stripe_size = stripe_data_disks << geo->chunk_shift; in raid10_handle_discard()
1696 chunk = bio_start >> geo->chunk_shift; in raid10_handle_discard()
1703 (first_stripe_index << geo->chunk_shift); in raid10_handle_discard()
1705 chunk = bio_end >> geo->chunk_shift; in raid10_handle_discard()
1712 (last_stripe_index << geo->chunk_shift); in raid10_handle_discard()
[all …]
Draid10.h55 int chunk_shift; /* shift from chunks to sectors */ member
Ddm-snap-persistent.c320 ps->store->chunk_shift = __ffs(ps->store->chunk_size); in read_header()
Ddm-snap.c186 return chunk << store->chunk_shift; in chunk_to_sector()
889 hash_size = cow_dev_size >> s->store->chunk_shift; in init_hash_tables()
/linux-5.19.10/include/net/
Dxsk_buff_pool.h71 u32 chunk_shift; member
210 return xp_aligned_extract_addr(pool, addr) >> pool->chunk_shift; in xp_aligned_extract_idx()
/linux-5.19.10/net/xdp/
Dxsk_buff_pool.c82 pool->chunk_shift = ffs(umem->chunk_size) - 1; in xp_create_and_assign_umem()