Home
last modified time | relevance | path

Searched refs:hash_blocks (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/md/
Ddm-verity-fec.c244 if (unlikely(block >= v->fec->hash_blocks)) in fec_read_bufs()
676 u64 hash_blocks; in verity_fec_ctr() local
699 hash_blocks = v->hash_blocks - v->hash_start; in verity_fec_ctr()
729 if (f->blocks < v->data_blocks + hash_blocks || !f->rounds) { in verity_fec_ctr()
738 f->hash_blocks = f->blocks - v->data_blocks; in verity_fec_ctr()
739 if (dm_bufio_get_device_size(v->bufio) < f->hash_blocks) { in verity_fec_ctr()
Ddm-verity.h47 sector_t hash_blocks; /* the number of hash blocks */ member
Ddm-verity-fec.h42 sector_t hash_blocks; /* blocks covered after v->hash_start */ member
Ddm-verity-target.c601 if (unlikely(hash_block_end >= v->hash_blocks)) in verity_prefetch_io()
602 hash_block_end = v->hash_blocks - 1; in verity_prefetch_io()
1160 v->hash_blocks = hash_position; in verity_ctr()
1172 if (dm_bufio_get_device_size(v->bufio) < v->hash_blocks) { in verity_ctr()
/Linux-v5.4/fs/gfs2/
Dops_fstype.c282 u32 hash_blocks, ind_blocks, leaf_blocks; in gfs2_read_sb() local
314 hash_blocks = DIV_ROUND_UP(sizeof(u64) * BIT(GFS2_DIR_MAX_DEPTH), in gfs2_read_sb()
318 for (tmp_blocks = hash_blocks; tmp_blocks > sdp->sd_diptrs;) { in gfs2_read_sb()
325 sdp->sd_max_dirres = hash_blocks + ind_blocks + leaf_blocks; in gfs2_read_sb()