Home
last modified time | relevance | path

Searched refs:__always_inline (Results 1 – 11 of 11) sorted by relevance

/DragonOS-0.1.8/kernel/src/arch/x86_64/math/
Dbitcount.h9 static __always_inline int __clz(uint32_t x) in __clz()
25 static __always_inline int __clzl(unsigned long x) in __clzl()
44 static __always_inline int __clzll(unsigned long long x) in __clzll()
57 static __always_inline int __ctz(uint32_t x) in __ctz()
63 static __always_inline int __ctzl(unsigned long x) in __ctzl()
/DragonOS-0.1.8/kernel/src/driver/interrupt/apic/
Dapic_timer.h21 static __always_inline void apic_timer_set_div(uint64_t divider) in apic_timer_set_div()
34 static __always_inline void apic_timer_set_init_cnt(uint32_t init_cnt) in apic_timer_set_init_cnt()
49 static __always_inline void apic_timer_set_LVT(uint32_t vector, uint32_t mask, uint32_t mode) in apic_timer_set_LVT()
58 static __always_inline void apic_timer_write_LVT(uint32_t value) in apic_timer_write_LVT()
70 static __always_inline uint32_t apic_timer_get_LVT() in apic_timer_get_LVT()
82 static __always_inline uint32_t apic_timer_get_current() in apic_timer_get_current()
Dapic.c31 static __always_inline void __send_eoi() in __send_eoi()
/DragonOS-0.1.8/kernel/src/common/
Dstddef.h9 #ifndef __always_inline
10 #define __always_inline __inline__ macro
Dglib.h62 static __always_inline ul ALIGN(const ul addr, const ul _align) in ALIGN()
284 static __always_inline void __write8b(uint64_t vaddr, uint64_t value) in __write8b()
298 static __always_inline void __write4b(uint64_t vaddr, uint32_t value) in __write4b()
312 static __always_inline uint64_t __read8b(uint64_t vaddr) in __read8b()
329 static __always_inline uint32_t __read4b(uint64_t vaddr) in __read4b()
Dsemaphore.h34 static __always_inline void semaphore_init(semaphore_t *sema, ul count) in semaphore_init()
Dkfifo.h130 uint32_t __always_inline kfifo_in_locked(struct kfifo_t *fifo, const void *from, uint32_t size, spi… in kfifo_in_locked()
147 uint32_t __always_inline kfifo_out_locked(struct kfifo_t *fifo, void *to, uint32_t size, spinlock_t… in kfifo_out_locked()
Dcompiler.h49 static __always_inline void __read_once_size(void *dst, const volatile void *src, int size) in __read_once_size()
80 static __always_inline void __write_once_size(volatile void *dst, void *src, int size) in __write_once_size()
/DragonOS-0.1.8/kernel/src/driver/hid/
Dhidparse.c23 static __always_inline const struct hid_usage_pages_string *hid_get_usage_page(const int u_page);
25 static __always_inline const struct hid_usage_types_string *hid_get_usage_type(
61 static __always_inline uint32_t __format_value(uint32_t value, uint8_t size) in __format_value()
93 static __always_inline void __pop_usage_stack(struct hid_parser *parser) in __pop_usage_stack()
374 static __always_inline const struct hid_usage_pages_string *hid_get_usage_page(const int u_page) in hid_get_usage_page()
392 static __always_inline const struct hid_usage_types_string *hid_get_usage_type( in hid_get_usage_type()
521 static __always_inline bool __find_object(struct hid_parser *parser, struct hid_data_t *data) in __find_object()
/DragonOS-0.1.8/kernel/src/driver/pci/
Dmsi.c21 static __always_inline struct pci_msix_cap_t __msi_read_msix_cap_list(struct msi_desc_t *msi_desc, … in __msi_read_msix_cap_list()
38 static __always_inline struct pci_msi_cap_t __msi_read_cap_list(struct msi_desc_t *msi_desc, uint32… in __msi_read_cap_list()
80 static __always_inline int __msix_map_table(struct pci_device_structure_header_t *pci_dev, in __msix_map_table()
109 static __always_inline void __msix_set_entry(struct msi_desc_t *msi_desc) in __msix_set_entry()
127 static __always_inline void __msix_clear_entry(struct pci_device_structure_header_t *pci_dev, uint1… in __msix_clear_entry()
/DragonOS-0.1.8/kernel/src/libs/
Didr.c213 static __always_inline void __idr_mark_full(struct idr *idp, int id, struct idr_layer **stk, int ma… in __idr_mark_full()
248 static __always_inline int __idr_get_path(struct idr *idp, int id, struct idr_layer **stk) in __idr_get_path()
294 static __always_inline void __idr_erase_full(struct idr *idp, int id, struct idr_layer **stk, int m… in __idr_erase_full()