Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A 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()
H A Ddm-verity-target.c1222 unsigned long long num_ll; in verity_ctr() local
1302 if (sscanf(argv[5], "%llu%c", &num_ll, &dummy) != 1 || in verity_ctr()
1303 (sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) in verity_ctr()
1304 >> (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll) { in verity_ctr()
1309 v->data_blocks = num_ll; in verity_ctr()
1317 if (sscanf(argv[6], "%llu%c", &num_ll, &dummy) != 1 || in verity_ctr()
1318 (sector_t)(num_ll << (v->hash_dev_block_bits - SECTOR_SHIFT)) in verity_ctr()
1319 >> (v->hash_dev_block_bits - SECTOR_SHIFT) != num_ll) { in verity_ctr()
1324 v->hash_start = num_ll; in verity_ctr()