| /external/igt-gpu-tools/lib/ | 
| D | ioctl_wrappers.c | 105 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 …] 
 | 
| D | igt_syncobj.c | 40 __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 …] 
 | 
| D | drmtest.c | 79 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 …] 
 | 
| D | igt_gt.c | 57 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 …] 
 | 
| D | igt_device.c | 30 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/ | 
| D | syncobj_basic.c | 34 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 …] 
 | 
| D | vgem_basic.c | 37 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 …] 
 | 
| D | kms_prop_blob.c | 55 #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 …] 
 | 
| D | syncobj_wait.c | 66 syncobj_attach_sw_sync(int fd, uint32_t handle)  in syncobj_attach_sw_sync() 80 syncobj_trigger(int fd, uint32_t handle)  in syncobj_trigger() 112 	int fd;  member 131 syncobj_trigger_delayed(int fd, uint32_t syncobj, uint64_t nsec)  in syncobj_trigger_delayed() 142 test_wait_bad_flags(int fd)  in test_wait_bad_flags() 150 test_wait_zero_handles(int fd)  in test_wait_zero_handles() 157 test_wait_illegal_handle(int fd)  in test_wait_illegal_handle() 168 test_reset_zero_handles(int fd)  in test_reset_zero_handles() 178 test_reset_illegal_handle(int fd)  in test_reset_illegal_handle() 191 test_reset_one_illegal_handle(int fd)  in test_reset_one_illegal_handle() [all …] 
 | 
| /external/linux-kselftest/tools/testing/selftests/memfd/ | 
| D | memfd_test.c | 39 	int r, fd;  in mfd_assert_new()  local 59 	int 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/ | 
| D | memfd_create_common.h | 41 #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 …] 
 | 
| D | memfd_create01.c | 23 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
  | 
| D | memfd_create_common.c | 32 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/ | 
| D | netlink_route.c | 87 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 …] 
 | 
| D | netlink_sock_diag.c | 94 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/ | 
| D | netlink_route.c | 87 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 …] 
 | 
| D | netlink_sock_diag.c | 94 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/ | 
| D | netlink_route.c | 87 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 …] 
 | 
| D | netlink_sock_diag.c | 94 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/ | 
| D | gem_reset_stats.c | 71 	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 …] 
 | 
| D | gem_eio.c | 55 	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/ | 
| D | eventfd01.c | 86 static int clear_counter(int fd)  in clear_counter() 112 static int set_counter(int fd, uint64_t val)  in set_counter() 132 static void read_test(int fd, uint64_t required)  in read_test() 153 static void read_eagain_test(int fd)  in read_eagain_test() 177 static void write_test(int fd)  in write_test() 197 static void write_eagain_test(int fd)  in write_eagain_test() 223 static void read_einval_test(int fd)  in read_einval_test() 242 static void write_einval_test(int fd)  in write_einval_test() 262 static void write_einval2_test(int fd)  in write_einval2_test() 290 static void readfd_set_test(int fd)  in readfd_set_test() [all …] 
 | 
| /external/trace-cmd/tracecmd/ | 
| D | trace-dump.c | 71 static int read_fd(int fd, char *dst, int len)  in read_fd() 90 static int read_compressed(int fd, char *dst, int len)  in read_compressed() 99 static int do_lseek(int fd, int offset, int whence)  in do_lseek() 107 static int read_file_string(int fd, char *dst, int len)  in read_file_string() 128 static int read_file_bytes(int fd, char *dst, int len)  in read_file_bytes() 136 static void read_dump_string(int fd, int size, enum dump_items id)  in read_dump_string() 153 static int read_file_number(int fd, void *digit, int size)  in read_file_number() 193 static void dump_initial_format(int fd)  in dump_initial_format() 243 static void dump_compress(int fd)  in dump_compress() 268 static void dump_header_page(int fd)  in dump_header_page() [all …] 
 | 
| /external/igt-gpu-tools/lib/i915/ | 
| D | gem_context.c | 54 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 …] 
 | 
| D | gem_scheduler.c | 50 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()
  |