Home
last modified time | relevance | path

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

12345678910>>...18

/kernel/linux/linux-5.10/include/asm-generic/
Datomic-long.h26 static __always_inline long
32 static __always_inline long
38 static __always_inline void
44 static __always_inline void
50 static __always_inline void
56 static __always_inline long
62 static __always_inline long
68 static __always_inline long
74 static __always_inline long
80 static __always_inline long
[all …]
Datomic-instrumented.h24 static __always_inline int
33 static __always_inline int
42 static __always_inline void
51 static __always_inline void
60 static __always_inline void
69 static __always_inline int
79 static __always_inline int
89 static __always_inline int
99 static __always_inline int
109 static __always_inline int
[all …]
Dpreempt.h9 static __always_inline int preempt_count(void) in preempt_count()
14 static __always_inline volatile int *preempt_count_ptr(void) in preempt_count_ptr()
19 static __always_inline void preempt_count_set(int pc) in preempt_count_set()
35 static __always_inline void set_preempt_need_resched(void) in set_preempt_need_resched()
39 static __always_inline void clear_preempt_need_resched(void) in clear_preempt_need_resched()
43 static __always_inline bool test_preempt_need_resched(void) in test_preempt_need_resched()
52 static __always_inline void __preempt_count_add(int val) in __preempt_count_add()
57 static __always_inline void __preempt_count_sub(int val) in __preempt_count_sub()
62 static __always_inline bool __preempt_count_dec_and_test(void) in __preempt_count_dec_and_test()
75 static __always_inline bool should_resched(int preempt_offset) in should_resched()
Dpgtable_uffd.h5 static __always_inline int pte_uffd_wp(pte_t pte) in pte_uffd_wp()
10 static __always_inline int pmd_uffd_wp(pmd_t pmd) in pmd_uffd_wp()
15 static __always_inline pte_t pte_mkuffd_wp(pte_t pte) in pte_mkuffd_wp()
20 static __always_inline pmd_t pmd_mkuffd_wp(pmd_t pmd) in pmd_mkuffd_wp()
25 static __always_inline pte_t pte_clear_uffd_wp(pte_t pte) in pte_clear_uffd_wp()
30 static __always_inline pmd_t pmd_clear_uffd_wp(pmd_t pmd) in pmd_clear_uffd_wp()
35 static __always_inline pte_t pte_swp_mkuffd_wp(pte_t pte) in pte_swp_mkuffd_wp()
40 static __always_inline int pte_swp_uffd_wp(pte_t pte) in pte_swp_uffd_wp()
45 static __always_inline pte_t pte_swp_clear_uffd_wp(pte_t pte) in pte_swp_clear_uffd_wp()
Dqspinlock.h22 static __always_inline int queued_spin_is_locked(struct qspinlock *lock) in queued_spin_is_locked()
42 static __always_inline int queued_spin_value_unlocked(struct qspinlock lock) in queued_spin_value_unlocked()
52 static __always_inline int queued_spin_is_contended(struct qspinlock *lock) in queued_spin_is_contended()
61 static __always_inline int queued_spin_trylock(struct qspinlock *lock) in queued_spin_trylock()
78 static __always_inline void queued_spin_lock(struct qspinlock *lock) in queued_spin_lock()
94 static __always_inline void queued_spin_unlock(struct qspinlock *lock) in queued_spin_unlock()
104 static __always_inline bool virt_spin_lock(struct qspinlock *lock) in virt_spin_lock()
/kernel/linux/linux-5.10/include/linux/
Datomic-arch-fallback.h81 static __always_inline int
90 static __always_inline void
105 static __always_inline int
116 static __always_inline int
126 static __always_inline int
147 static __always_inline int
158 static __always_inline int
168 static __always_inline int
189 static __always_inline int
200 static __always_inline int
[all …]
Datomic-fallback.h84 static __always_inline int
96 static __always_inline void
118 static __always_inline int
129 static __always_inline int
139 static __always_inline int
165 static __always_inline int
176 static __always_inline int
186 static __always_inline int
214 static __always_inline int
225 static __always_inline int
[all …]
Dkdev_t.h24 static __always_inline bool old_valid_dev(dev_t dev) in old_valid_dev()
29 static __always_inline u16 old_encode_dev(dev_t dev) in old_encode_dev()
34 static __always_inline dev_t old_decode_dev(u16 val) in old_decode_dev()
39 static __always_inline u32 new_encode_dev(dev_t dev) in new_encode_dev()
46 static __always_inline dev_t new_decode_dev(u32 dev) in new_decode_dev()
53 static __always_inline u64 huge_encode_dev(dev_t dev) in huge_encode_dev()
58 static __always_inline dev_t huge_decode_dev(u64 dev) in huge_decode_dev()
63 static __always_inline int sysv_valid_dev(dev_t dev) in sysv_valid_dev()
68 static __always_inline u32 sysv_encode_dev(dev_t dev) in sysv_encode_dev()
73 static __always_inline unsigned sysv_major(u32 dev) in sysv_major()
[all …]
Dcontext_tracking.h38 static __always_inline void user_enter_irqoff(void) in user_enter_irqoff()
44 static __always_inline void user_exit_irqoff(void) in user_exit_irqoff()
80 static __always_inline enum ctx_state ct_state(void) in ct_state()
106 static __always_inline void guest_enter_irqoff(void) in guest_enter_irqoff()
132 static __always_inline void context_tracking_guest_exit(void) in context_tracking_guest_exit()
138 static __always_inline void vtime_account_guest_exit(void) in vtime_account_guest_exit()
146 static __always_inline void guest_exit_irqoff(void) in guest_exit_irqoff()
156 static __always_inline void guest_enter_irqoff(void) in guest_enter_irqoff()
170 static __always_inline void context_tracking_guest_exit(void) { } in context_tracking_guest_exit()
172 static __always_inline void vtime_account_guest_exit(void) in vtime_account_guest_exit()
[all …]
Dinstrumented.h24 static __always_inline void instrument_read(const volatile void *v, size_t size) in instrument_read()
39 static __always_inline void instrument_write(const volatile void *v, size_t size) in instrument_write()
54 static __always_inline void instrument_read_write(const volatile void *v, size_t size) in instrument_read_write()
69 static __always_inline void instrument_atomic_read(const volatile void *v, size_t size) in instrument_atomic_read()
84 static __always_inline void instrument_atomic_write(const volatile void *v, size_t size) in instrument_atomic_write()
99 static __always_inline void instrument_atomic_read_write(const volatile void *v, size_t size) in instrument_atomic_read_write()
115 static __always_inline void
132 static __always_inline void
/kernel/linux/linux-5.10/arch/x86/include/asm/
Datomic.h23 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read()
39 static __always_inline void arch_atomic_set(atomic_t *v, int i) in arch_atomic_set()
51 static __always_inline void arch_atomic_add(int i, atomic_t *v) in arch_atomic_add()
65 static __always_inline void arch_atomic_sub(int i, atomic_t *v) in arch_atomic_sub()
81 static __always_inline bool arch_atomic_sub_and_test(int i, atomic_t *v) in arch_atomic_sub_and_test()
93 static __always_inline void arch_atomic_inc(atomic_t *v) in arch_atomic_inc()
106 static __always_inline void arch_atomic_dec(atomic_t *v) in arch_atomic_dec()
121 static __always_inline bool arch_atomic_dec_and_test(atomic_t *v) in arch_atomic_dec_and_test()
135 static __always_inline bool arch_atomic_inc_and_test(atomic_t *v) in arch_atomic_inc_and_test()
150 static __always_inline bool arch_atomic_add_negative(int i, atomic_t *v) in arch_atomic_add_negative()
[all …]
Dbitops.h51 static __always_inline void
65 static __always_inline void
71 static __always_inline void
84 static __always_inline void
91 static __always_inline void
97 static __always_inline bool
110 static __always_inline void
116 static __always_inline void
122 static __always_inline void
135 static __always_inline bool
[all …]
Dirqflags.h20 extern __always_inline unsigned long native_save_fl(void) in native_save_fl()
47 static __always_inline void native_irq_disable(void) in native_irq_disable()
52 static __always_inline void native_irq_enable(void) in native_irq_enable()
77 static __always_inline unsigned long arch_local_save_flags(void) in arch_local_save_flags()
82 static __always_inline void arch_local_irq_restore(unsigned long flags) in arch_local_irq_restore()
87 static __always_inline void arch_local_irq_disable(void) in arch_local_irq_disable()
92 static __always_inline void arch_local_irq_enable(void) in arch_local_irq_enable()
118 static __always_inline unsigned long arch_local_irq_save(void) in arch_local_irq_save()
150 static __always_inline int arch_irqs_disabled_flags(unsigned long flags) in arch_irqs_disabled_flags()
155 static __always_inline int arch_irqs_disabled(void) in arch_irqs_disabled()
Dpreempt.h24 static __always_inline int preempt_count(void) in preempt_count()
29 static __always_inline void preempt_count_set(int pc) in preempt_count_set()
58 static __always_inline void set_preempt_need_resched(void) in set_preempt_need_resched()
63 static __always_inline void clear_preempt_need_resched(void) in clear_preempt_need_resched()
68 static __always_inline bool test_preempt_need_resched(void) in test_preempt_need_resched()
77 static __always_inline void __preempt_count_add(int val) in __preempt_count_add()
82 static __always_inline void __preempt_count_sub(int val) in __preempt_count_sub()
92 static __always_inline bool __preempt_count_dec_and_test(void) in __preempt_count_dec_and_test()
100 static __always_inline bool should_resched(int preempt_offset) in should_resched()
Dirq_stack.h10 static __always_inline bool irqstack_active(void) in irqstack_active()
21 static __always_inline void __run_on_irqstack(void (*func)(void)) in __run_on_irqstack()
30 static __always_inline void
41 static __always_inline void
61 static __always_inline bool irq_needs_irq_stack(struct pt_regs *regs) in irq_needs_irq_stack()
71 static __always_inline void run_on_irqstack_cond(void (*func)(void), in run_on_irqstack_cond()
82 static __always_inline void
94 static __always_inline void
/kernel/linux/linux-5.10/include/linux/unaligned/
Daccess_ok.h8 static __always_inline u16 get_unaligned_le16(const void *p) in get_unaligned_le16()
13 static __always_inline u32 get_unaligned_le32(const void *p) in get_unaligned_le32()
18 static __always_inline u64 get_unaligned_le64(const void *p) in get_unaligned_le64()
23 static __always_inline u16 get_unaligned_be16(const void *p) in get_unaligned_be16()
28 static __always_inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32()
33 static __always_inline u64 get_unaligned_be64(const void *p) in get_unaligned_be64()
38 static __always_inline void put_unaligned_le16(u16 val, void *p) in put_unaligned_le16()
43 static __always_inline void put_unaligned_le32(u32 val, void *p) in put_unaligned_le32()
48 static __always_inline void put_unaligned_le64(u64 val, void *p) in put_unaligned_le64()
53 static __always_inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16()
[all …]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_emulate.h39 static __always_inline bool vcpu_el1_is_32bit(struct kvm_vcpu *vcpu) in vcpu_el1_is_32bit()
125 static __always_inline unsigned long *vcpu_pc(const struct kvm_vcpu *vcpu) in vcpu_pc()
130 static __always_inline unsigned long *vcpu_cpsr(const struct kvm_vcpu *vcpu) in vcpu_cpsr()
135 static __always_inline bool vcpu_mode_is_32bit(const struct kvm_vcpu *vcpu) in vcpu_mode_is_32bit()
140 static __always_inline bool kvm_condition_valid(const struct kvm_vcpu *vcpu) in kvm_condition_valid()
158 static __always_inline unsigned long vcpu_get_reg(const struct kvm_vcpu *vcpu, in vcpu_get_reg()
164 static __always_inline void vcpu_set_reg(struct kvm_vcpu *vcpu, u8 reg_num, in vcpu_set_reg()
241 static __always_inline u32 kvm_vcpu_get_esr(const struct kvm_vcpu *vcpu) in kvm_vcpu_get_esr()
246 static __always_inline int kvm_vcpu_get_condition(const struct kvm_vcpu *vcpu) in kvm_vcpu_get_condition()
256 static __always_inline unsigned long kvm_vcpu_get_hfar(const struct kvm_vcpu *vcpu) in kvm_vcpu_get_hfar()
[all …]
/kernel/linux/linux-5.10/arch/x86/kvm/
Dcpuid.h76 static __always_inline void reverse_cpuid_check(unsigned int x86_leaf) in reverse_cpuid_check()
92 static __always_inline u32 __feature_bit(int x86_feature) in __feature_bit()
100 static __always_inline struct cpuid_reg x86_feature_cpuid(unsigned int x86_feature) in x86_feature_cpuid()
108 static __always_inline u32 *__cpuid_entry_get_reg(struct kvm_cpuid_entry2 *entry, in __cpuid_entry_get_reg()
126 static __always_inline u32 *cpuid_entry_get_reg(struct kvm_cpuid_entry2 *entry, in cpuid_entry_get_reg()
134 static __always_inline u32 cpuid_entry_get(struct kvm_cpuid_entry2 *entry, in cpuid_entry_get()
142 static __always_inline bool cpuid_entry_has(struct kvm_cpuid_entry2 *entry, in cpuid_entry_has()
148 static __always_inline void cpuid_entry_clear(struct kvm_cpuid_entry2 *entry, in cpuid_entry_clear()
156 static __always_inline void cpuid_entry_set(struct kvm_cpuid_entry2 *entry, in cpuid_entry_set()
164 static __always_inline void cpuid_entry_change(struct kvm_cpuid_entry2 *entry, in cpuid_entry_change()
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/vdso/
Dgettimeofday.h61 static __always_inline const struct vdso_data *__arch_get_timens_vdso_data(void) in __arch_get_timens_vdso_data()
69 static __always_inline
81 static __always_inline
93 static __always_inline
107 static __always_inline
124 static __always_inline
141 static __always_inline
159 static __always_inline long
176 static __always_inline
270 static __always_inline const struct vdso_data *__arch_get_vdso_data(void) in __arch_get_vdso_data()
[all …]
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dvmx_ops.h24 static __always_inline void vmcs_check16(unsigned long field) in vmcs_check16()
36 static __always_inline void vmcs_check32(unsigned long field) in vmcs_check32()
44 static __always_inline void vmcs_check64(unsigned long field) in vmcs_check64()
56 static __always_inline void vmcs_checkl(unsigned long field) in vmcs_checkl()
68 static __always_inline unsigned long __vmcs_readl(unsigned long field) in __vmcs_readl()
104 static __always_inline u16 vmcs_read16(unsigned long field) in vmcs_read16()
112 static __always_inline u32 vmcs_read32(unsigned long field) in vmcs_read32()
120 static __always_inline u64 vmcs_read64(unsigned long field) in vmcs_read64()
132 static __always_inline unsigned long vmcs_readl(unsigned long field) in vmcs_readl()
174 static __always_inline void __vmcs_writel(unsigned long field, unsigned long value) in __vmcs_writel()
[all …]
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Datomic.h28 static __always_inline int atomic_read(const atomic_t *v) in atomic_read()
32 static __always_inline void atomic_set(atomic_t *v, int i) in atomic_set()
39 static __always_inline s64 atomic64_read(const atomic64_t *v) in atomic64_read()
43 static __always_inline void atomic64_set(atomic64_t *v, s64 i) in atomic64_set()
55 static __always_inline \
89 static __always_inline \ in ATOMIC_OPS()
101 static __always_inline \
114 static __always_inline \
120 static __always_inline \
200 static __always_inline int atomic_fetch_add_unless(atomic_t *v, int a, int u)
[all …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/byteorder/
Dbig_endian.h44 static __always_inline __le64 __cpu_to_le64p(const __u64 *p) in __cpu_to_le64p()
48 static __always_inline __u64 __le64_to_cpup(const __le64 *p) in __le64_to_cpup()
52 static __always_inline __le32 __cpu_to_le32p(const __u32 *p) in __cpu_to_le32p()
56 static __always_inline __u32 __le32_to_cpup(const __le32 *p) in __le32_to_cpup()
60 static __always_inline __le16 __cpu_to_le16p(const __u16 *p) in __cpu_to_le16p()
64 static __always_inline __u16 __le16_to_cpup(const __le16 *p) in __le16_to_cpup()
68 static __always_inline __be64 __cpu_to_be64p(const __u64 *p) in __cpu_to_be64p()
72 static __always_inline __u64 __be64_to_cpup(const __be64 *p) in __be64_to_cpup()
76 static __always_inline __be32 __cpu_to_be32p(const __u32 *p) in __cpu_to_be32p()
80 static __always_inline __u32 __be32_to_cpup(const __be32 *p) in __be32_to_cpup()
[all …]
Dlittle_endian.h44 static __always_inline __le64 __cpu_to_le64p(const __u64 *p) in __cpu_to_le64p()
48 static __always_inline __u64 __le64_to_cpup(const __le64 *p) in __le64_to_cpup()
52 static __always_inline __le32 __cpu_to_le32p(const __u32 *p) in __cpu_to_le32p()
56 static __always_inline __u32 __le32_to_cpup(const __le32 *p) in __le32_to_cpup()
60 static __always_inline __le16 __cpu_to_le16p(const __u16 *p) in __cpu_to_le16p()
64 static __always_inline __u16 __le16_to_cpup(const __le16 *p) in __le16_to_cpup()
68 static __always_inline __be64 __cpu_to_be64p(const __u64 *p) in __cpu_to_be64p()
72 static __always_inline __u64 __be64_to_cpup(const __be64 *p) in __be64_to_cpup()
76 static __always_inline __be32 __cpu_to_be32p(const __u32 *p) in __cpu_to_be32p()
80 static __always_inline __u32 __be32_to_cpup(const __be32 *p) in __be32_to_cpup()
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/byteorder/
Dlittle_endian.h44 static __always_inline __le64 __cpu_to_le64p(const __u64 *p) in __cpu_to_le64p()
48 static __always_inline __u64 __le64_to_cpup(const __le64 *p) in __le64_to_cpup()
52 static __always_inline __le32 __cpu_to_le32p(const __u32 *p) in __cpu_to_le32p()
56 static __always_inline __u32 __le32_to_cpup(const __le32 *p) in __le32_to_cpup()
60 static __always_inline __le16 __cpu_to_le16p(const __u16 *p) in __cpu_to_le16p()
64 static __always_inline __u16 __le16_to_cpup(const __le16 *p) in __le16_to_cpup()
68 static __always_inline __be64 __cpu_to_be64p(const __u64 *p) in __cpu_to_be64p()
72 static __always_inline __u64 __be64_to_cpup(const __be64 *p) in __be64_to_cpup()
76 static __always_inline __be32 __cpu_to_be32p(const __u32 *p) in __cpu_to_be32p()
80 static __always_inline __u32 __be32_to_cpup(const __be32 *p) in __be32_to_cpup()
[all …]
Dbig_endian.h44 static __always_inline __le64 __cpu_to_le64p(const __u64 *p) in __cpu_to_le64p()
48 static __always_inline __u64 __le64_to_cpup(const __le64 *p) in __le64_to_cpup()
52 static __always_inline __le32 __cpu_to_le32p(const __u32 *p) in __cpu_to_le32p()
56 static __always_inline __u32 __le32_to_cpup(const __le32 *p) in __le32_to_cpup()
60 static __always_inline __le16 __cpu_to_le16p(const __u16 *p) in __cpu_to_le16p()
64 static __always_inline __u16 __le16_to_cpup(const __le16 *p) in __le16_to_cpup()
68 static __always_inline __be64 __cpu_to_be64p(const __u64 *p) in __cpu_to_be64p()
72 static __always_inline __u64 __be64_to_cpup(const __be64 *p) in __be64_to_cpup()
76 static __always_inline __be32 __cpu_to_be32p(const __u32 *p) in __cpu_to_be32p()
80 static __always_inline __u32 __be32_to_cpup(const __be32 *p) in __be32_to_cpup()
[all …]

12345678910>>...18