Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dreflink.c168 struct btrfs_key *new_key, in clone_copy_inline_extent() argument
178 const u64 aligned_end = ALIGN(new_key->offset + datal, in clone_copy_inline_extent()
185 if (new_key->offset > 0) { in clone_copy_inline_extent()
186 ret = copy_inline_to_page(inode, new_key->offset, in clone_copy_inline_extent()
276 ret = btrfs_insert_empty_item(trans, root, path, new_key, size); in clone_copy_inline_extent()
323 ret = copy_inline_to_page(inode, new_key->offset, in clone_copy_inline_extent()
376 struct btrfs_key new_key; in btrfs_clone() local
460 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_clone()
461 new_key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_clone()
463 new_key.offset = key.offset + destoff - off; in btrfs_clone()
[all …]
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 Drelocation.c4806 struct btrfs_key key, new_key; in add_remap_entry() local
4842 new_key.objectid = key.objectid; in add_remap_entry()
4843 new_key.type = BTRFS_IDENTITY_REMAP_KEY; in add_remap_entry()
4844 new_key.offset = old_addr - key.objectid; in add_remap_entry()
4846 btrfs_set_item_key_safe(trans, path, &new_key); in add_remap_entry()
4858 new_key.objectid = old_addr + length; in add_remap_entry()
4859 new_key.type = BTRFS_IDENTITY_REMAP_KEY; in add_remap_entry()
4860 new_key.offset = key.objectid + key.offset - old_addr - length; in add_remap_entry()
4863 path, &new_key, 0); in add_remap_entry()
/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/net/ipv4/
H A Dtcp_ao.c247 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/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.c1162 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 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.c363 return ops->pr_register(bdev, reg.old_key, reg.new_key, reg.flags); in blkdev_pr_register()
417 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()
/linux/drivers/scsi/
H A Dsd.c2133 static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_register() argument
2139 old_key, new_key, 0, in sd_pr_register()
2158 static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_preempt() argument
2161 return sd_pr_out_command(bdev, abort ? 0x05 : 0x04, old_key, new_key, in sd_pr_preempt()