Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 72) 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.c9 …_init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *key) in __init_waitqueue_head()
82 int nr_exclusive, int wake_flags, void *key, in __wake_up_common()
126 int nr_exclusive, int wake_flags, void *key) in __wake_up_common_lock()
159 int nr_exclusive, void *key) in __wake_up()
174 void __wake_up_locked_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_locked_key()
181 unsigned int mode, void *key, wait_queue_entry_t *bookmark) in __wake_up_locked_key_bookmark()
204 void *key) in __wake_up_sync_key()
233 unsigned int mode, void *key) in __wake_up_locked_sync_key()
421 int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) in autoremove_wake_function()
477 int woken_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, 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.c128 char key[] __aligned(8); member
293 static struct htab_elem *prealloc_lru_pop(struct bpf_htab *htab, void *key, in prealloc_lru_pop()
603 static inline u32 htab_map_hash(const void *key, u32 key_len, u32 hashrnd) in htab_map_hash()
620 void *key, u32 key_size) in lookup_elem_raw()
637 u32 hash, void *key, in lookup_nulls_elem_raw()
659 static void *__htab_map_lookup_elem(struct bpf_map *map, void *key) in __htab_map_lookup_elem()
680 static void *htab_map_lookup_elem(struct bpf_map *map, void *key) in htab_map_lookup_elem()
717 void *key, const bool mark) in __htab_lru_map_lookup_elem()
730 static void *htab_lru_map_lookup_elem(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem()
735 static void *htab_lru_map_lookup_elem_sys(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem_sys()
[all …]
Darraymap.c163 static void *array_map_lookup_elem(struct bpf_map *map, void *key) in array_map_lookup_elem()
238 static void *percpu_array_map_lookup_elem(struct bpf_map *map, void *key) in percpu_array_map_lookup_elem()
249 static void *percpu_array_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu) in percpu_array_map_lookup_percpu_elem()
263 int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value) in bpf_percpu_array_copy()
291 static int array_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in array_map_get_next_key()
318 static int array_map_update_elem(struct bpf_map *map, void *key, void *value, in array_map_update_elem()
357 int bpf_percpu_array_update(struct bpf_map *map, void *key, void *value, in bpf_percpu_array_update()
397 static int array_map_delete_elem(struct bpf_map *map, void *key) in array_map_delete_elem()
453 static void array_map_seq_show_elem(struct bpf_map *map, void *key, in array_map_seq_show_elem()
474 static void percpu_array_map_seq_show_elem(struct bpf_map *map, void *key, in percpu_array_map_seq_show_elem()
[all …]
Dlocal_storage.c68 void *key, bool locked) in cgroup_storage_lookup()
132 static void *cgroup_storage_lookup_elem(struct bpf_map *_map, void *key) in cgroup_storage_lookup_elem()
144 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()
351 static int cgroup_storage_delete_elem(struct bpf_map *map, void *key) in cgroup_storage_delete_elem()
414 static void cgroup_storage_seq_show_elem(struct bpf_map *map, void *key, in cgroup_storage_seq_show_elem()
Dreuseport_array.c50 static void *reuseport_array_lookup_elem(struct bpf_map *map, void *key) in reuseport_array_lookup_elem()
62 static int reuseport_array_delete_elem(struct bpf_map *map, void *key) in reuseport_array_delete_elem()
168 int bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map, void *key, in bpf_fd_reuseport_array_lookup_elem()
235 int bpf_fd_reuseport_array_update_elem(struct bpf_map *map, void *key, in bpf_fd_reuseport_array_update_elem()
319 static int reuseport_array_get_next_key(struct bpf_map *map, void *key, in reuseport_array_get_next_key()
Ddevmap.c246 static int dev_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in dev_map_get_next_key()
267 static void *__dev_map_hash_lookup_elem(struct bpf_map *map, u32 key) in __dev_map_hash_lookup_elem()
281 static int dev_map_hash_get_next_key(struct bpf_map *map, void *key, in dev_map_hash_get_next_key()
429 static void *__dev_map_lookup_elem(struct bpf_map *map, u32 key) in __dev_map_lookup_elem()
777 static void *dev_map_lookup_elem(struct bpf_map *map, void *key) in dev_map_lookup_elem()
784 static void *dev_map_hash_lookup_elem(struct bpf_map *map, void *key) in dev_map_hash_lookup_elem()
802 static int dev_map_delete_elem(struct bpf_map *map, void *key) in dev_map_delete_elem()
817 static int dev_map_hash_delete_elem(struct bpf_map *map, void *key) in dev_map_hash_delete_elem()
889 void *key, void *value, u64 map_flags) in __dev_map_update_elem()
928 static int dev_map_update_elem(struct bpf_map *map, void *key, void *value, in dev_map_update_elem()
[all …]
Dbpf_inode_storage.c105 static void *bpf_fd_inode_storage_lookup_elem(struct bpf_map *map, void *key) in bpf_fd_inode_storage_lookup_elem()
121 static int bpf_fd_inode_storage_update_elem(struct bpf_map *map, void *key, in bpf_fd_inode_storage_update_elem()
157 static int bpf_fd_inode_storage_delete_elem(struct bpf_map *map, void *key) in bpf_fd_inode_storage_delete_elem()
221 static int notsupp_get_next_key(struct bpf_map *map, void *key, in notsupp_get_next_key()
Dlpm_trie.c167 const struct bpf_lpm_trie_key *key) in longest_prefix_match()
232 struct bpf_lpm_trie_key *key = _key; in trie_lookup_elem() local
312 struct bpf_lpm_trie_key *key = _key; in trie_update_elem() local
440 struct bpf_lpm_trie_key *key = _key; in trie_delete_elem() local
622 struct bpf_lpm_trie_key *key = _key, *next_key = _next_key; in trie_get_next_key() local
Dbpf_struct_ops.c236 static int bpf_struct_ops_map_get_next_key(struct bpf_map *map, void *key, in bpf_struct_ops_map_get_next_key()
246 int bpf_struct_ops_map_sys_lookup_elem(struct bpf_map *map, void *key, in bpf_struct_ops_map_sys_lookup_elem()
275 static void *bpf_struct_ops_map_lookup_elem(struct bpf_map *map, void *key) in bpf_struct_ops_map_lookup_elem()
352 static int bpf_struct_ops_map_update_elem(struct bpf_map *map, void *key, in bpf_struct_ops_map_update_elem()
528 static int bpf_struct_ops_map_delete_elem(struct bpf_map *map, void *key) in bpf_struct_ops_map_delete_elem()
554 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.c118 static void *bpf_pid_task_storage_lookup_elem(struct bpf_map *map, void *key) in bpf_pid_task_storage_lookup_elem()
151 static int bpf_pid_task_storage_update_elem(struct bpf_map *map, void *key, in bpf_pid_task_storage_update_elem()
200 static int bpf_pid_task_storage_delete_elem(struct bpf_map *map, void *key) in bpf_pid_task_storage_delete_elem()
284 static int notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) in notsupp_get_next_key()
Dqueue_stack_maps.c239 static void *queue_stack_map_lookup_elem(struct bpf_map *map, void *key) in queue_stack_map_lookup_elem()
245 static int queue_stack_map_update_elem(struct bpf_map *map, void *key, in queue_stack_map_update_elem()
252 static int queue_stack_map_delete_elem(struct bpf_map *map, void *key) in queue_stack_map_delete_elem()
258 static int queue_stack_map_get_next_key(struct bpf_map *map, void *key, in queue_stack_map_get_next_key()
Dbloom_filter.c86 static int bloom_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in bloom_map_get_next_key()
174 static void *bloom_map_lookup_elem(struct bpf_map *map, void *key) in bloom_map_lookup_elem()
180 static int bloom_map_update_elem(struct bpf_map *map, void *key, in bloom_map_update_elem()
Dcpumap.c559 static int cpu_map_delete_elem(struct bpf_map *map, void *key) in cpu_map_delete_elem()
572 static int cpu_map_update_elem(struct bpf_map *map, void *key, void *value, in cpu_map_update_elem()
648 static void *__cpu_map_lookup_elem(struct bpf_map *map, u32 key) in __cpu_map_lookup_elem()
661 static void *cpu_map_lookup_elem(struct bpf_map *map, void *key) in cpu_map_lookup_elem()
669 static int cpu_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in cpu_map_get_next_key()
Dstackmap.c572 static void *stack_map_lookup_elem(struct bpf_map *map, void *key) in stack_map_lookup_elem()
578 int bpf_stackmap_copy(struct bpf_map *map, void *key, void *value) in bpf_stackmap_copy()
601 static int stack_map_get_next_key(struct bpf_map *map, void *key, in stack_map_get_next_key()
630 static int stack_map_update_elem(struct bpf_map *map, void *key, void *value, in stack_map_update_elem()
637 static int stack_map_delete_elem(struct bpf_map *map, void *key) in stack_map_delete_elem()
Dtrampoline.c135 static struct bpf_trampoline *bpf_trampoline_lookup(u64 key) in bpf_trampoline_lookup()
380 static struct bpf_tramp_image *bpf_tramp_image_alloc(u64 key, u32 idx) in bpf_tramp_image_alloc()
718 u64 key; in bpf_trampoline_link_cgroup_shim() local
782 u64 key; in bpf_trampoline_unlink_cgroup_shim() local
803 struct bpf_trampoline *bpf_trampoline_get(u64 key, in bpf_trampoline_get()
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/futex/
Dpi.c376 static void __attach_to_pi_owner(struct task_struct *p, union futex_key *key, in __attach_to_pi_owner()
410 static int attach_to_pi_owner(u32 __user *uaddr, u32 uval, union futex_key *key, in attach_to_pi_owner()
515 union futex_key *key, in futex_lock_pi_atomic()
1103 union futex_key key = FUTEX_KEY_INIT; in futex_unlock_pi() local
Dcore.c116 struct futex_hash_bucket *futex_hash(union futex_key *key) in futex_hash()
221 int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key, in get_futex_key()
440 struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key) in futex_top_waiter()
962 union futex_key key = FUTEX_KEY_INIT; in exit_pi_state_list() local
/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.c44 const char *name, struct lock_class_key *key) in __percpu_init_rwsem()
150 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()

123