Home
last modified time | relevance | path

Searched refs:old_key (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/tools/perf/util/
Dexpr.c97 char *old_key = NULL; in ids__insert() local
101 (const void **)&old_key, (void **)&old_data); in ids__insert()
104 free(old_key); in ids__insert()
115 char *old_key = NULL; in ids__union() local
131 (const void **)&old_key, (void **)&old_data); in ids__union()
132 free(old_key); in ids__union()
162 char *old_key = NULL; in expr__add_id_val_source_count() local
173 (const void **)&old_key, (void **)&old_data); in expr__add_id_val_source_count()
176 free(old_key); in expr__add_id_val_source_count()
184 char *old_key = NULL; in expr__add_ref() local
[all …]
Dhashmap.c156 const void **old_key, void **old_value) in hashmap__insert() argument
162 if (old_key) in hashmap__insert()
163 *old_key = NULL; in hashmap__insert()
170 if (old_key) in hashmap__insert()
171 *old_key = entry->key; in hashmap__insert()
221 const void **old_key, void **old_value) in hashmap__delete() argument
230 if (old_key) in hashmap__delete()
231 *old_key = entry->key; in hashmap__delete()
Dhashmap.h114 const void **old_key, void **old_value);
124 const void **old_key, void **old_value) in hashmap__set() argument
127 old_key, old_value); in hashmap__set()
132 const void **old_key, void **old_value) in hashmap__update() argument
135 old_key, old_value); in hashmap__update()
145 const void **old_key, void **old_value);
/Linux-v6.1/tools/lib/bpf/
Dhashmap.c156 const void **old_key, void **old_value) in hashmap__insert() argument
162 if (old_key) in hashmap__insert()
163 *old_key = NULL; in hashmap__insert()
170 if (old_key) in hashmap__insert()
171 *old_key = entry->key; in hashmap__insert()
221 const void **old_key, void **old_value) in hashmap__delete() argument
230 if (old_key) in hashmap__delete()
231 *old_key = entry->key; in hashmap__delete()
Dhashmap.h114 const void **old_key, void **old_value);
124 const void **old_key, void **old_value) in hashmap__set() argument
127 old_key, old_value); in hashmap__set()
132 const void **old_key, void **old_value) in hashmap__update() argument
135 old_key, old_value); in hashmap__update()
145 const void **old_key, void **old_value);
/Linux-v6.1/include/linux/
Dpr.h8 int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key,
14 int (*pr_preempt)(struct block_device *bdev, u64 old_key, u64 new_key,
/Linux-v6.1/include/uapi/linux/
Dpr.h23 __u64 old_key; member
30 __u64 old_key; member
/Linux-v6.1/Documentation/block/
Dpr.rst64 is non-null. If no existing reservation exists old_key must be zero,
65 if an existing reservation should be replaced old_key must contain
69 in old_key.
92 old_key and replaces it with a new reservation of type for the
100 any outstanding command sent over a connection identified by old_key.
/Linux-v6.1/net/mac80211/
Dkey.c844 struct ieee80211_key *old_key = NULL; in ieee80211_key_link() local
860 old_key = key_mtx_dereference(sdata->local, sta->ptk[idx]); in ieee80211_key_link()
867 (old_key && old_key->conf.cipher != key->conf.cipher)) in ieee80211_key_link()
882 old_key = key_mtx_dereference(sdata->local, link_sta->gtk[idx]); in ieee80211_key_link()
885 old_key = key_mtx_dereference(sdata->local, in ieee80211_key_link()
887 if (!old_key) in ieee80211_key_link()
888 old_key = key_mtx_dereference(sdata->local, in ieee80211_key_link()
894 if (old_key && old_key->conf.cipher != key->conf.cipher) in ieee80211_key_link()
902 if (ieee80211_key_identical(sdata, old_key, key)) { in ieee80211_key_link()
920 ret = ieee80211_key_replace(sdata, link, sta, pairwise, old_key, key); in ieee80211_key_link()
[all …]
/Linux-v6.1/drivers/md/
Ddm.c3076 u64 old_key; member
3133 ret = ops->pr_register(dev->bdev, pr->old_key, pr->new_key, pr->flags); in __dm_pr_register()
3146 static int dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_register() argument
3150 .old_key = old_key, in dm_pr_register()
3172 pr.old_key = new_key; in dm_pr_register()
3192 pr->ret = ops->pr_reserve(dev->bdev, pr->old_key, pr->type, pr->flags); in __dm_pr_reserve()
3203 .old_key = key, in dm_pr_reserve()
3235 pr->ret = ops->pr_release(dev->bdev, pr->old_key, pr->type); in __dm_pr_release()
3245 .old_key = key, in dm_pr_release()
3269 pr->ret = ops->pr_preempt(dev->bdev, pr->old_key, pr->new_key, pr->type, in __dm_pr_preempt()
[all …]
/Linux-v6.1/block/
Dioctl.c272 return ops->pr_register(bdev, reg.old_key, reg.new_key, reg.flags); in blkdev_pr_register()
326 return ops->pr_preempt(bdev, p.old_key, p.new_key, p.type, abort); in blkdev_pr_preempt()
/Linux-v6.1/net/bluetooth/
Dhci_core.c1306 struct link_key *key, *old_key; in hci_add_link_key() local
1309 old_key = hci_find_link_key(hdev, bdaddr); in hci_add_link_key()
1310 if (old_key) { in hci_add_link_key()
1311 old_key_type = old_key->type; in hci_add_link_key()
1312 key = old_key; in hci_add_link_key()
1353 struct smp_ltk *key, *old_key; in hci_add_ltk() local
1356 old_key = hci_find_ltk(hdev, bdaddr, addr_type, role); in hci_add_ltk()
1357 if (old_key) in hci_add_ltk()
1358 key = old_key; in hci_add_ltk()
/Linux-v6.1/drivers/scsi/
Dsd.c1735 static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_register() argument
1741 old_key, new_key, 0, in sd_pr_register()
1758 static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_preempt() argument
1761 return sd_pr_command(bdev, abort ? 0x05 : 0x04, old_key, new_key, in sd_pr_preempt()