Home
last modified time | relevance | path

Searched defs:inode (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.3/kernel/src/driver/tty/
Dtty.c15 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.3/kernel/src/driver/keyboard/
Dps2_keyboard.c49 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.3/kernel/src/filesystem/devfs/
Ddevfs.c50 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()
Dinternal.h72 …line void __devfs_fill_inode(struct vfs_dir_entry_t *dentry, struct vfs_index_node_t *inode, uint6… in __devfs_fill_inode()
Ddevfs-types.h46 struct vfs_index_node_t * inode; // 当前私有信息所绑定的inode member
/DragonOS-0.1.3/kernel/src/filesystem/procfs/
Dprocfs.c60 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.3/kernel/src/filesystem/rootfs/
Drootfs.c41 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.3/kernel/src/filesystem/vfs/
Ddcache.c122 int vfs_free_inode(struct vfs_index_node_t *inode) in vfs_free_inode()
DVFS.c882 struct vfs_index_node_t *inode = kzalloc(sizeof(struct vfs_index_node_t), 0); in vfs_alloc_inode() local
/DragonOS-0.1.3/kernel/src/filesystem/fat32/
Dfat32.c480 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()
Dfat_ent.c17 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.3/kernel/src/ipc/
Dpipe.c97 long pipe_close(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr) in pipe_close()