Home
last modified time | relevance | path

Searched defs:flags (Results 1 – 25 of 720) sorted by relevance

12345678910>>...29

/include/linux/
Dirqflags.h78 #define raw_local_irq_save(flags) \ argument
83 #define raw_local_irq_restore(flags) \ argument
88 #define raw_local_save_flags(flags) \ argument
93 #define raw_irqs_disabled_flags(flags) \ argument
110 #define local_irq_save(flags) \ argument
117 #define local_irq_restore(flags) \ argument
139 #define local_irq_save(flags) \ argument
143 #define local_irq_restore(flags) do { raw_local_irq_restore(flags); } while (0) argument
148 #define local_save_flags(flags) raw_local_save_flags(flags) argument
166 #define irqs_disabled_flags(flags) raw_irqs_disabled_flags(flags) argument
Drwlock.h33 #define do_raw_read_lock_flags(lock, flags) do_raw_read_lock(lock) argument
37 #define do_raw_write_lock_flags(lock, flags) do_raw_write_lock(lock) argument
42 # define do_raw_read_lock_flags(lock, flags) \ argument
47 # define do_raw_write_lock_flags(lock, flags) \ argument
69 #define read_lock_irqsave(lock, flags) \ argument
74 #define write_lock_irqsave(lock, flags) \ argument
82 #define read_lock_irqsave(lock, flags) \ argument
87 #define write_lock_irqsave(lock, flags) \ argument
104 #define read_unlock_irqrestore(lock, flags) \ argument
111 #define write_unlock_irqrestore(lock, flags) \ argument
[all …]
Dslab.h354 static __always_inline void *__kmalloc_node(size_t size, gfp_t flags, int node) in __kmalloc_node()
359 static __always_inline void *kmem_cache_alloc_node(struct kmem_cache *s, gfp_t flags, int node) in kmem_cache_alloc_node()
384 gfp_t flags, size_t size) in kmem_cache_alloc_trace()
410 kmalloc_order_trace(size_t size, gfp_t flags, unsigned int order) in kmalloc_order_trace()
416 static __always_inline void *kmalloc_large(size_t size, gfp_t flags) in kmalloc_large()
476 static __always_inline void *kmalloc(size_t size, gfp_t flags) in kmalloc()
516 static __always_inline void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
601 static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array()
616 static inline void *kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc()
630 #define kmalloc_track_caller(size, flags) \ argument
[all …]
Dspinlock.h159 #define do_raw_spin_lock_flags(lock, flags) do_raw_spin_lock(lock) argument
170 do_raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long *flags) __acquires(lock) in do_raw_spin_lock_flags()
220 #define raw_spin_lock_irqsave(lock, flags) \ argument
227 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
233 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
242 #define raw_spin_lock_irqsave(lock, flags) \ argument
248 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
258 #define raw_spin_unlock_irqrestore(lock, flags) \ argument
275 #define raw_spin_trylock_irqsave(lock, flags) \ argument
345 #define spin_lock_irqsave(lock, flags) \ argument
[all …]
Dhwspinlock.h109 int mode, unsigned long *flags) in __hwspin_lock_timeout()
115 int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_trylock()
121 void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_unlock()
154 int hwspin_trylock_irqsave(struct hwspinlock *hwlock, unsigned long *flags) in hwspin_trylock_irqsave()
217 unsigned int to, unsigned long *flags) in hwspin_lock_timeout_irqsave()
283 unsigned long *flags) in hwspin_unlock_irqrestore()
Dspinlock_api_up.h39 #define __LOCK_IRQSAVE(lock, flags) \ argument
55 #define __UNLOCK_IRQRESTORE(lock, flags) \ argument
68 #define _raw_spin_lock_irqsave(lock, flags) __LOCK_IRQSAVE(lock, flags) argument
69 #define _raw_read_lock_irqsave(lock, flags) __LOCK_IRQSAVE(lock, flags) argument
70 #define _raw_write_lock_irqsave(lock, flags) __LOCK_IRQSAVE(lock, flags) argument
84 #define _raw_spin_unlock_irqrestore(lock, flags) \ argument
86 #define _raw_read_unlock_irqrestore(lock, flags) \ argument
88 #define _raw_write_unlock_irqrestore(lock, flags) \ argument
Drwlock_api_smp.h108 #define _raw_read_unlock_irqrestore(lock, flags) \ argument
113 #define _raw_write_unlock_irqrestore(lock, flags) \ argument
155 unsigned long flags; in __raw_read_lock_irqsave() local
182 unsigned long flags; in __raw_write_lock_irqsave() local
231 __raw_read_unlock_irqrestore(rwlock_t *lock, unsigned long flags) in __raw_read_unlock_irqrestore()
255 unsigned long flags) in __raw_write_unlock_irqrestore()
Dseqlock.h78 unsigned long flags; in seqcount_lockdep_reader_access() local
485 unsigned long flags; in __write_seqlock_irqsave() local
492 #define write_seqlock_irqsave(lock, flags) \ argument
496 write_sequnlock_irqrestore(seqlock_t *sl, unsigned long flags) in write_sequnlock_irqrestore()
568 unsigned long flags; in __read_seqlock_excl_irqsave() local
574 #define read_seqlock_excl_irqsave(lock, flags) \ argument
578 read_sequnlock_excl_irqrestore(seqlock_t *sl, unsigned long flags) in read_sequnlock_excl_irqrestore()
586 unsigned long flags = 0; in read_seqbegin_or_lock_irqsave() local
597 done_seqretry_irqrestore(seqlock_t *lock, int seq, unsigned long flags) in done_seqretry_irqrestore()
Dkasan.h98 unsigned long *flags) {} in kasan_cache_create()
110 static inline void kasan_kmalloc_large(void *ptr, size_t size, gfp_t flags) {} in kasan_kmalloc_large()
114 size_t size, gfp_t flags) {} in kasan_kmalloc()
116 gfp_t flags) {} in kasan_krealloc()
119 gfp_t flags) {} in kasan_slab_alloc()
Dpsi.h44 static inline void psi_memstall_enter(unsigned long *flags) {} in psi_memstall_enter()
45 static inline void psi_memstall_leave(unsigned long *flags) {} in psi_memstall_leave()
/include/linux/sched/
Dmm.h185 static inline gfp_t current_gfp_context(gfp_t flags) in current_gfp_context()
208 unsigned int flags = current->flags & PF_MEMALLOC_NOIO; in memalloc_noio_save() local
213 static inline void memalloc_noio_restore(unsigned int flags) in memalloc_noio_restore()
220 unsigned int flags = current->flags & PF_MEMALLOC_NOFS; in memalloc_nofs_save() local
225 static inline void memalloc_nofs_restore(unsigned int flags) in memalloc_nofs_restore()
232 unsigned int flags = current->flags & PF_MEMALLOC; in memalloc_noreclaim_save() local
237 static inline void memalloc_noreclaim_restore(unsigned int flags) in memalloc_noreclaim_restore()
/include/linux/gpio/
Dconsumer.h157 enum gpiod_flags flags) in gpiod_get()
165 enum gpiod_flags flags) in gpiod_get_index()
172 enum gpiod_flags flags) in gpiod_get_optional()
179 unsigned int index, enum gpiod_flags flags) in gpiod_get_index_optional()
186 enum gpiod_flags flags) in gpiod_get_array()
193 enum gpiod_flags flags) in gpiod_get_array_optional()
217 enum gpiod_flags flags) in devm_gpiod_get()
226 enum gpiod_flags flags) in devm_gpiod_get_index()
233 enum gpiod_flags flags) in devm_gpiod_get_optional()
240 unsigned int index, enum gpiod_flags flags) in devm_gpiod_get_index_optional()
[all …]
/include/trace/events/
Dext4.h23 #define show_mballoc_flags(flags) __print_flags(flags, "|", \ argument
39 #define show_map_flags(flags) __print_flags(flags, "|", \ argument
50 #define show_mflags(flags) __print_flags(flags, "", \ argument
56 #define show_free_flags(flags) __print_flags(flags, "|", \ argument
Dsunrpc.h402 #define rpc_show_sock_xprt_flags(flags) \ argument
443 #define show_rqstp_flags(flags) \ argument
547 #define show_svc_xprt_flags(flags) \ argument
/include/asm-generic/bitops/
Datomic.h70 unsigned long flags; in set_bit() local
91 unsigned long flags; in clear_bit() local
112 unsigned long flags; in change_bit() local
133 unsigned long flags; in test_and_set_bit() local
157 unsigned long flags; in test_and_clear_bit() local
180 unsigned long flags; in test_and_change_bit() local
/include/net/
Dgue.h48 __u16 flags; member
73 static inline size_t guehdr_flags_len(__be16 flags) in guehdr_flags_len()
78 static inline size_t guehdr_priv_flags_len(__be32 flags) in guehdr_priv_flags_len()
91 __be32 flags = guehdr->flags; in validate_gue_flags() local
Dgre.h9 __be16 flags; member
53 static inline __be16 gre_flags_to_tnl_flags(__be16 flags) in gre_flags_to_tnl_flags()
77 __be16 flags = 0; in gre_tnl_flags_to_gre_flags() local
109 __be16 flags, __be16 proto, in gre_build_header()
/include/uapi/linux/netfilter/
Dxt_set.h20 __u32 flags[IPSET_DIM_MAX + 1]; member
24 __u8 flags; member
44 __u8 flags; member
62 __u32 flags; member
72 __u32 flags; member
81 __u32 flags; member
91 __u32 flags; member
Dxt_socket.h14 __u8 flags; member
19 __u8 flags; member
24 __u8 flags; member
/include/uapi/linux/
Dpr.h19 __u32 flags; member
25 __u32 flags; member
33 __u32 flags; member
38 __u32 flags; member
Dscif_ioctl.h91 __s32 flags; member
106 __s32 flags; member
124 __s32 flags; member
157 __s32 flags; member
166 __s32 flags; member
183 __s32 flags; member
Dvfio.h138 __u32 flags; member
197 __u32 flags; member
233 __u32 flags; member
338 __u32 flags; member
388 __u32 flags; member
484 __u32 flags; member
499 __u32 flags; member
518 __u32 flags; member
533 __u32 flags; member
555 __u32 flags; member
[all …]
/include/soc/nps/
Dmtm.h39 static inline void hw_schd_save(unsigned int *flags) in hw_schd_save()
49 static inline void hw_schd_restore(unsigned int flags) in hw_schd_restore()
/include/asm-generic/
Dirqflags.h28 unsigned long flags; in arch_local_irq_save() local
37 static inline int arch_irqs_disabled_flags(unsigned long flags) in arch_irqs_disabled_flags()
Dcmpxchg-local.h18 unsigned long flags, prev; in __cmpxchg_local_generic() local
58 unsigned long flags; in __cmpxchg64_local_generic() local

12345678910>>...29