/linux/fs/btrfs/ |
A D | reflink.c | 165 struct btrfs_key *new_key, in clone_copy_inline_extent() argument 182 if (new_key->offset > 0) { in clone_copy_inline_extent() 371 struct btrfs_key new_key; in btrfs_clone() local 448 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_clone() 449 new_key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_clone() 453 new_key.offset = destoff; in btrfs_clone() 461 if (new_key.offset != last_dest_end) in btrfs_clone() 464 drop_start = new_key.offset; in btrfs_clone() 489 clone_info.file_offset = new_key.offset; in btrfs_clone() 493 drop_start, new_key.offset + datal - 1, in btrfs_clone() [all …]
|
A D | file.c | 705 struct btrfs_key new_key; in btrfs_drop_extents() local 846 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_drop_extents() 849 &new_key); in btrfs_drop_extents() 878 new_key.objectid, in btrfs_drop_extents() 902 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_drop_extents() 903 new_key.offset = args->end; in btrfs_drop_extents() 1096 struct btrfs_key new_key; in btrfs_mark_extent_written() local 1151 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_mark_extent_written() 1159 new_key.offset = end; in btrfs_mark_extent_written() 1193 new_key.offset = start; in btrfs_mark_extent_written() [all …]
|
A D | free-space-tree.c | 855 struct btrfs_key key, new_key; in add_free_space_extent() local 879 new_key.objectid = start; in add_free_space_extent() 880 new_key.type = BTRFS_FREE_SPACE_EXTENT_KEY; in add_free_space_extent() 881 new_key.offset = size; in add_free_space_extent() 916 new_key.objectid = found_start; in add_free_space_extent() 917 new_key.offset += key.offset; in add_free_space_extent() 957 new_key.offset += key.offset; in add_free_space_extent() 964 ret = btrfs_insert_empty_item(trans, root, path, &new_key, 0); in add_free_space_extent()
|
A D | ctree.c | 2166 const struct btrfs_key *new_key) in btrfs_set_item_key_safe() argument 2182 new_key->objectid, new_key->type, in btrfs_set_item_key_safe() 2183 new_key->offset); in btrfs_set_item_key_safe() 2196 new_key->objectid, new_key->type, in btrfs_set_item_key_safe() 2197 new_key->offset); in btrfs_set_item_key_safe() 2203 btrfs_cpu_key_to_disk(&disk_key, new_key); in btrfs_set_item_key_safe() 3488 const struct btrfs_key *new_key, in split_item() argument 3524 btrfs_cpu_key_to_disk(&disk_key, new_key); in split_item() 3572 const struct btrfs_key *new_key, in btrfs_split_item() argument 3581 ret = split_item(path, new_key, split_offset); in btrfs_split_item() [all …]
|
A D | ctree.h | 2851 const struct btrfs_key *new_key); 2878 const struct btrfs_key *new_key, 2883 const struct btrfs_key *new_key);
|
/linux/include/linux/ |
A D | pr.h | 8 int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key, 14 int (*pr_preempt)(struct block_device *bdev, u64 old_key, u64 new_key,
|
/linux/include/uapi/linux/ |
A D | pr.h | 24 __u64 new_key; member 31 __u64 new_key; member
|
/linux/tools/testing/selftests/net/ |
A D | tcp_fastopen_backup_key.c | 216 static uint32_t new_key[4]; in rotate_key() local 224 for (i = 0; i < ARRAY_SIZE(new_key); i++) in rotate_key() 225 new_key[i] = rand(); in rotate_key() 228 memcpy(keys + 4, new_key, KEY_LENGTH); in rotate_key()
|
/linux/Documentation/block/ |
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/drivers/md/ |
A D | dm.c | 2861 u64 new_key; member 2904 return ops->pr_register(dev->bdev, pr->old_key, pr->new_key, pr->flags); in __dm_pr_register() 2907 static int dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_register() argument 2912 .new_key = new_key, in dm_pr_register() 2919 if (ret && new_key) { in dm_pr_register() 2921 pr.old_key = new_key; in dm_pr_register() 2922 pr.new_key = 0; in dm_pr_register() 2972 static int dm_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_preempt() argument 2985 r = ops->pr_preempt(bdev, old_key, new_key, type, abort); in dm_pr_preempt()
|
/linux/net/tipc/ |
A D | crypto.c | 1164 u8 new_key; in tipc_crypto_key_attach() local 1169 new_key = KEY_MASTER; in tipc_crypto_key_attach() 1179 new_key = key.pending; in tipc_crypto_key_attach() 1184 new_key = pos; in tipc_crypto_key_attach() 1188 new_key = pos; in tipc_crypto_key_attach() 1193 new_key = key.pending; in tipc_crypto_key_attach() 1199 tipc_aead_rcu_replace(c->aead[new_key], aead, &c->lock); in tipc_crypto_key_attach() 1206 rc = new_key; in tipc_crypto_key_attach()
|
/linux/fs/ntfs3/ |
A D | bitmap.c | 371 size_t end3, end, new_key, new_len, max_new_len; in wnd_remove_free_ext() local 382 new_key = new_len = 0; in wnd_remove_free_ext() 390 new_key = end_in; in wnd_remove_free_ext() 447 e->start.key = new_key; in wnd_remove_free_ext() 486 e->start.key = new_key; in wnd_remove_free_ext()
|
/linux/drivers/accessibility/speakup/ |
A D | main.c | 2100 u_char type = KTYP(keysym), value = KVAL(keysym), new_key = 0; in speakup_key() local 2146 new_key = key_info[offset]; in speakup_key() 2147 if (new_key) { in speakup_key() 2149 if (new_key == SPK_KEY) { in speakup_key() 2166 new_key = key_info[offset]; in speakup_key() 2171 value = new_key; in speakup_key() 2176 do_spkup(vc, new_key); in speakup_key()
|
/linux/block/ |
A D | ioctl.c | 270 return ops->pr_register(bdev, reg.old_key, reg.new_key, reg.flags); in blkdev_pr_register() 324 return ops->pr_preempt(bdev, p.old_key, p.new_key, p.type, abort); in blkdev_pr_preempt()
|
/linux/net/openvswitch/ |
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/ |
A D | sd.c | 1849 static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_register() argument 1855 old_key, new_key, 0, in sd_pr_register() 1872 static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_preempt() argument 1875 return sd_pr_command(bdev, abort ? 0x05 : 0x04, old_key, new_key, in sd_pr_preempt()
|