Searched refs:num_ll (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-verity-fec.c | 614 unsigned long long num_ll; in verity_fec_parse_opt_args() local 634 if (sscanf(arg_value, "%llu%c", &num_ll, &dummy) != 1 || in verity_fec_parse_opt_args() 635 ((sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) in verity_fec_parse_opt_args() 636 >> (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll)) { in verity_fec_parse_opt_args() 640 v->fec->blocks = num_ll; in verity_fec_parse_opt_args() 643 if (sscanf(arg_value, "%llu%c", &num_ll, &dummy) != 1 || in verity_fec_parse_opt_args() 644 ((sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) >> in verity_fec_parse_opt_args() 645 (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll)) { in verity_fec_parse_opt_args() 649 v->fec->start = num_ll; in verity_fec_parse_opt_args()
|
H A D | dm-verity-target.c | 1222 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()
|