/arch/um/os-Linux/ |
D | file.c | 43 int os_stat_fd(const int fd, struct uml_stat *ubuf) in os_stat_fd() 88 int os_ioctl_generic(int fd, unsigned int cmd, unsigned long arg) in os_ioctl_generic() 100 int os_get_ifname(int fd, char* namebuf) in os_get_ifname() 108 int os_set_slip(int fd) in os_set_slip() 123 int os_mode_fd(int fd, int mode) in os_mode_fd() 181 int fd, err, f = 0; in os_open_file() local 218 int fd, err; in os_connect_socket() local 243 void os_close_file(int fd) in os_close_file() 247 int os_fsync_file(int fd) in os_fsync_file() 254 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 | sigio.c | 167 int __add_sigio_fd(int fd) in __add_sigio_fd() 201 int add_sigio_fd(int fd) in add_sigio_fd() 212 int __ignore_sigio_fd(int fd) in __ignore_sigio_fd() 248 int ignore_sigio_fd(int fd) in ignore_sigio_fd() 259 static struct pollfd *setup_initial_poll(int fd) in setup_initial_poll() 358 void sigio_broken(int fd) in sigio_broken() 383 void maybe_sigio_broken(int fd) in maybe_sigio_broken()
|
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/xtensa/platforms/iss/include/platform/ |
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()
|
/arch/powerpc/kernel/ |
D | sys_ppc32.c | 53 unsigned long fd, unsigned long pgoff) in compat_sys_mmap2() 59 compat_ssize_t compat_sys_pread64(unsigned int fd, char __user *ubuf, compat_size_t count, in compat_sys_pread64() 65 compat_ssize_t compat_sys_pwrite64(unsigned int fd, const char __user *ubuf, compat_size_t count, in compat_sys_pwrite64() 71 compat_ssize_t compat_sys_readahead(int fd, u32 r4, u32 offset1, u32 offset2, u32 count) in compat_sys_readahead() 82 asmlinkage long compat_sys_fallocate(int fd, int mode, u32 offset1, u32 offset2, in compat_sys_fallocate() 89 asmlinkage int compat_sys_ftruncate64(unsigned int fd, u32 reg4, unsigned long len1, in compat_sys_ftruncate64() 95 long ppc32_fadvise64(int fd, u32 unused, u32 offset1, u32 offset2, in ppc32_fadvise64() 102 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() 55 unsigned long, fd, unsigned long, pgoff) in SYSCALL_DEFINE6() argument 62 unsigned long, fd, off_t, offset) in SYSCALL_DEFINE6() argument 99 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 | 383 struct flush_tlb_data *fd = (struct flush_tlb_data *)info; in flush_tlb_range_ipi() local 395 struct flush_tlb_data fd; in flush_tlb_range() local 413 struct flush_tlb_data *fd = (struct flush_tlb_data *)info; in flush_tlb_kernel_range_ipi() local 420 struct flush_tlb_data fd; in flush_tlb_kernel_range() local 429 struct flush_tlb_data *fd = (struct flush_tlb_data *)info; in flush_tlb_page_ipi() local 439 struct flush_tlb_data fd; in flush_tlb_page() local 456 struct flush_tlb_data *fd = (struct flush_tlb_data *)info; in flush_tlb_one_ipi() local 462 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 | 134 int fd = -1; in create_tap_fd() local 164 int fd = -1; in create_raw_fd() local 200 int fd = -1, i; in user_init_tap_fds() local 309 int fd = -1; in user_init_unix_fds() local 387 long fd; in strtofd() local 407 int fd = -1; in user_init_fd_fds() local 479 bool uml_raw_enable_qdisc_bypass(int fd) in uml_raw_enable_qdisc_bypass() 491 bool uml_raw_enable_vnet_headers(int fd) in uml_raw_enable_vnet_headers() 503 bool uml_tap_enable_vnet_headers(int fd) in uml_tap_enable_vnet_headers() 523 int fd = -1, gairet; in user_init_socket_fds() local [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() 276 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() 191 static void slip_close(int fd, void *data) in slip_close() 213 int slip_user_read(int fd, void *buf, int len, struct slip_data *pri) in slip_user_read() 218 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()
|
/arch/xtensa/kernel/ |
D | smp.c | 488 struct flush_data *fd = arg; in ipi_flush_tlb_page() local 494 struct flush_data fd = { in flush_tlb_page() local 503 struct flush_data *fd = arg; in ipi_flush_tlb_range() local 510 struct flush_data fd = { in flush_tlb_range() local 520 struct flush_data *fd = arg; in ipi_flush_tlb_kernel_range() local 526 struct flush_data fd = { in flush_tlb_kernel_range() local 547 struct flush_data *fd = arg; in ipi_flush_cache_page() local 554 struct flush_data fd = { in flush_cache_page() local 564 struct flush_data *fd = arg; in ipi_flush_cache_range() local 571 struct flush_data fd = { in flush_cache_range() local [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/powerpc/platforms/cell/spufs/ |
D | coredump.c | 44 static int match_context(const void *v, struct file *file, unsigned fd) in match_context() 67 static struct spu_context *coredump_next_context(int *fd) in coredump_next_context() 88 int size = 0, rc, fd; in spufs_coredump_extra_notes_size() local 159 int fd, j, rc; in spufs_coredump_extra_notes_write() local
|
/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/parisc/kernel/ |
D | sys_parisc.c | 276 unsigned long prot, unsigned long flags, unsigned long fd, in sys_mmap2() 286 unsigned long prot, unsigned long flags, unsigned long fd, in sys_mmap() 306 asmlinkage long parisc_ftruncate64(unsigned int fd, in parisc_ftruncate64() 318 asmlinkage long sys_ftruncate64(unsigned int fd, unsigned long length) in sys_ftruncate64() 322 asmlinkage long sys_fcntl64(unsigned int fd, unsigned int cmd, unsigned long arg) in sys_fcntl64() 334 asmlinkage long parisc_ftruncate64(unsigned int fd, in parisc_ftruncate64() 341 asmlinkage ssize_t parisc_pread64(unsigned int fd, char __user *buf, size_t count, in parisc_pread64() 347 asmlinkage ssize_t parisc_pwrite64(unsigned int fd, const char __user *buf, in parisc_pwrite64() 353 asmlinkage ssize_t parisc_readahead(int fd, unsigned int high, unsigned int low, in parisc_readahead() 359 asmlinkage long parisc_fadvise64_64(int fd, in parisc_fadvise64_64() [all …]
|