Home
last modified time | relevance | path

Searched refs:num_ll (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/md/
Ddm-verity-fec.c598 unsigned long long num_ll; in verity_fec_parse_opt_args() local
618 if (sscanf(arg_value, "%llu%c", &num_ll, &dummy) != 1 || in verity_fec_parse_opt_args()
619 ((sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) in verity_fec_parse_opt_args()
620 >> (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll)) { in verity_fec_parse_opt_args()
624 v->fec->blocks = num_ll; in verity_fec_parse_opt_args()
627 if (sscanf(arg_value, "%llu%c", &num_ll, &dummy) != 1 || in verity_fec_parse_opt_args()
628 ((sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) >> in verity_fec_parse_opt_args()
629 (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll)) { in verity_fec_parse_opt_args()
633 v->fec->start = num_ll; in verity_fec_parse_opt_args()
Ddm-verity-target.c977 unsigned long long num_ll; in verity_ctr() local
1048 if (sscanf(argv[5], "%llu%c", &num_ll, &dummy) != 1 || in verity_ctr()
1049 (sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) in verity_ctr()
1050 >> (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll) { in verity_ctr()
1055 v->data_blocks = num_ll; in verity_ctr()
1063 if (sscanf(argv[6], "%llu%c", &num_ll, &dummy) != 1 || in verity_ctr()
1064 (sector_t)(num_ll << (v->hash_dev_block_bits - SECTOR_SHIFT)) in verity_ctr()
1065 >> (v->hash_dev_block_bits - SECTOR_SHIFT) != num_ll) { in verity_ctr()
1070 v->hash_start = num_ll; in verity_ctr()