Searched refs:_max_partitions_by_major (Results 1 – 1 of 1) sorted by relevance
35 static int _max_partitions_by_major[NUMBER_OF_MAJORS]; variable129 if (!_max_partitions_by_major[MAJOR(dev->dev)]) { in _passes_lvm_type_device_filter()190 _max_partitions_by_major[i] = 1; in _scan_proc_dev()195 memset(_max_partitions_by_major, 0, sizeof(int) * NUMBER_OF_MAJORS); in _scan_proc_dev()254 _max_partitions_by_major[line_maj] = in _scan_proc_dev()294 _max_partitions_by_major[line_maj] = cv->v.i; in _scan_proc_dev()308 return _max_partitions_by_major[major]; in max_partitions()