Home
last modified time | relevance | path

Searched refs:hash_blocks (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
H A Ddm-verity-fec.c244 if (unlikely(block >= v->fec->hash_blocks)) in fec_read_bufs()
677 u64 hash_blocks, fec_blocks; in verity_fec_ctr() local
700 hash_blocks = v->hash_blocks - v->hash_start; in verity_fec_ctr()
728 * data_blocks and hash_blocks combined. in verity_fec_ctr()
730 if (f->blocks < v->data_blocks + hash_blocks || !f->rounds) { in verity_fec_ctr()
739 f->hash_blocks = f->blocks - v->data_blocks; in verity_fec_ctr()
740 if (dm_bufio_get_device_size(v->bufio) < f->hash_blocks) { in verity_fec_ctr()
H A Ddm-verity-fec.h43 sector_t hash_blocks; /* blocks covered after v->hash_start */ member
H A Ddm-verity.h48 sector_t hash_blocks; /* the number of hash blocks */ member
H A Ddm-verity-target.c626 if (unlikely(hash_block_end >= v->hash_blocks)) in verity_prefetch_io()
627 hash_block_end = v->hash_blocks - 1; in verity_prefetch_io()
1224 v->hash_blocks = hash_position; in verity_ctr()
1236 if (dm_bufio_get_device_size(v->bufio) < v->hash_blocks) { in verity_ctr()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-verity-fec.c244 if (unlikely(block >= v->fec->hash_blocks)) in fec_read_bufs()
677 u64 hash_blocks, fec_blocks; in verity_fec_ctr() local
700 hash_blocks = v->hash_blocks - v->hash_start; in verity_fec_ctr()
728 * data_blocks and hash_blocks combined. in verity_fec_ctr()
730 if (f->blocks < v->data_blocks + hash_blocks || !f->rounds) { in verity_fec_ctr()
739 f->hash_blocks = f->blocks - v->data_blocks; in verity_fec_ctr()
740 if (dm_bufio_get_device_size(v->bufio) < f->hash_blocks) { in verity_fec_ctr()
H A Ddm-verity-fec.h43 sector_t hash_blocks; /* blocks covered after v->hash_start */ member
H A Ddm-verity.h50 sector_t hash_blocks; /* the number of hash blocks */ member
H A Ddm-verity-target.c751 if (unlikely(hash_block_end >= v->hash_blocks)) in verity_prefetch_io()
752 hash_block_end = v->hash_blocks - 1; in verity_prefetch_io()
1440 v->hash_blocks = hash_position; in verity_ctr()
1467 if (dm_bufio_get_device_size(v->bufio) < v->hash_blocks) { in verity_ctr()
/kernel/linux/linux-5.10/fs/gfs2/
H A Dops_fstype.c291 u32 hash_blocks, ind_blocks, leaf_blocks; in gfs2_read_sb() local
325 hash_blocks = DIV_ROUND_UP(sizeof(u64) * BIT(GFS2_DIR_MAX_DEPTH), in gfs2_read_sb()
329 for (tmp_blocks = hash_blocks; tmp_blocks > sdp->sd_diptrs;) { in gfs2_read_sb()
336 sdp->sd_max_dirres = hash_blocks + ind_blocks + leaf_blocks; in gfs2_read_sb()
/kernel/linux/linux-6.6/fs/gfs2/
H A Dops_fstype.c283 u32 hash_blocks, ind_blocks, leaf_blocks; in gfs2_read_sb() local
324 hash_blocks = DIV_ROUND_UP(sizeof(u64) * BIT(GFS2_DIR_MAX_DEPTH), in gfs2_read_sb()
328 for (tmp_blocks = hash_blocks; tmp_blocks > sdp->sd_diptrs;) { in gfs2_read_sb()
335 sdp->sd_max_dirres = hash_blocks + ind_blocks + leaf_blocks; in gfs2_read_sb()

Completed in 12 milliseconds