Searched refs:attr (Results 1 – 8 of 8) sorted by relevance
/DragonOS-0.1.7/kernel/src/mm/ |
D | mm-stat.c | 36 uint64_t attr = 0; in __count_empty_2m_pages() local 43 attr |= PAGE_PGT_MAPPED; in __count_empty_2m_pages() 48 attr |= PAGE_PGT_MAPPED; in __count_empty_2m_pages() 53 attr = 0; in __count_empty_2m_pages() 80 uint64_t attr = 0; in __count_in_using_2m_pages() local 87 attr |= PAGE_PGT_MAPPED; in __count_in_using_2m_pages() 92 attr |= PAGE_PGT_MAPPED; in __count_in_using_2m_pages() 97 attr = 0; in __count_in_using_2m_pages()
|
D | mm.h | 281 #define mk_pml4t(addr, attr) ((unsigned long)(addr) | (unsigned long)(attr)) argument 289 #define mk_pdpt(addr, attr) ((unsigned long)(addr) | (unsigned long)(attr)) argument 292 #define mk_pdt(addr, attr) ((unsigned long)(addr) | (unsigned long)(attr)) argument 295 #define mk_pt(addr, attr) ((unsigned long)(addr) | (unsigned long)(attr)) argument
|
D | mm.c | 161 z->attr = 0; in mm_init() 174 p->attr = 0; in mm_init() 268 page->attr |= flags; in page_init() 270 if ((!page->ref_counts) || (page->attr & PAGE_SHARED)) in page_init() 299 ul attr = flags; in alloc_pages() local 306 attr |= PAGE_PGT_MAPPED; in alloc_pages() 311 attr |= PAGE_PGT_MAPPED; in alloc_pages() 316 attr = 0; in alloc_pages() 361 page_init(x, attr); in alloc_pages() 388 p->attr &= PAGE_PGT_MAPPED; in page_clean() [all …]
|
D | mm-types.h | 83 ul attr; member 102 ul attr; member
|
D | vma.c | 265 if (vma->anon_vma->page->attr & PAGE_DEVICE) in __anon_vma_del()
|
/DragonOS-0.1.7/kernel/src/exception/ |
D | gate.h | 53 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.7/kernel/src/filesystem/vfs/ |
D | VFS.h | 157 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.7/kernel/src/filesystem/fat/ |
D | entry.rs | 910 pub fn contains(&self, attr: u8) -> bool { in contains() 911 return (self.value & attr) != 0; in contains() 914 pub fn new(attr: u8) -> Self { in new() 915 return Self { value: attr }; in new()
|