/linux-6.6.21/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(trans, 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); 555 const struct btrfs_key *new_key, 560 const struct btrfs_key *new_key);
|
D | free-space-tree.c | 875 struct btrfs_key key, new_key; in add_free_space_extent() local 899 new_key.objectid = start; in add_free_space_extent() 900 new_key.type = BTRFS_FREE_SPACE_EXTENT_KEY; in add_free_space_extent() 901 new_key.offset = size; in add_free_space_extent() 936 new_key.objectid = found_start; in add_free_space_extent() 937 new_key.offset += key.offset; in add_free_space_extent() 977 new_key.offset += key.offset; in add_free_space_extent() 984 ret = btrfs_insert_empty_item(trans, root, path, &new_key, 0); in add_free_space_extent()
|
D | ctree.c | 2713 const struct btrfs_key *new_key) in btrfs_set_item_key_safe() argument 2724 if (unlikely(comp_keys(&disk_key, new_key) >= 0)) { in btrfs_set_item_key_safe() 2731 new_key->objectid, new_key->type, in btrfs_set_item_key_safe() 2732 new_key->offset); in btrfs_set_item_key_safe() 2738 if (unlikely(comp_keys(&disk_key, new_key) <= 0)) { in btrfs_set_item_key_safe() 2745 new_key->objectid, new_key->type, in btrfs_set_item_key_safe() 2746 new_key->offset); in btrfs_set_item_key_safe() 2751 btrfs_cpu_key_to_disk(&disk_key, new_key); in btrfs_set_item_key_safe() 4031 const struct btrfs_key *new_key, in split_item() argument 4068 btrfs_cpu_key_to_disk(&disk_key, new_key); in split_item() [all …]
|
/linux-6.6.21/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-6.6.21/include/uapi/linux/ |
D | pr.h | 41 __u64 new_key; member 48 __u64 new_key; member
|
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/block/ |
D | ioctl.c | 290 return ops->pr_register(bdev, reg.old_key, reg.new_key, reg.flags); in blkdev_pr_register() 344 return ops->pr_preempt(bdev, p.old_key, p.new_key, p.type, abort); in blkdev_pr_preempt()
|
/linux-6.6.21/net/openvswitch/ |
D | flow_netlink.c | 1911 struct sw_flow_key *new_key; in ovs_nla_get_identifier() local 1917 new_key = kmalloc(sizeof(*new_key), GFP_KERNEL); in ovs_nla_get_identifier() 1918 if (!new_key) in ovs_nla_get_identifier() 1920 memcpy(new_key, key, sizeof(*key)); in ovs_nla_get_identifier() 1921 sfid->unmasked_key = new_key; in ovs_nla_get_identifier()
|
/linux-6.6.21/drivers/scsi/ |
D | sd.c | 1923 static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_register() argument 1929 old_key, new_key, 0, in sd_pr_register() 1948 static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_preempt() argument 1951 return sd_pr_out_command(bdev, abort ? 0x05 : 0x04, old_key, new_key, in sd_pr_preempt()
|