Searched refs:key (Results 1 - 25 of 42) sorted by relevance

12

/kernel/
H A Djump_label.c38 if (jea->key < jeb->key)
41 if (jea->key > jeb->key)
57 static void jump_label_update(struct static_key *key, int enable);
59 void static_key_slow_inc(struct static_key *key) argument
62 if (atomic_inc_not_zero(&key->enabled))
66 if (atomic_read(&key->enabled) == 0) {
67 if (!jump_label_get_branch_default(key))
68 jump_label_update(key, JUMP_LABEL_ENABL
77 __static_key_slow_dec(struct static_key *key, unsigned long rate_limit, struct delayed_work *work) argument
100 struct static_key_deferred *key = local
105 static_key_slow_dec(struct static_key *key) argument
112 static_key_slow_dec_deferred(struct static_key_deferred *key) argument
119 jump_label_rate_limit(struct static_key_deferred *key, unsigned long rl) argument
164 __jump_label_update(struct static_key *key, struct jump_entry *entry, struct jump_entry *stop, int enable) argument
181 jump_label_type(struct static_key *key) argument
196 struct static_key *key = NULL; local
246 __jump_label_mod_update(struct static_key *key, int enable) argument
288 struct static_key *key = NULL; local
333 struct static_key *key = NULL; local
442 jump_label_update(struct static_key *key, int enable) argument
[all...]
H A Dsystem_keyring.c21 struct key *system_trusted_keyring;
57 key_ref_t key; local
79 key = key_create_or_update(make_key_ref(system_trusted_keyring, 1),
88 if (IS_ERR(key)) {
90 PTR_ERR(key));
92 set_bit(KEY_FLAG_BUILTIN, &key_ref_to_ptr(key)->flags);
94 key_ref_to_ptr(key)->description);
95 key_ref_put(key);
H A Dmodule_signing.c31 u8 algo; /* Public-key crypto algorithm [enum pkey_algo] */
35 u8 key_id_len; /* Length of key identifier */
131 * Request an asymmetric key.
133 static struct key *request_asymmetric_key(const char *signer, size_t signer_len,
136 key_ref_t key; local
161 key = keyring_search(make_key_ref(system_trusted_keyring, 1),
163 if (IS_ERR(key))
164 pr_warn("Request for unknown module key '%s' err %ld\n",
165 id, PTR_ERR(key));
168 if (IS_ERR(key)) {
191 struct key *key; local
[all...]
H A Dfutex.c203 union futex_key key; member in struct:futex_pi_state
211 * @key: the key the futex is hashed on
214 * @requeue_pi_key: the requeue_pi target futex key
233 union futex_key key; member in struct:futex_q
242 .key = FUTEX_KEY_INIT,
248 * location. Each key may have multiple futex_q structures, one for each task
261 static inline void futex_get_mm(union futex_key *key) argument
263 atomic_inc(&key->private.mm->mm_count);
309 static struct futex_hash_bucket *hash_futex(union futex_key *key) argument
333 get_futex_key_refs(union futex_key *key) argument
361 drop_futex_key_refs(union futex_key *key) argument
398 get_futex_key(u32 __user *uaddr, int fshared, union futex_key *key, int rw) argument
541 put_futex_key(union futex_key *key) argument
578 futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key) argument
715 union futex_key key = FUTEX_KEY_INIT; local
886 attach_to_pi_owner(u32 uval, union futex_key *key, struct futex_pi_state **ps) argument
954 lookup_pi_state(u32 uval, struct futex_hash_bucket *hb, union futex_key *key, struct futex_pi_state **ps) argument
1002 futex_lock_pi_atomic(u32 __user *uaddr, struct futex_hash_bucket *hb, union futex_key *key, struct futex_pi_state **ps, struct task_struct *task, int set_waiters) argument
1218 union futex_key key = FUTEX_KEY_INIT; local
1397 requeue_pi_wake_futex(struct futex_q *q, union futex_key *key, struct futex_hash_bucket *hb) argument
2387 union futex_key key = FUTEX_KEY_INIT; local
[all...]
H A Dtracepoint.c181 if (tp->regfunc && !static_key_enabled(&tp->key))
200 if (!static_key_enabled(&tp->key))
201 static_key_slow_inc(&tp->key);
227 if (tp->unregfunc && static_key_enabled(&tp->key))
230 if (static_key_enabled(&tp->key))
231 static_key_slow_dec(&tp->key);
H A Duser.c15 #include <linux/key.h>
H A Dcgroup.c475 unsigned long key = 0UL; local
480 key += (unsigned long)css[i];
481 key = (key >> 16) ^ key;
483 return key;
629 unsigned long key; local
653 key = css_set_hash(template);
654 hash_for_each_possible(css_set_table, cset, hlist, key) {
749 unsigned long key; local
3060 struct lock_class_key *key = NULL; local
3768 struct { enum cgroup_filetype type; struct pid_namespace *ns; } key; member in struct:cgroup_pidlist
4972 unsigned long key; local
[all...]
H A Dkthread.c522 struct lock_class_key *key)
525 lockdep_set_class_and_name(&worker->lock, key, name);
520 __init_kthread_worker(struct kthread_worker *worker, const char *name, struct lock_class_key *key) argument
/kernel/sched/
H A Dwait.c13 void __init_waitqueue_head(wait_queue_head_t *q, const char *name, struct lock_class_key *key) argument
16 lockdep_set_class_and_name(&q->lock, key, name);
65 int nr_exclusive, int wake_flags, void *key)
72 if (curr->func(curr, mode, wake_flags, key) &&
83 * @key: is directly passed to the wakeup function
89 int nr_exclusive, void *key)
94 __wake_up_common(q, mode, nr_exclusive, 0, key);
108 void __wake_up_locked_key(wait_queue_head_t *q, unsigned int mode, void *key) argument
110 __wake_up_common(q, mode, 1, 0, key);
119 * @key
64 __wake_up_common(wait_queue_head_t *q, unsigned int mode, int nr_exclusive, int wake_flags, void *key) argument
88 __wake_up(wait_queue_head_t *q, unsigned int mode, int nr_exclusive, void *key) argument
131 __wake_up_sync_key(wait_queue_head_t *q, unsigned int mode, int nr_exclusive, void *key) argument
275 abort_exclusive_wait(wait_queue_head_t *q, wait_queue_t *wait, unsigned int mode, void *key) argument
290 autoremove_wake_function(wait_queue_t *wait, unsigned mode, int sync, void *key) argument
302 struct wait_bit_key *key = arg; local
391 struct wait_bit_key key = __WAIT_BIT_KEY_INITIALIZER(word, bit); local
447 struct wait_bit_key *key = arg; local
[all...]
/kernel/bpf/
H A Dsyscall.c148 void __user *ukey = u64_to_ptr(attr->key);
153 void *key, *value; local
164 key = kmalloc(map->key_size, GFP_USER);
165 if (!key)
169 if (copy_from_user(key, ukey, map->key_size) != 0)
174 value = map->ops->map_lookup_elem(map, key);
187 kfree(key);
197 void __user *ukey = u64_to_ptr(attr->key);
202 void *key, *value; local
213 key
254 void *key; local
294 void *key, *next_key; local
[all...]
/kernel/debug/kdb/
H A Dkdb_io.c59 int key; local
73 key = *ped++;
78 key = (*f)();
79 if (key == -1) {
87 if (key == '\r')
88 key = '\n';
89 *buffer++ = key;
93 if (escape_delay == 0 && key == '\e') {
99 *ped++ = key;
109 if (key !
218 int key; local
[all...]
/kernel/power/
H A Dpoweroff.c27 static void handle_poweroff(int key) argument
/kernel/locking/
H A Dmutex-debug.h28 struct lock_class_key *key);
H A Dmutex.h43 #define debug_mutex_init(lock, name, key) do { } while (0)
H A Dmutex-debug.c94 struct lock_class_key *key)
101 lockdep_init_map(&lock->dep_map, name, key, 0);
93 debug_mutex_init(struct mutex *lock, const char *name, struct lock_class_key *key) argument
H A Dlockdep.c134 * Mutex key structs only get allocated, once during bootup, and never
292 #define __classhashfn(key) hash_long((unsigned long)key, CLASSHASH_BITS)
293 #define classhashentry(key) (classhash_table + __classhashfn((key)))
309 * The hash key of the lock dependency chains is a hash itself too:
473 const char * __get_key_name(struct lockdep_subclass_key *key, char *str) argument
475 return kallsyms_lookup((unsigned long)key, NULL, NULL, NULL, str);
518 name = __get_key_name(class->key, str);
547 name = __get_key_name(lock->key
654 struct lockdep_subclass_key *key; local
728 struct lockdep_subclass_key *key; local
2954 lockdep_init_map(struct lockdep_map *lock, const char *name, struct lock_class_key *key, int subclass) argument
3298 __lock_set_class(struct lockdep_map *lock, const char *name, struct lock_class_key *key, unsigned int subclass, unsigned long ip) argument
3565 lock_set_class(struct lockdep_map *lock, const char *name, struct lock_class_key *key, unsigned int subclass, unsigned long ip) argument
[all...]
H A Dspinlock_debug.c17 struct lock_class_key *key)
24 lockdep_init_map(&lock->dep_map, name, key, 0);
35 struct lock_class_key *key)
42 lockdep_init_map(&lock->dep_map, name, key, 0);
16 __raw_spin_lock_init(raw_spinlock_t *lock, const char *name, struct lock_class_key *key) argument
34 __rwlock_init(rwlock_t *lock, const char *name, struct lock_class_key *key) argument
H A Dlockdep_proc.c46 name = __get_key_name(class->key, str);
68 seq_printf(m, "%p", class->key);
86 seq_printf(m, " -> [%p] ", entry->class->key);
152 if (!class->key)
155 seq_printf(m, "[%p] ", class->key);
447 key_name = __get_key_name(class->key, str);
H A Dlockdep_internals.h78 extern const char * __get_key_name(struct lockdep_subclass_key *key, char *str);
H A Drwsem-spinlock.c40 struct lock_class_key *key)
47 lockdep_init_map(&sem->dep_map, name, key, 0);
204 * That is the key to support write lock stealing: allows the
39 __init_rwsem(struct rw_semaphore *sem, const char *name, struct lock_class_key *key) argument
H A Drwsem-xadd.c73 struct lock_class_key *key)
80 lockdep_init_map(&sem->dep_map, name, key, 0);
72 __init_rwsem(struct rw_semaphore *sem, const char *name, struct lock_class_key *key) argument
/kernel/time/
H A Dtimer.c608 const char *name, struct lock_class_key *key);
611 const char *name, struct lock_class_key *key)
614 do_init_timer(timer, flags, name, key);
656 const char *name, struct lock_class_key *key)
668 lockdep_init_map(&timer->lockdep_map, name, key, 0);
676 * @key: lockdep class key of the fake lock used for tracking timer
683 const char *name, struct lock_class_key *key)
686 do_init_timer(timer, flags, name, key);
610 init_timer_on_stack_key(struct timer_list *timer, unsigned int flags, const char *name, struct lock_class_key *key) argument
655 do_init_timer(struct timer_list *timer, unsigned int flags, const char *name, struct lock_class_key *key) argument
682 init_timer_key(struct timer_list *timer, unsigned int flags, const char *name, struct lock_class_key *key) argument
/kernel/trace/
H A Dftrace.c764 unsigned long key; local
766 key = hash_long(ip, FTRACE_PROFILE_HASH_BITS);
767 hhd = &stat->hash[key];
783 unsigned long key; local
785 key = hash_long(rec->ip, FTRACE_PROFILE_HASH_BITS);
786 hlist_add_head_rcu(&rec->node, &stat->hash[key]);
1138 unsigned long key; local
1146 key = hash_long(ip, hash->size_bits);
1148 key = 0;
1150 hhd = &hash->buckets[key];
1163 unsigned long key; local
1447 const struct dyn_ftrace *key = a; local
1461 struct dyn_ftrace key; local
3329 unsigned long key; local
3425 unsigned long key; local
[all...]
H A Dtrace_output.c617 unsigned key; local
619 key = type & (EVENT_HASHSIZE - 1);
621 hlist_for_each_entry(event, &event_hash[key], node) {
686 unsigned key; local
738 key = event->type & (EVENT_HASHSIZE - 1);
740 hlist_add_head(&event->node, &event_hash[key]);
/kernel/rcu/
H A Dsrcu.c116 struct lock_class_key *key)
120 lockdep_init_map(&sp->dep_map, name, key, 0);
115 __init_srcu_struct(struct srcu_struct *sp, const char *name, struct lock_class_key *key) argument

Completed in 192 milliseconds

12