Home
last modified time | relevance | path

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

/linux-6.12.1/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.c600 sector = r10bio->sector & geo->chunk_mask; in __raid10_find_phys()
640 sector += (geo->chunk_mask + 1); in __raid10_find_phys()
682 offset = sector & geo->chunk_mask; in raid10_find_virt()
1679 start_disk_offset = (bio_start & geo->chunk_mask) + in raid10_handle_discard()
1688 end_disk_offset = (bio_end & geo->chunk_mask) + in raid10_handle_discard()
1833 sector_t chunk_mask = (conf->geo.chunk_mask & conf->prev.chunk_mask); in raid10_make_request() local
1834 int chunk_sects = chunk_mask + 1; in raid10_make_request()
1851 if (unlikely((bio->bi_iter.bi_sector & chunk_mask) + in raid10_make_request()
3152 sector_t chunk_mask = conf->geo.chunk_mask; in raid10_sync_request() local
3262 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.c1914 (bio->bi_iter.bi_sector & s->store->chunk_mask); in remap_exception()
/linux-6.12.1/fs/ufs/
Ddir.c114 const unsigned chunk_mask = UFS_SB(sb)->s_uspi->s_dirblksize - 1; in ufs_check_folio() local
120 if (limit & chunk_mask) in ufs_check_folio()
135 if (((offs + rec_len - 1) ^ offs) & ~chunk_mask) in ufs_check_folio()
418 unsigned chunk_mask = ~(UFS_SB(sb)->s_uspi->s_dirblksize - 1); in ufs_readdir() local
442 offset = ufs_validate_entry(sb, kaddr, offset, chunk_mask); in ufs_readdir()
/linux-6.12.1/include/net/
Dxsk_buff_pool.h72 u64 chunk_mask; member
195 return addr & pool->chunk_mask; in xp_aligned_extract_addr()
/linux-6.12.1/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-6.12.1/net/xdp/
Dxsk_buff_pool.c76 pool->chunk_mask = ~((u64)umem->chunk_size - 1); in xp_create_and_assign_umem()