Home
last modified time | relevance | path

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

123

/components/libc/posix/io/termios/
A Dtermios.c30 int tcgetattr(int fd, struct termios *tio) in tcgetattr()
57 int tcsetattr(int fd, int act, const struct termios *tio) in tcsetattr()
91 pid_t tcgetsid(int fd) in tcgetsid()
177 int tcsendbreak(int fd, int dur) in tcsendbreak()
197 int tcflush(int fd, int queue) in tcflush()
217 int tcflow(int fd, int action) in tcflow()
231 int tcdrain(int fd) in tcdrain()
/components/dfs/dfs_v1/src/
A Ddfs_posix.c47 int fd, result; in open() local
98 int fd; in openat() local
161 int close(int fd) in close()
552 int ftruncate(int fd, off_t length) in ftruncate()
644 int fd; in mkdir() local
708 int fd, result; in opendir() local
763 struct dfs_file *fd; in readdir() local
810 struct dfs_file *fd; in telldir() local
836 struct dfs_file *fd; in seekdir() local
860 struct dfs_file *fd; in rewinddir() local
[all …]
A Ddfs.c183 static int fd_slot_expand(struct dfs_fdtable *fdt, int fd) in fd_slot_expand()
277 struct dfs_file *fd = NULL; in fd_alloc() local
343 struct dfs_file *fdt_fd_get(struct dfs_fdtable* fdt, int fd) in fdt_fd_get()
367 struct dfs_file *fd_get(int fd) in fd_get()
384 void fdt_fd_release(struct dfs_fdtable* fdt, int fd) in fdt_fd_release()
429 void fd_release(int fd) in fd_release()
496 struct dfs_file *fd; in fd_is_open() local
617 int fd = -1; in fd_get_fd_index_form_fdt() local
704 void fd_init(struct dfs_file *fd) in fd_init()
945 struct dfs_file *fd = fd_table->fds[index]; in list_fd() local
[all …]
A Ddfs_file.c185 int dfs_file_open(struct dfs_file *fd, const char *path, int flags) in dfs_file_open()
325 int dfs_file_close(struct dfs_file *fd) in dfs_file_close()
380 int dfs_file_ioctl(struct dfs_file *fd, int cmd, void *args) in dfs_file_ioctl()
425 ssize_t dfs_file_read(struct dfs_file *fd, void *buf, size_t len) in dfs_file_read()
561 int dfs_file_flush(struct dfs_file *fd) in dfs_file_flush()
580 off_t dfs_file_lseek(struct dfs_file *fd, off_t offset) in dfs_file_lseek()
736 int dfs_file_ftruncate(struct dfs_file *fd, off_t length) in dfs_file_ftruncate()
757 int dfs_file_mmap2(struct dfs_file *fd, struct dfs_mmap2_args *mmap2) in dfs_file_mmap2()
787 struct dfs_file fd; in ls() local
869 struct dfs_file fd; in cat() local
[all …]
/components/lwp/
A Dlwp_ipc.c406 static void *_ipc_msg_get_file(int fd) in _ipc_msg_get_file()
425 int fd; in _ipc_msg_fd_new() local
966 static void lwp_fd_release(int fdt_type, int fd) in lwp_fd_release()
984 int fd; in _chfd_alloc() local
996 static void _chfd_free(int fd, int fdt_type) in _chfd_free()
1080 int fd; in lwp_channel_open() local
1120 static rt_channel_t fd_2_channel(int fdt_type, int fd) in fd_2_channel()
1138 rt_err_t lwp_channel_close(int fdt_type, int fd) in lwp_channel_close()
1224 rt_err_t rt_channel_close(int fd) in rt_channel_close()
1229 rt_err_t rt_channel_send(int fd, rt_channel_msg_t data) in rt_channel_send()
[all …]
A Dlwp_elf.c69 int fd; /* File descriptor for the ELF file */ member
171 static void *file_mmap(struct rt_lwp *lwp, int fd, rt_ubase_t load_addr, in file_mmap()
189 int fd = -1; in elf_file_open() local
200 static int elf_file_close(int fd) in elf_file_close()
237 static int elf_file_read(rt_int32_t fd, rt_uint8_t *buffer, size_t size, off_t offset) in elf_file_read()
569 static rt_ubase_t elf_map(struct rt_lwp *lwp, const Elf_Phdr *elf_phdr, int fd, rt_ubase_t addr, si… in elf_map()
594 static int elf_zero_bss(struct rt_lwp *lwp, int fd, const Elf_Phdr *phdr, rt_ubase_t bss_start, in elf_zero_bss()
627 int fd = elf_info->fd; /* File descriptor for ELF file */ in elf_file_mmap() local
A Dlwp_ipc.h39 int fd; member
40 } fd; member
/components/libc/compilers/newlib/
A Dsyscalls.c108 int _close_r(struct _reent *ptr, int fd) in _close_r()
125 int _fcntl_r(struct _reent *ptr, int fd, int cmd, int arg) in _fcntl_r()
137 int _fstat_r(struct _reent *ptr, int fd, struct stat *pstat) in _fstat_r()
143 int _isatty_r(struct _reent *ptr, int fd) in _isatty_r()
178 int flock(int fd, int operation) in flock()
183 _off_t _lseek_r(struct _reent *ptr, int fd, _off_t pos, int whence) in _lseek_r()
222 _ssize_t _read_r(struct _reent *ptr, int fd, void *buf, size_t nbytes) in _read_r()
292 _ssize_t _write_r(struct _reent *ptr, int fd, const void *buf, size_t nbytes) in _write_r()
/components/dfs/dfs_v1/filesystems/iso9660/
A Ddfs_iso9660.c143 struct iso9660_fd *fd; member
224 struct iso9660_fd *fd; in iso9660_lookup() local
376 static int dfs_iso9660_open(struct dfs_file *fd) in dfs_iso9660_open()
385 static int dfs_iso9660_close(struct dfs_file *fd) in dfs_iso9660_close()
394 static ssize_t dfs_iso9660_read(struct dfs_file *fd, void *buf, size_t count) in dfs_iso9660_read()
478 static off_t dfs_iso9660_lseek(struct dfs_file *fd, off_t offset) in dfs_iso9660_lseek()
491 static int dfs_iso9660_getdents(struct dfs_file *fd, struct dirent *dirp, uint32_t count) in dfs_iso9660_getdents()
654 struct iso9660_fd *fd = iso9660_lookup(iso, filename, RT_NULL); in dfs_iso9660_stat() local
/components/utilities/rt-link/src/
A Drtlink_dev.c28 int rtlink_fops_open(struct dfs_file *fd) in rtlink_fops_open()
61 int rtlink_fops_close(struct dfs_file *fd) in rtlink_fops_close()
70 int rtlink_fops_ioctl(struct dfs_file *fd, int cmd, void *args) in rtlink_fops_ioctl()
85 int rtlink_fops_read(struct dfs_file *fd, void *buf, size_t count) in rtlink_fops_read()
99 int rtlink_fops_write(struct dfs_file *fd, const void *buf, size_t count) in rtlink_fops_write()
113 int rtlink_fops_poll(struct dfs_file *fd, struct rt_pollreq *req) in rtlink_fops_poll()
/components/net/lwip/lwip-2.0.3/src/apps/tftp/
A Dtftp_port.c22 int fd = -1; in tftp_open() local
45 int fd = (int) handle; in tftp_write() local
/components/net/lwip/lwip-2.1.2/src/apps/tftp/
A Dtftp_port.c22 int fd = -1; in tftp_open() local
45 int fd = (int) handle; in tftp_write() local
/components/drivers/ipc/
A Dpipe.c59 static int pipe_fops_open(struct dfs_file *fd) in pipe_fops_open()
121 static int pipe_fops_close(struct dfs_file *fd) in pipe_fops_close()
186 static int pipe_fops_ioctl(struct dfs_file *fd, int cmd, void *args) in pipe_fops_ioctl()
223 static ssize_t pipe_fops_read(struct dfs_file *fd, void *buf, size_t count, off_t *pos) in pipe_fops_read()
282 static ssize_t pipe_fops_write(struct dfs_file *fd, const void *buf, size_t count, off_t *pos) in pipe_fops_write()
357 static int pipe_fops_poll(struct dfs_file *fd, rt_pollreq_t *req) in pipe_fops_poll()
/components/dfs/dfs_v2/src/
A Ddfs_posix.c50 int fd, result; in open() local
114 int fd; in openat() local
284 int close(int fd) in close()
420 off_t lseek(int fd, off_t offset, int whence) in lseek()
703 int ftruncate(int fd, off_t length) in ftruncate()
931 int fd, result; in opendir() local
1385 ssize_t pread(int fd, void *buf, size_t len, off_t offset) in pread()
1432 ssize_t pwrite(int fd, const void *buf, size_t len, off_t offset) in pwrite()
A Ddfs.c57 static int _fdt_slot_expand(struct dfs_fdtable *fdt, int fd) in _fdt_slot_expand()
350 void fdt_fd_release(struct dfs_fdtable *fdt, int fd) in fdt_fd_release()
381 struct dfs_file *fdt_get_file(struct dfs_fdtable *fdt, int fd) in fdt_get_file()
412 int fdt_fd_associate_file(struct dfs_fdtable *fdt, int fd, struct dfs_file *file) in fdt_fd_associate_file()
471 void fd_release(int fd) in fd_release()
487 struct dfs_file *fd_get(int fd) in fd_get()
634 int dfs_fdtable_drop_fd(struct dfs_fdtable *fdt, int fd) in dfs_fdtable_drop_fd()
/components/libc/posix/io/epoll/
A Depoll.c51 int fd; /**< File descriptor */ member
321 static int epoll_epf_init(int fd) in epoll_epf_init()
390 int fd; in epoll_do_create() local
429 static int epoll_ctl_add(struct dfs_file *df, int fd, struct epoll_event *event) in epoll_ctl_add()
491 static int epoll_ctl_del(struct dfs_file *df, int fd) in epoll_ctl_del()
555 static int epoll_ctl_mod(struct dfs_file *df, int fd, struct epoll_event *event) in epoll_ctl_mod()
603 static int epoll_do_ctl(int epfd, int op, int fd, struct epoll_event *event) in epoll_do_ctl()
741 int fd = 0; in epoll_get_event() local
984 int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) in epoll_ctl()
/components/libc/posix/io/stdio/
A Dstdio.c34 int fd = rt_posix_stdio_set_console(dev_console->parent.name, O_RDWR); in rt_posix_stdio_init() local
158 int fd = fileno(std_console); in rt_posix_stdio_set_console() local
182 int fd; in rt_posix_stdio_set_console() local
/components/libc/posix/io/timerfd/
A Dtimerfd.c188 int fd = -1; in timerfd_do_create() local
363 static int timerfd_do_settime(int fd, int flags, const struct itimerspec *new, struct itimerspec *o… in timerfd_do_settime()
495 static int timerfd_do_gettime(int fd, struct itimerspec *cur) in timerfd_do_gettime()
616 int timerfd_settime(int fd, int flags, const struct itimerspec *new, struct itimerspec *old) in timerfd_settime()
643 int timerfd_gettime(int fd, struct itimerspec *cur) in timerfd_gettime()
/components/libc/compilers/common/
A Dcunistd.c15 int isatty(int fd) in isatty()
/components/dfs/dfs_v1/filesystems/elmfat/
A Ddfs_elm.c333 FIL *fd; in dfs_elm_open() local
488 FIL *fd = RT_NULL; in dfs_elm_close() local
507 FIL *fd; in dfs_elm_ioctl() local
539 FIL *fd; in dfs_elm_read() local
562 FIL *fd; in dfs_elm_write() local
586 FIL *fd; in dfs_elm_flush() local
601 FIL *fd; in dfs_elm_lseek() local
/components/dfs/dfs_v2/filesystems/elmfat/
A Ddfs_elm.c372 FIL *fd; in dfs_elm_open() local
530 FIL *fd = RT_NULL; in dfs_elm_close() local
565 FIL *fd; in dfs_elm_read() local
593 FIL *fd; in dfs_elm_write() local
619 FIL *fd; in dfs_elm_flush() local
652 FIL *fd; in dfs_elm_lseek() local
688 FIL *fd; in dfs_elm_truncate() local
1041 FIL *fd; in dfs_elm_page_write() local
/components/finsh/
A Dmsh_file.c29 static int msh_readline(int fd, char *line_buf, int size) in msh_readline()
72 int fd = -1; in msh_exec_script() local
251 int fd; in cmd_mv() local
719 int fd; in cmd_echo() local
743 int fd; in cmd_tail() local
/components/drivers/usb/cherryusb/platform/rtthread/
A Dusbh_serial.c416 static int usbh_serial_fops_open(struct dfs_file *fd) in usbh_serial_fops_open()
452 static int usbh_serial_fops_close(struct dfs_file *fd) in usbh_serial_fops_close()
464 static int usbh_serial_fops_ioctl(struct dfs_file *fd, int cmd, void *args) in usbh_serial_fops_ioctl()
487 static int usbh_serial_fops_read(struct dfs_file *fd, void *buf, size_t count) in usbh_serial_fops_read()
512 static int usbh_serial_fops_write(struct dfs_file *fd, const void *buf, size_t count) in usbh_serial_fops_write()
520 static int usbh_serial_fops_poll(struct dfs_file *fd, struct rt_pollreq *req) in usbh_serial_fops_poll()
/components/legacy/fdt/src/
A Ddtb_load.c22 int fd = -1; in dtb_node_load_from_fs() local
/components/libc/posix/io/mman/
A Dmman.c35 int fd, off_t offset) in mmap()

Completed in 68 milliseconds

123