Home
last modified time | relevance | path

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

12345678910>>...36

/include/drm/
Ddrm_panic.h117 #define drm_panic_trylock(dev, flags) \ argument
140 #define drm_panic_lock(dev, flags) \ argument
151 #define drm_panic_unlock(dev, flags) \ argument
156 static inline bool drm_panic_trylock(struct drm_device *dev, unsigned long flags) in drm_panic_trylock()
161 static inline void drm_panic_lock(struct drm_device *dev, unsigned long flags) {} in drm_panic_lock()
162 static inline void drm_panic_unlock(struct drm_device *dev, unsigned long flags) {} in drm_panic_unlock()
/include/linux/
Dirqflags.h164 #define raw_local_irq_save(flags) \ argument
169 #define raw_local_irq_restore(flags) \ argument
175 #define raw_local_save_flags(flags) \ argument
180 #define raw_irqs_disabled_flags(flags) \ argument
208 #define local_irq_save(flags) \ argument
215 #define local_irq_restore(flags) \ argument
233 #define local_irq_save(flags) do { raw_local_irq_save(flags); } while (0) argument
234 #define local_irq_restore(flags) do { raw_local_irq_restore(flags); } while (0) argument
239 #define local_save_flags(flags) raw_local_save_flags(flags) argument
257 #define irqs_disabled_flags(flags) raw_irqs_disabled_flags(flags) argument
Dspinlock.h241 #define raw_spin_lock_irqsave(lock, flags) \ argument
248 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
254 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
263 #define raw_spin_lock_irqsave(lock, flags) \ argument
269 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
279 #define raw_spin_unlock_irqrestore(lock, flags) \ argument
296 #define raw_spin_trylock_irqsave(lock, flags) \ argument
379 #define spin_lock_irqsave(lock, flags) \ argument
384 #define spin_lock_irqsave_nested(lock, flags, subclass) \ argument
404 static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags) in spin_unlock_irqrestore()
[all …]
Dspinlock_api_up.h39 #define __LOCK_IRQSAVE(lock, flags) \ argument
55 #define __UNLOCK_IRQRESTORE(lock, flags) \ argument
69 #define _raw_spin_lock_irqsave(lock, flags) __LOCK_IRQSAVE(lock, flags) argument
70 #define _raw_read_lock_irqsave(lock, flags) __LOCK_IRQSAVE(lock, flags) argument
71 #define _raw_write_lock_irqsave(lock, flags) __LOCK_IRQSAVE(lock, flags) argument
85 #define _raw_spin_unlock_irqrestore(lock, flags) \ argument
87 #define _raw_read_unlock_irqrestore(lock, flags) \ argument
89 #define _raw_write_unlock_irqrestore(lock, flags) \ argument
Drwlock.h66 #define read_lock_irqsave(lock, flags) \ argument
71 #define write_lock_irqsave(lock, flags) \ argument
79 #define read_lock_irqsave(lock, flags) \ argument
84 #define write_lock_irqsave(lock, flags) \ argument
101 #define read_unlock_irqrestore(lock, flags) \ argument
108 #define write_unlock_irqrestore(lock, flags) \ argument
115 #define write_trylock_irqsave(lock, flags) \ argument
Dclk-provider.h321 unsigned long flags; member
370 unsigned long flags; member
394 #define clk_hw_register_fixed_rate(dev, name, parent_name, flags, fixed_rate) \ argument
407 #define devm_clk_hw_register_fixed_rate(dev, name, parent_name, flags, fixed_rate) \ argument
419 #define devm_clk_hw_register_fixed_rate_parent_data(dev, name, parent_data, flags, \ argument
433 #define clk_hw_register_fixed_rate_parent_hw(dev, name, parent_hw, flags, \ argument
446 #define clk_hw_register_fixed_rate_parent_data(dev, name, parent_data, flags, \ argument
462 flags, fixed_rate, \ argument
478 parent_hw, flags, fixed_rate, fixed_accuracy) \ argument
493 parent_data, flags, fixed_rate, fixed_accuracy) \ argument
[all …]
Dspinlock_rt.h56 # define __spin_lock_irqsave_nested(lock, flags, subclass) \ argument
71 # define __spin_lock_irqsave_nested(lock, flags, subclass) \ argument
81 #define spin_lock_irqsave_nested(lock, flags, subclass) \ argument
96 #define spin_lock_irqsave(lock, flags) \ argument
120 unsigned long flags) in spin_unlock_irqrestore()
134 #define __spin_trylock_irqsave(lock, flags) \ argument
144 #define spin_trylock_irqsave(lock, flags) \ argument
Drwlock_rt.h51 #define read_lock_irqsave(lock, flags) \ argument
77 unsigned long flags) in read_unlock_irqrestore()
107 #define write_lock_irqsave(lock, flags) \ argument
116 #define write_trylock_irqsave(lock, flags) \ argument
143 unsigned long flags) in write_unlock_irqrestore()
Dkasan.h247 struct kmem_cache *s, void *object, gfp_t flags, bool init) in kasan_slab_alloc()
257 const void *object, size_t size, gfp_t flags) in kasan_kmalloc()
267 size_t size, gfp_t flags) in kasan_kmalloc_large()
277 size_t new_size, gfp_t flags) in kasan_krealloc()
436 gfp_t flags, bool init) in kasan_slab_alloc()
441 size_t size, gfp_t flags) in kasan_kmalloc()
445 static inline void *kasan_kmalloc_large(const void *ptr, size_t size, gfp_t flags) in kasan_kmalloc_large()
450 gfp_t flags) in kasan_krealloc()
507 slab_flags_t *flags) {} in kasan_cache_create()
587 unsigned long flags) { } in kasan_release_vmalloc()
[all …]
Drwlock_api_smp.h109 #define _raw_read_unlock_irqrestore(lock, flags) \ argument
114 #define _raw_write_unlock_irqrestore(lock, flags) \ argument
156 unsigned long flags; in __raw_read_lock_irqsave() local
182 unsigned long flags; in __raw_write_lock_irqsave() local
237 __raw_read_unlock_irqrestore(rwlock_t *lock, unsigned long flags) in __raw_read_unlock_irqrestore()
261 unsigned long flags) in __raw_write_unlock_irqrestore()
Dhwspinlock.h115 int mode, unsigned long *flags) in __hwspin_lock_timeout()
121 int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_trylock()
127 void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_unlock()
189 int hwspin_trylock_irqsave(struct hwspinlock *hwlock, unsigned long *flags) in hwspin_trylock_irqsave()
288 unsigned int to, unsigned long *flags) in hwspin_lock_timeout_irqsave()
399 unsigned long *flags) in hwspin_unlock_irqrestore()
Du64_stats_sync.h101 static inline void __u64_stats_irqrestore(unsigned long flags) { } in __u64_stats_irqrestore()
158 unsigned long flags; in __u64_stats_irqsave() local
164 static inline void __u64_stats_irqrestore(unsigned long flags) in __u64_stats_irqrestore()
193 unsigned long flags = __u64_stats_irqsave(); in u64_stats_update_begin_irqsave() local
200 unsigned long flags) in u64_stats_update_end_irqrestore()
Dslab.h323 slab_flags_t flags, void (*ctor)(void *)) in __kmem_cache_create()
353 unsigned int align, slab_flags_t flags, in kmem_cache_create_usercopy()
371 slab_flags_t flags) in __kmem_cache_default_args()
614 static __always_inline enum kmalloc_cache_type kmalloc_type(gfp_t flags, unsigned long caller) in kmalloc_type()
872 static __always_inline __alloc_size(1) void *kmalloc_noprof(size_t size, gfp_t flags) in kmalloc_noprof()
895 static __always_inline __alloc_size(1) void *kmalloc_node_noprof(size_t size, gfp_t flags, int node) in kmalloc_node_noprof()
918 static inline __alloc_size(1, 2) void *kmalloc_array_noprof(size_t n, size_t size, gfp_t flags) in kmalloc_array_noprof()
950 gfp_t flags) in krealloc_array_noprof()
967 #define kcalloc(n, size, flags) kmalloc_array(n, size, (flags) | __GFP_ZERO) argument
971 #define kmalloc_node_track_caller_noprof(size, flags, node, caller) \ argument
[all …]
/include/linux/gpio/
Dconsumer.h198 enum gpiod_flags flags) in gpiod_get()
206 enum gpiod_flags flags) in gpiod_get_index()
213 enum gpiod_flags flags) in gpiod_get_optional()
220 unsigned int index, enum gpiod_flags flags) in gpiod_get_index_optional()
227 enum gpiod_flags flags) in gpiod_get_array()
234 enum gpiod_flags flags) in gpiod_get_array_optional()
267 enum gpiod_flags flags) in devm_gpiod_get()
276 enum gpiod_flags flags) in devm_gpiod_get_index()
283 enum gpiod_flags flags) in devm_gpiod_get_optional()
290 unsigned int index, enum gpiod_flags flags) in devm_gpiod_get_index_optional()
[all …]
/include/trace/events/
Dext4.h24 #define show_mballoc_flags(flags) __print_flags(flags, "|", \ argument
41 #define show_map_flags(flags) __print_flags(flags, "|", \ argument
64 #define show_mflags(flags) __print_flags(flags, "", \ argument
70 #define show_free_flags(flags) __print_flags(flags, "|", \ argument
Ddlm.h15 #define show_lock_flags(flags) __print_flags(flags, "|", \ argument
45 #define show_dlm_sb_flags(flags) __print_flags(flags, "|", \ argument
50 #define show_lkb_flags(flags) __print_flags(flags, "|", \ argument
/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/net/
Dgue.h51 __be16 flags; member
76 static inline size_t guehdr_flags_len(__be16 flags) in guehdr_flags_len()
81 static inline size_t guehdr_priv_flags_len(__be32 flags) in guehdr_priv_flags_len()
92 __be16 flags = guehdr->flags; in validate_gue_flags() local
Dgre.h9 __be16 flags; member
65 static inline void gre_flags_to_tnl_flags(unsigned long *dst, __be16 flags) in gre_flags_to_tnl_flags()
82 __be16 flags = 0; in gre_tnl_flags_to_gre_flags() local
103 const unsigned long *flags, __be16 proto, in gre_build_header()
/include/linux/sched/
Dmm.h173 #define arch_get_mmap_end(addr, len, flags) (TASK_SIZE) argument
250 static inline gfp_t current_gfp_context(gfp_t flags) in current_gfp_context()
330 static inline unsigned memalloc_flags_save(unsigned flags) in memalloc_flags_save()
337 static inline void memalloc_flags_restore(unsigned flags) in memalloc_flags_restore()
367 static inline void memalloc_noio_restore(unsigned int flags) in memalloc_noio_restore()
397 static inline void memalloc_nofs_restore(unsigned int flags) in memalloc_nofs_restore()
438 static inline void memalloc_noreclaim_restore(unsigned int flags) in memalloc_noreclaim_restore()
466 static inline void memalloc_pin_restore(unsigned int flags) in memalloc_pin_restore()
/include/uapi/linux/
Ddma-buf.h75 __u64 flags; member
135 __u32 flags; member
165 __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
/include/net/netfilter/
Dnf_tables_ipv6.h11 unsigned int flags = IP6_FH_F_AUTH; in nft_set_pktinfo_ipv6() local
30 unsigned int flags = IP6_FH_F_AUTH; in __nft_set_pktinfo_ipv6_validate() local
74 unsigned int flags = IP6_FH_F_AUTH; in nft_set_pktinfo_ipv6_ingress() local
/include/linux/device/
Ddevres.h54 static inline void *devm_kmalloc_array(struct device *dev, size_t n, size_t size, gfp_t flags) in devm_kmalloc_array()
63 static inline void *devm_kcalloc(struct device *dev, size_t n, size_t size, gfp_t flags) in devm_kcalloc()
68 devm_krealloc_array(struct device *dev, void *p, size_t new_n, size_t new_size, gfp_t flags) in devm_krealloc_array()
83 size_t n, size_t size, gfp_t flags) in devm_kmemdup_array()

12345678910>>...36