Home
last modified time | relevance | path

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

/Linux-v5.4/tools/lib/bpf/
Dhashmap.c144 const void **old_key, void **old_value) in hashmap__insert() argument
150 if (old_key) in hashmap__insert()
151 *old_key = NULL; in hashmap__insert()
158 if (old_key) in hashmap__insert()
159 *old_key = entry->key; in hashmap__insert()
209 const void **old_key, void **old_value) in hashmap__delete() argument
218 if (old_key) in hashmap__delete()
219 *old_key = entry->key; in hashmap__delete()
Dhashmap.h97 const void **old_key, void **old_value);
107 const void **old_key, void **old_value) in hashmap__set() argument
110 old_key, old_value); in hashmap__set()
115 const void **old_key, void **old_value) in hashmap__update() argument
118 old_key, old_value); in hashmap__update()
128 const void **old_key, void **old_value);
/Linux-v5.4/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-v5.4/include/uapi/linux/
Dpr.h23 __u64 old_key; member
30 __u64 old_key; member
/Linux-v5.4/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-v5.4/net/mac80211/
Dkey.c763 struct ieee80211_key *old_key; in ieee80211_key_link() local
779 old_key = key_mtx_dereference(sdata->local, sta->ptk[idx]); in ieee80211_key_link()
786 (old_key && old_key->conf.cipher != key->conf.cipher)) in ieee80211_key_link()
789 old_key = key_mtx_dereference(sdata->local, sta->gtk[idx]); in ieee80211_key_link()
791 old_key = key_mtx_dereference(sdata->local, sdata->keys[idx]); in ieee80211_key_link()
796 if (old_key && old_key->conf.cipher != key->conf.cipher) in ieee80211_key_link()
804 if (ieee80211_key_identical(sdata, old_key, key)) { in ieee80211_key_link()
816 ret = ieee80211_key_replace(sdata, sta, pairwise, old_key, key); in ieee80211_key_link()
820 ieee80211_key_destroy(old_key, delay_tailroom); in ieee80211_key_link()
/Linux-v5.4/block/
Dioctl.c330 return ops->pr_register(bdev, reg.old_key, reg.new_key, reg.flags); in blkdev_pr_register()
384 return ops->pr_preempt(bdev, p.old_key, p.new_key, p.type, abort); in blkdev_pr_preempt()
/Linux-v5.4/drivers/md/
Ddm.c3042 u64 old_key; member
3086 return ops->pr_register(dev->bdev, pr->old_key, pr->new_key, pr->flags); in __dm_pr_register()
3089 static int dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_register() argument
3093 .old_key = old_key, in dm_pr_register()
3103 pr.old_key = new_key; in dm_pr_register()
3154 static int dm_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_preempt() argument
3167 r = ops->pr_preempt(bdev, old_key, new_key, type, abort); in dm_pr_preempt()
/Linux-v5.4/net/bluetooth/
Dhci_core.c2426 struct link_key *key, *old_key; in hci_add_link_key() local
2429 old_key = hci_find_link_key(hdev, bdaddr); in hci_add_link_key()
2430 if (old_key) { in hci_add_link_key()
2431 old_key_type = old_key->type; in hci_add_link_key()
2432 key = old_key; in hci_add_link_key()
2473 struct smp_ltk *key, *old_key; in hci_add_ltk() local
2476 old_key = hci_find_ltk(hdev, bdaddr, addr_type, role); in hci_add_ltk()
2477 if (old_key) in hci_add_ltk()
2478 key = old_key; in hci_add_ltk()
/Linux-v5.4/drivers/scsi/
Dsd.c1764 static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_register() argument
1770 old_key, new_key, 0, in sd_pr_register()
1787 static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_preempt() argument
1790 return sd_pr_command(bdev, abort ? 0x05 : 0x04, old_key, new_key, in sd_pr_preempt()