Searched refs:attr (Results 1 – 10 of 10) sorted by relevance
/DragonOS-0.1.3/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.3/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.3/kernel/src/filesystem/vfs/ |
D | VFS.h | 158 long (*getAttr)(struct vfs_dir_entry_t *dEntry, uint64_t *attr); 159 long (*setAttr)(struct vfs_dir_entry_t *dEntry, uint64_t *attr);
|
/DragonOS-0.1.3/docs/kernel/filesystem/vfs/ |
D | overview.md | 212 long (*getAttr)(struct vfs_dir_entry_t *dEntry, uint64_t *attr); 213 long (*setAttr)(struct vfs_dir_entry_t *dEntry, uint64_t *attr);
|
/DragonOS-0.1.3/kernel/src/filesystem/devfs/ |
D | devfs.c | 172 static long devfs_getAttr(struct vfs_dir_entry_t *dEntry, uint64_t *attr) { return 0; } in devfs_getAttr() argument 173 static long devfs_setAttr(struct vfs_dir_entry_t *dEntry, uint64_t *attr) { return 0; } in devfs_setAttr() argument
|
/DragonOS-0.1.3/kernel/src/filesystem/fat32/ |
D | fat32.c | 1091 int64_t fat32_getAttr(struct vfs_dir_entry_t *dEntry, uint64_t *attr) in fat32_getAttr() argument 1097 int64_t fat32_setAttr(struct vfs_dir_entry_t *dEntry, uint64_t *attr) in fat32_setAttr() argument
|