Lines Matching refs:device_path
64 device_path[sizeof(P_tmpdir "/binderfs_XXXXXX/") + BINDERFS_MAX_NAME]; in __do_binderfs_test() local
90 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
91 fd = open(device_path, O_RDONLY | O_CLOEXEC); in __do_binderfs_test()
113 snprintf(device_path, sizeof(device_path), "%s/my-binder", binderfs_mntpt); in __do_binderfs_test()
114 fd = open(device_path, O_CLOEXEC | O_RDONLY); in __do_binderfs_test()
135 ret = unlink(device_path); in __do_binderfs_test()
144 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
145 ret = unlink(device_path); in __do_binderfs_test()
159 snprintf(device_path, sizeof(device_path), "%s/features/%s", in __do_binderfs_test()
161 fd = open(device_path, O_CLOEXEC | O_RDONLY); in __do_binderfs_test()
388 device_path[sizeof(P_tmpdir "/binderfs_XXXXXX/") + BINDERFS_MAX_NAME]; in TEST() local
422 snprintf(device_path, sizeof(device_path), in TEST()
424 fd = open(device_path, O_RDONLY | O_CLOEXEC); in TEST()
439 snprintf(device_path, sizeof(device_path), "%s/%d", in TEST()
441 fds[i] = open(device_path, O_RDONLY | O_CLOEXEC); in TEST()