/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | tree-log.c | 3541 struct btrfs_path *dst_path, in flush_dir_items_batch() 3590 ret = btrfs_insert_empty_items(trans, log, dst_path, &batch); in flush_dir_items_batch() 3594 dst = dst_path->nodes[0]; in flush_dir_items_batch() 3605 dst_offset = btrfs_item_ptr_offset(dst, dst_path->slots[0] + count - 1); in flush_dir_items_batch() 3608 btrfs_release_path(dst_path); in flush_dir_items_batch() 3633 struct btrfs_path *dst_path, in process_dir_items_leaf() 3682 ret = insert_dir_log_key(trans, log, dst_path, in process_dir_items_leaf() 3735 ret = flush_dir_items_batch(trans, inode, src, dst_path, in process_dir_items_leaf() 3752 struct btrfs_path *dst_path, in log_dir_items() 3860 ret = process_dir_items_leaf(trans, inode, path, dst_path, ct in log_dir_items() 3538 flush_dir_items_batch(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct extent_buffer *src, struct btrfs_path *dst_path, int start_slot, int count) flush_dir_items_batch() argument 3630 process_dir_items_leaf(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_path *dst_path, struct btrfs_log_ctx *ctx, u64 *last_old_dentry_offset) process_dir_items_leaf() argument 3749 log_dir_items(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_path *dst_path, struct btrfs_log_ctx *ctx, u64 min_offset, u64 *last_offset_ret) log_dir_items() argument 4006 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 4265 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) copy_items() argument 4719 struct btrfs_path *dst_path = NULL; btrfs_log_prealloc_extents() local 4986 btrfs_log_all_xattrs(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_path *dst_path) btrfs_log_all_xattrs() argument 5791 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 6334 struct btrfs_path *dst_path; btrfs_log_inode() local [all...] |
H A D | qgroup.c | 2047 * @dst_path = [ nodes[1] = NN(a), nodes[0] = NN(c) ] 2058 * The key for search can be extracted from @dst_path->nodes[dst_level] 2061 * 2) Mark the final tree blocks in @src_path and @dst_path qgroup dirty 2075 struct btrfs_path *dst_path, in qgroup_trace_extent_swap() 2098 btrfs_node_key_to_cpu(dst_path->nodes[dst_level], &key, 0); in qgroup_trace_extent_swap() 2100 btrfs_item_key_to_cpu(dst_path->nodes[dst_level], &key, 0); in qgroup_trace_extent_swap() 2105 src_path->slots[root_level] = dst_path->slots[root_level]; in qgroup_trace_extent_swap() 2132 src_path->slots[cur_level] = dst_path->slots[cur_level]; in qgroup_trace_extent_swap() 2134 btrfs_node_key_to_cpu(dst_path->nodes[cur_level], in qgroup_trace_extent_swap() 2135 &dst_key, dst_path in qgroup_trace_extent_swap() 2073 qgroup_trace_extent_swap(struct btrfs_trans_handle* trans, struct extent_buffer *src_eb, struct btrfs_path *dst_path, int dst_level, int root_level, bool trace_leaf) qgroup_trace_extent_swap() argument 2199 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 2308 struct btrfs_path *dst_path = NULL; qgroup_trace_subtree_swap() local [all...] |
H A D | send.c | 5866 static int clone_range(struct send_ctx *sctx, struct btrfs_path *dst_path, in clone_range() argument 5893 return send_extent_data(sctx, dst_path, offset, len); in clone_range() 5991 ret = send_extent_data(sctx, dst_path, offset, in clone_range() 6067 ret = send_extent_data(sctx, dst_path, in clone_range() 6094 ret = send_extent_data(sctx, dst_path, offset, in clone_range() 6127 ret = send_extent_data(sctx, dst_path, offset, len); in clone_range()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | hmdfs_server.c | 248 struct path dst_path; in hmdfs_get_inode_by_name() local 258 &dst_path); in hmdfs_get_inode_by_name() 264 inode = d_inode(dst_path.dentry); in hmdfs_get_inode_by_name() 269 path_put(&dst_path); in hmdfs_get_inode_by_name() 1587 const char *path_name, struct path *dst_path) in hmdfs_lookup_linkpath() 1598 path_put(dst_path); in hmdfs_lookup_linkpath() 1599 *dst_path = link_path; in hmdfs_lookup_linkpath() 1652 struct path root_path, dst_path; in hmdfs_server_setattr() local 1668 &dst_path); in hmdfs_server_setattr() 1672 inode = hmdfs_verify_path(dst_path in hmdfs_server_setattr() 1586 hmdfs_lookup_linkpath(struct hmdfs_sb_info *sbi, const char *path_name, struct path *dst_path) hmdfs_lookup_linkpath() argument 1744 struct path root_path, dst_path; hmdfs_server_getattr() local [all...] |
H A D | hmdfs_trace.h | 790 __array(char, dst_path, MAX_FILTER_STR_VAL) 796 strlcpy(__entry->dst_path, con->sbi->local_dst, 802 __entry->open_path, __entry->dst_path,
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | hmdfs_server.c | 248 struct path dst_path; in hmdfs_get_inode_by_name() local 258 &dst_path); in hmdfs_get_inode_by_name() 264 inode = d_inode(dst_path.dentry); in hmdfs_get_inode_by_name() 269 path_put(&dst_path); in hmdfs_get_inode_by_name() 1587 const char *path_name, struct path *dst_path) in hmdfs_lookup_linkpath() 1598 path_put(dst_path); in hmdfs_lookup_linkpath() 1599 *dst_path = link_path; in hmdfs_lookup_linkpath() 1652 struct path root_path, dst_path; in hmdfs_server_setattr() local 1668 &dst_path); in hmdfs_server_setattr() 1672 inode = hmdfs_verify_path(dst_path in hmdfs_server_setattr() 1586 hmdfs_lookup_linkpath(struct hmdfs_sb_info *sbi, const char *path_name, struct path *dst_path) hmdfs_lookup_linkpath() argument 1744 struct path root_path, dst_path; hmdfs_server_getattr() local [all...] |
H A D | hmdfs_trace.h | 790 __array(char, dst_path, MAX_FILTER_STR_VAL) 796 strlcpy(__entry->dst_path, con->sbi->local_dst, 802 __entry->open_path, __entry->dst_path,
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | qgroup.c | 1971 * @dst_path = [ nodes[1] = NN(a), nodes[0] = NN(c) ] 1982 * The key for search can be extracted from @dst_path->nodes[dst_level] 1985 * 2) Mark the final tree blocks in @src_path and @dst_path qgroup dirty 1999 struct btrfs_path *dst_path, in qgroup_trace_extent_swap() 2022 btrfs_node_key_to_cpu(dst_path->nodes[dst_level], &key, 0); in qgroup_trace_extent_swap() 2024 btrfs_item_key_to_cpu(dst_path->nodes[dst_level], &key, 0); in qgroup_trace_extent_swap() 2029 src_path->slots[root_level] = dst_path->slots[root_level]; in qgroup_trace_extent_swap() 2068 src_path->slots[cur_level] = dst_path->slots[cur_level]; in qgroup_trace_extent_swap() 2070 btrfs_node_key_to_cpu(dst_path->nodes[cur_level], in qgroup_trace_extent_swap() 2071 &dst_key, dst_path in qgroup_trace_extent_swap() 1997 qgroup_trace_extent_swap(struct btrfs_trans_handle* trans, struct extent_buffer *src_eb, struct btrfs_path *dst_path, int dst_level, int root_level, bool trace_leaf) qgroup_trace_extent_swap() argument 2136 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 2255 struct btrfs_path *dst_path = NULL; qgroup_trace_subtree_swap() local [all...] |
H A D | tree-log.c | 3581 struct btrfs_path *dst_path, int key_type, in log_dir_items() 3642 ret = overwrite_item(trans, log, dst_path, in log_dir_items() 3688 ret = overwrite_item(trans, log, dst_path, src, i, in log_dir_items() 3746 ret = overwrite_item(trans, log, dst_path, in log_dir_items() 3758 btrfs_release_path(dst_path); in log_dir_items() 3789 struct btrfs_path *dst_path, in log_directory_changes() 3801 ret = log_dir_items(trans, root, inode, path, dst_path, key_type, in log_directory_changes() 3995 struct btrfs_path *dst_path, in copy_items() 4029 ret = btrfs_insert_empty_items(trans, log, dst_path, in copy_items() 4036 for (i = 0; i < nr; i++, dst_path in copy_items() 3578 log_dir_items(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_path *dst_path, int key_type, struct btrfs_log_ctx *ctx, u64 min_offset, u64 *last_offset_ret) log_dir_items() argument 3786 log_directory_changes(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_path *dst_path, struct btrfs_log_ctx *ctx) log_directory_changes() argument 3993 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) copy_items() argument 4334 struct btrfs_path *dst_path = NULL; btrfs_log_prealloc_extents() local 4611 btrfs_log_all_xattrs(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_path *dst_path) btrfs_log_all_xattrs() argument 5095 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 bool recursive_logging, const int inode_only, struct btrfs_log_ctx *ctx, bool *need_log_inode_item) copy_inode_items_to_log() argument 5266 struct btrfs_path *dst_path; btrfs_log_inode() local [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | cgroup.h | 132 __string( dst_path, path ) 140 __assign_str(dst_path, path); 145 TP_printk("dst_root=%d dst_id=%llu dst_level=%d dst_path=%s pid=%d comm=%s", 147 __get_str(dst_path), __entry->pid, __get_str(comm))
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | cgroup.h | 132 __string( dst_path, path ) 140 __assign_str(dst_path, path); 145 TP_printk("dst_root=%d dst_id=%llu dst_level=%d dst_path=%s pid=%d comm=%s", 147 __get_str(dst_path), __entry->pid, __get_str(comm))
|
/kernel/linux/linux-6.6/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 1819 const char *const dst_path) in copy_binary() 1824 dst_fd = open(dst_path, O_WRONLY | O_TRUNC | O_CLOEXEC); in copy_binary() 1827 TH_LOG("Failed to open \"%s\": %s", dst_path, strerror(errno)); in copy_binary() 1818 copy_binary(struct __test_metadata *const _metadata, const char *const dst_path) copy_binary() argument
|