Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 66) sorted by relevance

123

/kernel/
Djump_label.c104 int static_key_count(struct static_key *key) in static_key_count()
116 void static_key_slow_inc_cpuslocked(struct static_key *key) in static_key_slow_inc_cpuslocked()
156 void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
164 void static_key_enable_cpuslocked(struct static_key *key) in static_key_enable_cpuslocked()
187 void static_key_enable(struct static_key *key) in static_key_enable()
195 void static_key_disable_cpuslocked(struct static_key *key) in static_key_disable_cpuslocked()
212 void static_key_disable(struct static_key *key) in static_key_disable()
220 static bool static_key_slow_try_dec(struct static_key *key) in static_key_slow_try_dec()
239 static void __static_key_slow_dec_cpuslocked(struct static_key *key) in __static_key_slow_dec_cpuslocked()
252 static void __static_key_slow_dec(struct static_key *key) in __static_key_slow_dec()
[all …]
Dstatic_call_inline.c102 static inline bool static_call_key_has_mods(struct static_call_key *key) in static_call_key_has_mods()
107 static inline struct static_call_mod *static_call_key_next(struct static_call_key *key) in static_call_key_next()
115 static inline struct static_call_site *static_call_key_sites(struct static_call_key *key) in static_call_key_sites()
123 void __static_call_update(struct static_call_key *key, void *tramp, void *func) in __static_call_update()
214 struct static_call_key *key, *prev_key = NULL; in __static_call_init() local
362 unsigned long key; in static_call_add_module() local
397 struct static_call_key *key, *prev_key = NULL; in static_call_del_module() local
/kernel/sched/
Dwait.c10 …_init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *key) in __init_waitqueue_head()
83 int nr_exclusive, int wake_flags, void *key, in __wake_up_common()
127 int nr_exclusive, int wake_flags, void *key) in __wake_up_common_lock()
156 int nr_exclusive, void *key) in __wake_up()
171 void __wake_up_locked_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_locked_key()
178 unsigned int mode, void *key, wait_queue_entry_t *bookmark) in __wake_up_locked_key_bookmark()
201 void *key) in __wake_up_sync_key()
230 unsigned int mode, void *key) in __wake_up_locked_sync_key()
419 int sync, void *key) in autoremove_wake_function()
481 int sync, void *key) in woken_wake_function()
Dwait_bit.c23 struct wait_bit_key *key = arg; in wake_bit_function() local
123 struct wait_bit_key key = __WAIT_BIT_KEY_INITIALIZER(word, bit); in __wake_up_bit() local
163 struct wait_bit_key *key = arg; in var_wake_function() local
/kernel/bpf/
Dhashtab.c127 char key[] __aligned(8); member
300 static struct htab_elem *prealloc_lru_pop(struct bpf_htab *htab, void *key, in prealloc_lru_pop()
575 static inline u32 htab_map_hash(const void *key, u32 key_len, u32 hashrnd) in htab_map_hash()
592 void *key, u32 key_size) in lookup_elem_raw()
609 u32 hash, void *key, in lookup_nulls_elem_raw()
631 static void *__htab_map_lookup_elem(struct bpf_map *map, void *key) in __htab_map_lookup_elem()
652 static void *htab_map_lookup_elem(struct bpf_map *map, void *key) in htab_map_lookup_elem()
689 void *key, const bool mark) in __htab_lru_map_lookup_elem()
702 static void *htab_lru_map_lookup_elem(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem()
707 static void *htab_lru_map_lookup_elem_sys(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem_sys()
[all …]
Darraymap.c159 static void *array_map_lookup_elem(struct bpf_map *map, void *key) in array_map_lookup_elem()
234 static void *percpu_array_map_lookup_elem(struct bpf_map *map, void *key) in percpu_array_map_lookup_elem()
245 int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value) in bpf_percpu_array_copy()
272 static int array_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in array_map_get_next_key()
297 static int array_map_update_elem(struct bpf_map *map, void *key, void *value, in array_map_update_elem()
335 int bpf_percpu_array_update(struct bpf_map *map, void *key, void *value, in bpf_percpu_array_update()
374 static int array_map_delete_elem(struct bpf_map *map, void *key) in array_map_delete_elem()
411 static void array_map_seq_show_elem(struct bpf_map *map, void *key, in array_map_seq_show_elem()
432 static void percpu_array_map_seq_show_elem(struct bpf_map *map, void *key, in percpu_array_map_seq_show_elem()
657 u32 i, key, num_elems = 0; in bpf_for_each_array_elem() local
[all …]
Dlocal_storage.c67 void *key, bool locked) in cgroup_storage_lookup()
131 static void *cgroup_storage_lookup_elem(struct bpf_map *_map, void *key) in cgroup_storage_lookup_elem()
143 static int cgroup_storage_update_elem(struct bpf_map *map, void *key, in cgroup_storage_update_elem()
182 int bpf_percpu_cgroup_storage_copy(struct bpf_map *_map, void *key, in bpf_percpu_cgroup_storage_copy()
211 int bpf_percpu_cgroup_storage_update(struct bpf_map *_map, void *key, in bpf_percpu_cgroup_storage_update()
245 static int cgroup_storage_get_next_key(struct bpf_map *_map, void *key, in cgroup_storage_get_next_key()
352 static int cgroup_storage_delete_elem(struct bpf_map *map, void *key) in cgroup_storage_delete_elem()
415 static void cgroup_storage_seq_show_elem(struct bpf_map *map, void *key, in cgroup_storage_seq_show_elem()
Dreuseport_array.c52 static void *reuseport_array_lookup_elem(struct bpf_map *map, void *key) in reuseport_array_lookup_elem()
64 static int reuseport_array_delete_elem(struct bpf_map *map, void *key) in reuseport_array_delete_elem()
174 int bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map, void *key, in bpf_fd_reuseport_array_lookup_elem()
241 int bpf_fd_reuseport_array_update_elem(struct bpf_map *map, void *key, in bpf_fd_reuseport_array_update_elem()
325 static int reuseport_array_get_next_key(struct bpf_map *map, void *key, in reuseport_array_get_next_key()
Ddevmap.c245 static int dev_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in dev_map_get_next_key()
266 static void *__dev_map_hash_lookup_elem(struct bpf_map *map, u32 key) in __dev_map_hash_lookup_elem()
280 static int dev_map_hash_get_next_key(struct bpf_map *map, void *key, in dev_map_hash_get_next_key()
428 static void *__dev_map_lookup_elem(struct bpf_map *map, u32 key) in __dev_map_lookup_elem()
786 static void *dev_map_lookup_elem(struct bpf_map *map, void *key) in dev_map_lookup_elem()
793 static void *dev_map_hash_lookup_elem(struct bpf_map *map, void *key) in dev_map_hash_lookup_elem()
811 static int dev_map_delete_elem(struct bpf_map *map, void *key) in dev_map_delete_elem()
826 static int dev_map_hash_delete_elem(struct bpf_map *map, void *key) in dev_map_hash_delete_elem()
897 void *key, void *value, u64 map_flags) in __dev_map_update_elem()
936 static int dev_map_update_elem(struct bpf_map *map, void *key, void *value, in dev_map_update_elem()
[all …]
Dbpf_inode_storage.c103 static void *bpf_fd_inode_storage_lookup_elem(struct bpf_map *map, void *key) in bpf_fd_inode_storage_lookup_elem()
119 static int bpf_fd_inode_storage_update_elem(struct bpf_map *map, void *key, in bpf_fd_inode_storage_update_elem()
155 static int bpf_fd_inode_storage_delete_elem(struct bpf_map *map, void *key) in bpf_fd_inode_storage_delete_elem()
216 static int notsupp_get_next_key(struct bpf_map *map, void *key, in notsupp_get_next_key()
Dbpf_struct_ops.c232 static int bpf_struct_ops_map_get_next_key(struct bpf_map *map, void *key, in bpf_struct_ops_map_get_next_key()
242 int bpf_struct_ops_map_sys_lookup_elem(struct bpf_map *map, void *key, in bpf_struct_ops_map_sys_lookup_elem()
271 static void *bpf_struct_ops_map_lookup_elem(struct bpf_map *map, void *key) in bpf_struct_ops_map_lookup_elem()
315 static int bpf_struct_ops_map_update_elem(struct bpf_map *map, void *key, in bpf_struct_ops_map_update_elem()
486 static int bpf_struct_ops_map_delete_elem(struct bpf_map *map, void *key) in bpf_struct_ops_map_delete_elem()
512 static void bpf_struct_ops_map_seq_show_elem(struct bpf_map *map, void *key, in bpf_struct_ops_map_seq_show_elem()
Dbpf_task_storage.c116 static void *bpf_pid_task_storage_lookup_elem(struct bpf_map *map, void *key) in bpf_pid_task_storage_lookup_elem()
149 static int bpf_pid_task_storage_update_elem(struct bpf_map *map, void *key, in bpf_pid_task_storage_update_elem()
197 static int bpf_pid_task_storage_delete_elem(struct bpf_map *map, void *key) in bpf_pid_task_storage_delete_elem()
278 static int notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) in notsupp_get_next_key()
Dlpm_trie.c166 const struct bpf_lpm_trie_key *key) in longest_prefix_match()
231 struct bpf_lpm_trie_key *key = _key; in trie_lookup_elem() local
311 struct bpf_lpm_trie_key *key = _key; in trie_update_elem() local
439 struct bpf_lpm_trie_key *key = _key; in trie_delete_elem() local
621 struct bpf_lpm_trie_key *key = _key, *next_key = _next_key; in trie_get_next_key() local
Dqueue_stack_maps.c240 static void *queue_stack_map_lookup_elem(struct bpf_map *map, void *key) in queue_stack_map_lookup_elem()
246 static int queue_stack_map_update_elem(struct bpf_map *map, void *key, in queue_stack_map_update_elem()
253 static int queue_stack_map_delete_elem(struct bpf_map *map, void *key) in queue_stack_map_delete_elem()
259 static int queue_stack_map_get_next_key(struct bpf_map *map, void *key, in queue_stack_map_get_next_key()
Dcpumap.c556 static int cpu_map_delete_elem(struct bpf_map *map, void *key) in cpu_map_delete_elem()
569 static int cpu_map_update_elem(struct bpf_map *map, void *key, void *value, in cpu_map_update_elem()
645 static void *__cpu_map_lookup_elem(struct bpf_map *map, u32 key) in __cpu_map_lookup_elem()
658 static void *cpu_map_lookup_elem(struct bpf_map *map, void *key) in cpu_map_lookup_elem()
666 static int cpu_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in cpu_map_get_next_key()
Dstackmap.c616 static void *stack_map_lookup_elem(struct bpf_map *map, void *key) in stack_map_lookup_elem()
622 int bpf_stackmap_copy(struct bpf_map *map, void *key, void *value) in bpf_stackmap_copy()
645 static int stack_map_get_next_key(struct bpf_map *map, void *key, in stack_map_get_next_key()
674 static int stack_map_update_elem(struct bpf_map *map, void *key, void *value, in stack_map_update_elem()
681 static int stack_map_delete_elem(struct bpf_map *map, void *key) in stack_map_delete_elem()
Dringbuf.c204 static void *ringbuf_map_lookup_elem(struct bpf_map *map, void *key) in ringbuf_map_lookup_elem()
209 static int ringbuf_map_update_elem(struct bpf_map *map, void *key, void *value, in ringbuf_map_update_elem()
215 static int ringbuf_map_delete_elem(struct bpf_map *map, void *key) in ringbuf_map_delete_elem()
220 static int ringbuf_map_get_next_key(struct bpf_map *map, void *key, in ringbuf_map_get_next_key()
Doffload.c431 int bpf_map_offload_lookup_elem(struct bpf_map *map, void *key, void *value) in bpf_map_offload_lookup_elem()
445 void *key, void *value, u64 flags) in bpf_map_offload_update_elem()
462 int bpf_map_offload_delete_elem(struct bpf_map *map, void *key) in bpf_map_offload_delete_elem()
475 int bpf_map_offload_get_next_key(struct bpf_map *map, void *key, void *next_key) in bpf_map_offload_get_next_key()
/kernel/trace/
Dtracing_map.c505 static inline bool keys_match(void *key, void *test_key, unsigned key_size) in keys_match()
516 __tracing_map_insert(struct tracing_map *map, void *key, bool lookup_only) in __tracing_map_insert()
639 struct tracing_map_elt *tracing_map_insert(struct tracing_map *map, void *key) in tracing_map_insert()
661 struct tracing_map_elt *tracing_map_lookup(struct tracing_map *map, void *key) in tracing_map_lookup()
952 create_sort_entry(void *key, struct tracing_map_elt *elt) in create_sort_entry()
971 void *key; in detect_dups() local
Dtracing_map.h143 void *key; member
148 u32 key; member
158 void *key; member
/kernel/locking/
Dpercpu-rwsem.c30 const char *name, struct lock_class_key *key) in __percpu_init_rwsem()
136 void *key) in percpu_rwsem_wake_function()
Dspinlock_debug.c17 struct lock_class_key *key, short inner) in __raw_spin_lock_init()
36 struct lock_class_key *key) in __rwlock_init()
Dspinlock_rt.c123 struct lock_class_key *key, bool percpu) in __rt_spin_lock_init()
257 struct lock_class_key *key) in __rt_rwlock_init()
/kernel/futex/
Dcore.c188 union futex_key key; member
220 union futex_key key; member
418 static struct futex_hash_bucket *hash_futex(union futex_key *key) in hash_futex()
543 static int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key, in get_futex_key()
763 union futex_key *key) in futex_top_waiter()
913 union futex_key key = FUTEX_KEY_INIT; in exit_pi_state_list() local
1277 static void __attach_to_pi_owner(struct task_struct *p, union futex_key *key, in __attach_to_pi_owner()
1311 static int attach_to_pi_owner(u32 __user *uaddr, u32 uval, union futex_key *key, in attach_to_pi_owner()
1416 union futex_key *key, in futex_lock_pi_atomic()
1666 union futex_key key = FUTEX_KEY_INIT; in futex_wake() local
[all …]
/kernel/power/
Dpoweroff.c26 static void handle_poweroff(int key) in handle_poweroff()

123