Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/exception/
Dgate.h53 void set_gate(ul *gate_selector_addr, ul attr, unsigned char ist, ul *code_addr) in set_gate() argument
57 __d0 = attr << 40; //设置P、DPL、Type in set_gate()
76 #define _set_gate(gate_selector_addr, attr, ist, code_addr) … argument
95 … : "i"(attr << 8), \
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
DVFS.h157 long (*getAttr)(struct vfs_dir_entry_t *dEntry, uint64_t *attr);
158 long (*setAttr)(struct vfs_dir_entry_t *dEntry, uint64_t *attr);
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs919 pub fn contains(&self, attr: u8) -> bool { in contains()
920 return (self.value & attr) != 0; in contains()
923 pub fn new(attr: u8) -> Self { in new()
924 return Self { value: attr }; in new()