Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm-exception-store.c153 store->chunk_size = store->chunk_mask = store->chunk_shift = 0; in set_chunk_size()
185 store->chunk_mask = chunk_size - 1; in dm_exception_store_set_chunk_size()
Draid10.h56 sector_t chunk_mask; member
Ddm-exception-store.h122 unsigned chunk_mask; member
Draid10.c607 sector = r10bio->sector & geo->chunk_mask; in __raid10_find_phys()
647 sector += (geo->chunk_mask + 1); in __raid10_find_phys()
689 offset = sector & geo->chunk_mask; in raid10_find_virt()
1743 start_disk_offset = (bio_start & geo->chunk_mask) + in raid10_handle_discard()
1752 end_disk_offset = (bio_end & geo->chunk_mask) + in raid10_handle_discard()
1899 sector_t chunk_mask = (conf->geo.chunk_mask & conf->prev.chunk_mask); in raid10_make_request() local
1900 int chunk_sects = chunk_mask + 1; in raid10_make_request()
1918 if (unlikely((bio->bi_iter.bi_sector & chunk_mask) + in raid10_make_request()
3289 sector_t chunk_mask = conf->geo.chunk_mask; in raid10_sync_request() local
3388 max_sector > (sector_nr | chunk_mask)) in raid10_sync_request()
[all …]
Ddm-snap-persistent.c318 ps->store->chunk_mask = ps->store->chunk_size - 1; in read_header()
Ddm-snap.c1914 (bio->bi_iter.bi_sector & s->store->chunk_mask); in remap_exception()
/linux-6.1.9/fs/ufs/
Ddir.c117 const unsigned chunk_mask = UFS_SB(sb)->s_uspi->s_dirblksize - 1; in ufs_check_page() local
123 if (limit & chunk_mask) in ufs_check_page()
138 if (((offs + rec_len - 1) ^ offs) & ~chunk_mask) in ufs_check_page()
431 unsigned chunk_mask = ~(UFS_SB(sb)->s_uspi->s_dirblksize - 1); in ufs_readdir() local
456 offset = ufs_validate_entry(sb, kaddr, offset, chunk_mask); in ufs_readdir()
/linux-6.1.9/include/net/
Dxsk_buff_pool.h64 u64 chunk_mask; member
189 return addr & pool->chunk_mask; in xp_aligned_extract_addr()
/linux-6.1.9/fs/ext2/
Ddir.c273 unsigned chunk_mask = ~(ext2_chunk_size(inode)-1); in ext2_readdir() local
297 offset = ext2_validate_entry(kaddr, offset, chunk_mask); in ext2_readdir()
/linux-6.1.9/net/xdp/
Dxsk_buff_pool.c76 pool->chunk_mask = ~((u64)umem->chunk_size - 1); in xp_create_and_assign_umem()