Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/sched/
Dsched.c17 static int __sched_setscheduler(struct process_control_block *p, const struct sched_attr *attr, boo… in __sched_setscheduler() argument
19 int policy = attr->sched_policy; in __sched_setscheduler()
33 struct sched_attr attr = {.sched_policy = policy}; in _sched_setscheduler() local
35 return __sched_setscheduler(p, &attr, check, true); in _sched_setscheduler()
Dsched.h47 static int __sched_setscheduler(struct process_control_block *p, const struct sched_attr *attr, boo…
/DragonOS-0.1.2/kernel/src/mm/
Dmm-stat.c36 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()
Dmm.h281 #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
Dmm.c161 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 …]
Dmm-types.h83 ul attr; member
102 ul attr; member
Dvma.c265 if (vma->anon_vma->page->attr & PAGE_DEVICE) in __anon_vma_del()
/DragonOS-0.1.2/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.2/kernel/src/filesystem/VFS/
DVFS.h158 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.2/docs/kernel/filesystem/vfs/
Doverview.md212 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.2/kernel/src/filesystem/devfs/
Ddevfs.c172 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.2/kernel/src/filesystem/fat32/
Dfat32.c1091 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