Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/md/
Ddm-unstripe.c23 u8 chunk_shift; member
90 uc->chunk_shift = is_power_of_2(uc->chunk_size) ? fls(uc->chunk_size) - 1 : 0; in unstripe_ctr()
124 if (uc->chunk_shift) in map_to_core()
125 tmp_sector >>= uc->chunk_shift; in map_to_core()
Ddm-exception-store.h124 unsigned int chunk_shift; member
178 return sector >> store->chunk_shift; in sector_to_chunk()
Ddm-exception-store.c154 store->chunk_size = store->chunk_mask = store->chunk_shift = 0; in set_chunk_size()
187 store->chunk_shift = __ffs(chunk_size); in dm_exception_store_set_chunk_size()
Draid10.c604 chunk = r10bio->sector >> geo->chunk_shift; in __raid10_find_phys()
613 sector += stripe << geo->chunk_shift; in __raid10_find_phys()
690 chunk = sector >> geo->chunk_shift; in raid10_find_virt()
703 chunk = sector >> geo->chunk_shift; in raid10_find_virt()
707 return (vchunk << geo->chunk_shift) + offset; in raid10_find_virt()
1693 stripe_size = stripe_data_disks << geo->chunk_shift; in raid10_handle_discard()
1742 chunk = bio_start >> geo->chunk_shift; in raid10_handle_discard()
1749 (first_stripe_index << geo->chunk_shift); in raid10_handle_discard()
1751 chunk = bio_end >> geo->chunk_shift; in raid10_handle_discard()
1758 (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.c323 ps->store->chunk_shift = __ffs(ps->store->chunk_size); in read_header()
Ddm-snap.c187 return chunk << store->chunk_shift; in chunk_to_sector()
893 hash_size = cow_dev_size >> s->store->chunk_shift; in init_hash_tables()
/linux-6.6.21/include/net/
Dxsk_buff_pool.h78 u32 chunk_shift; member
217 return xp_aligned_extract_addr(pool, addr) >> pool->chunk_shift; in xp_aligned_extract_idx()
/linux-6.6.21/net/xdp/
Dxsk_buff_pool.c82 pool->chunk_shift = ffs(umem->chunk_size) - 1; in xp_create_and_assign_umem()