/arch/um/os-Linux/ |
D | file.c | 39 int os_stat_fd(const int fd, struct uml_stat *ubuf) in os_stat_fd() 84 int os_ioctl_generic(int fd, unsigned int cmd, unsigned long arg) in os_ioctl_generic() 96 int os_get_ifname(int fd, char* namebuf) in os_get_ifname() 104 int os_set_slip(int fd) in os_set_slip() 119 int os_mode_fd(int fd, int mode) in os_mode_fd() 177 int fd, err, f = 0; in os_open_file() local 214 int fd, err; in os_connect_socket() local 239 void os_close_file(int fd) in os_close_file() 243 int os_fsync_file(int fd) in os_fsync_file() 250 int os_seek_file(int fd, unsigned long long offset) in os_seek_file() [all …]
|
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
|
D | tty.c | 14 int fd; member 30 int fd, err; in get_pty() local
|
D | irq.c | 92 int os_add_epoll_fd(int events, int fd, void *data) in os_add_epoll_fd() 110 int os_mod_epoll_fd(int events, int fd, void *data) in os_mod_epoll_fd() 127 int os_del_epoll_fd(int fd) in os_del_epoll_fd()
|
/arch/powerpc/kernel/ |
D | sys_ppc32.c | 53 unsigned long fd, unsigned long pgoff) in compat_sys_mmap2() 64 compat_ssize_t compat_sys_pread64(unsigned int fd, char __user *ubuf, compat_size_t count, in compat_sys_pread64() 70 compat_ssize_t compat_sys_pwrite64(unsigned int fd, const char __user *ubuf, compat_size_t count, in compat_sys_pwrite64() 76 compat_ssize_t compat_sys_readahead(int fd, u32 r4, u32 offhi, u32 offlo, u32 count) in compat_sys_readahead() 87 asmlinkage long compat_sys_fallocate(int fd, int mode, u32 offhi, u32 offlo, in compat_sys_fallocate() 94 asmlinkage int compat_sys_ftruncate64(unsigned int fd, u32 reg4, unsigned long high, in compat_sys_ftruncate64() 100 long ppc32_fadvise64(int fd, u32 unused, u32 offset_high, u32 offset_low, in ppc32_fadvise64() 107 asmlinkage long compat_sys_sync_file_range2(int fd, unsigned int flags, in compat_sys_sync_file_range2()
|
D | syscalls.c | 42 unsigned long fd, unsigned long off, int shift) in do_mmap2() 62 unsigned long, fd, unsigned long, pgoff) in SYSCALL_DEFINE6() argument 69 unsigned long, fd, off_t, offset) in SYSCALL_DEFINE6() argument 114 long ppc_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low, in ppc_fadvise64_64()
|
/arch/sh/kernel/ |
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()
|
D | smp.c | 385 struct flush_tlb_data *fd = (struct flush_tlb_data *)info; in flush_tlb_range_ipi() local 397 struct flush_tlb_data fd; in flush_tlb_range() local 415 struct flush_tlb_data *fd = (struct flush_tlb_data *)info; in flush_tlb_kernel_range_ipi() local 422 struct flush_tlb_data fd; in flush_tlb_kernel_range() local 431 struct flush_tlb_data *fd = (struct flush_tlb_data *)info; in flush_tlb_page_ipi() local 441 struct flush_tlb_data fd; in flush_tlb_page() local 458 struct flush_tlb_data *fd = (struct flush_tlb_data *)info; in flush_tlb_one_ipi() local 464 struct flush_tlb_data fd; in flush_tlb_one() local
|
D | sys_sh.c | 34 int fd, unsigned long off) in old_mmap() 43 unsigned long fd, unsigned long pgoff) in sys_mmap2()
|
/arch/um/drivers/ |
D | vector_user.c | 126 int fd = -1; in create_tap_fd() local 156 int fd = -1; in create_raw_fd() local 191 int fd = -1; in user_init_tap_fds() local 275 int fd = -1; in user_init_unix_fds() local 390 bool uml_raw_enable_qdisc_bypass(int fd) in uml_raw_enable_qdisc_bypass() 402 bool uml_raw_enable_vnet_headers(int fd) in uml_raw_enable_vnet_headers() 414 bool uml_tap_enable_vnet_headers(int fd) in uml_tap_enable_vnet_headers() 434 int fd = -1, gairet; in user_init_socket_fds() local 589 int uml_vector_sendmsg(int fd, void *hdr, int flags) in uml_vector_sendmsg() 602 int uml_vector_recvmsg(int fd, void *hdr, int flags) in uml_vector_recvmsg() [all …]
|
D | chan_user.c | 17 void generic_close(int fd, void *unused) in generic_close() 22 int generic_read(int fd, char *c_out, void *unused) in generic_read() 38 int generic_write(int fd, const char *buf, int n, void *unused) in generic_write() 52 int generic_window_size(int fd, void *unused, unsigned short *rows_out, in generic_window_size() 74 int generic_console_write(int fd, const char *buf, int n) in generic_console_write() 219 static int winch_tramp(int fd, struct tty_port *port, int *fd_out, in winch_tramp() 274 void register_winch(int fd, struct tty_port *port) in register_winch()
|
D | slirp_user.c | 37 static int slirp_tramp(char **argv, int fd) in slirp_tramp() 77 static void slirp_close(int fd, void *data) in slirp_close() 106 int slirp_user_read(int fd, void *buf, int len, struct slirp_data *pri) in slirp_user_read() 111 int slirp_user_write(int fd, void *buf, int len, struct slirp_data *pri) in slirp_user_write()
|
D | port_kern.c | 24 int fd; member 38 int fd; member 48 int fd; in pipe_interrupt() local 79 int fd, socket[2], pid; in port_accept() local 163 int fd; in port_data() local 228 int fd; in port_wait() local
|
D | slip_user.c | 27 static int set_up_tty(int fd) in set_up_tty() 74 static int slip_tramp(char **argv, int fd) in slip_tramp() 190 static void slip_close(int fd, void *data) in slip_close() 212 int slip_user_read(int fd, void *buf, int len, struct slip_data *pri) in slip_user_read() 217 int slip_user_write(int fd, void *buf, int len, struct slip_data *pri) in slip_user_write()
|
D | slip_common.c | 6 int slip_proto_read(int fd, void *buf, int len, struct slip_proto *slip) in slip_proto_read() 46 int slip_proto_write(int fd, void *buf, int len, struct slip_proto *slip) in slip_proto_write()
|
D | umcast_user.c | 70 int fd, yes = 1, err = -EINVAL; in umcast_open() local 148 static void umcast_close(int fd, void *data) in umcast_close() 168 int umcast_user_write(int fd, void *buf, int len, struct umcast_data *pri) in umcast_user_write()
|
D | net_user.c | 50 void read_output(int fd, char *output, int len) in read_output() 95 int net_read(int fd, void *buf, int len) in net_read() 108 int net_recvfrom(int fd, void *buf, int len) in net_recvfrom() 123 int net_write(int fd, void *buf, int len) in net_write() 136 int net_send(int fd, void *buf, int len) in net_send() 151 int net_sendto(int fd, void *buf, int len, void *to, int sock_len) in net_sendto()
|
D | cow_sys.h | 26 static inline int cow_seek_file(int fd, __u64 offset) in cow_seek_file() 36 static inline int cow_write_file(int fd, void *buf, int size) in cow_write_file()
|
D | null.c | 23 int fd; in null_open() local 31 static int null_read(int fd, char *c_out, void *unused) in null_read()
|
/arch/xtensa/kernel/ |
D | smp.c | 493 struct flush_data *fd = arg; in ipi_flush_tlb_page() local 499 struct flush_data fd = { in flush_tlb_page() local 508 struct flush_data *fd = arg; in ipi_flush_tlb_range() local 515 struct flush_data fd = { in flush_tlb_range() local 525 struct flush_data *fd = arg; in ipi_flush_tlb_kernel_range() local 531 struct flush_data fd = { in flush_tlb_kernel_range() local 552 struct flush_data *fd = arg; in ipi_flush_cache_page() local 559 struct flush_data fd = { in flush_cache_page() local 569 struct flush_data *fd = arg; in ipi_flush_cache_range() local 576 struct flush_data fd = { in flush_cache_range() local [all …]
|
/arch/parisc/kernel/ |
D | sys_parisc.c | 256 unsigned long prot, unsigned long flags, unsigned long fd, in sys_mmap2() 266 unsigned long prot, unsigned long flags, unsigned long fd, in sys_mmap() 286 asmlinkage long parisc_ftruncate64(unsigned int fd, in parisc_ftruncate64() 298 asmlinkage long sys_ftruncate64(unsigned int fd, unsigned long length) in sys_ftruncate64() 302 asmlinkage long sys_fcntl64(unsigned int fd, unsigned int cmd, unsigned long arg) in sys_fcntl64() 314 asmlinkage long parisc_ftruncate64(unsigned int fd, in parisc_ftruncate64() 321 asmlinkage ssize_t parisc_pread64(unsigned int fd, char __user *buf, size_t count, in parisc_pread64() 327 asmlinkage ssize_t parisc_pwrite64(unsigned int fd, const char __user *buf, in parisc_pwrite64() 333 asmlinkage ssize_t parisc_readahead(int fd, unsigned int high, unsigned int low, in parisc_readahead() 339 asmlinkage long parisc_fadvise64_64(int fd, in parisc_fadvise64_64() [all …]
|
/arch/mips/kernel/ |
D | linux32.c | 102 asmlinkage ssize_t sys32_readahead(int fd, u32 pad0, u64 a2, u64 a3, in sys32_readahead() 108 asmlinkage long sys32_sync_file_range(int fd, int __pad, in sys32_sync_file_range() 118 asmlinkage long sys32_fadvise64_64(int fd, int __pad, in sys32_fadvise64_64() 128 asmlinkage long sys32_fallocate(int fd, int mode, unsigned offset_a2, in sys32_fallocate()
|
/arch/arm64/kernel/ |
D | sys32.c | 41 COMPAT_SYSCALL_DEFINE3(aarch32_fstatfs64, unsigned int, fd, compat_size_t, sz, in COMPAT_SYSCALL_DEFINE3() argument 57 unsigned long, fd, unsigned long, off_4k) in COMPAT_SYSCALL_DEFINE6() argument 75 COMPAT_SYSCALL_DEFINE6(aarch32_pread64, unsigned int, fd, char __user *, buf, in COMPAT_SYSCALL_DEFINE6() argument 81 COMPAT_SYSCALL_DEFINE6(aarch32_pwrite64, unsigned int, fd, in COMPAT_SYSCALL_DEFINE6() argument 94 COMPAT_SYSCALL_DEFINE4(aarch32_ftruncate64, unsigned int, fd, u32, __pad, in COMPAT_SYSCALL_DEFINE4() argument 100 COMPAT_SYSCALL_DEFINE5(aarch32_readahead, int, fd, u32, __pad, in COMPAT_SYSCALL_DEFINE5() argument 106 COMPAT_SYSCALL_DEFINE6(aarch32_fadvise64_64, int, fd, int, advice, in COMPAT_SYSCALL_DEFINE6() argument 112 COMPAT_SYSCALL_DEFINE6(aarch32_sync_file_range2, int, fd, unsigned int, flags, in COMPAT_SYSCALL_DEFINE6() argument 119 COMPAT_SYSCALL_DEFINE6(aarch32_fallocate, int, fd, int, mode, in COMPAT_SYSCALL_DEFINE6() argument
|
/arch/xtensa/platforms/iss/include/platform/ |
D | simcall.h | 94 static inline int simc_close(int fd) in simc_close() 99 static inline int simc_ioctl(int fd, int request, void *arg) in simc_ioctl() 104 static inline int simc_read(int fd, void *buf, size_t count) in simc_read() 109 static inline int simc_write(int fd, const void *buf, size_t count) in simc_write() 114 static inline int simc_poll(int fd) in simc_poll() 121 static inline int simc_lseek(int fd, uint32_t off, int whence) in simc_lseek()
|
/arch/powerpc/platforms/cell/spufs/ |
D | coredump.c | 60 static int match_context(const void *v, struct file *file, unsigned fd) in match_context() 83 static struct spu_context *coredump_next_context(int *fd) in coredump_next_context() 97 int size = 0, rc, fd; in spufs_coredump_extra_notes_size() local 178 int fd, j, rc; in spufs_coredump_extra_notes_write() local
|