• Home
  • Raw
  • Download

Lines Matching refs:mindev

23 		int majdev, int mindev, char *path);
159 int majdev, mindev; in get_device_numbers() local
165 mindev = minor(st.st_rdev); in get_device_numbers()
168 mindev = minor(st.st_rdev); in get_device_numbers()
169 if (fio_lookup_raw(st.st_rdev, &majdev, &mindev)) in get_device_numbers()
175 mindev = minor(st.st_dev); in get_device_numbers()
189 mindev = minor(st.st_dev); in get_device_numbers()
192 *min = mindev; in get_device_numbers()
228 int majdev, mindev; in find_add_disk_slaves() local
255 if (read_block_dev_entry(temppath, &majdev, &mindev)) { in find_add_disk_slaves()
264 slavedu = disk_util_exists(majdev, mindev); in find_add_disk_slaves()
269 __init_per_file_disk_util(td, majdev, mindev, temppath); in find_add_disk_slaves()
270 slavedu = disk_util_exists(majdev, mindev); in find_add_disk_slaves()
284 int mindev, char *path) in disk_util_add() argument
290 dprint(FD_DISKUTIL, "add maj/min %d/%d: %s\n", majdev, mindev, path); in disk_util_add()
310 du->minor = mindev; in disk_util_add()
342 static int check_dev_match(int majdev, int mindev, char *path) in check_dev_match() argument
349 if (majdev == major && mindev == minor) in check_dev_match()
355 static int find_block_dir(int majdev, int mindev, char *path, int link_ok) in find_block_dir() argument
375 if (!check_dev_match(majdev, mindev, full_path)) { in find_block_dir()
396 found = find_block_dir(majdev, mindev, full_path, 0); in find_block_dir()
408 int majdev, int mindev, in __init_per_file_disk_util() argument
435 return disk_util_add(td, majdev, mindev, path); in __init_per_file_disk_util()
444 int mindev, majdev; in init_per_file_disk_util() local
446 if (get_device_numbers(filename, &majdev, &mindev)) in init_per_file_disk_util()
450 mindev); in init_per_file_disk_util()
452 du = disk_util_exists(majdev, mindev); in init_per_file_disk_util()
466 if (mindev == last_mindev && majdev == last_majdev) in init_per_file_disk_util()
469 last_mindev = mindev; in init_per_file_disk_util()
473 if (!find_block_dir(majdev, mindev, foo, 1)) in init_per_file_disk_util()
476 return __init_per_file_disk_util(td, majdev, mindev, foo); in init_per_file_disk_util()