Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 18 of 18) sorted by relevance

/DragonOS-0.1.2/user/libs/libc/src/sys/
Dstat.c4 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()
Dstat.h19 int mkdir(const char *path, mode_t mode);
/DragonOS-0.1.2/kernel/src/filesystem/VFS/
DVFS.h94 #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);
DVFS.c246 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.gdbinit3 set follow-fork-mode child
/DragonOS-0.1.2/
Dbochsrc8 # 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
DLICENSE313 when it starts in an interactive mode:
/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/
Dapic_timer.h49 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/
Dfat_ent.h58 …mpty_dentry(struct vfs_index_node_t *parent_inode, uint32_t num, uint32_t mode, uint32_t *res_sect…
Dfat32.h209 …fat32_create(struct vfs_index_node_t *parent_inode, struct vfs_dir_entry_t *dest_dEntry, int mode);
Dfat_ent.c185 …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
Dfat32.c848 … 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/
Dpipe.c169 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/
Dprocfs.c121 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/
Doverview.md207 …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/
Ddevfs.c134 … 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/
Dprocess.c150 filp->mode = 0; in process_open_exec_file()
152 filp->mode = ATTR_READ_ONLY; in process_open_exec_file()
/DragonOS-0.1.2/kernel/
Dcbindgen.toml528 # 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.