Home
last modified time | relevance | path

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

12345678910>>...117

/external/mesa3d/src/gallium/auxiliary/target-helpers/
Ddrm_helper.h39 pipe_i915_create_screen(int fd, const struct pipe_screen_config *config) in pipe_i915_create_screen()
55 pipe_i915_create_screen(int fd, const struct pipe_screen_config *config) in pipe_i915_create_screen()
67 pipe_nouveau_create_screen(int fd, const struct pipe_screen_config *config) in pipe_nouveau_create_screen()
78 pipe_nouveau_create_screen(int fd, const struct pipe_screen_config *config) in pipe_nouveau_create_screen()
90 pipe_pl111_create_screen(int fd, const struct pipe_screen_config *config) in pipe_pl111_create_screen()
101 pipe_pl111_create_screen(int fd, const struct pipe_screen_config *config) in pipe_pl111_create_screen()
115 pipe_r300_create_screen(int fd, const struct pipe_screen_config *config) in pipe_r300_create_screen()
126 pipe_r300_create_screen(int fd, const struct pipe_screen_config *config) in pipe_r300_create_screen()
140 pipe_r600_create_screen(int fd, const struct pipe_screen_config *config) in pipe_r600_create_screen()
151 pipe_r600_create_screen(int fd, const struct pipe_screen_config *config) in pipe_r600_create_screen()
[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.c32 static void test_basic(int fd) in test_basic()
57 static void test_no_sealing_without_flag(int fd) in test_no_sealing_without_flag()
69 static void test_seal_write(int fd) in test_seal_write()
86 static void test_seal_shrink(int fd) in test_seal_shrink()
103 static void test_seal_grow(int fd) in test_seal_grow()
120 static void test_seal_resize(int fd) in test_seal_resize()
137 static void test_share_dup(int fd) in test_share_dup()
172 static void test_share_mmap(int fd) in test_share_mmap()
201 static void test_share_open(int fd) in test_share_open()
247 int fd; in verify_memfd_create() local
Dmemfd_create_common.c42 int check_fallocate(const char *filename, const int lineno, int fd, in check_fallocate()
61 int check_fallocate_fail(const char *filename, const int lineno, int fd, in check_fallocate_fail()
82 void check_ftruncate(const char *filename, const int lineno, int fd, in check_ftruncate()
92 int fd, off_t length) in check_ftruncate_fail()
149 int fd; in check_mfd_new() local
168 int fd; in check_mfd_fail_new() local
183 int prot, int flags, int fd, off_t offset) in check_mmap()
197 size_t length, int prot, int flags, int fd, off_t offset) in check_mmap_fail()
220 void check_mfd_has_seals(const char *file, const int lineno, int fd, int seals) in check_mfd_has_seals()
246 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 …]
Dnetlink_crypto.c40 test_nlmsg_type(const int fd) in test_nlmsg_type()
57 test_nlmsg_flags(const int fd) in test_nlmsg_flags()
99 test_crypto_msg_newalg(const int fd) in test_crypto_msg_newalg()
150 test_crypto_msg_unspec(const int fd) in test_crypto_msg_unspec()
165 int fd = create_nl_socket(NETLINK_CRYPTO); in main() local
Dnetlink_selinux.c38 test_nlmsg_type(const int fd) in test_nlmsg_type()
55 test_selnl_msg_unspec(const int fd) in test_selnl_msg_unspec()
67 test_selnl_msg_setenforce(const int fd) in test_selnl_msg_setenforce()
81 test_selnl_msg_policyload(const int fd) in test_selnl_msg_policyload()
98 int fd = create_nl_socket(NETLINK_SELINUX); in main() local
/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 …]
Dnetlink_selinux.c38 test_nlmsg_type(const int fd) in test_nlmsg_type()
55 test_selnl_msg_unspec(const int fd) in test_selnl_msg_unspec()
67 test_selnl_msg_setenforce(const int fd) in test_selnl_msg_setenforce()
81 test_selnl_msg_policyload(const int fd) in test_selnl_msg_policyload()
98 int fd = create_nl_socket(NETLINK_SELINUX); in main() local
Dnetlink_crypto.c40 test_nlmsg_type(const int fd) in test_nlmsg_type()
57 test_nlmsg_flags(const int fd) in test_nlmsg_flags()
99 test_crypto_msg_newalg(const int fd) in test_crypto_msg_newalg()
150 test_crypto_msg_unspec(const int fd) in test_crypto_msg_unspec()
165 int fd = create_nl_socket(NETLINK_CRYPTO); in main() local
/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 …]
Dnetlink_crypto.c40 test_nlmsg_type(const int fd) in test_nlmsg_type()
57 test_nlmsg_flags(const int fd) in test_nlmsg_flags()
99 test_crypto_msg_newalg(const int fd) in test_crypto_msg_newalg()
150 test_crypto_msg_unspec(const int fd) in test_crypto_msg_unspec()
165 int fd = create_nl_socket(NETLINK_CRYPTO); in main() local
Dnetlink_selinux.c38 test_nlmsg_type(const int fd) in test_nlmsg_type()
55 test_selnl_msg_unspec(const int fd) in test_selnl_msg_unspec()
67 test_selnl_msg_setenforce(const int fd) in test_selnl_msg_setenforce()
81 test_selnl_msg_policyload(const int fd) in test_selnl_msg_policyload()
98 int fd = create_nl_socket(NETLINK_SELINUX); in main() local
/external/linux-kselftest/tools/testing/selftests/memfd/
Dmemfd_test.c39 int r, fd; in mfd_assert_new() local
70 static unsigned int mfd_assert_get_seals(int fd) in mfd_assert_get_seals()
83 static void mfd_assert_has_seals(int fd, unsigned int seals) in mfd_assert_has_seals()
94 static void mfd_assert_add_seals(int fd, unsigned int seals) in mfd_assert_add_seals()
107 static void mfd_fail_add_seals(int fd, unsigned int seals) in mfd_fail_add_seals()
126 static void mfd_assert_size(int fd, size_t size) in mfd_assert_size()
142 static int mfd_assert_dup(int fd) in mfd_assert_dup()
155 static void *mfd_assert_mmap_shared(int fd) in mfd_assert_mmap_shared()
173 static void *mfd_assert_mmap_private(int fd) in mfd_assert_mmap_private()
191 static int mfd_assert_open(int fd, int flags, mode_t mode) in mfd_assert_open()
[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/clang/test/Analysis/
Dunix-api.c15 int fd; in open_1() local
22 int fd; in open_2() local
30 int fd; in open_3() local
37 int fd; in open_4() local
44 int fd; in open_5() local
54 int fd; in open_6() local
64 int fd; in open_7() local
71 int fd; in open_8() local
/external/adhd/cras/src/common/
Dcras_shm.c21 static void cras_shm_restorecon(int fd) in cras_shm_restorecon()
53 int fd; in cras_shm_open_rw() local
67 int cras_shm_reopen_ro (const char *name, int fd) in cras_shm_reopen_ro()
80 void cras_shm_close_unlink (const char *name, int fd) in cras_shm_close_unlink()
89 int fd; in cras_shm_open_rw() local
112 int cras_shm_reopen_ro (const char *name, int fd) in cras_shm_reopen_ro()
125 void cras_shm_close_unlink (const char *name, int fd) in cras_shm_close_unlink()
/external/linux-kselftest/tools/testing/selftests/sync/
Dsync.c58 int sync_wait(int fd, int timeout) in sync_wait()
84 static struct sync_file_info *sync_file_info(int fd) in sync_file_info()
131 int sync_fence_size(int fd) in sync_fence_size()
146 int sync_fence_count_with_status(int fd, int status) in sync_fence_count_with_status()
171 int sw_sync_timeline_inc(int fd, unsigned int count) in sw_sync_timeline_inc()
178 int sw_sync_timeline_is_valid(int fd) in sw_sync_timeline_is_valid()
189 void sw_sync_timeline_destroy(int fd) in sw_sync_timeline_destroy()
195 int sw_sync_fence_create(int fd, const char *name, unsigned int value) in sw_sync_fence_create()
211 int sw_sync_fence_is_valid(int fd) in sw_sync_fence_is_valid()
217 void sw_sync_fence_destroy(int fd) in sw_sync_fence_destroy()
/external/ltp/testcases/open_posix_testsuite/include/
Dmq_send.h14 int sync_pipe_create(int fd[]) in sync_pipe_create()
19 int sync_pipe_close(int fd[]) in sync_pipe_close()
30 int sync_pipe_wait(int fd[]) in sync_pipe_wait()
47 int sync_pipe_wait_select(int fd[], long tv_sec) in sync_pipe_wait_select()
76 int sync_pipe_notify(int fd[]) in sync_pipe_notify()
/external/libdrm/
Dxf86drm.c183 drmIoctl(int fd, unsigned long request, void *arg) in drmIoctl()
193 static unsigned long drmGetKeyFromFd(int fd) in drmGetKeyFromFd()
202 drmHashEntry *drmGetEntry(int fd) in drmGetEntry()
329 int fd; in drmOpenDevice() local
455 int fd; in drmOpenMinor() local
497 int fd; in drmAvailable() local
579 int fd; in drmOpenByBusid() local
643 int fd; in drmOpenByName() local
761 int fd = drmOpenByBusid(busid, type); in drmOpenWithType() local
861 drmVersionPtr drmGetVersion(int fd) in drmGetVersion()
[all …]
/external/ltp/testcases/kernel/input/
Dinput_helper.c40 int ret, fd = -1; in try_open_device() local
74 int fd; in open_device() local
124 int fd; in try_open_uinput() local
146 int fd; in open_uinput() local
170 void send_event(int fd, int event, int code, int value) in send_event()
181 void send_rel_move(int fd, int x, int y) in send_rel_move()
188 void create_device(int fd) in create_device()
214 void setup_mouse_events(int fd) in setup_mouse_events()
223 void destroy_device(int fd) in destroy_device()
249 int no_events_queued(int fd, int stray_sync_event) in no_events_queued()
/external/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock.h10 #define read_lock(fd, offset, whence, len) \ argument
12 #define write_lock(fd, offset, whence, len) \ argument
14 #define un_lock(fd, offset, whence, len) \ argument
16 #define readb_lock(fd, offset, whence, len) \ argument
18 #define writeb_lock(fd, offset, whence, len) \ argument
20 #define unb_lock(fd, offset, whence, len) \ argument

12345678910>>...117