/Linux-v6.6/fs/btrfs/ |
D | reflink.c | 170 struct btrfs_key *new_key, in clone_copy_inline_extent() argument 180 const u64 aligned_end = ALIGN(new_key->offset + datal, in clone_copy_inline_extent() 187 if (new_key->offset > 0) { in clone_copy_inline_extent() 188 ret = copy_inline_to_page(BTRFS_I(dst), 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() 321 ret = copy_inline_to_page(BTRFS_I(dst), 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 …]
|
D | file.c | 209 struct btrfs_key new_key; in btrfs_drop_extents() local 347 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_drop_extents() 348 new_key.offset = args->start; in btrfs_drop_extents() 350 &new_key); in btrfs_drop_extents() 379 new_key.objectid, in btrfs_drop_extents() 406 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_drop_extents() 407 new_key.offset = args->end; in btrfs_drop_extents() 408 btrfs_set_item_key_safe(fs_info, path, &new_key); in btrfs_drop_extents() 603 struct btrfs_key new_key; in btrfs_mark_extent_written() local 658 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_mark_extent_written() [all …]
|
D | ctree.h | 523 const struct btrfs_key *new_key); 553 const struct btrfs_key *new_key, 558 const struct btrfs_key *new_key);
|
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()
|
D | ctree.c | 2712 const struct btrfs_key *new_key) in btrfs_set_item_key_safe() argument 2722 if (unlikely(comp_keys(&disk_key, new_key) >= 0)) { in btrfs_set_item_key_safe() 2729 new_key->objectid, new_key->type, in btrfs_set_item_key_safe() 2730 new_key->offset); in btrfs_set_item_key_safe() 2736 if (unlikely(comp_keys(&disk_key, new_key) <= 0)) { in btrfs_set_item_key_safe() 2743 new_key->objectid, new_key->type, in btrfs_set_item_key_safe() 2744 new_key->offset); in btrfs_set_item_key_safe() 2749 btrfs_cpu_key_to_disk(&disk_key, new_key); in btrfs_set_item_key_safe() 4028 const struct btrfs_key *new_key, in split_item() argument 4065 btrfs_cpu_key_to_disk(&disk_key, new_key); in split_item() [all …]
|
/Linux-v6.6/include/linux/ |
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-v6.6/include/uapi/linux/ |
D | pr.h | 41 __u64 new_key; member 48 __u64 new_key; member
|
/Linux-v6.6/tools/testing/selftests/net/ |
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-v6.6/Documentation/block/ |
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-v6.6/drivers/md/ |
D | dm.c | 3127 u64 new_key; member 3185 ret = ops->pr_register(dev->bdev, pr->old_key, pr->new_key, pr->flags); in __dm_pr_register() 3198 static int dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_register() argument 3203 .new_key = new_key, in dm_pr_register() 3220 if (!new_key) in dm_pr_register() 3224 pr.old_key = new_key; in dm_pr_register() 3225 pr.new_key = 0; in dm_pr_register() 3321 pr->ret = ops->pr_preempt(dev->bdev, pr->old_key, pr->new_key, pr->type, in __dm_pr_preempt() 3329 static int dm_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_preempt() argument 3333 .new_key = new_key, in dm_pr_preempt()
|
/Linux-v6.6/net/tipc/ |
D | crypto.c | 1153 u8 new_key; in tipc_crypto_key_attach() local 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()
|
/Linux-v6.6/fs/ntfs3/ |
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-v6.6/drivers/accessibility/speakup/ |
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-v6.6/block/ |
D | ioctl.c | 289 return ops->pr_register(bdev, reg.old_key, reg.new_key, reg.flags); in blkdev_pr_register() 343 return ops->pr_preempt(bdev, p.old_key, p.new_key, p.type, abort); in blkdev_pr_preempt()
|
/Linux-v6.6/net/openvswitch/ |
D | flow_netlink.c | 1910 struct sw_flow_key *new_key; in ovs_nla_get_identifier() local 1916 new_key = kmalloc(sizeof(*new_key), GFP_KERNEL); in ovs_nla_get_identifier() 1917 if (!new_key) in ovs_nla_get_identifier() 1919 memcpy(new_key, key, sizeof(*key)); in ovs_nla_get_identifier() 1920 sfid->unmasked_key = new_key; in ovs_nla_get_identifier()
|
/Linux-v6.6/drivers/scsi/ |
D | sd.c | 1918 static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_register() argument 1924 old_key, new_key, 0, in sd_pr_register() 1943 static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_preempt() argument 1946 return sd_pr_out_command(bdev, abort ? 0x05 : 0x04, old_key, new_key, in sd_pr_preempt()
|