Home
last modified time | relevance | path

Searched refs:tst_find_free_loopdev (Results 1 – 13 of 13) sorted by relevance

/third_party/ltp/include/
Dtst_device.h51 int tst_find_free_loopdev(const char *path, size_t path_len);
/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl_loop03.c39 dev_num = tst_find_free_loopdev(dev_path, sizeof(dev_path)); in setup()
Dioctl_loop04.c66 dev_num = tst_find_free_loopdev(dev_path, sizeof(dev_path)); in setup()
Dioctl09.c92 dev_num = tst_find_free_loopdev(dev_path, sizeof(dev_path)); in setup()
Dioctl_loop06.c96 dev_num = tst_find_free_loopdev(dev_path, sizeof(dev_path)); in setup()
Dioctl_loop01.c104 dev_num = tst_find_free_loopdev(dev_path, sizeof(dev_path)); in setup()
Dioctl_loop05.c101 dev_num = tst_find_free_loopdev(dev_path, sizeof(dev_path)); in setup()
Dioctl_loop02.c110 dev_num = tst_find_free_loopdev(dev_path, sizeof(dev_path)); in setup()
Dioctl_loop07.c111 dev_num = tst_find_free_loopdev(dev_path, sizeof(dev_path)); in setup()
/third_party/ltp/testcases/kernel/uevents/
Duevent01.c53 dev_num = tst_find_free_loopdev(dev_path, sizeof(dev_path)); in verify_uevent()
/third_party/ltp/lib/
Dtst_device.c73 int tst_find_free_loopdev(char *path, size_t path_len) in tst_find_free_loopdev() function
288 if (tst_find_free_loopdev(dev_path, sizeof(dev_path)) == -1) in tst_acquire_loop_device()
/third_party/ltp/testcases/kernel/syscalls/copy_file_range/
Dcopy_file_range02.c200 loop_devn = tst_find_free_loopdev(dev_path, sizeof(dev_path)); in setup()
/third_party/ltp/doc/
Dc-test-api.txt995 int tst_find_free_loopdev(const char *path, size_t path_len);
1000 If you want to use a customized loop device, we can call 'tst_find_free_loopdev(NULL, 0)'