| /linux/tools/testing/selftests/memfd/ |
| H A D | memfd_test.c | 66 static ssize_t fd2name(int fd, char *buf, size_t bufsize) in fd2name() argument 92 int r, fd; in mfd_assert_new() local 112 int fd in sysctl_assert_write() local 127 int fd = open("/proc/sys/vm/memfd_noexec", O_WRONLY | O_CLOEXEC); sysctl_fail_write() local 144 int fd = open("/proc/sys/vm/memfd_noexec", O_RDONLY | O_CLOEXEC); sysctl_assert_equal() local 170 int fd; mfd_assert_reopen_fd() local 197 mfd_assert_get_seals(int fd) mfd_assert_get_seals() argument 210 mfd_assert_has_seals(int fd,unsigned int seals) mfd_assert_has_seals() argument 223 mfd_assert_add_seals(int fd,unsigned int seals) mfd_assert_add_seals() argument 236 mfd_fail_add_seals(int fd,unsigned int seals) mfd_fail_add_seals() argument 255 mfd_assert_size(int fd,size_t size) mfd_assert_size() argument 271 mfd_assert_dup(int fd) mfd_assert_dup() argument 284 mfd_assert_mmap_shared(int fd) mfd_assert_mmap_shared() argument 302 mfd_assert_mmap_read_shared(int fd) mfd_assert_mmap_read_shared() argument 320 mfd_assert_mmap_private(int fd) mfd_assert_mmap_private() argument 338 mfd_assert_open(int fd,int flags,mode_t mode) mfd_assert_open() argument 353 mfd_fail_open(int fd,int flags,mode_t mode) mfd_fail_open() argument 366 mfd_assert_read(int fd) mfd_assert_read() argument 406 mfd_assert_read_shared(int fd) mfd_assert_read_shared() argument 424 mfd_assert_fork_private_write(int fd) mfd_assert_fork_private_write() argument 458 mfd_assert_write(int fd) mfd_assert_write() argument 538 mfd_fail_write(int fd) mfd_fail_write() argument 603 mfd_assert_shrink(int fd) mfd_assert_shrink() argument 623 mfd_fail_shrink(int fd) mfd_fail_shrink() argument 638 mfd_assert_grow(int fd) mfd_assert_grow() argument 662 mfd_fail_grow(int fd) mfd_fail_grow() argument 682 mfd_assert_grow_write(int fd) mfd_assert_grow_write() argument 706 mfd_fail_grow_write(int fd) mfd_fail_grow_write() argument 728 mfd_assert_mode(int fd,int mode) mfd_assert_mode() argument 747 mfd_assert_chmod(int fd,int mode) mfd_assert_chmod() argument 761 mfd_fail_chmod(int fd,int mode) mfd_fail_chmod() argument 857 int fd; test_create() local 906 int fd; test_basic() local 958 int fd; test_seal_write() local 984 int fd, fd2; test_seal_future_write() local 1020 int fd; test_seal_write_map_read_shared() local 1048 int fd; test_seal_shrink() local 1074 int fd; test_seal_grow() local 1100 int fd; test_seal_resize() local 1127 int fd; test_exec_seal() local 1177 int fd; test_exec_no_seal() local 1196 int fd; test_noexec_seal() local 1221 int fd; test_sysctl_sysctl0() local 1242 int fd; test_sysctl_sysctl1() local 1279 int fd; test_sysctl_sysctl2() local 1557 int fd, fd2; test_share_dup() local 1598 int fd; test_share_mmap() local 1633 int fd, fd2; test_share_open() local 1675 int fd; test_share_fork() local [all...] |
| H A D | fuse_test.c | 46 int r, fd; in mfd_assert_new() local 64 static __u64 mfd_assert_get_seals(int fd) in mfd_assert_get_seals() argument 77 static void mfd_assert_has_seals(int fd, __u64 seals) in mfd_assert_has_seals() argument 89 mfd_assert_add_seals(int fd,__u64 seals) mfd_assert_add_seals() argument 103 mfd_busy_add_seals(int fd,__u64 seals) mfd_busy_add_seals() argument 124 mfd_assert_mmap_shared(int fd) mfd_assert_mmap_shared() argument 142 mfd_assert_mmap_private(int fd) mfd_assert_mmap_private() argument 231 int fd, mfd, r; main() local [all...] |
| /linux/tools/testing/vsock/ |
| H A D | vsock_test.c | 51 int fd; in test_stream_connection_reset() local 87 int fd; in test_stream_bind_only_client() local 118 int fd; in test_stream_bind_only_server() local 133 int fd; test_stream_client_close_client() local 147 int fd; test_stream_client_close_server() local 168 int fd; test_stream_server_close_client() local 189 int fd; test_stream_server_close_server() local 260 int fd; test_msg_peek_client() local 289 int fd; test_msg_peek_server() local 353 int fd; test_stream_peek_after_recv_server() local 392 int fd; test_seqpacket_msg_bounds_client() local 471 int fd; test_seqpacket_msg_bounds_server() local 539 int fd; test_seqpacket_msg_trunc_client() local 556 int fd; test_seqpacket_msg_trunc_server() local 606 int fd; test_seqpacket_timeout_client() local 653 int fd; test_seqpacket_timeout_server() local 671 int fd; test_seqpacket_bigmsg_client() local 712 int fd; test_seqpacket_bigmsg_server() local 730 int fd; test_seqpacket_invalid_rec_buffer_client() local 765 int fd; test_seqpacket_invalid_rec_buffer_server() local 848 int fd; test_stream_poll_rcvlowat_server() local 880 int fd; test_stream_poll_rcvlowat_client() local 943 int fd; test_inv_buf_client() local 978 int fd; test_inv_buf_server() local 1024 int fd; test_stream_virtio_skb_merge_client() local 1053 int fd; test_stream_virtio_skb_merge_server() local 1109 test_stream_check_sigpipe(int fd) test_stream_check_sigpipe() argument 1170 int fd; test_stream_shutwr_client() local 1198 int fd; test_stream_shutwr_server() local 1213 int fd; test_stream_shutrd_client() local 1238 int fd; test_stream_shutrd_server() local 1329 int fd; test_unsent_bytes_client() local 1378 int fd; test_unread_bytes_client() local 1455 int fd; test_stream_rcvlowat_def_cred_upd_client() local 1492 int fd; test_stream_credit_update_test() local 1610 int fd; test_stream_leak_acceptq_client() local 1627 int fd; test_stream_leak_acceptq_server() local 1640 int fd; test_stream_msgzcopy_leak_errq_client() local 1663 int fd; test_stream_msgzcopy_leak_errq_server() local 1752 int fd, res; test_stream_msgzcopy_leak_zcskb_client() local 1811 int fd; test_stream_msgzcopy_leak_zcskb_server() local 1830 int fd, i, c; test_stream_transport_uaf() local 1934 int fd; test_stream_connect_retry_client() local 1960 int fd; test_stream_connect_retry_server() local 2155 int fd; test_stream_linger_client() local 2169 int fd; test_stream_linger_server() local 2188 int fd; test_stream_nolinger_client() local 2216 int fd; test_stream_nolinger_server() local 2230 int fd; test_stream_accepted_setsockopt_client() local 2243 int fd; test_stream_accepted_setsockopt_server() local 2260 int fd; test_stream_tx_credit_bounds_client() local 2326 int fd; test_stream_tx_credit_bounds_server() local 2366 int i, fd; test_stream_collapse_client() local 2404 int fd; test_stream_collapse_server() local [all...] |
| H A D | util.c | 69 void vsock_wait_remote_close(int fd) in vsock_wait_remote_close() argument 108 bool vsock_ioctl_int(int fd, unsigned long op, int expected) in vsock_ioctl_int() argument 135 bool vsock_wait_sent(int fd) in vsock_wait_sent() argument 150 int fd, saved_errno; vsock_bind_try() local 171 int fd; vsock_bind() local 182 vsock_connect_fd(int fd,unsigned int cid,unsigned int port) vsock_connect_fd() argument 219 int fd; vsock_connect() local 253 int fd; vsock_listen() local 276 int fd, client_fd, old_errno; vsock_accept() local 336 send_buf(int fd,const void * buf,size_t len,int flags,ssize_t expected_ret) send_buf() argument 397 recv_buf(int fd,void * buf,size_t len,int flags,ssize_t expected_ret) recv_buf() argument 460 send_byte(int fd,int expected_ret,int flags) send_byte() argument 474 recv_byte(int fd,int expected_ret,int flags) recv_byte() argument 751 setsockopt_ull_check(int fd,int level,int optname,unsigned long long val,char const * errmsg) setsockopt_ull_check() argument 793 setsockopt_int_check(int fd,int level,int optname,int val,char const * errmsg) setsockopt_int_check() argument 842 setsockopt_timeval_check(int fd,int level,int optname,struct timeval val,char const * errmsg) setsockopt_timeval_check() argument 885 enable_so_zerocopy_check(int fd) enable_so_zerocopy_check() argument 891 enable_so_linger(int fd,int timeout) enable_so_linger() argument [all...] |
| /linux/arch/um/os-Linux/ |
| H A D | file.c | 44 int os_stat_fd(const int fd, struct uml_stat *ubuf) in os_stat_fd() 89 int os_ioctl_generic(int fd, unsigned int cmd, unsigned long arg) in os_ioctl_generic() 101 int os_get_ifname(int fd, char* namebuf) in os_get_ifname() 109 int os_mode_fd(int fd, int mode) in os_mode_fd() 167 int fd, err, f = 0; in os_open_file() local 204 int fd, err; in os_connect_socket() local 229 int os_dup_file(int fd) in os_dup_file() 239 void os_close_file(int fd) in os_close_file() 244 int os_seek_file(int fd, unsigned long long offset) in os_seek_file() 254 int os_read_file(int fd, void *buf, int len) in os_read_file() [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | gup_longterm.c | 39 get_fs_type(int fd) get_fs_type() argument 92 do_test(int fd,size_t size,enum test_type type,bool shared) do_test() argument 305 int fd; run_with_memfd() local 323 int fd; run_with_tmpfile() local 347 int fd; run_with_local_tmpfile() local 371 int fd; run_with_memfd_hugetlb() local 394 test_shared_rw_pin(int fd,size_t size) test_shared_rw_pin() argument 399 test_shared_rw_fast_pin(int fd,size_t size) test_shared_rw_fast_pin() argument 404 test_shared_ro_pin(int fd,size_t size) test_shared_ro_pin() argument 409 test_shared_ro_fast_pin(int fd,size_t size) test_shared_ro_fast_pin() argument 414 test_private_rw_pin(int fd,size_t size) test_private_rw_pin() argument 419 test_private_rw_fast_pin(int fd,size_t size) test_private_rw_fast_pin() argument 424 test_private_ro_pin(int fd,size_t size) test_private_ro_pin() argument 429 test_private_ro_fast_pin(int fd,size_t size) test_private_ro_fast_pin() argument 435 test_shared_iouring(int fd,size_t size) test_shared_iouring() argument 440 test_private_iouring(int fd,size_t size) test_private_iouring() argument [all...] |
| H A D | memfd_secret.c | 47 static void test_file_apis(int fd) in test_file_apis() argument 60 static void test_vmsplice(int fd, const char *desc) in test_vmsplice() argument 99 static void try_process_vm_read(int fd, int pipefd[2]) in try_process_vm_read() argument 123 static void try_ptrace(int fd, int pipefd[2]) in try_ptrace() argument 175 static void test_remote_access(int fd, cons in test_remote_access() argument 174 test_remote_access(int fd,const char * name,void (* func)(int fd,int pipefd[2])) test_remote_access() argument 213 test_process_vm_read(int fd) test_process_vm_read() argument 218 test_ptrace(int fd) test_ptrace() argument 277 int fd; main() local [all...] |
| /linux/tools/testing/selftests/net/ |
| H A D | ipv6_flowlabel_mgr.c | 39 static int flowlabel_get(int fd, uint32_t label, uint8_t share, uint16_t flags) in flowlabel_get() 55 static int flowlabel_put(int fd, uint32_t label) in flowlabel_put() 65 static int flowlabel_renew(int fd, uint32_t label, uint8_t share, in flowlabel_renew() 93 int fd; in tcp_listen() local 144 int fd; in bringup_loopback() local 187 int fd, err; in TEST_F() local 201 int fd, err; in TEST_F() local 215 int fd, err; in TEST_F() local 229 int fd, err; in TEST_F() local 266 int fd, err; in TEST_F() local [all …]
|
| H A D | msg_zerocopy.c | 138 static void do_setsockopt(int fd, int level, int optname, int val) in do_setsockopt() 144 static int do_poll(int fd, int events) in do_poll() 160 static int do_accept(int fd) in do_accept() 186 static bool do_sendmsg(int fd, struct msghdr *msg, bool do_zerocopy, int domain) in do_sendmsg() 230 static void do_sendmsg_corked(int fd, struct msghdr *msg) in do_sendmsg_corked() 328 int fd; in do_setup_tx() local 363 static bool do_recvmsg_completion(int fd) in do_recvmsg_completion() 396 static bool do_recv_completion(int fd, int domain) in do_recv_completion() 466 static void do_recv_completions(int fd, int domain) in do_recv_completions() 473 static void do_recv_remaining_completions(int fd, int domain) in do_recv_remaining_completions() [all …]
|
| /linux/fs/ |
| H A D | file.c | 322 __set_close_on_exec(unsigned int fd,struct fdtable * fdt,bool set) __set_close_on_exec() argument 333 __set_open_fd(unsigned int fd,struct fdtable * fdt,bool set) __set_open_fd() argument 342 __clear_open_fd(unsigned int fd,struct fdtable * fdt) __clear_open_fd() argument 350 fd_is_open(unsigned int fd,const struct fdtable * fdt) fd_is_open() argument 441 unsigned int open_files, fd; dup_fd() local 539 struct files_struct *fd = current->files; unshare_fd() local 649 unsigned int fd; alloc_fd() local 702 __put_unused_fd(struct files_struct * files,unsigned int fd) __put_unused_fd() argument 710 put_unused_fd(unsigned int fd) put_unused_fd() argument 736 fd_install_slowpath(unsigned int fd,struct file * file) fd_install_slowpath() argument 756 fd_install(unsigned int fd,struct file * file) fd_install() argument 791 file_close_fd_locked(struct files_struct * files,unsigned fd) file_close_fd_locked() argument 810 close_fd(unsigned fd) close_fd() argument 903 unsigned int fd, n; __range_close() local 954 SYSCALL_DEFINE3(close_range,unsigned int,fd,unsigned int,max_fd,unsigned int,flags) SYSCALL_DEFINE3() argument 1025 file_close_fd(unsigned int fd) file_close_fd() argument 1056 unsigned fd = i * BITS_PER_LONG + bit; close_cloexec_files() local 1167 __fget_files_rcu(struct files_struct * files,unsigned int fd,fmode_t mask) __fget_files_rcu() argument 1242 __fget_files(struct files_struct * files,unsigned int fd,fmode_t mask) __fget_files() argument 1254 __fget(unsigned int fd,fmode_t mask) __fget() argument 1259 fget(unsigned int fd) fget() argument 1265 fget_raw(unsigned int fd) fget_raw() argument 1271 fget_task(struct task_struct * task,unsigned int fd) fget_task() argument 1286 unsigned int fd = *ret_fd; fget_task_next() local 1329 __fget_light(unsigned int fd,fmode_t mask) __fget_light() argument 1355 fdget(unsigned int fd) fdget() argument 1361 fdget_raw(unsigned int fd) fdget_raw() argument 1401 fdget_pos(unsigned int fd) fdget_pos() argument 1424 set_close_on_exec(unsigned int fd,int flag) set_close_on_exec() argument 1432 get_close_on_exec(unsigned int fd) get_close_on_exec() argument 1442 do_dup2(struct files_struct * files,struct file * file,unsigned fd,unsigned flags) do_dup2() argument 1494 replace_fd(unsigned fd,struct file * file,unsigned flags) replace_fd() argument [all...] |
| /linux/tools/testing/selftests/kvm/ |
| H A D | guest_memfd_test.c | 28 static void test_file_read_write(int fd, size_t total_size) in test_file_read_write() argument 42 static void test_mmap_cow(int fd, size_ argument 50 test_mmap_supported(int fd,size_t total_size) test_mmap_supported() argument 79 test_mbind(int fd,size_t total_size) test_mbind() argument 122 test_numa_allocation(int fd,size_t total_size) test_numa_allocation() argument 174 test_collapse(int fd,u64 flags) test_collapse() argument 232 test_fault_sigbus(int fd,size_t accessible_size,size_t map_size) test_fault_sigbus() argument 249 test_fault_overflow(int fd,size_t total_size) test_fault_overflow() argument 254 test_fault_private(int fd,size_t total_size) test_fault_private() argument 259 test_mmap_not_supported(int fd,size_t total_size) test_mmap_not_supported() argument 270 test_file_size(int fd,size_t total_size) test_file_size() argument 281 test_fallocate(int fd,size_t total_size) test_fallocate() argument 318 test_invalid_punch_hole(int fd,size_t total_size) test_invalid_punch_hole() argument 352 int fd; test_create_guest_memfd_invalid_sizes() local 394 int fd; test_guest_memfd_flags() local 499 int fd, i; test_guest_memfd_guest() local [all...] |
| /linux/tools/testing/selftests/sync/ |
| H A D | sync.c | 58 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()
|
| /linux/tools/testing/selftests/core/ |
| H A D | close_range_test.c | 33 static inline int sys_close_range(unsigned int fd, unsigned int max_fd, in sys_close_range() 53 int fd; in TEST() local 126 int fd; in TEST() local 215 int fd; in TEST() local 298 int fd; in TEST() local 366 int fd; in TEST() local 658 int fd; in TEST() local 731 int fd; in TEST() local 806 int fd; in TEST() local 873 int fd; in TEST() local [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | socket_helpers.h | 34 #define take_fd(fd) __get_and_null(fd, -EBADF) argument 53 #define xaccept_nonblock(fd, addr, len) \ argument 62 #define xbind(fd, addr, len) \ argument 70 #define xclose(fd) \ argument 78 #define xconnect(fd, addr, len) \ argument 86 xgetsockname(fd,addr,len) global() argument 94 xgetsockopt(fd,level,name,val,len) global() argument 102 xlisten(fd,backlog) global() argument 110 xsetsockopt(fd,level,name,val,len) global() argument 118 xsend(fd,buf,len,flags) global() argument 126 xrecv_nonblock(fd,buf,len,flags) global() argument 143 close_fd(int * fd) close_fd() argument 271 poll_connect(int fd,unsigned int timeout_sec) poll_connect() argument 297 poll_read(int fd,unsigned int timeout_sec) poll_read() argument 313 accept_timeout(int fd,struct sockaddr * addr,socklen_t * len,unsigned int timeout_sec) accept_timeout() argument 322 recv_timeout(int fd,void * buf,size_t len,int flags,unsigned int timeout_sec) recv_timeout() argument [all...] |
| /linux/tools/testing/selftests/filesystems/eventfd/ |
| H A D | eventfd_test.c | 47 int fd, flags; in TEST() local 61 int fd, flags; in TEST() local 75 int fd, flags; in TEST() local 90 int fd, flags; in TEST() local 115 static int verify_fdinfo(int fd, struct error *err, const char *prefix, in verify_fdinfo() 169 int fd, ret; in TEST() local 196 int fd; in TEST() local 224 int fd; in TEST() local 252 int fd; in TEST() local 286 int fd; in TEST() local
|
| /linux/samples/uhid/ |
| H A D | uhid-example.c | 159 static int uhid_write(int fd, const struct uhid_event *ev) in uhid_write() 176 static int create(int fd) in create() 194 static void destroy(int fd) in destroy() 225 static int event(int fd) in event() 278 static int send_event(int fd) in send_event() 301 static int keyboard(int fd) in keyboard() 389 int fd; in main() local
|
| /linux/arch/xtensa/kernel/ |
| H A D | smp.c | 491 struct flush_data *fd = arg; in ipi_flush_tlb_page() local 497 struct flush_data fd = { in flush_tlb_page() local 506 struct flush_data *fd = arg; in ipi_flush_tlb_range() local 513 struct flush_data fd = { in flush_tlb_range() local 523 struct flush_data *fd = arg; in ipi_flush_tlb_kernel_range() local 529 struct flush_data fd = { in flush_tlb_kernel_range() local 550 struct flush_data *fd = arg; in ipi_flush_cache_page() local 557 struct flush_data fd = { in flush_cache_page() local 567 struct flush_data *fd = arg; in ipi_flush_cache_range() local 574 struct flush_data fd = { in flush_cache_range() local [all …]
|
| /linux/arch/um/drivers/ |
| H A D | vector_user.c | 137 int fd = -1; create_tap_fd() local 167 int fd = -1; create_raw_fd() local 203 int fd = -1, i; user_init_tap_fds() local 312 int fd = -1; user_init_unix_fds() local 390 long fd; strtofd() local 410 int fd = -1; user_init_fd_fds() local 560 uml_raw_enable_qdisc_bypass(int fd) uml_raw_enable_qdisc_bypass() argument 572 uml_raw_enable_vnet_headers(int fd) uml_raw_enable_vnet_headers() argument 584 uml_tap_enable_vnet_headers(int fd) uml_tap_enable_vnet_headers() argument 604 int fd = -1, gairet; user_init_socket_fds() local 763 uml_vector_sendmsg(int fd,void * hdr,int flags) uml_vector_sendmsg() argument 776 uml_vector_recvmsg(int fd,void * hdr,int flags) uml_vector_recvmsg() argument 790 uml_vector_writev(int fd,void * hdr,int iovcount) uml_vector_writev() argument 804 uml_vector_sendmmsg(int fd,void * msgvec,unsigned int vlen,unsigned int flags) uml_vector_sendmmsg() argument 821 uml_vector_recvmmsg(int fd,void * msgvec,unsigned int vlen,unsigned int flags) uml_vector_recvmmsg() argument 837 uml_vector_attach_bpf(int fd,void * bpf) uml_vector_attach_bpf() argument 848 uml_vector_detach_bpf(int fd,void * bpf) uml_vector_detach_bpf() argument [all...] |
| /linux/tools/testing/selftests/namespaces/ |
| H A D | file_handle_test.c | 28 int fd; in TEST() local 83 int fd; in TEST() local 133 int fd; in TEST() local 183 int fd; in TEST() local 233 int fd; in TEST() local 283 int fd; in TEST() local 333 int fd; in TEST() local 385 int fd; in TEST() local 437 int fd; in TEST() local 566 int fd; in TEST() local [all …]
|
| /linux/tools/power/acpi/tools/acpidbg/ |
| H A D | acpidbg.c | 97 static int acpi_aml_set_fl(int fd, int flags) in acpi_aml_set_fl() 115 static int acpi_aml_set_fd(int fd, int maxfd, fd_set *set) in acpi_aml_set_fd() 123 static int acpi_aml_read(int fd, struct circ_buf *crc) in acpi_aml_read() 159 static int acpi_aml_read_batch_log(int fd, struct circ_buf *crc) in acpi_aml_read_batch_log() 223 static int acpi_aml_write(int fd, struct circ_buf *crc) in acpi_aml_write() 238 static int acpi_aml_write_batch_log(int fd, struct circ_buf *crc) in acpi_aml_write_batch_log() 255 static int acpi_aml_write_batch_cmd(int fd, struct circ_buf *crc) in acpi_aml_write_batch_cmd() 265 static void acpi_aml_loop(int fd) in acpi_aml_loop() 336 static bool acpi_aml_readable(int fd) in acpi_aml_readable() 360 static void acpi_aml_flush(int fd) in acpi_aml_flush() [all …]
|
| /linux/tools/testing/selftests/exec/ |
| H A D | execveat.c | 35 static int execveat_(int fd, const char *path, char **argv, char **envp, in execveat_() 46 #define check_execveat_fail(fd, path, flags, errno) \ argument 48 static int _check_execveat_fail(int fd, const char *path, int flags, in _check_execveat_fail() 76 static int check_execveat_invoked_rc(int fd, const char *path, int flags, in check_execveat_invoked_rc() 132 static int check_execveat(int fd, const char *path, int flags) in check_execveat() 148 int fd = open(filename, flags); in open_or_die() local 174 int fd; in check_execveat_pathmax() local 242 static int check_execveat_comm(int fd, char *argv0, char *expected) in check_execveat_comm() 278 int fd = open_or_die("execveat", O_RDONLY); in run_tests() local 430 int fd; in prerequisites() local [all …]
|
| /linux/arch/xtensa/platforms/iss/include/platform/ |
| H A D | simcall.h | 39 static inline int simc_close(int fd) in simc_close() 44 static inline int simc_ioctl(int fd, int request, void *arg) in simc_ioctl() 54 static inline int simc_read(int fd, void *buf, size_t count) in simc_read() 59 static inline int simc_write(int fd, const void *buf, size_t count) in simc_write() 64 static inline int simc_poll(int fd) in simc_poll() 76 static inline int simc_lseek(int fd, uint32_t off, int whence) in simc_lseek()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_maps.c | 36 int fd; in test_hashmap() local 131 int fd, i, j; in test_hashmap_sizes() local 154 int fd, i; in test_hashmap_percpu() local 276 int i, fd, ret; in helper_fill_hashmap() local 299 int fd, i, max_entries = 10000; in test_hashmap_walk() local 370 int key, next_key, fd; in test_arraymap() local 426 int key, next_key, fd, i; in test_arraymap_percpu() local 489 int key, fd, i; in test_arraymap_percpu_many_keys() local 520 int fd; in test_devmap() local 534 int fd; in test_devmap_hash() local [all …]
|
| /linux/drivers/clk/ti/ |
| H A D | fapll.c | 71 struct fapll_data *fd; member 79 static bool ti_fapll_clock_is_bypass(struct fapll_data *fd) in ti_fapll_clock_is_bypass() 89 static void ti_fapll_set_bypass(struct fapll_data *fd) in ti_fapll_set_bypass() 100 static void ti_fapll_clear_bypass(struct fapll_data *fd) in ti_fapll_clear_bypass() 111 static int ti_fapll_wait_lock(struct fapll_data *fd) in ti_fapll_wait_lock() 133 struct fapll_data *fd = to_fapll(hw); in ti_fapll_enable() local 145 struct fapll_data *fd = to_fapll(hw); in ti_fapll_disable() local 154 struct fapll_data *fd = to_fapll(hw); in ti_fapll_is_enabled() local 163 struct fapll_data *fd = to_fapll(hw); in ti_fapll_recalc_rate() local 186 struct fapll_data *fd = to_fapll(hw); in ti_fapll_get_parent() local [all …]
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | gro.c | |