Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm-verity-fec.c597 unsigned long long num_ll; in verity_fec_parse_opt_args() local
617 if (sscanf(arg_value, "%llu%c", &num_ll, &dummy) != 1 || in verity_fec_parse_opt_args()
618 ((sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) in verity_fec_parse_opt_args()
619 >> (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll)) { in verity_fec_parse_opt_args()
623 v->fec->blocks = num_ll; in verity_fec_parse_opt_args()
626 if (sscanf(arg_value, "%llu%c", &num_ll, &dummy) != 1 || in verity_fec_parse_opt_args()
627 ((sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) >> in verity_fec_parse_opt_args()
628 (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll)) { in verity_fec_parse_opt_args()
632 v->fec->start = num_ll; in verity_fec_parse_opt_args()
Ddm-verity-target.c952 unsigned long long num_ll; in verity_ctr() local
1023 if (sscanf(argv[5], "%llu%c", &num_ll, &dummy) != 1 || in verity_ctr()
1024 (sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) in verity_ctr()
1025 >> (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll) { in verity_ctr()
1030 v->data_blocks = num_ll; in verity_ctr()
1038 if (sscanf(argv[6], "%llu%c", &num_ll, &dummy) != 1 || in verity_ctr()
1039 (sector_t)(num_ll << (v->hash_dev_block_bits - SECTOR_SHIFT)) in verity_ctr()
1040 >> (v->hash_dev_block_bits - SECTOR_SHIFT) != num_ll) { in verity_ctr()
1045 v->hash_start = num_ll; in verity_ctr()