/Linux-v5.10/tools/perf/util/ |
D | expr.c | 43 char *old_key = NULL; in expr__add_id() local 53 (const void **)&old_key, (void **)&old_data); in expr__add_id() 56 free(old_key); in expr__add_id() 65 char *old_key = NULL; in expr__add_id_val() local 75 (const void **)&old_key, (void **)&old_data); in expr__add_id_val() 78 free(old_key); in expr__add_id_val() 86 char *old_key = NULL; in expr__add_ref() local 121 (const void **)&old_key, (void **)&old_data); in expr__add_ref() 128 free(old_key); in expr__add_ref() 170 char *old_key = NULL; in expr__del_id() local [all …]
|
D | hashmap.c | 156 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()
|
D | hashmap.h | 114 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-v5.10/tools/lib/bpf/ |
D | hashmap.c | 156 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()
|
D | hashmap.h | 114 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-v5.10/include/linux/ |
D | pr.h | 8 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.10/include/uapi/linux/ |
D | pr.h | 23 __u64 old_key; member 30 __u64 old_key; member
|
/Linux-v5.10/Documentation/block/ |
D | pr.rst | 64 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.10/net/mac80211/ |
D | key.c | 802 struct ieee80211_key *old_key; in ieee80211_key_link() local 818 old_key = key_mtx_dereference(sdata->local, sta->ptk[idx]); in ieee80211_key_link() 825 (old_key && old_key->conf.cipher != key->conf.cipher)) in ieee80211_key_link() 828 old_key = key_mtx_dereference(sdata->local, sta->gtk[idx]); in ieee80211_key_link() 830 old_key = key_mtx_dereference(sdata->local, sdata->keys[idx]); in ieee80211_key_link() 835 if (old_key && old_key->conf.cipher != key->conf.cipher) in ieee80211_key_link() 843 if (ieee80211_key_identical(sdata, old_key, key)) { in ieee80211_key_link() 855 ret = ieee80211_key_replace(sdata, sta, pairwise, old_key, key); in ieee80211_key_link() 859 ieee80211_key_destroy(old_key, delay_tailroom); in ieee80211_key_link()
|
/Linux-v5.10/drivers/md/ |
D | dm.c | 2918 u64 old_key; member 2962 return ops->pr_register(dev->bdev, pr->old_key, pr->new_key, pr->flags); in __dm_pr_register() 2965 static int dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_register() argument 2969 .old_key = old_key, in dm_pr_register() 2979 pr.old_key = new_key; in dm_pr_register() 3030 static int dm_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_preempt() argument 3043 r = ops->pr_preempt(bdev, old_key, new_key, type, abort); in dm_pr_preempt()
|
/Linux-v5.10/block/ |
D | ioctl.c | 274 return ops->pr_register(bdev, reg.old_key, reg.new_key, reg.flags); in blkdev_pr_register() 328 return ops->pr_preempt(bdev, p.old_key, p.new_key, p.type, abort); in blkdev_pr_preempt()
|
/Linux-v5.10/net/bluetooth/ |
D | hci_core.c | 2561 struct link_key *key, *old_key; in hci_add_link_key() local 2564 old_key = hci_find_link_key(hdev, bdaddr); in hci_add_link_key() 2565 if (old_key) { in hci_add_link_key() 2566 old_key_type = old_key->type; in hci_add_link_key() 2567 key = old_key; in hci_add_link_key() 2608 struct smp_ltk *key, *old_key; in hci_add_ltk() local 2611 old_key = hci_find_ltk(hdev, bdaddr, addr_type, role); in hci_add_ltk() 2612 if (old_key) in hci_add_ltk() 2613 key = old_key; in hci_add_ltk()
|
/Linux-v5.10/drivers/scsi/ |
D | sd.c | 1838 static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_register() argument 1844 old_key, new_key, 0, in sd_pr_register() 1861 static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_preempt() argument 1864 return sd_pr_command(bdev, abort ? 0x05 : 0x04, old_key, new_key, in sd_pr_preempt()
|