Home
last modified time | relevance | path

Searched refs:blocks_per_page (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/s390/block/
H A Ddasd_fba.c268 unsigned int blocks_per_page) in count_ccws() argument
274 if (first_rec % blocks_per_page != 0) { in count_ccws()
275 wz_stop = first_rec + blocks_per_page - in count_ccws()
276 (first_rec % blocks_per_page) - 1; in count_ccws()
283 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in count_ccws()
284 if ((last_rec - blocks_per_page + 1) % blocks_per_page != 0) in count_ccws()
285 d_stop = last_rec - ((last_rec - blocks_per_page + 1) % in count_ccws()
286 blocks_per_page); in count_ccws()
324 unsigned int blocks_per_page; in dasd_fba_build_cp_discard() local
338 blocks_per_page = BLOCKS_PER_PAGE(blksize); in dasd_fba_build_cp_discard()
[all …]
/linux/fs/verity/
H A Dverify.c89 unsigned int blocks_per_page; in is_hash_block_verified() local
135 blocks_per_page = vi->tree_params.blocks_per_page; in is_hash_block_verified()
136 hblock_idx = round_down(hblock_idx, blocks_per_page); in is_hash_block_verified()
137 for (i = 0; i < blocks_per_page; i++) in is_hash_block_verified()
H A Dfsverity_private.h47 unsigned int blocks_per_page; /* PAGE_SIZE / block_size */ member
H A Dopen.c93 params->blocks_per_page = 1 << params->log_blocks_per_page; in fsverity_init_merkle_tree_params()
/linux/mm/
H A Dpage_io.c84 unsigned blocks_per_page; in generic_swapfile_activate() local
95 blocks_per_page = PAGE_SIZE >> blkbits; in generic_swapfile_activate()
104 while ((probe_block + blocks_per_page) <= last_block && in generic_swapfile_activate()
119 if (first_block & (blocks_per_page - 1)) { in generic_swapfile_activate()
124 for (block_in_page = 1; block_in_page < blocks_per_page; in generic_swapfile_activate()
156 probe_block += blocks_per_page; in generic_swapfile_activate()
/linux/fs/crypto/
H A Dbio.c77 const unsigned int blocks_per_page = 1 << (PAGE_SHIFT - blockbits); in fscrypt_zeroout_range_inline_crypt() local
96 min(len, blocks_per_page); in fscrypt_zeroout_range_inline_crypt()
/linux/arch/powerpc/include/asm/
H A Dpage_64.h48 iterations = ppc64_caches.l1d.blocks_per_page / 8; in clear_page()
H A Dcache.h48 u32 blocks_per_page; member
/linux/drivers/md/
H A Dmd-llbitmap.c262 unsigned int blocks_per_page; member
486 for (block = 0; block < llbitmap->blocks_per_page; block++) { in llbitmap_write_page()
545 llbitmap->blocks_per_page)); in llbitmap_cache_pages()
991 llbitmap->blocks_per_page = PAGE_SIZE / llbitmap->io_size; in llbitmap_create()
1202 bitmap_fill(pctl->dirty, llbitmap->blocks_per_page); in __llbitmap_flush()
1415 bitmap_fill(pctl->dirty, llbitmap->blocks_per_page); in llbitmap_write_all()
/linux/arch/powerpc/kernel/
H A Dsetup_64.c556 info->blocks_per_page = PAGE_SIZE / bsize; in init_cache_info()
558 info->blocks_per_page = 0; in init_cache_info()
/linux/fs/jfs/
H A Djfs_metapage.c569 int blocks_per_page = i_blocks_per_folio(inode, folio); in metapage_read_folio() local
580 while (block_offset < blocks_per_page) { in metapage_read_folio()
581 xlen = blocks_per_page - block_offset; in metapage_read_folio()
/linux/drivers/net/ethernet/sun/
H A Dniu.c3515 int blocks_per_page = rp->rbr_blocks_per_page; in niu_rbr_fill() local
3519 while (index < (rp->rbr_table_size - blocks_per_page)) { in niu_rbr_fill()
3524 index += blocks_per_page; in niu_rbr_fill()