Read(User - ext4)
(버전 사이의 차이)
1번째 줄: | 1번째 줄: | ||
<uml> | <uml> | ||
"read(int fd, void *buf, size_t nbytes)" --> "SYSCALL_DEFINE3" | "read(int fd, void *buf, size_t nbytes)" --> "SYSCALL_DEFINE3" | ||
− | SYSCALL_DEFINE3 --> vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos) | + | "SYSCALL_DEFINE3" --> "vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos)" |
− | vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos) --> do_sync_read(struct file *filp, char __user *buf, size_t len, loff_t *ppos) | + | "vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos)" --> "do_sync_read(struct file *filp, char __user *buf, size_t len, loff_t *ppos)" |
− | do_sync_read(struct file *filp, char __user *buf, size_t len, loff_t *ppos) -->generic_file_aio_read(struct kiocb *iocb, const struct iovec *iov,unsigned long nr_segs, loff_t pos) | + | "do_sync_read(struct file *filp, char __user *buf, size_t len, loff_t *ppos)" -->"generic_file_aio_read(struct kiocb *iocb, const struct iovec *iov,unsigned long nr_segs, loff_t pos)" |
</uml> | </uml> |
2014년 5월 16일 (금) 05:13 판