Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 54) 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 …]
Dfutex.c205 union futex_key key; member
235 union futex_key key; member
334 static inline void futex_get_mm(union futex_key *key) in futex_get_mm()
386 static struct futex_hash_bucket *hash_futex(union futex_key *key) in hash_futex()
415 static void get_futex_key_refs(union futex_key *key) in get_futex_key_refs()
453 static void drop_futex_key_refs(union futex_key *key) in drop_futex_key_refs()
527 get_futex_key(u32 __user *uaddr, int fshared, union futex_key *key, enum futex_access rw) in get_futex_key()
734 static inline void put_futex_key(union futex_key *key) in put_futex_key()
772 union futex_key *key) in futex_top_waiter()
904 union futex_key key = FUTEX_KEY_INIT; in exit_pi_state_list() local
[all …]
/kernel/bpf/
Dhashtab.c57 char key[0] __aligned(8); member
119 static struct htab_elem *prealloc_lru_pop(struct bpf_htab *htab, void *key, in prealloc_lru_pop()
405 static inline u32 htab_map_hash(const void *key, u32 key_len, u32 hashrnd) in htab_map_hash()
422 void *key, u32 key_size) in lookup_elem_raw()
439 u32 hash, void *key, in lookup_nulls_elem_raw()
461 static void *__htab_map_lookup_elem(struct bpf_map *map, void *key) in __htab_map_lookup_elem()
482 static void *htab_map_lookup_elem(struct bpf_map *map, void *key) in htab_map_lookup_elem()
519 void *key, const bool mark) in __htab_lru_map_lookup_elem()
532 static void *htab_lru_map_lookup_elem(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem()
537 static void *htab_lru_map_lookup_elem_sys(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem_sys()
[all …]
Darraymap.c143 static void *array_map_lookup_elem(struct bpf_map *map, void *key) in array_map_lookup_elem()
215 static void *percpu_array_map_lookup_elem(struct bpf_map *map, void *key) in percpu_array_map_lookup_elem()
226 int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value) in bpf_percpu_array_copy()
253 static int array_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in array_map_get_next_key()
272 static int array_map_update_elem(struct bpf_map *map, void *key, void *value, in array_map_update_elem()
309 int bpf_percpu_array_update(struct bpf_map *map, void *key, void *value, in bpf_percpu_array_update()
348 static int array_map_delete_elem(struct bpf_map *map, void *key) in array_map_delete_elem()
371 static void array_map_seq_show_elem(struct bpf_map *map, void *key, in array_map_seq_show_elem()
392 static void percpu_array_map_seq_show_elem(struct bpf_map *map, void *key, in percpu_array_map_seq_show_elem()
499 static void *fd_array_map_lookup_elem(struct bpf_map *map, void *key) in fd_array_map_lookup_elem()
[all …]
Ddevmap.c273 static int dev_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in dev_map_get_next_key()
290 struct bpf_dtab_netdev *__dev_map_hash_lookup_elem(struct bpf_map *map, u32 key) in __dev_map_hash_lookup_elem()
303 static int dev_map_hash_get_next_key(struct bpf_map *map, void *key, in dev_map_hash_get_next_key()
420 struct bpf_dtab_netdev *__dev_map_lookup_elem(struct bpf_map *map, u32 key) in __dev_map_lookup_elem()
495 static void *dev_map_lookup_elem(struct bpf_map *map, void *key) in dev_map_lookup_elem()
503 static void *dev_map_hash_lookup_elem(struct bpf_map *map, void *key) in dev_map_hash_lookup_elem()
538 static int dev_map_delete_elem(struct bpf_map *map, void *key) in dev_map_delete_elem()
561 static int dev_map_hash_delete_elem(struct bpf_map *map, void *key) in dev_map_hash_delete_elem()
623 void *key, void *value, u64 map_flags) in __dev_map_update_elem()
656 static int dev_map_update_elem(struct bpf_map *map, void *key, void *value, in dev_map_update_elem()
[all …]
Dxskmap.c146 static int xsk_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in xsk_map_get_next_key()
163 struct xdp_sock *__xsk_map_lookup_elem(struct bpf_map *map, u32 key) in __xsk_map_lookup_elem()
204 static void *xsk_map_lookup_elem(struct bpf_map *map, void *key) in xsk_map_lookup_elem()
210 static void *xsk_map_lookup_elem_sys_only(struct bpf_map *map, void *key) in xsk_map_lookup_elem_sys_only()
215 static int xsk_map_update_elem(struct bpf_map *map, void *key, void *value, in xsk_map_update_elem()
280 static int xsk_map_delete_elem(struct bpf_map *map, void *key) in xsk_map_delete_elem()
Dreuseport_array.c49 static void *reuseport_array_lookup_elem(struct bpf_map *map, void *key) in reuseport_array_lookup_elem()
61 static int reuseport_array_delete_elem(struct bpf_map *map, void *key) in reuseport_array_delete_elem()
181 int bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map, void *key, in bpf_fd_reuseport_array_lookup_elem()
248 int bpf_fd_reuseport_array_update_elem(struct bpf_map *map, void *key, in bpf_fd_reuseport_array_update_elem()
334 static int reuseport_array_get_next_key(struct bpf_map *map, void *key, in reuseport_array_get_next_key()
Dlocal_storage.c49 struct bpf_cgroup_storage_map *map, struct bpf_cgroup_storage_key *key, in cgroup_storage_lookup()
117 struct bpf_cgroup_storage_key *key = _key; in cgroup_storage_lookup_elem() local
130 struct bpf_cgroup_storage_key *key = _key; in cgroup_storage_update_elem() local
174 struct bpf_cgroup_storage_key *key = _key; in bpf_percpu_cgroup_storage_copy() local
204 struct bpf_cgroup_storage_key *key = _key; in bpf_percpu_cgroup_storage_update() local
239 struct bpf_cgroup_storage_key *key = _key; in cgroup_storage_get_next_key() local
328 static int cgroup_storage_delete_elem(struct bpf_map *map, void *key) in cgroup_storage_delete_elem()
380 struct bpf_cgroup_storage_key *key = _key; in cgroup_storage_seq_show_elem() local
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
306 struct bpf_lpm_trie_key *key = _key; in trie_update_elem() local
434 struct bpf_lpm_trie_key *key = _key; in trie_delete_elem() local
634 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()
Dstackmap.c514 static void *stack_map_lookup_elem(struct bpf_map *map, void *key) in stack_map_lookup_elem()
520 int bpf_stackmap_copy(struct bpf_map *map, void *key, void *value) in bpf_stackmap_copy()
543 static int stack_map_get_next_key(struct bpf_map *map, void *key, in stack_map_get_next_key()
572 static int stack_map_update_elem(struct bpf_map *map, void *key, void *value, in stack_map_update_elem()
579 static int stack_map_delete_elem(struct bpf_map *map, void *key) in stack_map_delete_elem()
Dcpumap.c455 static int cpu_map_delete_elem(struct bpf_map *map, void *key) in cpu_map_delete_elem()
468 static int cpu_map_update_elem(struct bpf_map *map, void *key, void *value, in cpu_map_update_elem()
555 struct bpf_cpu_map_entry *__cpu_map_lookup_elem(struct bpf_map *map, u32 key) in __cpu_map_lookup_elem()
567 static void *cpu_map_lookup_elem(struct bpf_map *map, void *key) in cpu_map_lookup_elem()
575 static int cpu_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in cpu_map_get_next_key()
Doffload.c434 int bpf_map_offload_lookup_elem(struct bpf_map *map, void *key, void *value) in bpf_map_offload_lookup_elem()
448 void *key, void *value, u64 flags) in bpf_map_offload_update_elem()
465 int bpf_map_offload_delete_elem(struct bpf_map *map, void *key) in bpf_map_offload_delete_elem()
478 int bpf_map_offload_get_next_key(struct bpf_map *map, void *key, void *next_key) in bpf_map_offload_get_next_key()
Dhelpers.c26 BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2() argument
41 BPF_CALL_4(bpf_map_update_elem, struct bpf_map *, map, void *, key, in BPF_CALL_4() argument
59 BPF_CALL_2(bpf_map_delete_elem, struct bpf_map *, map, void *, key) in BPF_CALL_2() argument
Dinode.c152 void *key; member
196 void *key = map_iter(m)->key; in map_seq_next() local
231 void *key = map_iter(m)->key; in map_seq_show() 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()
67 int nr_exclusive, int wake_flags, void *key, in __wake_up_common()
111 int nr_exclusive, int wake_flags, void *key) in __wake_up_common_lock()
140 int nr_exclusive, void *key) in __wake_up()
155 void __wake_up_locked_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_locked_key()
162 unsigned int mode, void *key, wait_queue_entry_t *bookmark) in __wake_up_locked_key_bookmark()
186 int nr_exclusive, void *key) in __wake_up_sync_key()
370 int autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int sync, void *key) in autoremove_wake_function()
431 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/trace/
Dtracing_map.c502 static inline bool keys_match(void *key, void *test_key, unsigned key_size) in keys_match()
513 __tracing_map_insert(struct tracing_map *map, void *key, bool lookup_only) in __tracing_map_insert()
631 struct tracing_map_elt *tracing_map_insert(struct tracing_map *map, void *key) in tracing_map_insert()
653 struct tracing_map_elt *tracing_map_lookup(struct tracing_map *map, void *key) in tracing_map_lookup()
935 create_sort_entry(void *key, struct tracing_map_elt *elt) in create_sort_entry()
954 void *key; in detect_dups() local
Dtracing_map.h143 void *key; member
148 u32 key; member
158 void *key; member
/kernel/locking/
Dspinlock_debug.c17 struct lock_class_key *key) in __raw_spin_lock_init()
35 struct lock_class_key *key) in __rwlock_init()
Dmutex.h20 #define debug_mutex_init(lock, name, key) do { } while (0) argument
Dlockdep.c342 #define __classhashfn(key) hash_long((unsigned long)key, CLASSHASH_BITS) argument
343 #define classhashentry(key) (classhash_table + __classhashfn((key))) argument
364 static inline u64 iterate_chain_key(u64 key, u32 idx) in iterate_chain_key()
581 const char *__get_key_name(const struct lockdep_subclass_key *key, char *str) in __get_key_name()
793 struct lockdep_subclass_key *key; in look_up_lock_class() local
1105 static inline struct hlist_head *keyhashentry(const struct lock_class_key *key) in keyhashentry()
1113 void lockdep_register_key(struct lock_class_key *key) in lockdep_register_key()
1139 static bool is_dynamic_key(const struct lock_class_key *key) in is_dynamic_key()
1178 struct lockdep_subclass_key *key; in register_lock_class() local
3710 struct lock_class_key *key, int subclass) in lockdep_init_map()
[all …]
Dmutex-debug.c81 struct lock_class_key *key) in debug_mutex_init()
/kernel/power/
Dpoweroff.c26 static void handle_poweroff(int key) in handle_poweroff()
/kernel/debug/kdb/
Dkdb_io.c60 int key; in kdb_read_get_key() local
219 int key, buf_size, ret; in kdb_read() local

123