Home
last modified time | relevance | path

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

/Linux-v4.19/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.c935 unsigned long long num_ll; in verity_ctr() local
1005 if (sscanf(argv[5], "%llu%c", &num_ll, &dummy) != 1 || in verity_ctr()
1006 (sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) in verity_ctr()
1007 >> (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll) { in verity_ctr()
1012 v->data_blocks = num_ll; in verity_ctr()
1020 if (sscanf(argv[6], "%llu%c", &num_ll, &dummy) != 1 || in verity_ctr()
1021 (sector_t)(num_ll << (v->hash_dev_block_bits - SECTOR_SHIFT)) in verity_ctr()
1022 >> (v->hash_dev_block_bits - SECTOR_SHIFT) != num_ll) { in verity_ctr()
1027 v->hash_start = num_ll; in verity_ctr()