/DragonOS-0.1.2/user/libs/libc/src/sys/ |
D | stat.c | 4 int mkdir(const char *path, mode_t mode) in mkdir() argument 6 return syscall_invoke(SYS_MKDIR, (uint64_t)path, (uint64_t)mode, 0, 0, 0, 0, 0, 0); in mkdir()
|
D | stat.h | 19 int mkdir(const char *path, mode_t mode);
|
/DragonOS-0.1.2/kernel/src/filesystem/VFS/ |
D | VFS.h | 94 #define vfs_file_can_read(file) (((file)->mode) & VFS_FILE_MODE_READ) 95 #define vfs_file_can_write(file) (((file)->mode) & VFS_FILE_MODE_WRITE) 96 #define vfs_file_can_rw(file) ((((file)->mode) & VFS_FILE_MODE_RW) == VFS_FILE_MODE_RW) 105 uint64_t mode; member 140 …ng (*create)(struct vfs_index_node_t *parent_inode, struct vfs_dir_entry_t *dest_dEntry, int mode); 154 long (*mkdir)(struct vfs_index_node_t *inode, struct vfs_dir_entry_t *dEntry, int mode); 270 int64_t vfs_mkdir(const char *path, mode_t mode, bool from_userland);
|
D | VFS.c | 246 int64_t vfs_mkdir(const char *path, mode_t mode, bool from_userland) in vfs_mkdir() argument 360 mode_t mode = (mode_t)regs->r9; in sys_mkdir() local 363 return vfs_mkdir(path, mode, true); in sys_mkdir() 365 return vfs_mkdir(path, mode, false); in sys_mkdir() 499 file_ptr->mode = flags; in do_open() 514 if (file_ptr->mode & O_TRUNC) // 清空文件 in do_open() 517 if (file_ptr->mode & O_APPEND) in do_open()
|
/DragonOS-0.1.2/tools/ |
D | .gdbinit | 3 set follow-fork-mode child
|
/DragonOS-0.1.2/ |
D | bochsrc | 8 # ata0-master: type=disk, path="/data/home/longjin/code/hd.img", mode=flat 14 ata0-master: type=disk, path="bin/disk.img", mode=flat 45 speaker: enabled=1, mode=system 48 com1: enabled=1, mode=null
|
D | LICENSE | 313 when it starts in an interactive mode:
|
/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/ |
D | apic_timer.h | 49 static __always_inline void apic_timer_set_LVT(uint32_t vector, uint32_t mask, uint32_t mode) in apic_timer_set_LVT() argument 51 register uint32_t val = (mode << 17) | vector | (mask ? (APIC_LVT_INT_MASKED) : 0); in apic_timer_set_LVT()
|
/DragonOS-0.1.2/kernel/src/filesystem/fat32/ |
D | fat_ent.h | 58 …mpty_dentry(struct vfs_index_node_t *parent_inode, uint32_t num, uint32_t mode, uint32_t *res_sect…
|
D | fat32.h | 209 …fat32_create(struct vfs_index_node_t *parent_inode, struct vfs_dir_entry_t *dest_dEntry, int mode);
|
D | fat_ent.c | 185 …tory_t *fat32_find_empty_dentry(struct vfs_index_node_t *parent_inode, uint32_t num, uint32_t mode, in fat32_find_empty_dentry() argument
|
D | fat32.c | 848 … fat32_create(struct vfs_index_node_t *parent_inode, struct vfs_dir_entry_t *dest_dEntry, int mode) in fat32_create() argument 950 int64_t fat32_mkdir(struct vfs_index_node_t *parent_inode, struct vfs_dir_entry_t *dEntry, int mode) in fat32_mkdir() argument
|
/DragonOS-0.1.2/kernel/src/ipc/ |
D | pipe.c | 169 read_file->mode = VFS_FILE_MODE_READ; in sys_pipe() 172 write_file->mode = VFS_FILE_MODE_WRITE; in sys_pipe()
|
/DragonOS-0.1.2/kernel/src/filesystem/procfs/ |
D | procfs.c | 121 int mode = finode->type; in procfs_open() local 124 switch (mode) in procfs_open() 339 …procfs_create(struct vfs_index_node_t *parent_inode, struct vfs_dir_entry_t *dest_dEntry, int mode) in procfs_create() argument 377 … long procfs_mkdir(struct vfs_index_node_t *parent_inode, struct vfs_dir_entry_t *dEntry, int mode) in procfs_mkdir() argument
|
/DragonOS-0.1.2/docs/kernel/filesystem/vfs/ |
D | overview.md | 207 …ng (*create)(struct vfs_index_node_t *parent_inode, struct vfs_dir_entry_t *dest_dEntry, int mode); 209 long (*mkdir)(struct vfs_index_node_t *inode, struct vfs_dir_entry_t *dEntry, int mode);
|
/DragonOS-0.1.2/kernel/src/filesystem/devfs/ |
D | devfs.c | 134 … devfs_create(struct vfs_index_node_t *parent_inode, struct vfs_dir_entry_t *dest_dEntry, int mode) in devfs_create() argument 157 static long devfs_mkdir(struct vfs_index_node_t *inode, struct vfs_dir_entry_t *dEntry, int mode) in devfs_mkdir() argument
|
/DragonOS-0.1.2/kernel/src/process/ |
D | process.c | 150 filp->mode = 0; in process_open_exec_file() 152 filp->mode = ATTR_READ_ONLY; in process_open_exec_file()
|
/DragonOS-0.1.2/kernel/ |
D | cbindgen.toml | 528 # Whether a generated constant can be a static const in C++ mode. I have no 534 # Whether a generated constant can be constexpr in C++ mode.
|