Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 15 of 15) sorted by relevance

/DragonOS-0.1.8/kernel/src/exception/
Dgate.h100 void set_tss_descriptor(unsigned int n, void *addr) in set_tss_descriptor()
127 void set_intr_gate(unsigned int n, unsigned char ist, void *addr) in set_intr_gate()
141 void set_trap_gate(unsigned int n, unsigned char ist, void *addr) in set_trap_gate()
156 void set_system_trap_gate(unsigned int n, unsigned char ist, void *addr) in set_system_trap_gate()
165 static inline void set_system_intr_gate(unsigned int n,unsigned char ist,void * addr) //int3 in set_system_intr_gate()
/DragonOS-0.1.8/kernel/src/mm/
Dmm.h35 #define PAGE_4K_ALIGN(addr) (((unsigned long)(addr) + PAGE_4K_SIZE - 1) & PAGE_4K_MASK) argument
36 #define PAGE_2M_ALIGN(addr) (((unsigned long)(addr) + PAGE_2M_SIZE - 1) & PAGE_2M_MASK) argument
39 #define virt_2_phys(addr) ((unsigned long)(addr)-PAGE_OFFSET) argument
40 #define phys_2_virt(addr) ((unsigned long *)((unsigned long)(addr) + PAGE_OFFSET)) argument
Dpage.rs140 let addr = VirtAddr::new(addr.data() & Arch::PAGE_ADDRESS_MASK); in index_of() localVariable
Ducontext.rs247 let addr = hint.data() & (!MMArch::PAGE_OFFSET_MASK); in map_anonymous() localVariable
/DragonOS-0.1.8/kernel/src/debug/traceback/
Dtraceback.c5 static int lookup_kallsyms(uint64_t addr, int level) in lookup_kallsyms()
/DragonOS-0.1.8/kernel/src/driver/multiboot2/
Dmultiboot2.c11 uintptr_t *addr = (uintptr_t *)multiboot2_boot_info_addr; in multiboot2_init() local
23 uintptr_t addr = multiboot2_boot_info_addr; in multiboot2_iter() local
Dmultiboot2.h204 uint64_t addr; member
/DragonOS-0.1.8/kernel/src/syscall/
Duser_access.rs84 let addr = unsafe { user.add(i) }; in check_and_clone_cstr() localVariable
118 let addr = unsafe { user.add(i) }; in check_and_clone_cstr_array() localVariable
Dmod.rs771 let addr = args[1] as *const SockAddr; in handle() localVariable
783 let addr = args[1] as *const SockAddr; in handle() localVariable
799 let addr = args[4] as *const SockAddr; in handle() localVariable
820 let addr = args[4] as *mut SockAddr; in handle() localVariable
938 let addr = args[0]; in handle() localVariable
948 let addr = args[0]; in handle() localVariable
/DragonOS-0.1.8/user/libs/libc/src/
Dmalloc.c23 #define PAGE_4K_ALIGN(addr) (((unsigned long)(addr) + PAGE_4K_SIZE - 1) & PAGE_4K_MASK) argument
24 #define PAGE_2M_ALIGN(addr) (((unsigned long)(addr) + PAGE_2M_SIZE - 1) & PAGE_2M_MASK) argument
/DragonOS-0.1.8/user/apps/test_relibc/
Dmain.c194 struct sockaddr_in addr; in udp_client() local
/DragonOS-0.1.8/kernel/src/libs/libUI/
Dtextui-render.c123 unsigned int *addr; in __textui_render_chromatic() local
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dslab.rs120 fn addr(&self) -> usize { in addr() method
/DragonOS-0.1.8/kernel/src/common/
Dglib.h62 static __always_inline ul ALIGN(const ul addr, const ul _align) in ALIGN()
/DragonOS-0.1.8/kernel/src/net/
Dsyscall.rs488 let addr = unsafe { addr.as_ref() }.ok_or(SystemError::EFAULT)?; in to_endpoint() localVariable