Lines Matching refs:device_path
64 device_path[sizeof(P_tmpdir "/binderfs_XXXXXX/") + BINDERFS_MAX_NAME]; in __do_binderfs_test() local
89 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
90 fd = open(device_path, O_RDONLY | O_CLOEXEC); in __do_binderfs_test()
112 snprintf(device_path, sizeof(device_path), "%s/my-binder", binderfs_mntpt); in __do_binderfs_test()
113 fd = open(device_path, O_CLOEXEC | O_RDONLY); in __do_binderfs_test()
134 ret = unlink(device_path); in __do_binderfs_test()
143 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
144 ret = unlink(device_path); in __do_binderfs_test()
158 snprintf(device_path, sizeof(device_path), "%s/features/%s", in __do_binderfs_test()
160 fd = open(device_path, O_CLOEXEC | O_RDONLY); in __do_binderfs_test()
387 device_path[sizeof(P_tmpdir "/binderfs_XXXXXX/") + BINDERFS_MAX_NAME]; in TEST() local
420 snprintf(device_path, sizeof(device_path), in TEST()
422 fd = open(device_path, O_RDONLY | O_CLOEXEC); in TEST()
437 snprintf(device_path, sizeof(device_path), "%s/%d", in TEST()
439 fds[i] = open(device_path, O_RDONLY | O_CLOEXEC); in TEST()