Home
last modified time | relevance | path

Searched refs:dst_path (Results 1 – 4 of 4) sorted by relevance

/linux/fs/bcachefs/
H A Dfs-ioctl.c213 struct path src_path, dst_path; in bch2_ioctl_subvolume_create() local
260 &dst_path, lookup_flags); in bch2_ioctl_subvolume_create()
275 dir = dst_path.dentry->d_inode; in bch2_ioctl_subvolume_create()
296 error = security_path_mkdir(&dst_path, dst_dentry, arg.mode); in bch2_ioctl_subvolume_create()
317 done_path_create(&dst_path, dst_dentry); in bch2_ioctl_subvolume_create()
/linux/fs/btrfs/
H A Dqgroup.c2262 * @dst_path = [ nodes[1] = NN(a), nodes[0] = NN(c) ]
2273 * The key for search can be extracted from @dst_path->nodes[dst_level]
2276 * 2) Mark the final tree blocks in @src_path and @dst_path qgroup dirty
2290 struct btrfs_path *dst_path, in qgroup_trace_extent_swap() argument
2313 btrfs_node_key_to_cpu(dst_path->nodes[dst_level], &key, 0); in qgroup_trace_extent_swap()
2315 btrfs_item_key_to_cpu(dst_path->nodes[dst_level], &key, 0); in qgroup_trace_extent_swap()
2320 src_path->slots[root_level] = dst_path->slots[root_level]; in qgroup_trace_extent_swap()
2347 src_path->slots[cur_level] = dst_path->slots[cur_level]; in qgroup_trace_extent_swap()
2349 btrfs_node_key_to_cpu(dst_path->nodes[cur_level], in qgroup_trace_extent_swap()
2350 &dst_key, dst_path in qgroup_trace_extent_swap()
2416 qgroup_trace_new_subtree_blocks(struct btrfs_trans_handle * trans,struct extent_buffer * src_eb,struct btrfs_path * dst_path,int cur_level,int root_level,u64 last_snapshot,bool trace_leaf) qgroup_trace_new_subtree_blocks() argument
2523 struct btrfs_path *dst_path = NULL; qgroup_trace_subtree_swap() local
[all...]
H A Dtree-log.c3637 struct btrfs_path *dst_path, in flush_dir_items_batch() argument
3686 ret = btrfs_insert_empty_items(trans, log, dst_path, &batch); in flush_dir_items_batch()
3690 dst = dst_path->nodes[0]; in flush_dir_items_batch()
3701 dst_offset = btrfs_item_ptr_offset(dst, dst_path->slots[0] + count - 1); in flush_dir_items_batch()
3704 btrfs_release_path(dst_path); in flush_dir_items_batch()
3753 struct btrfs_path *dst_path, in process_dir_items_leaf() argument
3799 ret = insert_dir_log_key(trans, log, dst_path, in process_dir_items_leaf()
3852 ret = flush_dir_items_batch(trans, inode, src, dst_path, in process_dir_items_leaf()
3869 struct btrfs_path *dst_path, in log_dir_items() argument
3977 ret = process_dir_items_leaf(trans, inode, path, dst_path, ct in log_dir_items()
4126 log_directory_changes(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,struct btrfs_path * dst_path,struct btrfs_log_ctx * ctx) log_directory_changes() argument
4379 copy_items(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * dst_path,struct btrfs_path * src_path,int start_slot,int nr,int inode_only,u64 logged_isize,struct btrfs_log_ctx * ctx) copy_items() argument
4832 struct btrfs_path *dst_path = NULL; btrfs_log_prealloc_extents() local
5107 btrfs_log_all_xattrs(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_path * path,struct btrfs_path * dst_path,struct btrfs_log_ctx * ctx) btrfs_log_all_xattrs() argument
5909 copy_inode_items_to_log(struct btrfs_trans_handle * trans,struct btrfs_inode * inode,struct btrfs_key * min_key,const struct btrfs_key * max_key,struct btrfs_path * path,struct btrfs_path * dst_path,const u64 logged_isize,const int inode_only,struct btrfs_log_ctx * ctx,bool * need_log_inode_item) copy_inode_items_to_log() argument
6445 struct btrfs_path *dst_path; btrfs_log_inode() local
[all...]
/linux/tools/testing/selftests/landlock/
H A Dfs_test.c2020 const char *const src_path, const char *const dst_path) in copy_file() argument
2025 dst_fd = open(dst_path, O_WRONLY | O_TRUNC | O_CLOEXEC); in copy_file()
2028 TH_LOG("Failed to open \"%s\": %s", dst_path, strerror(errno)); in copy_file()