| /OK3568_Linux_fs/kernel/arch/sh/kernel/ |
| H A D | sys_sh32.c | 28 int fd[2]; in sys_sh_pipe() local 39 asmlinkage ssize_t sys_pread_wrapper(unsigned int fd, char __user *buf, in sys_pread_wrapper() 45 asmlinkage ssize_t sys_pwrite_wrapper(unsigned int fd, const char __user *buf, in sys_pwrite_wrapper() 51 asmlinkage int sys_fadvise64_64_wrapper(int fd, u32 offset0, u32 offset1, in sys_fadvise64_64_wrapper()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_connect.c | 120 static void set_rcvbuf(int fd, unsigned int size) in set_rcvbuf() 131 static void set_sndbuf(int fd, unsigned int size) in set_sndbuf() 262 static size_t do_rnd_write(const int fd, char *buf, const size_t len) in do_rnd_write() 294 static size_t do_write(const int fd, char *buf, const size_t len) in do_write() 315 static ssize_t do_rnd_read(const int fd, char *buf, const size_t len) in do_rnd_read() 329 static void set_nonblock(int fd) in set_nonblock() 493 static int get_infd_size(int fd) in get_infd_size() 640 static void check_getpeername(int fd, struct sockaddr_storage *ss, socklen_t salen) in check_getpeername() 672 static void check_getpeername_connect(int fd) in check_getpeername_connect() 692 static void maybe_close(int fd) in maybe_close() [all …]
|
| H A D | pm_nl_ctl.c | 86 static int do_nl_req(int fd, struct nlmsghdr *nh, int len, int max) in do_nl_req() 147 static int resolve_mptcp_pm_netlink(int fd) in resolve_mptcp_pm_netlink() 172 int add_addr(int fd, int pm_family, int argc, char *argv[]) in add_addr() 283 int del_addr(int fd, int pm_family, int argc, char *argv[]) in del_addr() 425 int get_addr(int fd, int pm_family, int argc, char *argv[]) in get_addr() 465 int dump_addrs(int fd, int pm_family, int argc, char *argv[]) in dump_addrs() 487 int flush_addrs(int fd, int pm_family, int argc, char *argv[]) in flush_addrs() 539 int get_set_limits(int fd, int pm_family, int argc, char *argv[]) in get_set_limits() 589 int fd, pm_family; in main() local
|
| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/ |
| H A D | common.c | 168 int fd = -1; in open_obj_pinned() local 196 int fd; in open_obj_pinned_any() local 254 int do_pin_fd(int fd, const char *name) in do_pin_fd() 272 int fd; in do_pin_any() local 301 int get_fd_type(int fd) in get_fd_type() 329 char *get_fdinfo(int fd, const char *key) in get_fdinfo() 402 int fd, err = 0; in do_build_table_cb() local 524 int fd; in read_sysfs_hex_int() local 657 int fd, nb_fds = 0; in prog_fd_by_nametag() local 782 int nb_fds, fd; in prog_parse_fd() local [all …]
|
| H A D | link.c | 25 int fd; in link_parse_fd() local 113 static int show_link_close_json(int fd, struct bpf_link_info *info) in show_link_close_json() 207 static int show_link_close_plain(int fd, struct bpf_link_info *info) in show_link_close_plain() 262 static int do_show_link(int fd) in do_show_link() 303 int err, fd; in do_show() local 364 int err, fd; in do_detach() local
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | rbsb.c | 180 rdchk(int fd) in rdchk() 195 rdchk(int fd) in rdchk() 253 io_mode(int fd, int n) in io_mode() 493 sendbrk(int fd) in sendbrk() 514 purgeline(int fd) in purgeline()
|
| /OK3568_Linux_fs/external/linux-rga/samples/utils/allocator/ |
| H A D | dma_alloc.cpp | 57 __u32 fd; member 81 int dma_sync_device_to_cpu(int fd) { in dma_sync_device_to_cpu() 88 int dma_sync_cpu_to_device(int fd) { in dma_sync_cpu_to_device() 95 int dma_buf_alloc(const char *path, size_t size, int *fd, void **va) { in dma_buf_alloc() 141 void dma_buf_free(size_t size, int *fd, void *va) { in dma_buf_free()
|
| /OK3568_Linux_fs/kernel/net/ |
| H A D | compat.c | 343 static inline long __compat_sys_sendmsg(int fd, in __compat_sys_sendmsg() 351 COMPAT_SYSCALL_DEFINE3(sendmsg, int, fd, struct compat_msghdr __user *, msg, in COMPAT_SYSCALL_DEFINE3() argument 357 static inline long __compat_sys_sendmmsg(int fd, in __compat_sys_sendmmsg() 365 COMPAT_SYSCALL_DEFINE4(sendmmsg, int, fd, struct compat_mmsghdr __user *, mmsg, in COMPAT_SYSCALL_DEFINE4() argument 371 static inline long __compat_sys_recvmsg(int fd, in __compat_sys_recvmsg() 379 COMPAT_SYSCALL_DEFINE3(recvmsg, int, fd, struct compat_msghdr __user *, msg, in COMPAT_SYSCALL_DEFINE3() argument 385 static inline long __compat_sys_recvfrom(int fd, void __user *buf, in __compat_sys_recvfrom() 394 COMPAT_SYSCALL_DEFINE4(recv, int, fd, void __user *, buf, compat_size_t, len, unsigned int, flags) in COMPAT_SYSCALL_DEFINE4() argument 399 COMPAT_SYSCALL_DEFINE6(recvfrom, int, fd, void __user *, buf, compat_size_t, len, in COMPAT_SYSCALL_DEFINE6() argument 406 COMPAT_SYSCALL_DEFINE5(recvmmsg_time64, int, fd, struct compat_mmsghdr __user *, mmsg, in COMPAT_SYSCALL_DEFINE5() argument [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | udpgso.c | 277 static unsigned int get_device_mtu(int fd, const char *ifname) in get_device_mtu() 291 static void __set_device_mtu(int fd, const char *ifname, unsigned int mtu) in __set_device_mtu() 304 static void set_device_mtu(int fd, int mtu) in set_device_mtu() 319 static void set_pmtu_discover(int fd, bool is_ipv4) in set_pmtu_discover() 337 static unsigned int get_path_mtu(int fd, bool is_ipv4) in get_path_mtu() 369 int fd, ret, alen, off = 0; in set_route_mtu() local 432 static bool __send_one(int fd, struct msghdr *msg, int flags) in __send_one() 451 static bool send_one(int fd, int len, int gso_len, in send_one() 492 static int recv_one(int fd, int flags) in recv_one()
|
| H A D | psock_fanout.c | 64 int fd, val; in sock_fanout_open() local 98 static void sock_fanout_set_cbpf(int fd) in sock_fanout_set_cbpf() 116 static void sock_fanout_getopts(int fd, uint16_t *typeflags, uint16_t *group_id) in sock_fanout_getopts() 130 static void sock_fanout_set_ebpf(int fd) in sock_fanout_set_ebpf() 176 static char *sock_fanout_open_ring(int fd) in sock_fanout_open_ring() 208 static int sock_fanout_read_ring(int fd, void *ring) in sock_fanout_read_ring()
|
| H A D | tcp_fastopen_backup_key.c | 51 static void get_keys(int fd, uint32_t *keys) in get_keys() 69 static void set_keys(int fd, uint32_t *keys) in set_keys() 150 int fd, sz, ret; in connect_and_send() local 202 static bool is_listen_fd(int fd) in is_listen_fd() 213 static void rotate_key(int fd) in rotate_key() 249 int fd, epfd; in run_one_test() local
|
| /OK3568_Linux_fs/kernel/fs/hostfs/ |
| H A D | hostfs_user.c | 41 int stat_file(const char *path, struct hostfs_stat *p, int fd) in stat_file() 72 int mode = 0, fd; in open_file() local 124 int read_file(int fd, unsigned long long *offset, char *buf, int len) in read_file() 135 int write_file(int fd, unsigned long long *offset, const char *buf, int len) in write_file() 146 int lseek_file(int fd, long long offset, int whence) in lseek_file() 156 int fsync_file(int fd, int datasync) in fsync_file() 169 int replace_file(int oldfd, int fd) in replace_file() 186 int fd; in file_create() local 194 int set_attr(const char *file, struct hostfs_iattr *attrs, int fd) in set_attr()
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | sync.c | 163 SYSCALL_DEFINE1(syncfs, int, fd) in SYSCALL_DEFINE1() argument 220 static int do_fsync(unsigned int fd, int datasync) in do_fsync() 233 SYSCALL_DEFINE1(fsync, unsigned int, fd) in SYSCALL_DEFINE1() argument 238 SYSCALL_DEFINE1(fdatasync, unsigned int, fd) in SYSCALL_DEFINE1() argument 370 int ksys_sync_file_range(int fd, loff_t offset, loff_t nbytes, in ksys_sync_file_range() 385 SYSCALL_DEFINE4(sync_file_range, int, fd, loff_t, offset, loff_t, nbytes, in SYSCALL_DEFINE4() argument 393 SYSCALL_DEFINE4(sync_file_range2, int, fd, unsigned int, flags, in SYSCALL_DEFINE4() argument
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bsd/ |
| H A D | bsd_apm.c | 57 bsdPMGetEventFromOS(int fd, pmEvent * events, int num) in bsdPMGetEventFromOS() 82 bsdPMConfirmEventToOs(int fd, pmEvent event) in bsdPMConfirmEventToOs() 112 int fd; in xf86OSPMOpen() local 130 int fd; in bsdCloseAPM() local
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/qt/src/ |
| H A D | run_loop.cpp | 14 void RunLoop::Impl::onReadEvent(int fd) { in onReadEvent() 18 void RunLoop::Impl::onWriteEvent(int fd) { in onWriteEvent() 92 void RunLoop::addWatch(int fd, Event event, std::function<void(int, Event)>&& cb) { in addWatch() argument 108 void RunLoop::removeWatch(int fd) { in removeWatch()
|
| /OK3568_Linux_fs/kernel/fs/hfsplus/ |
| H A D | attributes.c | 138 const char *name, struct hfs_find_data *fd) in hfsplus_find_attr() 173 struct hfs_find_data fd; in hfsplus_attr_exists() local 199 struct hfs_find_data fd; in hfsplus_create_attr() local 267 struct hfs_find_data *fd) in __hfsplus_delete_attr() 311 struct hfs_find_data fd; in hfsplus_delete_attr() local 357 struct hfs_find_data fd; in hfsplus_delete_all_attrs() local
|
| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/ |
| H A D | rtc_test.c | 45 int rtc_read_tm(struct tm *ptm, int fd) in rtc_read_tm() 62 int fd; in read_rtc() local 87 int fd; in get_system_time() local 108 int fd; in set_system_time() local 218 int fd,ret; in rtc_test() local
|
| /OK3568_Linux_fs/external/linux-rga/samples/im2d_slt/sources/ |
| H A D | dma_alloc.cpp | 58 __u32 fd; member 85 int dma_sync_device_to_cpu(int fd) { in dma_sync_device_to_cpu() 92 int dma_sync_cpu_to_device(int fd) { in dma_sync_cpu_to_device() 99 int dma_buf_alloc(int width, int height, int format, int *fd, void **va) { in dma_buf_alloc() 144 void dma_buf_free(int width, int height, int format, int *fd, void *va) { in dma_buf_free()
|
| /OK3568_Linux_fs/kernel/tools/spi/ |
| H A D | spidev_fdx.c | 18 static void do_read(int fd, int len) in do_read() 49 static void do_msg(int fd, int len) in do_msg() 80 static void dumpstat(const char *name, int fd) in dumpstat() 111 int fd; in main() local
|
| /OK3568_Linux_fs/kernel/arch/um/os-Linux/ |
| H A D | mem.c | 98 int fd; in make_tempfile() local 149 int fd, err; in create_tmp_file() local 178 int err, fd; in create_mem_file() local 193 int err, fd = create_tmp_file(UM_KERN_PAGE_SIZE); in check_tmpexec() local
|
| /OK3568_Linux_fs/kernel/tools/perf/tests/ |
| H A D | bp_account.c | 31 int fd; in __event() local 71 int i, fd[wp_cnt], fd_wp, ret; in bp_accounting() local 104 int fd[100], cnt = 0, i; in detect_cnt() local 127 int fd, ret = 1; in detect_ioctl() local 141 int i, fd[wp_cnt + bp_cnt], ret; in detect_share() local
|
| /OK3568_Linux_fs/u-boot/tools/gdb/ |
| H A D | serial.c | 67 int fd; in serialopen() local 84 serialreadchar(int fd, int timeout) in serialreadchar() 115 serialwrite(int fd, char *buf, int len) in serialwrite() 130 serialclose(int fd) in serialclose()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/binderfs/ |
| H A D | binderfs_test.c | 31 #define close_prot_errno_disarm(fd) \ argument 58 int fd, ret, saved_errno, result = 1; in __do_binderfs_test() local 206 static ssize_t read_nointr(int fd, void *buf, size_t count) in read_nointr() 217 static ssize_t write_nointr(int fd, const void *buf, size_t count) in write_nointr() 231 int fd; in write_id_mapping() local 343 int fd = PTR_TO_INT(data); in binder_version_thread() local 366 int fd, ret; in TEST() local
|
| /OK3568_Linux_fs/kernel/tools/io_uring/ |
| H A D | liburing.h | 108 static inline void io_uring_prep_rw(int op, struct io_uring_sqe *sqe, int fd, in io_uring_prep_rw() 120 static inline void io_uring_prep_readv(struct io_uring_sqe *sqe, int fd, in io_uring_prep_readv() 127 static inline void io_uring_prep_read_fixed(struct io_uring_sqe *sqe, int fd, in io_uring_prep_read_fixed() 134 static inline void io_uring_prep_writev(struct io_uring_sqe *sqe, int fd, in io_uring_prep_writev() 141 static inline void io_uring_prep_write_fixed(struct io_uring_sqe *sqe, int fd, in io_uring_prep_write_fixed() 148 static inline void io_uring_prep_poll_add(struct io_uring_sqe *sqe, int fd, in io_uring_prep_poll_add() 168 static inline void io_uring_prep_fsync(struct io_uring_sqe *sqe, int fd, in io_uring_prep_fsync()
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | bpf.c | 70 int fd; in sys_bpf_prog_load() local 223 int fd; in bpf_load_program_xattr() local 370 int bpf_map_update_elem(int fd, const void *key, const void *value, in bpf_map_update_elem() 384 int bpf_map_lookup_elem(int fd, const void *key, void *value) in bpf_map_lookup_elem() 396 int bpf_map_lookup_elem_flags(int fd, const void *key, void *value, __u64 flags) in bpf_map_lookup_elem_flags() 409 int bpf_map_lookup_and_delete_elem(int fd, const void *key, void *value) in bpf_map_lookup_and_delete_elem() 421 int bpf_map_delete_elem(int fd, const void *key) in bpf_map_delete_elem() 432 int bpf_map_get_next_key(int fd, const void *key, void *next_key) in bpf_map_get_next_key() 444 int bpf_map_freeze(int fd) in bpf_map_freeze() 454 static int bpf_map_batch_common(int cmd, int fd, void *in_batch, in bpf_map_batch_common() [all …]
|