Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 11 of 11) sorted by relevance

/DragonOS-0.1.8/user/apps/shell/
DMakefile3 all: shell.o cmd.o cmd_help.o cmd_test.o
11 cmd.o: cmd.c
12 $(CC) $(CFLAGS) -c cmd.c -o cmd.o
/DragonOS-0.1.8/kernel/src/common/
Dblk_types.h18 long (*ioctl)(long cmd, long arg);
30 …long (*transfer)(struct blk_gendisk *gd, long cmd, uint64_t base_addr, uint64_t count, uint64_t bu…
39 uchar cmd; member
/DragonOS-0.1.8/docs/community/code_contribution/
Dc-coding-style.md24 switch (cmd)
28 pack->blk_pak.cmd = AHCI_CMD_READ_DMA_EXT;
32 pack->blk_pak.cmd = AHCI_CMD_WRITE_DMA_EXT;
36 pack->blk_pak.cmd = cmd;
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dhba.rs52 pub cmd: u32, // 0x18, command and status field
147 while volatile_read!(self.cmd) & HBA_PORT_CMD_CR > 0 { in start()
150 let val: u32 = volatile_read!(self.cmd) | HBA_PORT_CMD_FRE | HBA_PORT_CMD_ST; in start()
151 volatile_write!(self.cmd, val); in start()
159 self.cmd, in stop()
160 (u32::MAX ^ HBA_PORT_CMD_ST) & volatile_read!(self.cmd) in stop()
164 while volatile_read!(self.cmd) & (HBA_PORT_CMD_FR | HBA_PORT_CMD_CR) in stop()
173 self.cmd, in stop()
174 (u32::MAX ^ HBA_PORT_CMD_FRE) & volatile_read!(self.cmd) in stop()
243 volatile_write!(self.cmd, volatile_read!(self.cmd) | 1 << 2 | 1 << 1); in init()
Dahci.h217 uint32_t cmd; // 0x18, command and status member
/DragonOS-0.1.8/user/apps/test_sqlite3/
Dmain.c53 char cmd[256] = {0}; in query_test() local
54 sprintf(cmd, in query_test()
58 exec(db, cmd); in query_test()
/DragonOS-0.1.8/kernel/src/driver/keyboard/
Dps2_keyboard.c78 long ps2_keyboard_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *filp, uint64_t cmd, uint… in ps2_keyboard_ioctl() argument
80 switch (cmd) in ps2_keyboard_ioctl()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
DVFS.h190 …long (*ioctl)(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr, uint64_t cmd, uint64_t …
Dmount.rs311 fn ioctl(&self, cmd: u32, data: usize) -> Result<usize, SystemError> { in ioctl()
312 return self.inner_inode.ioctl(cmd, data); in ioctl()
Dsyscall.rs459 pub fn fcntl(fd: i32, cmd: FcntlCommand, arg: i32) -> Result<usize, SystemError> { in fcntl()
460 match cmd { in fcntl()
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs972 let cmd: Option<FcntlCommand> = in handle() localVariable
975 let res = if let Some(cmd) = cmd { in handle()
976 Self::fcntl(fd, cmd, arg) in handle()