Searched refs:new_key (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/fs/btrfs/
H A Dfile.c702 struct btrfs_key new_key; __btrfs_drop_extents() local
827 memcpy(&new_key, &key, sizeof(new_key)); __btrfs_drop_extents()
828 new_key.offset = start; __btrfs_drop_extents()
830 &new_key); __btrfs_drop_extents()
857 new_key.objectid, __btrfs_drop_extents()
873 memcpy(&new_key, &key, sizeof(new_key)); __btrfs_drop_extents()
874 new_key.offset = end; __btrfs_drop_extents()
875 btrfs_set_item_key_safe(root->fs_info, path, &new_key); __btrfs_drop_extents()
1081 struct btrfs_key new_key; btrfs_mark_extent_written() local
1124 memcpy(&new_key, &key, sizeof(new_key)); btrfs_mark_extent_written()
1132 new_key.offset = end; btrfs_mark_extent_written()
1133 btrfs_set_item_key_safe(root->fs_info, path, &new_key); btrfs_mark_extent_written()
1166 new_key.offset = start; btrfs_mark_extent_written()
1167 btrfs_set_item_key_safe(root->fs_info, path, &new_key); btrfs_mark_extent_written()
1186 new_key.offset = split; btrfs_mark_extent_written()
1187 ret = btrfs_duplicate_item(trans, root, path, &new_key); btrfs_mark_extent_written()
H A Dioctl.c3202 struct btrfs_key *new_key, clone_copy_inline_extent()
3210 const u64 aligned_end = ALIGN(new_key->offset + datal, clone_copy_inline_extent()
3215 if (new_key->offset > 0) clone_copy_inline_extent()
3298 ret = btrfs_insert_empty_item(trans, root, path, new_key, size); clone_copy_inline_extent()
3410 struct btrfs_key new_key; btrfs_clone() local
3455 memcpy(&new_key, &key, sizeof(new_key)); btrfs_clone()
3456 new_key.objectid = btrfs_ino(inode); btrfs_clone()
3458 new_key.offset = key.offset + destoff - off; btrfs_clone()
3460 new_key.offset = destoff; btrfs_clone()
3469 if (new_key.offset != last_dest_end) btrfs_clone()
3472 drop_start = new_key.offset; btrfs_clone()
3504 new_key.offset + datal, btrfs_clone()
3515 &new_key, size); btrfs_clone()
3568 new_key.offset - datao, btrfs_clone()
3586 new_key.offset += skip; btrfs_clone()
3602 &new_key, btrfs_clone()
3619 if (drop_start < new_key.offset) btrfs_clone()
3622 new_key.offset - drop_start); btrfs_clone()
3629 last_dest_end = ALIGN(new_key.offset + datal, btrfs_clone()
3636 if (new_key.offset + datal >= destoff + len) btrfs_clone()
3198 clone_copy_inline_extent(struct inode *src, struct inode *dst, struct btrfs_trans_handle *trans, struct btrfs_path *path, struct btrfs_key *new_key, const u64 drop_start, const u64 datal, const u64 skip, const u64 size, char *inline_data) clone_copy_inline_extent() argument
H A Dctree.c3156 struct btrfs_key *new_key) btrfs_set_item_key_safe()
3166 BUG_ON(comp_keys(&disk_key, new_key) >= 0); btrfs_set_item_key_safe()
3170 BUG_ON(comp_keys(&disk_key, new_key) <= 0); btrfs_set_item_key_safe()
3173 btrfs_cpu_key_to_disk(&disk_key, new_key); btrfs_set_item_key_safe()
4396 struct btrfs_key *new_key, split_item()
4434 btrfs_cpu_key_to_disk(&disk_key, new_key); split_item()
4466 * giving 'new_key' to the new item and splitting the
4482 struct btrfs_key *new_key, btrfs_split_item()
4491 ret = split_item(trans, root, path, new_key, split_offset); btrfs_split_item()
4496 * This function duplicate a item, giving 'new_key' to the new item.
4506 struct btrfs_key *new_key) btrfs_duplicate_item()
4520 setup_items_for_insert(root, path, new_key, &item_size, btrfs_duplicate_item()
3154 btrfs_set_item_key_safe(struct btrfs_fs_info *fs_info, struct btrfs_path *path, struct btrfs_key *new_key) btrfs_set_item_key_safe() argument
4393 split_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_key *new_key, unsigned long split_offset) split_item() argument
4479 btrfs_split_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_key *new_key, unsigned long split_offset) btrfs_split_item() argument
4503 btrfs_duplicate_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_key *new_key) btrfs_duplicate_item() argument
H A Dctree.h3529 struct btrfs_key *new_key);
3571 struct btrfs_key *new_key,
3576 struct btrfs_key *new_key);
/linux-4.1.27/drivers/staging/speakup/
H A Dmain.c2050 u_char type = KTYP(keysym), value = KVAL(keysym), new_key = 0; speakup_key() local
2095 new_key = key_info[offset]; speakup_key()
2096 if (new_key) { speakup_key()
2098 if (new_key == SPK_KEY) { speakup_key()
2115 new_key = key_info[offset]; speakup_key()
2120 value = new_key; speakup_key()
2125 do_spkup(vc, new_key); speakup_key()
/linux-4.1.27/net/openvswitch/
H A Dflow_netlink.c1218 struct sw_flow_key *new_key; ovs_nla_get_identifier() local
1224 new_key = kmalloc(sizeof(*new_key), GFP_KERNEL); ovs_nla_get_identifier()
1225 if (!new_key) ovs_nla_get_identifier()
1227 memcpy(new_key, key, sizeof(*key)); ovs_nla_get_identifier()
1228 sfid->unmasked_key = new_key; ovs_nla_get_identifier()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
H A Dhash.c1966 * in the hash, and the @new_key will be used to reinsert the object.
1974 void *new_key, struct hlist_node *hnode) cfs_hash_rehash_key()
1985 cfs_hash_bd_get(hs, new_key, &new_bd); cfs_hash_rehash_key()
2004 cfs_hash_keycpy(hs, new_key, hnode); cfs_hash_rehash_key()
1973 cfs_hash_rehash_key(struct cfs_hash *hs, const void *old_key, void *new_key, struct hlist_node *hnode) cfs_hash_rehash_key() argument
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_hash.h721 void *new_key, struct hlist_node *hnode);

Completed in 331 milliseconds