/DragonOS-0.1.2/kernel/src/driver/tty/ |
D | tty.c | 15 long tty_open(struct vfs_index_node_t *inode, struct vfs_file_t *filp) in tty_open() 28 long tty_close(struct vfs_index_node_t *inode, struct vfs_file_t *filp) in tty_close() 43 long tty_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *filp, uint64_t cmd, uint64_t arg) in tty_ioctl()
|
/DragonOS-0.1.2/kernel/src/driver/keyboard/ |
D | ps2_keyboard.c | 49 long ps2_keyboard_open(struct vfs_index_node_t *inode, struct vfs_file_t *filp) in ps2_keyboard_open() 63 long ps2_keyboard_close(struct vfs_index_node_t *inode, struct vfs_file_t *filp) in ps2_keyboard_close() 79 long ps2_keyboard_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *filp, uint64_t cmd, uint… in ps2_keyboard_ioctl()
|
/DragonOS-0.1.2/kernel/src/filesystem/devfs/ |
D | devfs.c | 50 static void devfs_write_inode(struct vfs_index_node_t *inode) { return; } in devfs_write_inode() 64 static long devfs_iput(struct vfs_dir_entry_t *dEntry, struct vfs_index_node_t *inode) { return 0; } in devfs_iput() 74 static long devfs_open(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr) in devfs_open() 78 static long devfs_close(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr) { return 0; } in devfs_close() 82 static long devfs_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr, uint64_t cmd, … in devfs_ioctl() 157 static long devfs_mkdir(struct vfs_index_node_t *inode, struct vfs_dir_entry_t *dEntry, int mode) in devfs_mkdir() 170 static long devfs_rmdir(struct vfs_index_node_t *inode, struct vfs_dir_entry_t *dEntry) { return 0;… in devfs_rmdir()
|
D | internal.h | 72 …line void __devfs_fill_inode(struct vfs_dir_entry_t *dentry, struct vfs_index_node_t *inode, uint6… in __devfs_fill_inode()
|
D | devfs-types.h | 46 struct vfs_index_node_t * inode; // 当前私有信息所绑定的inode member
|
/DragonOS-0.1.2/kernel/src/filesystem/procfs/ |
D | procfs.c | 60 static void procfs_write_inode(struct vfs_index_node_t *inode) in procfs_write_inode() 82 static long procfs_iput(struct vfs_dir_entry_t *dEntry, struct vfs_index_node_t *inode) in procfs_iput() 105 static long procfs_open(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr) in procfs_open() 171 static long procfs_close(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr) in procfs_close() 232 struct vfs_index_node_t *inode = file_ptr->dEntry->dir_inode; in procfs_lseek() local 258 static long procfs_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr, uint64_t cmd,… in procfs_ioctl() 350 struct vfs_index_node_t *inode = vfs_alloc_inode(); in procfs_create() local 386 struct vfs_index_node_t *inode = vfs_alloc_inode(); in procfs_mkdir() local
|
/DragonOS-0.1.2/kernel/src/filesystem/rootfs/ |
D | rootfs.c | 41 static long rootfs_open(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr) in rootfs_open() 45 static long rootfs_close(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr) { return 0; } in rootfs_close() 49 static long rootfs_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr, uint64_t cmd,… in rootfs_ioctl() 87 static long rootfs_iput(struct vfs_dir_entry_t *dEntry, struct vfs_index_node_t *inode) { return 0;… in rootfs_iput()
|
/DragonOS-0.1.2/kernel/src/filesystem/VFS/ |
D | dcache.c | 122 int vfs_free_inode(struct vfs_index_node_t *inode) in vfs_free_inode()
|
D | VFS.c | 882 struct vfs_index_node_t *inode = kzalloc(sizeof(struct vfs_index_node_t), 0); in vfs_alloc_inode() local
|
/DragonOS-0.1.2/kernel/src/filesystem/fat32/ |
D | fat32.c | 480 void fat32_write_inode(struct vfs_index_node_t *inode) in fat32_write_inode() 536 long fat32_iput(struct vfs_dir_entry_t *dEntry, struct vfs_index_node_t *inode) in fat32_iput() 553 long fat32_open(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr) in fat32_open() 559 long fat32_close(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr) in fat32_close() 795 struct vfs_index_node_t *inode = file_ptr->dEntry->dir_inode; in fat32_lseek() local 823 long fat32_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr, uint64_t cmd, uint64_… in fat32_ioctl() 866 struct vfs_index_node_t *inode = vfs_alloc_inode(); in fat32_create() local 980 struct vfs_index_node_t *inode = vfs_alloc_inode(); in fat32_mkdir() local 1078 int64_t fat32_rmdir(struct vfs_index_node_t *inode, struct vfs_dir_entry_t *dEntry) in fat32_rmdir() 1108 static int fat32_detach_inode(struct vfs_index_node_t *inode) in fat32_detach_inode()
|
D | fat_ent.c | 17 int fat32_alloc_clusters(struct vfs_index_node_t *inode, uint32_t *clusters, int32_t num_clusters) in fat32_alloc_clusters() 112 int fat32_free_clusters(struct vfs_index_node_t *inode, int32_t cluster) in fat32_free_clusters() 362 struct vfs_index_node_t *inode = dEntry->dir_inode; in fat32_fill_shortname() local
|
/DragonOS-0.1.2/kernel/src/ipc/ |
D | pipe.c | 97 long pipe_close(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr) in pipe_close()
|