Home
last modified time | relevance | path

Searched refs:new_key (Results 1 – 16 of 16) sorted by relevance

/linux/include/linux/
H A Dpr.h20 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 Dpr.h41 __u64 new_key; member
48 __u64 new_key; member
/linux/tools/testing/selftests/net/
H A Dtcp_fastopen_backup_key.c214 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 Dpr.rst63 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/fs/btrfs/
H A Dfile.c146 struct btrfs_key new_key; in btrfs_drop_extents() local
292 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_drop_extents()
293 new_key.offset = args->start; in btrfs_drop_extents()
295 &new_key); in btrfs_drop_extents()
326 btrfs_init_data_ref(&ref, new_key.objectid, in btrfs_drop_extents()
353 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_drop_extents()
354 new_key.offset = args->end; in btrfs_drop_extents()
355 btrfs_set_item_key_safe(trans, path, &new_key); in btrfs_drop_extents()
558 struct btrfs_key new_key; in btrfs_mark_extent_written() local
612 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_mark_extent_written()
[all …]
H A Dfree-space-tree.c880 struct btrfs_key key, new_key; in add_free_space_extent() local
904 new_key.objectid = start; in add_free_space_extent()
905 new_key.type = BTRFS_FREE_SPACE_EXTENT_KEY; in add_free_space_extent()
906 new_key.offset = size; in add_free_space_extent()
941 new_key.objectid = found_start; in add_free_space_extent()
942 new_key.offset += key.offset; in add_free_space_extent()
982 new_key.offset += key.offset; in add_free_space_extent()
989 ret = btrfs_insert_empty_item(trans, root, path, &new_key, 0); in add_free_space_extent()
H A Drelocation.c4808 struct btrfs_key key, new_key; in add_remap_entry() local
4844 new_key.objectid = key.objectid; in add_remap_entry()
4845 new_key.type = BTRFS_IDENTITY_REMAP_KEY; in add_remap_entry()
4846 new_key.offset = old_addr - key.objectid; in add_remap_entry()
4848 btrfs_set_item_key_safe(trans, path, &new_key); in add_remap_entry()
4860 new_key.objectid = old_addr + length; in add_remap_entry()
4861 new_key.type = BTRFS_IDENTITY_REMAP_KEY; in add_remap_entry()
4862 new_key.offset = key.objectid + key.offset - old_addr - length; in add_remap_entry()
4865 path, &new_key, 0); in add_remap_entry()
/linux/net/ipv4/
H A Dtcp_ao.c249 struct tcp_ao_key *new_key; in tcp_ao_copy_key() local
251 new_key = sock_kmalloc(sk, tcp_ao_sizeof_key(key), in tcp_ao_copy_key()
253 if (!new_key) in tcp_ao_copy_key()
256 *new_key = *key; in tcp_ao_copy_key()
257 INIT_HLIST_NODE(&new_key->node); in tcp_ao_copy_key()
258 tcp_sigpool_get(new_key->tcp_sigpool_id); in tcp_ao_copy_key()
259 atomic64_set(&new_key->pkt_good, 0); in tcp_ao_copy_key()
260 atomic64_set(&new_key->pkt_bad, 0); in tcp_ao_copy_key()
262 return new_key; in tcp_ao_copy_key()
1195 struct tcp_ao_key *key, *new_key, *first_key; in tcp_ao_copy_all_matching() local
[all …]
/linux/tools/testing/selftests/net/ovpn/
H A Dtest.sh154 ip netns exec ovpn_peer0 ${OVPN_CLI} new_key tun0 \
157 ip netns exec "${peer_ns}" ${OVPN_CLI} new_key tun${p} \
H A Dtest-mark.sh45 ip netns exec ovpn_peer0 "${OVPN_CLI}" new_key tun0 \
/linux/drivers/nvme/host/
H A Dpr.c119 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/net/tipc/
H A Dcrypto.c1153 u8 new_key;
1158 new_key = KEY_MASTER; in tipc_crypto_key_attach()
1168 new_key = key.pending; in tipc_crypto_key_attach()
1173 new_key = pos; in tipc_crypto_key_attach()
1177 new_key = pos; in tipc_crypto_key_attach()
1182 new_key = key.pending; in tipc_crypto_key_attach()
1188 tipc_aead_rcu_replace(c->aead[new_key], aead, &c->lock); in tipc_crypto_key_attach()
1195 rc = new_key; in tipc_crypto_key_attach()
1162 u8 new_key; tipc_crypto_key_attach() local
/linux/fs/ntfs3/
H A Dbitmap.c367 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 Dmain.c2114 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/block/
H A Dioctl.c356 return ops->pr_register(bdev, reg.old_key, reg.new_key, reg.flags); in blkdev_pr_register()
410 return ops->pr_preempt(bdev, p.old_key, p.new_key, p.type, abort); in blkdev_pr_preempt()
/linux/net/openvswitch/
H A Dflow_netlink.c1887 struct sw_flow_key *new_key; in ovs_nla_get_identifier() local
1893 new_key = kmalloc_obj(*new_key); 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()