| /linux/include/linux/ |
| H A D | pr.h | 20 int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key, 26 int (*pr_preempt)(struct block_device *bdev, u64 old_key, u64 new_key,
|
| /linux/include/uapi/linux/ |
| H A D | pr.h | 41 __u64 new_key; member 48 __u64 new_key; member
|
| /linux/tools/testing/selftests/net/ |
| H A D | tcp_fastopen_backup_key.c | 214 static uint32_t new_key[4]; in rotate_key() local 222 for (i = 0; i < ARRAY_SIZE(new_key); i++) in rotate_key() 223 new_key[i] = rand(); in rotate_key() 226 memcpy(keys + 4, new_key, KEY_LENGTH); in rotate_key()
|
| /linux/Documentation/block/ |
| H A D | pr.rst | 63 This ioctl command registers a new reservation if the new_key argument 68 If the new_key argument is 0 it unregisters the existing reservation passed 93 reservation key new_key.
|
| /linux/net/ipv4/ |
| H A D | tcp_ao.c | 247 struct tcp_ao_key *new_key; in tcp_ao_copy_key() local 249 new_key = sock_kmalloc(sk, tcp_ao_sizeof_key(key), in tcp_ao_copy_key() 251 if (!new_key) in tcp_ao_copy_key() 254 *new_key = *key; in tcp_ao_copy_key() 255 INIT_HLIST_NODE(&new_key->node); in tcp_ao_copy_key() 256 tcp_sigpool_get(new_key->tcp_sigpool_id); in tcp_ao_copy_key() 257 atomic64_set(&new_key->pkt_good, 0); in tcp_ao_copy_key() 258 atomic64_set(&new_key->pkt_bad, 0); in tcp_ao_copy_key() 260 return new_key; in tcp_ao_copy_key() 1193 struct tcp_ao_key *key, *new_key, *first_key; in tcp_ao_copy_all_matching() local [all …]
|
| /linux/fs/btrfs/ |
| H A D | free-space-tree.c | 874 struct btrfs_key key, new_key; in add_free_space_extent() local 898 new_key.objectid = start; in add_free_space_extent() 899 new_key.type = BTRFS_FREE_SPACE_EXTENT_KEY; in add_free_space_extent() 900 new_key.offset = size; in add_free_space_extent() 935 new_key.objectid = found_start; in add_free_space_extent() 936 new_key.offset += key.offset; in add_free_space_extent() 976 new_key.offset += key.offset; in add_free_space_extent() 983 ret = btrfs_insert_empty_item(trans, root, path, &new_key, 0); in add_free_space_extent()
|
| /linux/drivers/nvme/host/ |
| H A D | pr.c | 119 static int nvme_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in nvme_pr_register() argument 129 data.nrkey = cpu_to_le64(new_key); in nvme_pr_register()
|
| /linux/drivers/md/ |
| H A D | dm.c | 3460 u64 new_key; member 3518 ret = ops->pr_register(dev->bdev, pr->old_key, pr->new_key, pr->flags); in __dm_pr_register() 3531 static int dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_register() argument 3536 .new_key = new_key, in dm_pr_register() 3553 if (!new_key) in dm_pr_register() 3557 pr.old_key = new_key; in dm_pr_register() 3558 pr.new_key = 0; in dm_pr_register() 3654 pr->ret = ops->pr_preempt(dev->bdev, pr->old_key, pr->new_key, pr->type, in __dm_pr_preempt() 3662 static int dm_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_preempt() argument 3666 .new_key = new_key, in dm_pr_preempt()
|
| /linux/net/tipc/ |
| H A D | crypto.c | 1162 u8 new_key; in tipc_crypto_key_attach() local 1167 new_key = KEY_MASTER; in tipc_crypto_key_attach() 1177 new_key = key.pending; in tipc_crypto_key_attach() 1182 new_key = pos; in tipc_crypto_key_attach() 1186 new_key = pos; in tipc_crypto_key_attach() 1191 new_key = key.pending; in tipc_crypto_key_attach() 1197 tipc_aead_rcu_replace(c->aead[new_key], aead, &c->lock); in tipc_crypto_key_attach() 1204 rc = new_key; in tipc_crypto_key_attach()
|
| /linux/fs/ntfs3/ |
| H A D | bitmap.c | 367 size_t end3, end, new_key, new_len, max_new_len; in wnd_remove_free_ext() local 378 new_key = new_len = 0; in wnd_remove_free_ext() 386 new_key = end_in; in wnd_remove_free_ext() 443 e->start.key = new_key; in wnd_remove_free_ext() 482 e->start.key = new_key; in wnd_remove_free_ext()
|
| /linux/drivers/accessibility/speakup/ |
| H A D | main.c | 2114 u_char type = KTYP(keysym), value = KVAL(keysym), new_key = 0; in speakup_key() local 2160 new_key = key_info[offset]; in speakup_key() 2161 if (new_key) { in speakup_key() 2163 if (new_key == SPK_KEY) { in speakup_key() 2180 new_key = key_info[offset]; in speakup_key() 2185 value = new_key; in speakup_key() 2190 do_spkup(vc, new_key); in speakup_key()
|
| /linux/net/openvswitch/ |
| H A D | flow_netlink.c | 1887 struct sw_flow_key *new_key; in ovs_nla_get_identifier() local 1893 new_key = kmalloc(sizeof(*new_key), GFP_KERNEL); in ovs_nla_get_identifier() 1894 if (!new_key) in ovs_nla_get_identifier() 1896 memcpy(new_key, key, sizeof(*key)); in ovs_nla_get_identifier() 1897 sfid->unmasked_key = new_key; in ovs_nla_get_identifier()
|
| /linux/drivers/scsi/ |
| H A D | sd.c | 2126 static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_register() argument 2132 old_key, new_key, 0, in sd_pr_register() 2151 static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_preempt() argument 2154 return sd_pr_out_command(bdev, abort ? 0x05 : 0x04, old_key, new_key, in sd_pr_preempt()
|