Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 3760) sorted by relevance

12345678910>>...151

/external/igt-gpu-tools/lib/
Dioctl_wrappers.c105 gem_handle_to_libdrm_bo(drm_intel_bufmgr *bufmgr, int fd, const char *name, uint32_t handle) in gem_handle_to_libdrm_bo()
124 __gem_get_tiling(int fd, struct drm_i915_gem_get_tiling *arg) in __gem_get_tiling()
148 gem_get_tiling(int fd, uint32_t handle, uint32_t *tiling, uint32_t *swizzle) in gem_get_tiling()
163 int __gem_set_tiling(int fd, uint32_t handle, uint32_t tiling, uint32_t stride) in __gem_set_tiling()
197 void gem_set_tiling(int fd, uint32_t handle, uint32_t tiling, uint32_t stride) in gem_set_tiling()
202 int __gem_set_caching(int fd, uint32_t handle, uint32_t caching) in __gem_set_caching()
230 void gem_set_caching(int fd, uint32_t handle, uint32_t caching) in gem_set_caching()
244 uint32_t gem_get_caching(int fd, uint32_t handle) in gem_get_caching()
267 uint32_t gem_open(int fd, uint32_t name) in gem_open()
293 uint32_t gem_flink(int fd, uint32_t handle) in gem_flink()
[all …]
Digt_syncobj.c40 __syncobj_create(int fd, uint32_t *handle, uint32_t flags) in __syncobj_create()
62 syncobj_create(int fd, uint32_t flags) in syncobj_create()
71 __syncobj_destroy(int fd, uint32_t handle) in __syncobj_destroy()
89 syncobj_destroy(int fd, uint32_t handle) in syncobj_destroy()
95 __syncobj_handle_to_fd(int fd, struct drm_syncobj_handle *args) in __syncobj_handle_to_fd()
114 syncobj_handle_to_fd(int fd, uint32_t handle, uint32_t flags) in syncobj_handle_to_fd()
125 __syncobj_fd_to_handle(int fd, struct drm_syncobj_handle *args) in __syncobj_fd_to_handle()
144 syncobj_fd_to_handle(int fd, int syncobj_fd, uint32_t flags) in syncobj_fd_to_handle()
163 syncobj_import_sync_file(int fd, uint32_t handle, int sync_file) in syncobj_import_sync_file()
173 __syncobj_wait(int fd, struct local_syncobj_wait *args) in __syncobj_wait()
[all …]
Ddrmtest.c79 static int __get_drm_device_name(int fd, char *name, int name_size) in __get_drm_device_name()
94 static bool __is_device(int fd, const char *expect) in __is_device()
104 bool is_amdgpu_device(int fd) in is_amdgpu_device()
109 bool is_i915_device(int fd) in is_i915_device()
114 bool is_vc4_device(int fd) in is_vc4_device()
119 static bool has_known_intel_chipset(int fd) in has_known_intel_chipset()
177 void gem_quiescent_gpu(int fd) in gem_quiescent_gpu()
215 int fd; in open_device() local
258 int fd; in __search_and_open() local
272 int fd; in __open_driver() local
[all …]
Digt_gt.c57 static bool has_gpu_reset(int fd) in has_gpu_reset()
118 void igt_require_hang_ring(int fd, int ring) in igt_require_hang_ring()
129 static unsigned context_get_ban(int fd, unsigned ctx) in context_get_ban()
145 static void context_set_ban(int fd, unsigned ctx, unsigned ban) in context_set_ban()
160 igt_hang_t igt_allow_hang(int fd, unsigned ctx, unsigned flags) in igt_allow_hang()
200 void igt_disallow_hang(int fd, igt_hang_t arg) in igt_disallow_hang()
229 static bool has_ctx_exec(int fd, unsigned ring, uint32_t ctx) in has_ctx_exec()
270 igt_hang_t igt_hang_ctx(int fd, uint32_t ctx, int ring, unsigned flags) in igt_hang_ctx()
318 igt_hang_t igt_hang_ring(int fd, int ring) in igt_hang_ring()
331 void igt_post_hang_ring(int fd, igt_hang_t arg) in igt_post_hang_ring()
[all …]
Digt_device.c30 int __igt_device_set_master(int fd) in __igt_device_set_master()
44 static void show_clients(int fd) in show_clients()
55 void igt_device_set_master(int fd) in igt_device_set_master()
65 int __igt_device_drop_master(int fd) in __igt_device_drop_master()
86 void igt_device_drop_master(int fd) in igt_device_drop_master()
107 int igt_device_get_card_index(int fd) in igt_device_get_card_index()
/external/igt-gpu-tools/tests/
Dsyncobj_basic.c34 test_bad_destroy(int fd) in test_bad_destroy()
49 test_bad_handle_to_fd(int fd) in test_bad_handle_to_fd()
61 test_bad_fd_to_handle(int fd) in test_bad_fd_to_handle()
73 test_illegal_fd_to_handle(int fd) in test_illegal_fd_to_handle()
84 test_bad_flags_fd_to_handle(int fd) in test_bad_flags_fd_to_handle()
93 test_bad_flags_handle_to_fd(int fd) in test_bad_flags_handle_to_fd()
102 test_bad_pad_handle_to_fd(int fd) in test_bad_pad_handle_to_fd()
111 test_bad_pad_fd_to_handle(int fd) in test_bad_pad_fd_to_handle()
123 test_bad_destroy_pad(int fd) in test_bad_destroy_pad()
139 test_bad_create_flags(int fd) in test_bad_create_flags()
[all …]
Dvgem_basic.c37 static int __gem_setversion(int fd, drm_set_version_t *sv) in __gem_setversion()
49 static void test_setversion(int fd) in test_setversion()
65 static void test_client(int fd) in test_client()
71 static void test_create(int fd) in test_create()
102 static void test_mmap(int fd) in test_mmap()
121 static bool has_prime_import(int fd) in has_prime_import()
131 static void test_dmabuf_export(int fd) in test_dmabuf_export()
155 static void test_dmabuf_mmap(int fd) in test_dmabuf_mmap()
183 static bool prime_busy(int fd, bool excl) in prime_busy()
189 static void test_dmabuf_fence(int fd) in test_dmabuf_fence()
[all …]
Dkms_prop_blob.c55 #define ioctl_or_ret_errno(fd, ioc, ioc_data) { \ argument
60 static void igt_require_propblob(int fd) in igt_require_propblob()
74 validate_prop(int fd, uint32_t prop_id) in validate_prop()
97 create_prop(int fd) in create_prop()
111 destroy_prop(int fd, uint32_t prop_id) in destroy_prop()
122 test_validate(int fd) in test_validate()
155 test_lifetime(int fd) in test_lifetime()
190 test_multiple(int fd) in test_multiple()
227 test_core(int fd) in test_core()
242 test_basic(int fd) in test_basic()
[all …]
Dsyncobj_wait.c65 syncobj_attach_sw_sync(int fd, uint32_t handle) in syncobj_attach_sw_sync()
79 syncobj_trigger(int fd, uint32_t handle) in syncobj_trigger()
111 int fd; member
130 syncobj_trigger_delayed(int fd, uint32_t syncobj, uint64_t nsec) in syncobj_trigger_delayed()
141 test_wait_bad_flags(int fd) in test_wait_bad_flags()
149 test_wait_zero_handles(int fd) in test_wait_zero_handles()
156 test_wait_illegal_handle(int fd) in test_wait_illegal_handle()
167 test_reset_zero_handles(int fd) in test_reset_zero_handles()
177 test_reset_illegal_handle(int fd) in test_reset_illegal_handle()
190 test_reset_one_illegal_handle(int fd) in test_reset_one_illegal_handle()
[all …]
Dkms_addfb_basic.c47 static int legacy_addfb(int fd, struct drm_mode_fb_cmd *arg) in legacy_addfb()
59 static int rmfb(int fd, uint32_t id) in rmfb()
71 static void invalid_tests(int fd) in invalid_tests()
252 static void pitch_tests(int fd) in pitch_tests()
293 static void tiling_tests(int fd) in tiling_tests()
365 static void size_tests(int fd) in size_tests()
465 static void addfb25_tests(int fd) in addfb25_tests()
534 static int addfb_expected_ret(int fd, uint64_t modifier) in addfb_expected_ret()
548 static void addfb25_ytile(int fd) in addfb25_ytile()
614 static void prop_tests(int fd) in prop_tests()
[all …]
/external/linux-kselftest/tools/testing/selftests/memfd/
Dmemfd_test.c39 int r, fd; in mfd_assert_new() local
59 int r, fd; in mfd_assert_reopen_fd() local
86 static unsigned int mfd_assert_get_seals(int fd) in mfd_assert_get_seals()
99 static void mfd_assert_has_seals(int fd, unsigned int seals) in mfd_assert_has_seals()
110 static void mfd_assert_add_seals(int fd, unsigned int seals) in mfd_assert_add_seals()
123 static void mfd_fail_add_seals(int fd, unsigned int seals) in mfd_fail_add_seals()
142 static void mfd_assert_size(int fd, size_t size) in mfd_assert_size()
158 static int mfd_assert_dup(int fd) in mfd_assert_dup()
171 static void *mfd_assert_mmap_shared(int fd) in mfd_assert_mmap_shared()
189 static void *mfd_assert_mmap_private(int fd) in mfd_assert_mmap_private()
[all …]
/external/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create_common.h41 #define CHECK_MMAP(addr, length, prot, flags, fd, offset) \ argument
45 #define CHECK_MMAP_FAIL(addr, length, prot, flags, fd, offset) \ argument
52 #define CHECK_MFD_HAS_SEALS(fd, seals) \ argument
55 #define CHECK_MFD_ADD_SEALS(fd, seals) \ argument
60 #define CHECK_MFD_FAIL_ADD_SEALS(fd, seals) \ argument
63 #define CHECK_MFD_SIZE(fd, size) \ argument
66 #define CHECK_MFD_OPEN(fd, flags, mode) \ argument
69 #define CHECK_MFD_FAIL_OPEN(fd, flags, mode) \ argument
72 #define CHECK_MFD_READABLE(fd) \ argument
75 #define CHECK_MFD_WRITEABLE(fd) \ argument
[all …]
Dmemfd_create01.c23 static void test_basic(int fd) in test_basic()
48 static void test_no_sealing_without_flag(int fd) in test_no_sealing_without_flag()
60 static void test_seal_write(int fd) in test_seal_write()
77 static void test_seal_shrink(int fd) in test_seal_shrink()
94 static void test_seal_grow(int fd) in test_seal_grow()
111 static void test_seal_resize(int fd) in test_seal_resize()
128 static void test_share_dup(int fd) in test_share_dup()
163 static void test_share_mmap(int fd) in test_share_mmap()
192 static void test_share_open(int fd) in test_share_open()
238 int fd; in verify_memfd_create() local
Dmemfd_create_common.c32 int check_fallocate(const char *filename, const int lineno, int fd, in check_fallocate()
51 int check_fallocate_fail(const char *filename, const int lineno, int fd, in check_fallocate_fail()
72 void check_ftruncate(const char *filename, const int lineno, int fd, in check_ftruncate()
82 int fd, off_t length) in check_ftruncate_fail()
139 int fd; in check_mfd_new() local
158 int fd; in check_mfd_fail_new() local
173 int prot, int flags, int fd, off_t offset) in check_mmap()
187 size_t length, int prot, int flags, int fd, off_t offset) in check_mmap_fail()
210 void check_mfd_has_seals(const char *file, const int lineno, int fd, int seals) in check_mfd_has_seals()
236 int fd, int seals) in check_mfd_fail_add_seals()
[all …]
/external/strace/tests/
Dnetlink_route.c87 test_nlmsg_type(const int fd) in test_nlmsg_type()
104 test_nlmsg_flags(const int fd) in test_nlmsg_flags()
145 test_nlmsg_done(const int fd) in test_nlmsg_done()
156 test_rtnl_unspec(const int fd) in test_rtnl_unspec()
206 test_rtnl_link(const int fd) in test_rtnl_link()
227 test_rtnl_addr(const int fd) in test_rtnl_addr()
248 test_rtnl_route(const int fd) in test_rtnl_route()
277 test_rtnl_rule(const int fd) in test_rtnl_rule()
303 test_rtnl_neigh(const int fd) in test_rtnl_neigh()
323 test_rtnl_neightbl(const int fd) in test_rtnl_neightbl()
[all …]
Dnetlink_sock_diag.c94 test_nlmsg_type(const int fd) in test_nlmsg_type()
111 test_nlmsg_flags(const int fd) in test_nlmsg_flags()
128 test_odd_family_req(const int fd) in test_odd_family_req()
178 test_odd_family_msg(const int fd) in test_odd_family_msg()
223 test_unix_diag_req(const int fd) in test_unix_diag_req()
246 test_unix_diag_msg(const int fd) in test_unix_diag_msg()
267 test_netlink_diag_req(const int fd) in test_netlink_diag_req()
299 test_netlink_diag_msg(const int fd) in test_netlink_diag_msg()
328 test_packet_diag_req(const int fd) in test_packet_diag_req()
349 test_packet_diag_msg(const int fd) in test_packet_diag_msg()
[all …]
/external/strace/tests-mx32/
Dnetlink_route.c87 test_nlmsg_type(const int fd) in test_nlmsg_type()
104 test_nlmsg_flags(const int fd) in test_nlmsg_flags()
145 test_nlmsg_done(const int fd) in test_nlmsg_done()
156 test_rtnl_unspec(const int fd) in test_rtnl_unspec()
206 test_rtnl_link(const int fd) in test_rtnl_link()
227 test_rtnl_addr(const int fd) in test_rtnl_addr()
248 test_rtnl_route(const int fd) in test_rtnl_route()
277 test_rtnl_rule(const int fd) in test_rtnl_rule()
303 test_rtnl_neigh(const int fd) in test_rtnl_neigh()
323 test_rtnl_neightbl(const int fd) in test_rtnl_neightbl()
[all …]
Dnetlink_sock_diag.c94 test_nlmsg_type(const int fd) in test_nlmsg_type()
111 test_nlmsg_flags(const int fd) in test_nlmsg_flags()
128 test_odd_family_req(const int fd) in test_odd_family_req()
178 test_odd_family_msg(const int fd) in test_odd_family_msg()
223 test_unix_diag_req(const int fd) in test_unix_diag_req()
246 test_unix_diag_msg(const int fd) in test_unix_diag_msg()
267 test_netlink_diag_req(const int fd) in test_netlink_diag_req()
299 test_netlink_diag_msg(const int fd) in test_netlink_diag_msg()
328 test_packet_diag_req(const int fd) in test_packet_diag_req()
349 test_packet_diag_msg(const int fd) in test_packet_diag_msg()
[all …]
/external/strace/tests-m32/
Dnetlink_route.c87 test_nlmsg_type(const int fd) in test_nlmsg_type()
104 test_nlmsg_flags(const int fd) in test_nlmsg_flags()
145 test_nlmsg_done(const int fd) in test_nlmsg_done()
156 test_rtnl_unspec(const int fd) in test_rtnl_unspec()
206 test_rtnl_link(const int fd) in test_rtnl_link()
227 test_rtnl_addr(const int fd) in test_rtnl_addr()
248 test_rtnl_route(const int fd) in test_rtnl_route()
277 test_rtnl_rule(const int fd) in test_rtnl_rule()
303 test_rtnl_neigh(const int fd) in test_rtnl_neigh()
323 test_rtnl_neightbl(const int fd) in test_rtnl_neightbl()
[all …]
Dnetlink_sock_diag.c94 test_nlmsg_type(const int fd) in test_nlmsg_type()
111 test_nlmsg_flags(const int fd) in test_nlmsg_flags()
128 test_odd_family_req(const int fd) in test_odd_family_req()
178 test_odd_family_msg(const int fd) in test_odd_family_msg()
223 test_unix_diag_req(const int fd) in test_unix_diag_req()
246 test_unix_diag_msg(const int fd) in test_unix_diag_msg()
267 test_netlink_diag_req(const int fd) in test_netlink_diag_req()
299 test_netlink_diag_msg(const int fd) in test_netlink_diag_msg()
328 test_packet_diag_req(const int fd) in test_packet_diag_req()
349 test_packet_diag_msg(const int fd) in test_packet_diag_msg()
[all …]
/external/igt-gpu-tools/tests/i915/
Dgem_reset_stats.c71 int fd = drm_open_driver(DRIVER_INTEL); in sync_gpu() local
76 static int noop(int fd, uint32_t ctx, const struct intel_execution_engine *e) in noop()
103 static int has_engine(int fd, in has_engine()
116 int fd = drm_open_driver(DRIVER_INTEL); in check_context() local
124 static int gem_reset_stats(int fd, int ctx_id, in gem_reset_stats()
138 static int gem_reset_status(int fd, int ctx_id) in gem_reset_status()
159 static void inject_hang(int fd, uint32_t ctx, in inject_hang()
184 static int _assert_reset_status(int idx, int fd, int ctx, int status) in _assert_reset_status()
207 #define assert_reset_status(idx, fd, ctx, status) \ argument
213 int fd[MAX_FD]; in test_rs() local
[all …]
Dgem_eio.c55 int fd, ret; in i915_reset_control() local
68 static void trigger_reset(int fd) in trigger_reset()
95 static void wedge_gpu(int fd) in wedge_gpu()
105 static int __gem_throttle(int fd) in __gem_throttle()
113 static void test_throttle(int fd) in test_throttle()
122 static void test_context_create(int fd) in test_context_create()
135 static void test_execbuf(int fd) in test_execbuf()
158 static int __gem_wait(int fd, uint32_t handle, int64_t timeout) in __gem_wait()
174 static igt_spin_t * __spin_poll(int fd, uint32_t ctx, unsigned long flags) in __spin_poll()
188 static void __spin_wait(int fd, igt_spin_t *spin) in __spin_wait()
[all …]
/external/ltp/testcases/kernel/syscalls/eventfd/
Deventfd01.c85 static int clear_counter(int fd) in clear_counter()
111 static int set_counter(int fd, uint64_t val) in set_counter()
131 static void read_test(int fd, uint64_t required) in read_test()
152 static void read_eagain_test(int fd) in read_eagain_test()
176 static void write_test(int fd) in write_test()
196 static void write_eagain_test(int fd) in write_eagain_test()
222 static void read_einval_test(int fd) in read_einval_test()
241 static void write_einval_test(int fd) in write_einval_test()
261 static void write_einval2_test(int fd) in write_einval2_test()
289 static void readfd_set_test(int fd) in readfd_set_test()
[all …]
/external/igt-gpu-tools/lib/i915/
Dgem_context.c54 bool gem_has_contexts(int fd) in gem_has_contexts()
72 void gem_require_contexts(int fd) in gem_require_contexts()
77 int __gem_context_create(int fd, uint32_t *ctx_id) in __gem_context_create()
104 uint32_t gem_context_create(int fd) in gem_context_create()
114 int __gem_context_destroy(int fd, uint32_t ctx_id) in __gem_context_destroy()
135 void gem_context_destroy(int fd, uint32_t ctx_id) in gem_context_destroy()
140 int __gem_context_get_param(int fd, struct drm_i915_gem_context_param *p) in __gem_context_get_param()
161 void gem_context_get_param(int fd, struct drm_i915_gem_context_param *p) in gem_context_get_param()
166 int __gem_context_set_param(int fd, struct drm_i915_gem_context_param *p) in __gem_context_set_param()
187 void gem_context_set_param(int fd, struct drm_i915_gem_context_param *p) in gem_context_set_param()
[all …]
Dgem_scheduler.c50 unsigned gem_scheduler_capability(int fd) in gem_scheduler_capability()
75 bool gem_scheduler_enabled(int fd) in gem_scheduler_enabled()
88 bool gem_scheduler_has_ctx_priority(int fd) in gem_scheduler_has_ctx_priority()
101 bool gem_scheduler_has_preemption(int fd) in gem_scheduler_has_preemption()
115 bool gem_scheduler_has_semaphores(int fd) in gem_scheduler_has_semaphores()
127 void gem_scheduler_print_capability(int fd) in gem_scheduler_print_capability()

12345678910>>...151