Home
last modified time | relevance | path

Searched refs:chunk_mask (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/drivers/md/
Ddm-exception-store.c154 store->chunk_size = store->chunk_mask = store->chunk_shift = 0; in set_chunk_size()
186 store->chunk_mask = chunk_size - 1; in dm_exception_store_set_chunk_size()
Draid10.h56 sector_t chunk_mask; member
Draid10.c605 sector = r10bio->sector & geo->chunk_mask; in __raid10_find_phys()
645 sector += (geo->chunk_mask + 1); in __raid10_find_phys()
687 offset = sector & geo->chunk_mask; in raid10_find_virt()
1748 start_disk_offset = (bio_start & geo->chunk_mask) + in raid10_handle_discard()
1757 end_disk_offset = (bio_end & geo->chunk_mask) + in raid10_handle_discard()
1903 sector_t chunk_mask = (conf->geo.chunk_mask & conf->prev.chunk_mask); in raid10_make_request() local
1904 int chunk_sects = chunk_mask + 1; in raid10_make_request()
1922 if (unlikely((bio->bi_iter.bi_sector & chunk_mask) + in raid10_make_request()
3305 sector_t chunk_mask = conf->geo.chunk_mask; in raid10_sync_request() local
3418 max_sector > (sector_nr | chunk_mask)) in raid10_sync_request()
[all …]
Ddm-exception-store.h123 unsigned int chunk_mask; member
Ddm-snap-persistent.c322 ps->store->chunk_mask = ps->store->chunk_size - 1; in read_header()
Ddm-snap.c1912 (bio->bi_iter.bi_sector & s->store->chunk_mask); in remap_exception()
/Linux-v6.6/fs/ufs/
Ddir.c123 const unsigned chunk_mask = UFS_SB(sb)->s_uspi->s_dirblksize - 1; in ufs_check_page() local
129 if (limit & chunk_mask) in ufs_check_page()
144 if (((offs + rec_len - 1) ^ offs) & ~chunk_mask) in ufs_check_page()
438 unsigned chunk_mask = ~(UFS_SB(sb)->s_uspi->s_dirblksize - 1); in ufs_readdir() local
463 offset = ufs_validate_entry(sb, kaddr, offset, chunk_mask); in ufs_readdir()
/Linux-v6.6/include/net/
Dxsk_buff_pool.h71 u64 chunk_mask; member
196 return addr & pool->chunk_mask; in xp_aligned_extract_addr()
/Linux-v6.6/fs/ext2/
Ddir.c265 unsigned chunk_mask = ~(ext2_chunk_size(inode)-1); in ext2_readdir() local
290 offset = ext2_validate_entry(kaddr, offset, chunk_mask); in ext2_readdir()
/Linux-v6.6/net/xdp/
Dxsk_buff_pool.c76 pool->chunk_mask = ~((u64)umem->chunk_size - 1); in xp_create_and_assign_umem()