Home
last modified time | relevance | path

Searched refs:key (Results 1 – 18 of 18) sorted by relevance

/kernel/
Dwait.c148 unsigned int mode, void *key) in abort_exclusive_wait() argument
157 __wake_up_common(q, mode, 1, 0, key); in abort_exclusive_wait()
162 int autoremove_wake_function(wait_queue_t *wait, unsigned mode, int sync, void *key) in autoremove_wake_function() argument
164 int ret = default_wake_function(wait, mode, sync, key); in autoremove_wake_function()
174 struct wait_bit_key *key = arg; in wake_bit_function() local
178 if (wait_bit->key.flags != key->flags || in wake_bit_function()
179 wait_bit->key.bit_nr != key->bit_nr || in wake_bit_function()
180 test_bit(key->bit_nr, key->flags)) in wake_bit_function()
183 return autoremove_wake_function(wait, mode, sync, key); in wake_bit_function()
200 if (test_bit(q->key.bit_nr, q->key.flags)) in __wait_on_bit()
[all …]
Dfutex.c85 union futex_key key; member
106 union futex_key key; member
129 static struct futex_hash_bucket *hash_futex(union futex_key *key) in hash_futex() argument
131 u32 hash = jhash2((u32*)&key->both.word, in hash_futex()
132 (sizeof(key->both.word)+sizeof(key->both.ptr))/4, in hash_futex()
133 key->both.offset); in hash_futex()
152 static void get_futex_key_refs(union futex_key *key) in get_futex_key_refs() argument
154 if (!key->both.ptr) in get_futex_key_refs()
157 switch (key->both.offset & (FUT_OFF_INODE|FUT_OFF_MMSHARED)) { in get_futex_key_refs()
159 atomic_inc(&key->shared.inode->i_count); in get_futex_key_refs()
[all …]
Dlockdep.c264 #define __classhashfn(key) hash_long((unsigned long)key, CLASSHASH_BITS) argument
265 #define classhashentry(key) (classhash_table + __classhashfn((key))) argument
459 const char * __get_key_name(struct lockdep_subclass_key *key, char *str) in __get_key_name() argument
461 return kallsyms_lookup((unsigned long)key, NULL, NULL, NULL, str); in __get_key_name()
507 name = __get_key_name(class->key, str); in print_lock_name()
526 name = __get_key_name(lock->key->subkeys, str); in print_lockdep_cache()
576 print_ip_sym((unsigned long)class->key); in print_lock_class_header()
673 if (new_class->key - new_class->subclass == class->key) in count_matching_names()
690 struct lockdep_subclass_key *key; in look_up_lock_class() local
711 if (unlikely(!lock->key)) in look_up_lock_class()
[all …]
Dmutex-debug.c89 struct lock_class_key *key) in debug_mutex_init() argument
96 lockdep_init_map(&lock->dep_map, name, key, 0); in debug_mutex_init()
Dlockdep_proc.c72 name = __get_key_name(class->key, str); in print_name()
94 seq_printf(m, "%p", class->key); in l_show()
112 seq_printf(m, " -> [%p] ", entry->class->key); in l_show()
202 if (!class->key) in lc_show()
205 seq_printf(m, "[%p] ", class->key); in lc_show()
517 key_name = __get_key_name(class->key, str); in seq_stats()
Dmutex.h25 #define debug_mutex_init(lock, name, key) do { } while (0) argument
Dmutex.c44 __mutex_init(struct mutex *lock, const char *name, struct lock_class_key *key) in __mutex_init() argument
50 debug_mutex_init(lock, name, key); in __mutex_init()
Dmutex-debug.h36 struct lock_class_key *key);
Dlockdep_internals.h37 extern const char * __get_key_name(struct lockdep_subclass_key *key, char *str);
Dauditsc.c655 static enum audit_state audit_filter_task(struct task_struct *tsk, char **key) in audit_filter_task() argument
664 *key = kstrdup(e->rule.filterkey, GFP_ATOMIC); in audit_filter_task()
871 char *key = NULL; in audit_alloc() local
876 state = audit_filter_task(tsk, &key); in audit_alloc()
881 kfree(key); in audit_alloc()
885 context->filterkey = key; in audit_alloc()
Dworkqueue.c808 struct lock_class_key *key, in __create_workqueue_key() argument
826 lockdep_init_map(&wq->lockdep_map, lock_name, key, 0); in __create_workqueue_key()
Dkmod.c385 struct key *session_keyring) in call_usermodehelper_setkeys()
Dsched_fair.c303 s64 key = entity_key(cfs_rq, se); in __enqueue_entity() local
316 if (key < entity_key(cfs_rq, entry)) { in __enqueue_entity()
Dkgdb.c1572 static void sysrq_handle_gdb(int key, struct tty_struct *tty) in sysrq_handle_gdb() argument
Dcgroup.c1527 static int cgroup_map_add(struct cgroup_map_cb *cb, const char *key, u64 value) in cgroup_map_add() argument
1530 return seq_printf(sf, "%s %llu\n", key, (unsigned long long)value); in cgroup_map_add()
Dsched.c4738 void *key) in default_wake_function() argument
4754 int nr_exclusive, int sync, void *key) in __wake_up_common() argument
4761 if (curr->func(curr, mode, sync, key) && in __wake_up_common()
4775 int nr_exclusive, void *key) in __wake_up() argument
4780 __wake_up_common(q, mode, nr_exclusive, 0, key); in __wake_up()
/kernel/power/
Dpoweroff.c27 static void handle_poweroff(int key, struct tty_struct *tty) in handle_poweroff() argument
/kernel/trace/
DKconfig160 the timings of the initcalls and traces key events and the identity