Home
last modified time | relevance | path

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

12345678910>>...32

/linux-2.6.39/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_ref.h9 static inline void jump_label_inc(atomic_t *key) in jump_label_inc()
15 static inline void jump_label_dec(atomic_t *key) in jump_label_dec()
23 static inline void jump_label_inc(atomic_t *key) in jump_label_inc()
28 static inline void jump_label_dec(atomic_t *key) in jump_label_dec()
34 #define JUMP_LABEL(key, label) \ argument
Djump_label.h30 #define jump_label_enable(key) \ argument
33 #define jump_label_disable(key) \ argument
38 #define JUMP_LABEL(key, label) \ argument
69 #define COND_STMT(key, stmt) \ argument
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-2.6.39/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-2.6.39/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-2.6.39/net/mac80211/
Dkey.c56 static struct ieee80211_sta *get_sta_for_key(struct ieee80211_key *key) in get_sta_for_key()
64 static int ieee80211_key_enable_hw_accel(struct ieee80211_key *key) in ieee80211_key_enable_hw_accel()
126 static void ieee80211_key_disable_hw_accel(struct ieee80211_key *key) in ieee80211_key_disable_hw_accel()
163 struct ieee80211_key *key; in ieee80211_key_removed() local
184 struct ieee80211_key *key = NULL; in __ieee80211_set_default_key() local
210 struct ieee80211_key *key = NULL; in __ieee80211_set_default_mgmt_key() local
291 struct ieee80211_key *key; in ieee80211_key_alloc() local
373 static void __ieee80211_key_destroy(struct ieee80211_key *key) in __ieee80211_key_destroy()
397 int ieee80211_key_link(struct ieee80211_key *key, in ieee80211_key_link()
461 static 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
117 struct ieee80211_key *key = file->private_data; in key_rx_spec_read() local
163 struct ieee80211_key *key = file->private_data; in key_replays_read() local
185 struct ieee80211_key *key = file->private_data; in key_icverrors_read() local
204 struct ieee80211_key *key = file->private_data; in key_key_read() local
226 void ieee80211_debugfs_key_add(struct ieee80211_key *key) in ieee80211_debugfs_key_add()
269 void ieee80211_debugfs_key_remove(struct ieee80211_key *key) in ieee80211_debugfs_key_remove()
281 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-2.6.39/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.c73 int nilfs_bmap_lookup_at_level(struct nilfs_bmap *bmap, __u64 key, int level, in nilfs_bmap_lookup_at_level()
97 int nilfs_bmap_lookup_contig(struct nilfs_bmap *bmap, __u64 key, __u64 *ptrp, in nilfs_bmap_lookup_contig()
109 static int nilfs_bmap_do_insert(struct nilfs_bmap *bmap, __u64 key, __u64 ptr) in nilfs_bmap_do_insert()
154 unsigned long key, in nilfs_bmap_insert()
166 static int nilfs_bmap_do_delete(struct nilfs_bmap *bmap, __u64 key) in nilfs_bmap_do_delete()
192 int nilfs_bmap_last_key(struct nilfs_bmap *bmap, unsigned long *key) in nilfs_bmap_last_key()
225 int nilfs_bmap_delete(struct nilfs_bmap *bmap, unsigned long key) in nilfs_bmap_delete()
236 static int nilfs_bmap_do_truncate(struct nilfs_bmap *bmap, unsigned long key) in nilfs_bmap_do_truncate()
277 int nilfs_bmap_truncate(struct nilfs_bmap *bmap, unsigned long key) in nilfs_bmap_truncate()
389 int nilfs_bmap_mark(struct nilfs_bmap *bmap, __u64 key, int level) in nilfs_bmap_mark()
[all …]
/linux-2.6.39/security/keys/
Duser_defined.c41 int user_instantiate(struct key *key, const void *data, size_t datalen) in user_instantiate()
87 int user_update(struct key *key, const void *data, size_t datalen) in user_update()
128 int user_match(const struct key *key, const void *description) in user_match()
139 void user_revoke(struct key *key) in user_revoke()
157 void user_destroy(struct key *key) in user_destroy()
169 void user_describe(const struct key *key, struct seq_file *m) in user_describe()
182 long user_read(const struct key *key, char __user *buffer, size_t buflen) in user_read()
Dkey.c51 void __key_check(const struct key *key) in __key_check()
152 static inline void key_alloc_serial(struct key *key) in key_alloc_serial()
244 struct key *key; in key_alloc() local
381 int key_payload_reserve(struct key *key, size_t datalen) in key_payload_reserve()
421 static int __key_instantiate_and_link(struct key *key, in __key_instantiate_and_link()
486 int key_instantiate_and_link(struct key *key, in key_instantiate_and_link()
534 int key_reject_and_link(struct key *key, in key_reject_and_link()
604 struct key *key; in key_cleanup() local
667 void key_put(struct key *key) in key_put()
684 struct key *key; in key_lookup() 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()
69 static long request_key_auth_read(const struct key *key, in request_key_auth_read()
96 static void request_key_auth_revoke(struct key *key) in request_key_auth_revoke()
111 static void request_key_auth_destroy(struct key *key) in request_key_auth_destroy()
226 static int key_get_instantiation_authkey_match(const struct key *key, in key_get_instantiation_authkey_match()
/linux-2.6.39/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-2.6.39/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-2.6.39/drivers/input/
Dsparse-keymap.c28 struct key_entry *key; in sparse_keymap_get_key_index() local
45 struct key_entry *key; in sparse_keymap_entry_by_index() local
67 struct key_entry *key; in sparse_keymap_entry_from_scancode() local
88 struct key_entry *key; in sparse_keymap_entry_from_keycode() local
101 struct key_entry *key; in sparse_keymap_locate() local
117 const struct key_entry *key; in sparse_keymap_getkeycode() local
139 struct key_entry *key; in sparse_keymap_setkeycode() local
/linux-2.6.39/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
362 unsigned long *key) in getpos()
387 unsigned long *key, int level) in find_level()
[all …]
/linux-2.6.39/net/rxrpc/
Dar-key.c84 static int rxrpc_instantiate_xdr_rxkad(struct key *key, const __be32 *xdr, in rxrpc_instantiate_xdr_rxkad()
423 static int rxrpc_instantiate_xdr_rxk5(struct key *key, const __be32 *xdr, in rxrpc_instantiate_xdr_rxk5()
550 static int rxrpc_instantiate_xdr(struct key *key, const void *data, size_t datalen) in rxrpc_instantiate_xdr()
683 static int rxrpc_instantiate(struct key *key, const void *data, size_t datalen) in rxrpc_instantiate()
789 static int rxrpc_instantiate_s(struct key *key, const void *data, in rxrpc_instantiate_s()
818 static void rxrpc_destroy(struct key *key) in rxrpc_destroy()
845 static void rxrpc_destroy_s(struct key *key) in rxrpc_destroy_s()
856 static void rxrpc_describe(const struct key *key, struct seq_file *m) in rxrpc_describe()
866 struct key *key; in rxrpc_request_key() local
903 struct key *key; in rxrpc_server_keyring() local
[all …]
/linux-2.6.39/fs/btrfs/
Droot-tree.c77 struct btrfs_root_item *item, struct btrfs_key *key) in btrfs_find_last_root()
134 *root, struct btrfs_key *key, struct btrfs_root_item in btrfs_update_root()
168 *root, struct btrfs_key *key, struct btrfs_root_item in btrfs_insert_root()
186 struct btrfs_key key; in btrfs_find_dead_roots() local
260 struct btrfs_key key; in btrfs_find_orphan_roots() local
328 struct btrfs_key *key) in btrfs_del_root()
361 struct btrfs_key key; in btrfs_del_root_ref() local
408 struct btrfs_key key; in btrfs_find_root_ref() local
437 struct btrfs_key key; in btrfs_add_root_ref() local
/linux-2.6.39/security/selinux/ss/
Dpolicydb.c152 char *key = NULL; in roles_init() local
184 const struct range_trans *key = k; in rangetr_hash() local
258 static int common_index(void *key, void *datum, void *datap) in common_index()
276 static int class_index(void *key, void *datum, void *datap) in class_index()
294 static int role_index(void *key, void *datum, void *datap) in role_index()
315 static int type_index(void *key, void *datum, void *datap) in type_index()
343 static int user_index(void *key, void *datum, void *datap) in user_index()
364 static int sens_index(void *key, void *datum, void *datap) in sens_index()
386 static int cat_index(void *key, void *datum, void *datap) in cat_index()
542 static int perm_destroy(void *key, void *datum, void *p) in perm_destroy()
[all …]
/linux-2.6.39/net/ceph/
Dcrypto.c25 int ceph_crypto_key_encode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_encode()
37 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_decode()
55 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor()
93 static int ceph_aes_encrypt(const void *key, int key_len, in ceph_aes_encrypt()
143 static int ceph_aes_encrypt2(const void *key, int key_len, void *dst, in ceph_aes_encrypt2()
197 static int ceph_aes_decrypt(const void *key, int key_len, in ceph_aes_decrypt()
257 static int ceph_aes_decrypt2(const void *key, int key_len, in ceph_aes_decrypt2()
427 int ceph_key_instantiate(struct key *key, const void *data, size_t datalen) in ceph_key_instantiate()
461 int ceph_key_match(const struct key *key, const void *description) in ceph_key_match()
466 void ceph_key_destroy(struct key *key) { in ceph_key_destroy()
/linux-2.6.39/drivers/gpu/drm/
Ddrm_hashtab.c58 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) in drm_ht_verbose_list()
76 unsigned long key) in drm_ht_find_key()
102 unsigned long key = item->key; in drm_ht_insert_item() local
153 int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, in drm_ht_find_item()
167 int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key) in drm_ht_remove_key()

12345678910>>...32