Lines Matching refs:devnos
142 dev_t **devnos, in find_devno() argument
152 assert(devnos); in find_devno()
154 assert(*devnos || *n_devnos == 0); in find_devno()
193 if (typesafe_bsearch(&whole_devt, *devnos, *n_devnos, devt_compare_func)) { in find_devno()
198 if (!GREEDY_REALLOC(*devnos, *n_devnos + 1)) in find_devno()
201 (*devnos)[(*n_devnos)++] = whole_devt; in find_devno()
204 typesafe_qsort(*devnos, *n_devnos, devt_compare_func); in find_devno()
321 _cleanup_free_ dev_t *devnos = NULL; in lock_main() local
332 r = find_devno(&devnos, &n_devnos, *i, /* backing= */ false); in lock_main()
338 r = find_devno(&devnos, &n_devnos, *i, /* backing= */ true); in lock_main()
357 r = device_path_make_canonical(S_IFBLK, devnos[i], &node); in lock_main()
366 fd = lock_device(node, devnos[i], deadline); in lock_main()