Home
last modified time | relevance | path

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

12345678910>>...33

/linux-3.3/include/linux/
Dkey.h100 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref()
124 struct key { struct
126 key_serial_t serial; /* key serial number */ argument
128 struct key_type *type; /* type of key */ argument
130 struct key_user *user; /* owner of this key */ argument
131 void *security; /* security data for this key */ argument
133 time_t expiry; /* time at which key expires (or 0) */ argument
138 key_perm_t perm; /* access permissions */ argument
152 #define KEY_FLAG_INSTANTIATED 0 /* set if key has been instantiated */ argument
176 /* key data argument
[all …]
Djump_label.h19 struct jump_label_key key; member
43 static __always_inline bool static_branch(struct jump_label_key *key) in static_branch()
82 struct jump_label_key key; member
85 static __always_inline bool static_branch(struct jump_label_key *key) in static_branch()
92 static inline void jump_label_inc(struct jump_label_key *key) in jump_label_inc()
97 static inline void jump_label_dec(struct jump_label_key *key) in jump_label_dec()
102 static inline void jump_label_dec_deferred(struct jump_label_key_deferred *key) in jump_label_dec_deferred()
115 static inline bool jump_label_enabled(struct jump_label_key *key) in jump_label_enabled()
125 static inline void jump_label_rate_limit(struct jump_label_key_deferred *key, in jump_label_rate_limit()
Dbtree-128.h23 u64 key[2] = {k1, k2}; in btree_lookup128() local
30 u64 key[2] = {*k1, *k2}; in btree_get_prev128() local
43 u64 key[2] = {k1, k2}; in btree_insert128() local
51 u64 key[2] = {k1, k2}; in btree_update128() local
58 u64 key[2] = {k1, k2}; in btree_remove128() local
64 u64 key[2]; in btree_last128() local
Dsysrq.h58 static inline void handle_sysrq(int key) in handle_sysrq()
62 static inline void __handle_sysrq(int key, bool check_mask) in __handle_sysrq()
66 static inline int register_sysrq_key(int key, struct sysrq_key_op *op) in register_sysrq_key()
71 static inline int unregister_sysrq_key(int key, struct sysrq_key_op *op) in unregister_sysrq_key()
/linux-3.3/fs/ubifs/
Dkey.h97 union ubifs_key *key, ino_t inum) in ino_key_init()
112 union ubifs_key *key = k; in ino_key_init_flash() local
126 union ubifs_key *key, ino_t inum) in lowest_ino_key()
139 union ubifs_key *key, ino_t inum) in highest_ino_key()
153 union ubifs_key *key, ino_t inum, in dent_key_init()
172 union ubifs_key *key, ino_t inum, in dent_key_init_hash()
190 union ubifs_key *key = k; in dent_key_init_flash() local
207 union ubifs_key *key, ino_t inum) in lowest_dent_key()
221 union ubifs_key *key, ino_t inum, in xent_key_init()
241 union ubifs_key *key = k; in xent_key_init_flash() local
[all …]
/linux-3.3/drivers/tty/
Dsysrq.c78 static void sysrq_handle_loglevel(int key) in sysrq_handle_loglevel()
95 static void sysrq_handle_SAK(int key) in sysrq_handle_SAK()
111 static void sysrq_handle_unraw(int key) in sysrq_handle_unraw()
128 static void sysrq_handle_crash(int key) in sysrq_handle_crash()
143 static void sysrq_handle_reboot(int key) in sysrq_handle_reboot()
156 static void sysrq_handle_sync(int key) in sysrq_handle_sync()
167 static void sysrq_handle_show_timers(int key) in sysrq_handle_show_timers()
178 static void sysrq_handle_mountro(int key) in sysrq_handle_mountro()
190 static void sysrq_handle_showlocks(int key) in sysrq_handle_showlocks()
228 static void sysrq_handle_showallcpus(int key) in sysrq_handle_showallcpus()
[all …]
/linux-3.3/net/mac80211/
Dkey.c57 static struct ieee80211_sta *get_sta_for_key(struct ieee80211_key *key) in get_sta_for_key()
95 static int ieee80211_key_enable_hw_accel(struct ieee80211_key *key) in ieee80211_key_enable_hw_accel()
166 static void ieee80211_key_disable_hw_accel(struct ieee80211_key *key) in ieee80211_key_disable_hw_accel()
208 struct ieee80211_key *key; in ieee80211_key_removed() local
229 struct ieee80211_key *key = NULL; in __ieee80211_set_default_key() local
255 struct ieee80211_key *key = NULL; in __ieee80211_set_default_mgmt_key() local
342 struct ieee80211_key *key; in ieee80211_key_alloc() local
425 static void __ieee80211_key_destroy(struct ieee80211_key *key) in __ieee80211_key_destroy()
451 int ieee80211_key_link(struct ieee80211_key *key, in ieee80211_key_link()
517 void __ieee80211_key_free(struct ieee80211_key *key) in __ieee80211_key_free()
[all …]
Ddebugfs_key.c69 struct ieee80211_key *key = file->private_data; in key_algorithm_read() local
84 struct ieee80211_key *key = file->private_data; in key_tx_spec_read() local
118 struct ieee80211_key *key = file->private_data; in key_rx_spec_read() local
164 struct ieee80211_key *key = file->private_data; in key_replays_read() local
186 struct ieee80211_key *key = file->private_data; in key_icverrors_read() local
205 struct ieee80211_key *key = file->private_data; in key_key_read() local
227 void ieee80211_debugfs_key_add(struct ieee80211_key *key) in ieee80211_debugfs_key_add()
267 void ieee80211_debugfs_key_remove(struct ieee80211_key *key) in ieee80211_debugfs_key_remove()
279 struct ieee80211_key *key; in ieee80211_debugfs_key_update_default() local
314 struct ieee80211_key *key; in ieee80211_debugfs_key_add_mgmt_default() local
[all …]
Ddebugfs_key.h15 static inline void ieee80211_debugfs_key_add(struct ieee80211_key *key) in ieee80211_debugfs_key_add()
17 static inline void ieee80211_debugfs_key_remove(struct ieee80211_key *key) in ieee80211_debugfs_key_remove()
28 static inline void ieee80211_debugfs_key_sta_del(struct ieee80211_key *key, in ieee80211_debugfs_key_sta_del()
/linux-3.3/fs/nilfs2/
Ddirect.c37 nilfs_direct_get_ptr(const struct nilfs_bmap *direct, __u64 key) in nilfs_direct_get_ptr()
43 __u64 key, __u64 ptr) in nilfs_direct_set_ptr()
49 __u64 key, int level, __u64 *ptrp) in nilfs_direct_lookup()
64 __u64 key, __u64 *ptrp, in nilfs_direct_lookup_contig()
105 nilfs_direct_find_target_v(const struct nilfs_bmap *direct, __u64 key) in nilfs_direct_find_target_v()
118 static int nilfs_direct_insert(struct nilfs_bmap *bmap, __u64 key, __u64 ptr) in nilfs_direct_insert()
154 static int nilfs_direct_delete(struct nilfs_bmap *bmap, __u64 key) in nilfs_direct_delete()
178 __u64 key, lastkey; in nilfs_direct_last_key() local
194 static int nilfs_direct_check_insert(const struct nilfs_bmap *bmap, __u64 key) in nilfs_direct_check_insert()
202 __u64 key; in nilfs_direct_gather_data() local
[all …]
Dbmap.c75 int nilfs_bmap_lookup_at_level(struct nilfs_bmap *bmap, __u64 key, int level, in nilfs_bmap_lookup_at_level()
99 int nilfs_bmap_lookup_contig(struct nilfs_bmap *bmap, __u64 key, __u64 *ptrp, in nilfs_bmap_lookup_contig()
111 static int nilfs_bmap_do_insert(struct nilfs_bmap *bmap, __u64 key, __u64 ptr) in nilfs_bmap_do_insert()
156 unsigned long key, in nilfs_bmap_insert()
168 static int nilfs_bmap_do_delete(struct nilfs_bmap *bmap, __u64 key) in nilfs_bmap_do_delete()
194 int nilfs_bmap_last_key(struct nilfs_bmap *bmap, unsigned long *key) in nilfs_bmap_last_key()
227 int nilfs_bmap_delete(struct nilfs_bmap *bmap, unsigned long key) in nilfs_bmap_delete()
238 static int nilfs_bmap_do_truncate(struct nilfs_bmap *bmap, unsigned long key) in nilfs_bmap_do_truncate()
279 int nilfs_bmap_truncate(struct nilfs_bmap *bmap, unsigned long key) in nilfs_bmap_truncate()
391 int nilfs_bmap_mark(struct nilfs_bmap *bmap, __u64 key, int level) in nilfs_bmap_mark()
[all …]
/linux-3.3/security/keys/
Duser_defined.c61 int user_instantiate(struct key *key, const void *data, size_t datalen) in user_instantiate()
95 int user_update(struct key *key, const void *data, size_t datalen) in user_update()
137 int user_match(const struct key *key, const void *description) in user_match()
148 void user_revoke(struct key *key) in user_revoke()
166 void user_destroy(struct key *key) in user_destroy()
178 void user_describe(const struct key *key, struct seq_file *m) in user_describe()
191 long user_read(const struct key *key, char __user *buffer, size_t buflen) in user_read()
Dkey.c43 void __key_check(const struct key *key) in __key_check()
144 static inline void key_alloc_serial(struct key *key) in key_alloc_serial()
236 struct key *key; in key_alloc() local
374 int key_payload_reserve(struct key *key, size_t datalen) in key_payload_reserve()
414 static int __key_instantiate_and_link(struct key *key, in __key_instantiate_and_link()
479 int key_instantiate_and_link(struct key *key, in key_instantiate_and_link()
527 int key_reject_and_link(struct key *key, in key_reject_and_link()
595 void key_put(struct key *key) in key_put()
612 struct key *key; in key_lookup() local
691 struct key *key = key_ref_to_ptr(key_ref); in __key_update() local
[all …]
Drequest_key_auth.c44 static int request_key_auth_instantiate(struct key *key, in request_key_auth_instantiate()
55 static void request_key_auth_describe(const struct key *key, in request_key_auth_describe()
70 static long request_key_auth_read(const struct key *key, in request_key_auth_read()
97 static void request_key_auth_revoke(struct key *key) in request_key_auth_revoke()
112 static void request_key_auth_destroy(struct key *key) in request_key_auth_destroy()
227 static int key_get_instantiation_authkey_match(const struct key *key, in key_get_instantiation_authkey_match()
/linux-3.3/kernel/
Djump_label.c32 bool jump_label_enabled(struct jump_label_key *key) in jump_label_enabled()
63 void jump_label_inc(struct jump_label_key *key) in jump_label_inc()
76 static void __jump_label_dec(struct jump_label_key *key, in __jump_label_dec()
94 struct jump_label_key_deferred *key = in jump_label_update_timeout() local
99 void jump_label_dec(struct jump_label_key *key) in jump_label_dec()
104 void jump_label_dec_deferred(struct jump_label_key_deferred *key) in jump_label_dec_deferred()
110 void jump_label_rate_limit(struct jump_label_key_deferred *key, in jump_label_rate_limit()
153 static void __jump_label_update(struct jump_label_key *key, in __jump_label_update()
174 struct jump_label_key *key = NULL; in jump_label_init() local
221 static void __jump_label_mod_update(struct jump_label_key *key, int enable) in __jump_label_mod_update()
[all …]
/linux-3.3/fs/nfs/
Ddns_resolve.c67 struct nfs_dns_ent *key; in nfs_dns_ent_update() local
80 struct nfs_dns_ent *key; in nfs_dns_ent_init() local
118 static unsigned int nfs_dns_hash(const struct nfs_dns_ent *key) in nfs_dns_hash()
127 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_request() local
136 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_upcall() local
186 struct nfs_dns_ent *key) in nfs_dns_lookup()
200 struct nfs_dns_ent *key) in nfs_dns_update()
215 struct nfs_dns_ent key, *item; in nfs_dns_parse() local
278 struct nfs_dns_ent *key, in do_cache_lookup()
294 struct nfs_dns_ent *key, in do_cache_lookup_nowait()
[all …]
/linux-3.3/fs/afs/
Dvnode.c265 struct afs_vnode *auth_vnode, struct key *key) in afs_vnode_fetch_status()
395 int afs_vnode_fetch_data(struct afs_vnode *vnode, struct key *key, in afs_vnode_fetch_data()
450 int afs_vnode_create(struct afs_vnode *vnode, struct key *key, in afs_vnode_create()
508 int afs_vnode_remove(struct afs_vnode *vnode, struct key *key, const char *name, in afs_vnode_remove()
564 struct key *key, const char *name) in afs_vnode_link()
631 int afs_vnode_symlink(struct afs_vnode *vnode, struct key *key, in afs_vnode_symlink()
692 struct key *key, in afs_vnode_rename()
824 int afs_vnode_setattr(struct afs_vnode *vnode, struct key *key, in afs_vnode_setattr()
876 int afs_vnode_get_volume_status(struct afs_vnode *vnode, struct key *key, in afs_vnode_get_volume_status()
915 int afs_vnode_set_lock(struct afs_vnode *vnode, struct key *key, in afs_vnode_set_lock()
[all …]
Dsecurity.c25 struct key *key; in afs_request_key() local
84 struct key *key) in afs_get_auth_inode()
129 void afs_cache_permit(struct afs_vnode *vnode, struct key *key, long acl_order) in afs_cache_permit()
217 static int afs_check_permit(struct afs_vnode *vnode, struct key *key, in afs_check_permit()
292 struct key *key; in afs_permission() local
/linux-3.3/drivers/input/
Dsparse-keymap.c29 struct key_entry *key; in sparse_keymap_get_key_index() local
46 struct key_entry *key; in sparse_keymap_entry_by_index() local
68 struct key_entry *key; in sparse_keymap_entry_from_scancode() local
89 struct key_entry *key; in sparse_keymap_entry_from_keycode() local
102 struct key_entry *key; in sparse_keymap_locate() local
118 const struct key_entry *key; in sparse_keymap_getkeycode() local
140 struct key_entry *key; in sparse_keymap_setkeycode() local
/linux-3.3/lib/
Dbtree.c135 static void dec_key(struct btree_geo *geo, unsigned long *key) in dec_key()
159 unsigned long *key) in setkey()
207 unsigned long *key) in btree_last()
224 unsigned long *key) in keycmp()
229 static int keyzero(struct btree_geo *geo, unsigned long *key) in keyzero()
241 unsigned long *key) in btree_lookup()
271 unsigned long *key, void *val) in btree_update()
315 unsigned long *retry_key = NULL, key[geo->keylen]; in btree_get_prev() local
363 unsigned long *key) in getpos()
388 unsigned long *key, int level) in find_level()
[all …]
/linux-3.3/net/rxrpc/
Dar-key.c84 static int rxrpc_instantiate_xdr_rxkad(struct key *key, const __be32 *xdr, in rxrpc_instantiate_xdr_rxkad()
421 static int rxrpc_instantiate_xdr_rxk5(struct key *key, const __be32 *xdr, in rxrpc_instantiate_xdr_rxk5()
548 static int rxrpc_instantiate_xdr(struct key *key, const void *data, size_t datalen) in rxrpc_instantiate_xdr()
681 static int rxrpc_instantiate(struct key *key, const void *data, size_t datalen) in rxrpc_instantiate()
787 static int rxrpc_instantiate_s(struct key *key, const void *data, in rxrpc_instantiate_s()
816 static void rxrpc_destroy(struct key *key) in rxrpc_destroy()
843 static void rxrpc_destroy_s(struct key *key) in rxrpc_destroy_s()
854 static void rxrpc_describe(const struct key *key, struct seq_file *m) in rxrpc_describe()
864 struct key *key; in rxrpc_request_key() local
901 struct key *key; in rxrpc_server_keyring() local
[all …]
/linux-3.3/fs/btrfs/
Droot-tree.c30 struct btrfs_root_item *item, struct btrfs_key *key) in btrfs_find_last_root()
86 *root, struct btrfs_key *key, struct btrfs_root_item in btrfs_update_root()
120 *root, struct btrfs_key *key, struct btrfs_root_item in btrfs_insert_root()
138 struct btrfs_key key; in btrfs_find_dead_roots() local
212 struct btrfs_key key; in btrfs_find_orphan_roots() local
280 struct btrfs_key *key) in btrfs_del_root()
313 struct btrfs_key key; in btrfs_del_root_ref() local
364 struct btrfs_key key; in btrfs_find_root_ref() local
393 struct btrfs_key key; in btrfs_add_root_ref() local
/linux-3.3/security/selinux/ss/
Dpolicydb.c157 char *key = NULL; in roles_init() local
226 const struct range_trans *key = k; in rangetr_hash() local
307 static int common_index(void *key, void *datum, void *datap) in common_index()
325 static int class_index(void *key, void *datum, void *datap) in class_index()
343 static int role_index(void *key, void *datum, void *datap) in role_index()
364 static int type_index(void *key, void *datum, void *datap) in type_index()
392 static int user_index(void *key, void *datum, void *datap) in user_index()
413 static int sens_index(void *key, void *datum, void *datap) in sens_index()
435 static int cat_index(void *key, void *datum, void *datap) in cat_index()
585 static int perm_destroy(void *key, void *datum, void *p) in perm_destroy()
[all …]
/linux-3.3/mm/
Dcleancache.c76 struct cleancache_filekey *key) in cleancache_get_key()
109 struct cleancache_filekey key = { .u.key = { 0 } }; in __cleancache_get_page() local
138 struct cleancache_filekey key = { .u.key = { 0 } }; in __cleancache_put_page() local
158 struct cleancache_filekey key = { .u.key = { 0 } }; in __cleancache_flush_page() local
178 struct cleancache_filekey key = { .u.key = { 0 } }; in __cleancache_flush_inode() local
/linux-3.3/net/ceph/
Dcrypto.c24 int ceph_crypto_key_encode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_encode()
36 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_decode()
54 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor()
92 static int ceph_aes_encrypt(const void *key, int key_len, in ceph_aes_encrypt()
142 static int ceph_aes_encrypt2(const void *key, int key_len, void *dst, in ceph_aes_encrypt2()
196 static int ceph_aes_decrypt(const void *key, int key_len, in ceph_aes_decrypt()
256 static int ceph_aes_decrypt2(const void *key, int key_len, in ceph_aes_decrypt2()
426 int ceph_key_instantiate(struct key *key, const void *data, size_t datalen) in ceph_key_instantiate()
460 int ceph_key_match(const struct key *key, const void *description) in ceph_key_match()
465 void ceph_key_destroy(struct key *key) { in ceph_key_destroy()

12345678910>>...33