/kernel/linux/linux-5.10/fs/btrfs/tests/ |
H A D | free-space-tree-tests.c | 22 struct btrfs_path *path, in __check_free_space_extents() 34 info = search_free_space_info(trans, cache, path, 0); in __check_free_space_extents() 40 flags = btrfs_free_space_flags(path->nodes[0], info); in __check_free_space_extents() 41 extent_count = btrfs_free_space_extent_count(path->nodes[0], info); in __check_free_space_extents() 49 if (path->slots[0] != 0) in __check_free_space_extents() 53 while (++path->slots[0] < btrfs_header_nritems(path->nodes[0])) { in __check_free_space_extents() 54 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in __check_free_space_extents() 59 bit = free_space_test_bit(cache, path, offse in __check_free_space_extents() 19 __check_free_space_extents(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, const struct free_space_extent * const extents, unsigned int num_extents) __check_free_space_extents() argument 106 check_free_space_extents(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, const struct free_space_extent * const extents, unsigned int num_extents) check_free_space_extents() argument 149 test_empty_block_group(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_empty_block_group() argument 163 test_remove_all(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_all() argument 184 test_remove_beginning(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_beginning() argument 207 test_remove_end(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_end() argument 230 test_remove_middle(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_middle() argument 254 test_merge_left(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_left() argument 291 test_merge_right(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_right() argument 329 test_merge_both(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_both() argument 372 test_merge_none(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_none() argument 430 struct btrfs_path *path = NULL; run_test() local [all...] |
/kernel/linux/linux-6.6/fs/btrfs/tests/ |
H A D | free-space-tree-tests.c | 23 struct btrfs_path *path, in __check_free_space_extents() 35 info = search_free_space_info(trans, cache, path, 0); in __check_free_space_extents() 41 flags = btrfs_free_space_flags(path->nodes[0], info); in __check_free_space_extents() 42 extent_count = btrfs_free_space_extent_count(path->nodes[0], info); in __check_free_space_extents() 50 if (path->slots[0] != 0) in __check_free_space_extents() 54 while (++path->slots[0] < btrfs_header_nritems(path->nodes[0])) { in __check_free_space_extents() 55 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in __check_free_space_extents() 60 bit = free_space_test_bit(cache, path, offse in __check_free_space_extents() 20 __check_free_space_extents(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, const struct free_space_extent * const extents, unsigned int num_extents) __check_free_space_extents() argument 107 check_free_space_extents(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, const struct free_space_extent * const extents, unsigned int num_extents) check_free_space_extents() argument 150 test_empty_block_group(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_empty_block_group() argument 164 test_remove_all(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_all() argument 185 test_remove_beginning(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_beginning() argument 208 test_remove_end(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_end() argument 231 test_remove_middle(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_middle() argument 255 test_merge_left(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_left() argument 292 test_merge_right(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_right() argument 330 test_merge_both(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_both() argument 373 test_merge_none(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_none() argument 431 struct btrfs_path *path = NULL; run_test() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | trace-event-info.c | 90 char *path = get_events_file("header_page"); in record_header_files() local 94 if (!path) { in record_header_files() 99 if (stat(path, &st) < 0) { in record_header_files() 100 pr_debug("can't read '%s'", path); in record_header_files() 109 if (record_file(path, 8) < 0) { in record_header_files() 114 put_events_file(path); in record_header_files() 116 path = get_events_file("header_event"); in record_header_files() 117 if (!path) { in record_header_files() 123 if (stat(path, &st) < 0) { in record_header_files() 124 pr_debug("can't read '%s'", path); in record_header_files() 226 char *path; record_ftrace_files() local 257 char *path; record_event_files() local 337 char *path; record_ftrace_printk() local 365 char *path; record_saved_cmdline() local 405 struct tracepoint_path *path = NULL; tracepoint_id_to_path() local 471 struct tracepoint_path *path = tracepoint_id_to_path(config); tracepoint_id_to_name() local 483 struct tracepoint_path *path = zalloc(sizeof(*path)); tracepoint_name_to_path() local 506 struct tracepoint_path path, *ppath = &path; get_tracepoints_path() local [all...] |
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | extents.c | 109 static void ext4_ext_drop_refs(struct ext4_ext_path *path) in ext4_ext_drop_refs() argument 113 if (!path) in ext4_ext_drop_refs() 115 depth = path->p_depth; in ext4_ext_drop_refs() 116 for (i = 0; i <= depth; i++, path++) { in ext4_ext_drop_refs() 117 brelse(path->p_bh); in ext4_ext_drop_refs() 118 path->p_bh = NULL; in ext4_ext_drop_refs() 122 void ext4_free_ext_path(struct ext4_ext_path *path) in ext4_free_ext_path() argument 124 ext4_ext_drop_refs(path); in ext4_free_ext_path() 125 kfree(path); in ext4_free_ext_path() 156 struct ext4_ext_path *path) in ext4_ext_get_access() 155 ext4_ext_get_access(handle_t *handle, struct inode *inode, struct ext4_ext_path *path) ext4_ext_get_access() argument 185 __ext4_ext_dirty(const char *where, unsigned int line, handle_t *handle, struct inode *inode, struct ext4_ext_path *path) __ext4_ext_dirty() argument 210 ext4_ext_find_goal(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t block) ext4_ext_find_goal() argument 260 ext4_ext_new_meta_block(handle_t *handle, struct inode *inode, struct ext4_ext_path *path, struct ext4_extent *ex, int *err, unsigned int flags) ext4_ext_new_meta_block() argument 331 struct ext4_ext_path *path = *ppath; ext4_force_split_extent_at() local 603 struct ext4_ext_path *path = NULL; ext4_ext_precache() local 663 ext4_ext_show_path(struct inode *inode, struct ext4_ext_path *path) ext4_ext_show_path() argument 685 ext4_ext_show_leaf(struct inode *inode, struct ext4_ext_path *path) ext4_ext_show_leaf() argument 708 ext4_ext_show_move(struct inode *inode, struct ext4_ext_path *path, ext4_fsblk_t newblock, int level) ext4_ext_show_move() argument 751 ext4_ext_binsearch_idx(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t block) ext4_ext_binsearch_idx() argument 812 ext4_ext_binsearch(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t block) ext4_ext_binsearch() argument 888 struct ext4_ext_path *path = orig_path ? *orig_path : NULL; ext4_find_extent() local 1052 ext4_ext_split(handle_t *handle, struct inode *inode, unsigned int flags, struct ext4_ext_path *path, struct ext4_extent *newext, int at) ext4_ext_split() argument 1404 struct ext4_ext_path *path = *ppath; ext4_ext_create_new_leaf() local 1470 ext4_ext_search_left(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t *logical, ext4_fsblk_t *phys) ext4_ext_search_left() argument 1534 ext4_ext_search_right(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t *logical, ext4_fsblk_t *phys, struct ext4_extent *ret_ex) ext4_ext_search_right() argument 1642 ext4_ext_next_allocated_block(struct ext4_ext_path *path) ext4_ext_next_allocated_block() argument 1674 ext4_ext_next_leaf_block(struct ext4_ext_path *path) ext4_ext_next_leaf_block() argument 1705 ext4_ext_correct_indexes(handle_t *handle, struct inode *inode, struct ext4_ext_path *path) ext4_ext_correct_indexes() argument 1801 ext4_ext_try_to_merge_right(struct inode *inode, struct ext4_ext_path *path, struct ext4_extent *ex) ext4_ext_try_to_merge_right() argument 1842 ext4_ext_try_to_merge_up(handle_t *handle, struct inode *inode, struct ext4_ext_path *path) ext4_ext_try_to_merge_up() argument 1888 ext4_ext_try_to_merge(handle_t *handle, struct inode *inode, struct ext4_ext_path *path, struct ext4_extent *ex) ext4_ext_try_to_merge() argument 1918 ext4_ext_check_overlap(struct ext4_sb_info *sbi, struct inode *inode, struct ext4_extent *newext, struct ext4_ext_path *path) ext4_ext_check_overlap() argument 1971 struct ext4_ext_path *path = *ppath; ext4_ext_insert_extent() local 2244 ext4_ext_find_hole(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t *lblk) ext4_ext_find_hole() argument 2277 ext4_ext_rm_idx(handle_t *handle, struct inode *inode, struct ext4_ext_path *path, int depth) ext4_ext_rm_idx() argument 2333 ext4_ext_calc_credits_for_single_extent(struct inode *inode, int nrblocks, struct ext4_ext_path *path) ext4_ext_calc_credits_for_single_extent() argument 2566 ext4_ext_rm_leaf(handle_t *handle, struct inode *inode, struct ext4_ext_path *path, struct partial_cluster *partial, ext4_lblk_t start, ext4_lblk_t end) ext4_ext_rm_leaf() argument 2773 ext4_ext_more_to_rm(struct ext4_ext_path *path) ext4_ext_more_to_rm() argument 2794 struct ext4_ext_path *path = NULL; ext4_ext_remove_space() local 3159 struct ext4_ext_path *path = *ppath; ext4_split_extent_at() local 3307 struct ext4_ext_path *path = *ppath; ext4_split_extent() local 3397 struct ext4_ext_path *path = *ppath; ext4_ext_convert_to_initialized() local 3655 struct ext4_ext_path *path = *ppath; ext4_split_convert_extents() local 3696 struct ext4_ext_path *path = *ppath; ext4_convert_unwritten_extents_endio() local 3759 struct ext4_ext_path *path = *ppath; convert_initialized_extent() local 3830 struct ext4_ext_path __maybe_unused *path = *ppath; ext4_ext_handle_unwritten_extents() local 3980 get_implied_cluster_alloc(struct super_block *sb, struct ext4_map_blocks *map, struct ext4_extent *ex, struct ext4_ext_path *path) get_implied_cluster_alloc() argument 4048 ext4_ext_determine_insert_hole(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t lblk) ext4_ext_determine_insert_hole() argument 4126 struct ext4_ext_path *path = NULL; ext4_ext_map_blocks() local 5055 ext4_ext_shift_path_extents(struct ext4_ext_path *path, ext4_lblk_t shift, struct inode *inode, handle_t *handle, enum SHIFT_DIRECTION SHIFT) ext4_ext_shift_path_extents() argument 5157 struct ext4_ext_path *path; ext4_ext_shift_extents() local 5439 struct ext4_ext_path *path; ext4_insert_range() local 5796 struct ext4_ext_path *path; ext4_clu_mapped() local 5878 struct ext4_ext_path *path = NULL, *ppath; ext4_ext_replay_update_ex() local 5938 struct ext4_ext_path *path = NULL; ext4_ext_replay_shrink_inode() local 5986 struct ext4_ext_path *path = NULL, *path2 = NULL; ext4_ext_replay_set_iblocks() local 6079 struct ext4_ext_path *path = NULL; ext4_ext_clear_bb() local [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | tree-log.c | 112 struct btrfs_path *path, u64 objectid); 116 struct btrfs_path *path, 366 * root is the tree we are copying into, and path is a scratch 367 * path for use in this function (it should be released on entry and 378 struct btrfs_path *path, in overwrite_item() 393 * we'll have to clone the leaf in the path, release the path and use in overwrite_item() 403 ret = btrfs_search_slot(NULL, root, key, path, 0, 0); in overwrite_item() 410 u32 dst_size = btrfs_item_size(path->nodes[0], in overwrite_item() 411 path in overwrite_item() 376 overwrite_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct extent_buffer *eb, int slot, struct btrfs_key *key) overwrite_item() argument 624 replay_one_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct extent_buffer *eb, int slot, struct btrfs_key *key) replay_one_extent() argument 926 drop_one_dir_item(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct btrfs_inode *dir, struct btrfs_dir_item *di) drop_one_dir_item() argument 971 inode_in_dir(struct btrfs_root *root, struct btrfs_path *path, u64 dirid, u64 objectid, u64 index, struct fscrypt_str *name) inode_in_dir() argument 1023 struct btrfs_path *path; backref_in_log() local 1050 __add_inode_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_root *log_root, struct btrfs_inode *dir, struct btrfs_inode *inode, u64 inode_objectid, u64 parent_objectid, u64 ref_index, struct fscrypt_str *name) __add_inode_ref() argument 1263 unlink_old_inode_refs(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_inode *inode, struct extent_buffer *log_eb, int log_slot, struct btrfs_key *key) unlink_old_inode_refs() argument 1347 add_inode_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_root *log, struct btrfs_path *path, struct extent_buffer *eb, int slot, struct btrfs_key *key) add_inode_ref() argument 1486 count_inode_extrefs(struct btrfs_root *root, struct btrfs_inode *inode, struct btrfs_path *path) count_inode_extrefs() argument 1530 count_inode_refs(struct btrfs_root *root, struct btrfs_inode *inode, struct btrfs_path *path) count_inode_refs() argument 1601 struct btrfs_path *path; fixup_inode_link_count() local 1649 fixup_inode_link_counts(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path) fixup_inode_link_counts() argument 1710 link_to_fixup_dir(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid) link_to_fixup_dir() argument 1779 delete_conflicting_dir_entry(struct btrfs_trans_handle *trans, struct btrfs_inode *dir, struct btrfs_path *path, struct btrfs_dir_item *dst_di, const struct btrfs_key *log_key, u8 log_flags, bool exists) delete_conflicting_dir_entry() argument 1823 replay_one_name(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct extent_buffer *eb, struct btrfs_dir_item *di, struct btrfs_key *key) replay_one_name() argument 1952 replay_one_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct extent_buffer *eb, int slot, struct btrfs_key *key) replay_one_dir_item() argument 2022 find_dir_range(struct btrfs_root *root, struct btrfs_path *path, u64 dirid, u64 *start_ret, u64 *end_ret) find_dir_range() argument 2098 check_item_in_log(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, struct btrfs_path *log_path, struct inode *dir, struct btrfs_key *dir_key) check_item_in_log() argument 2174 replay_xattr_deletes(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_root *log, struct btrfs_path *path, const u64 ino) replay_xattr_deletes() argument 2282 replay_dir_deletes(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_root *log, struct btrfs_path *path, u64 dirid, int del_all) replay_dir_deletes() argument 2394 struct btrfs_path *path; replay_one_buffer() local 2588 walk_down_log_tree(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int *level, struct walk_control *wc) walk_down_log_tree() argument 2668 walk_up_log_tree(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int *level, struct walk_control *wc) walk_up_log_tree() argument 2715 struct btrfs_path *path; walk_log_tree() local 3259 struct btrfs_path *path = path_in; inode_logged() local 3371 del_logged_dentry(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, u64 dir_ino, const struct fscrypt_str *name, u64 index) del_logged_dentry() argument 3425 struct btrfs_path *path; btrfs_del_dir_entries_in_log() local 3495 insert_dir_log_key(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, u64 dirid, u64 first_offset, u64 last_offset) insert_dir_log_key() 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 3937 update_last_dir_index_offset(struct btrfs_inode *inode, struct btrfs_path *path, const struct btrfs_log_ctx *ctx) update_last_dir_index_offset() 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 4042 drop_inode_items(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, struct btrfs_inode *inode, int max_key_type) drop_inode_items() argument 4173 log_inode_item(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, struct btrfs_inode *inode, bool inode_item_dropped) log_inode_item() argument 4622 log_one_extent(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, const struct extent_map *em, struct btrfs_path *path, struct btrfs_log_ctx *ctx) log_one_extent() argument 4711 btrfs_log_prealloc_extents(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path) btrfs_log_prealloc_extents() argument 4836 btrfs_log_changed_extents(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_log_ctx *ctx) btrfs_log_changed_extents() argument 4937 logged_inode_size(struct btrfs_root *log, struct btrfs_inode *inode, struct btrfs_path *path, u64 *size_ret) logged_inode_size() argument 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 5064 btrfs_log_holes(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path) btrfs_log_holes() argument 5376 struct btrfs_path *path; log_new_dir_dentries() local 5535 conflicting_inode_is_dir(struct btrfs_root *root, u64 ino, struct btrfs_path *path) conflicting_inode_is_dir() argument 5572 add_conflicting_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 ino, u64 parent, struct btrfs_log_ctx *ctx) add_conflicting_inode() 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 5949 insert_delayed_items_batch(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, const struct btrfs_item_batch *batch, const struct btrfs_delayed_item *first_item) insert_delayed_items_batch() argument 5977 log_delayed_insertion_items(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, const struct list_head *delayed_ins_list, struct btrfs_log_ctx *ctx) log_delayed_insertion_items() argument 6072 log_delayed_deletions_full(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, const struct list_head *delayed_del_list, struct btrfs_log_ctx *ctx) log_delayed_deletions_full() argument 6116 batch_delete_dir_index_items(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_log_ctx *ctx, const struct list_head *delayed_del_list, const struct btrfs_delayed_item *first, const struct btrfs_delayed_item **last_ret) batch_delete_dir_index_items() argument 6151 log_delayed_deletions_incremental(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, const struct list_head *delayed_del_list, struct btrfs_log_ctx *ctx) log_delayed_deletions_incremental() argument 6223 log_delayed_deletion_items(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, const struct list_head *delayed_del_list, struct btrfs_log_ctx *ctx) log_delayed_deletion_items() argument 6333 struct btrfs_path *path; btrfs_log_inode() local 6668 struct btrfs_path *path; btrfs_log_all_parents() local 6784 log_new_ancestors(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_log_ctx *ctx) log_new_ancestors() argument 6894 struct btrfs_path *path; log_all_new_ancestors() local 7128 struct btrfs_path *path; btrfs_recover_log_trees() local 7445 struct btrfs_path *path; btrfs_log_new_name() local [all...] |
H A D | root-tree.c | 57 * path: the path we search 68 struct btrfs_path *path, struct btrfs_root_item *root_item, in btrfs_find_root() 76 ret = btrfs_search_slot(NULL, root, search_key, path, 0, 0); in btrfs_find_root() 85 if (path->slots[0] == 0) in btrfs_find_root() 87 path->slots[0]--; in btrfs_find_root() 91 l = path->nodes[0]; in btrfs_find_root() 92 slot = path->slots[0]; in btrfs_find_root() 106 btrfs_release_path(path); in btrfs_find_root() 126 struct btrfs_path *path; in btrfs_update_root() local 67 btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, struct btrfs_path *path, struct btrfs_root_item *root_item, struct btrfs_key *root_key) btrfs_find_root() argument 214 struct btrfs_path *path; btrfs_find_orphan_roots() local 316 struct btrfs_path *path; btrfs_del_root() local 339 struct btrfs_path *path; btrfs_del_root_ref() local 413 struct btrfs_path *path; btrfs_add_root_ref() local [all...] |
H A D | free-space-tree.c | 22 struct btrfs_path *path); 71 struct btrfs_path *path) in add_new_free_space_info() 83 ret = btrfs_insert_empty_item(trans, root, path, &key, sizeof(*info)); in add_new_free_space_info() 87 leaf = path->nodes[0]; in add_new_free_space_info() 88 info = btrfs_item_ptr(leaf, path->slots[0], in add_new_free_space_info() 96 btrfs_release_path(path); in add_new_free_space_info() 104 struct btrfs_path *path, int cow) in search_free_space_info() 115 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in search_free_space_info() 125 return btrfs_item_ptr(path->nodes[0], path in search_free_space_info() 69 add_new_free_space_info(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path) add_new_free_space_info() argument 101 search_free_space_info( struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, int cow) search_free_space_info() argument 205 convert_free_space_to_bitmaps(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path) convert_free_space_to_bitmaps() argument 343 convert_free_space_to_extents(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path) convert_free_space_to_extents() argument 475 update_free_space_extent_count(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, int new_extents) update_free_space_extent_count() argument 514 free_space_test_bit(struct btrfs_block_group *block_group, struct btrfs_path *path, u64 offset) free_space_test_bit() argument 536 free_space_set_bits(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, u64 *start, u64 *size, int bit) free_space_set_bits() argument 604 modify_free_space_bitmap(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, u64 start, u64 size, int remove) modify_free_space_bitmap() argument 717 remove_free_space_extent(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, u64 start, u64 size) remove_free_space_extent() argument 804 __remove_from_free_space_tree(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, u64 start, u64 size) __remove_from_free_space_tree() argument 837 struct btrfs_path *path; remove_from_free_space_tree() local 869 add_free_space_extent(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, u64 start, u64 size) add_free_space_extent() argument 997 __add_to_free_space_tree(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, u64 start, u64 size) __add_to_free_space_tree() argument 1030 struct btrfs_path *path; add_to_free_space_tree() local 1070 struct btrfs_path *path, *path2; populate_free_space_tree() local 1220 struct btrfs_path *path; clear_free_space_tree() local 1353 __add_block_group_free_space(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path) __add_block_group_free_space() argument 1374 struct btrfs_path *path = NULL; add_block_group_free_space() local 1404 struct btrfs_path *path; remove_block_group_free_space() local 1476 load_free_space_bitmaps(struct btrfs_caching_control *caching_ctl, struct btrfs_path *path, u32 expected_extent_count) load_free_space_bitmaps() argument 1560 load_free_space_extents(struct btrfs_caching_control *caching_ctl, struct btrfs_path *path, u32 expected_extent_count) load_free_space_extents() argument 1628 struct btrfs_path *path; load_free_space_tree() local [all...] |
/kernel/linux/linux-5.10/include/net/iucv/ |
H A D | iucv.h | 43 * path until an iucv_path_resume is issued. 88 * pathid: 16 bit path identification 90 * flags: properties of the path: IPRMDATA, IPQUSCE, IPPRTY 92 * private: private information of the handler associated with the path 93 * list: list_head for the iucv_handler path list. 136 * type 0x01 has been received. The base code allocates a path 137 * structure and "asks" the handler if this path belongs to the 138 * handler. To accept the path the path_pending function needs 148 * type 0x02 has been received for a path that has been established 156 * his end of the communication path 226 struct iucv_path *path; iucv_path_alloc() local 242 iucv_path_free(struct iucv_path *path) iucv_path_free() argument [all...] |
/kernel/linux/linux-6.6/include/net/iucv/ |
H A D | iucv.h | 43 * path until an iucv_path_resume is issued. 88 * pathid: 16 bit path identification 90 * flags: properties of the path: IPRMDATA, IPQUSCE, IPPRTY 92 * private: private information of the handler associated with the path 93 * list: list_head for the iucv_handler path list. 136 * type 0x01 has been received. The base code allocates a path 137 * structure and "asks" the handler if this path belongs to the 138 * handler. To accept the path the path_pending function needs 148 * type 0x02 has been received for a path that has been established 156 * his end of the communication path 226 struct iucv_path *path; iucv_path_alloc() local 242 iucv_path_free(struct iucv_path *path) iucv_path_free() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_path.c | 4 /* A library for configuring path from GMAC/GDM to target PHY 18 int (*set_path)(struct mtk_eth *eth, u64 path); 21 static const char *mtk_eth_path_name(u64 path) in mtk_eth_path_name() argument 23 switch (path) { in mtk_eth_path_name() 39 return "unknown path"; in mtk_eth_path_name() 43 static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, u64 path) in set_mux_gdm1_to_gmac1_esw() argument 48 switch (path) { in set_mux_gdm1_to_gmac1_esw() 70 dev_dbg(eth->dev, "path %s in %s updated = %d\n", in set_mux_gdm1_to_gmac1_esw() 71 mtk_eth_path_name(path), __func__, updated); in set_mux_gdm1_to_gmac1_esw() 76 static int set_mux_gmac2_gmac0_to_gephy(struct mtk_eth *eth, u64 path) in set_mux_gmac2_gmac0_to_gephy() argument 99 set_mux_u3_gmac2_to_qphy(struct mtk_eth *eth, u64 path) set_mux_u3_gmac2_to_qphy() argument 130 set_mux_gmac1_gmac2_to_sgmii_rgmii(struct mtk_eth *eth, u64 path) set_mux_gmac1_gmac2_to_sgmii_rgmii() argument 168 set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, u64 path) set_mux_gmac12_to_gephy_sgmii() argument 223 mtk_eth_mux_setup(struct mtk_eth *eth, u64 path) mtk_eth_mux_setup() argument 254 u64 path; mtk_gmac_sgmii_path_setup() local 265 u64 path = 0; mtk_gmac_gephy_path_setup() local 279 u64 path; mtk_gmac_rgmii_path_setup() local [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | tree-log.c | 102 struct btrfs_path *path, u64 objectid); 106 struct btrfs_path *path, 334 * root is the tree we are copying into, and path is a scratch 335 * path for use in this function (it should be released on entry and 346 struct btrfs_path *path, in overwrite_item() 366 ret = btrfs_search_slot(NULL, root, key, path, 0, 0); in overwrite_item() 373 u32 dst_size = btrfs_item_size_nr(path->nodes[0], in overwrite_item() 374 path->slots[0]); in overwrite_item() 379 btrfs_release_path(path); in overwrite_item() 385 btrfs_release_path(path); in overwrite_item() 344 overwrite_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct extent_buffer *eb, int slot, struct btrfs_key *key) overwrite_item() argument 573 replay_one_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct extent_buffer *eb, int slot, struct btrfs_key *key) replay_one_extent() argument 850 drop_one_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_inode *dir, struct btrfs_dir_item *di) drop_one_dir_item() argument 903 inode_in_dir(struct btrfs_root *root, struct btrfs_path *path, u64 dirid, u64 objectid, u64 index, const char *name, int name_len) inode_in_dir() argument 956 struct btrfs_path *path; backref_in_log() local 985 __add_inode_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_root *log_root, struct btrfs_inode *dir, struct btrfs_inode *inode, u64 inode_objectid, u64 parent_objectid, u64 ref_index, char *name, int namelen, int *search_done) __add_inode_ref() argument 1227 unlink_old_inode_refs(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_inode *inode, struct extent_buffer *log_eb, int log_slot, struct btrfs_key *key) unlink_old_inode_refs() argument 1323 struct btrfs_path *path; btrfs_inode_ref_exists() local 1363 struct btrfs_path *path; add_link() local 1424 add_inode_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_root *log, struct btrfs_path *path, struct extent_buffer *eb, int slot, struct btrfs_key *key) add_inode_ref() argument 1618 count_inode_extrefs(struct btrfs_root *root, struct btrfs_inode *inode, struct btrfs_path *path) count_inode_extrefs() argument 1662 count_inode_refs(struct btrfs_root *root, struct btrfs_inode *inode, struct btrfs_path *path) count_inode_refs() argument 1733 struct btrfs_path *path; fixup_inode_link_count() local 1777 fixup_inode_link_counts(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path) fixup_inode_link_counts() argument 1838 link_to_fixup_dir(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid) link_to_fixup_dir() argument 1923 replay_one_name(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct extent_buffer *eb, struct btrfs_dir_item *di, struct btrfs_key *key) replay_one_name() argument 2078 replay_one_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct extent_buffer *eb, int slot, struct btrfs_key *key) replay_one_dir_item() argument 2164 find_dir_range(struct btrfs_root *root, struct btrfs_path *path, u64 dirid, int key_type, u64 *start_ret, u64 *end_ret) find_dir_range() argument 2240 check_item_in_log(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_root *log, struct btrfs_path *path, struct btrfs_path *log_path, struct inode *dir, struct btrfs_key *dir_key) check_item_in_log() argument 2343 replay_xattr_deletes(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_root *log, struct btrfs_path *path, const u64 ino) replay_xattr_deletes() argument 2451 replay_dir_deletes(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_root *log, struct btrfs_path *path, u64 dirid, int del_all) replay_dir_deletes() argument 2566 struct btrfs_path *path; replay_one_buffer() local 2730 walk_down_log_tree(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int *level, struct walk_control *wc) walk_down_log_tree() argument 2820 walk_up_log_tree(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int *level, struct walk_control *wc) walk_up_log_tree() argument 2888 struct btrfs_path *path; walk_log_tree() local 3406 struct btrfs_path *path; btrfs_del_dir_entries_in_log() local 3545 insert_dir_log_key(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, int key_type, u64 dirid, u64 first_offset, u64 last_offset) insert_dir_log_key() argument 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 3823 drop_objectid_items(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, u64 objectid, int max_key_type) drop_objectid_items() argument 3928 log_inode_item(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, struct btrfs_inode *inode) log_inode_item() argument 4241 log_one_extent(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_root *root, const struct extent_map *em, struct btrfs_path *path, struct btrfs_log_ctx *ctx) log_one_extent() argument 4326 btrfs_log_prealloc_extents(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path) btrfs_log_prealloc_extents() argument 4455 btrfs_log_changed_extents(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_log_ctx *ctx) btrfs_log_changed_extents() argument 4562 logged_inode_size(struct btrfs_root *log, struct btrfs_inode *inode, struct btrfs_path *path, u64 *size_ret) logged_inode_size() argument 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 4689 btrfs_log_holes(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_inode *inode, struct btrfs_path *path) btrfs_log_holes() argument 4924 log_conflicting_inodes(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_log_ctx *ctx, u64 ino, u64 parent) log_conflicting_inodes() 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 5265 struct btrfs_path *path; btrfs_log_inode() local 5662 struct btrfs_path *path; log_new_dir_dentries() local 5792 struct btrfs_path *path; btrfs_log_all_parents() local 5907 log_new_ancestors(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_log_ctx *ctx) log_new_ancestors() argument 6017 struct btrfs_path *path; log_all_new_ancestors() local 6270 struct btrfs_path *path; btrfs_recover_log_trees() local [all...] |
H A D | root-tree.c | 54 * path: the path we search 65 struct btrfs_path *path, struct btrfs_root_item *root_item, in btrfs_find_root() 73 ret = btrfs_search_slot(NULL, root, search_key, path, 0, 0); in btrfs_find_root() 82 if (path->slots[0] == 0) in btrfs_find_root() 84 path->slots[0]--; in btrfs_find_root() 88 l = path->nodes[0]; in btrfs_find_root() 89 slot = path->slots[0]; in btrfs_find_root() 103 btrfs_release_path(path); in btrfs_find_root() 123 struct btrfs_path *path; in btrfs_update_root() local 64 btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, struct btrfs_path *path, struct btrfs_root_item *root_item, struct btrfs_key *root_key) btrfs_find_root() argument 211 struct btrfs_path *path; btrfs_find_orphan_roots() local 298 struct btrfs_path *path; btrfs_del_root() local 322 struct btrfs_path *path; btrfs_del_root_ref() local 398 struct btrfs_path *path; btrfs_add_root_ref() local [all...] |
H A D | file-item.c | 135 struct btrfs_path *path; in btrfs_insert_file_extent() local 138 path = btrfs_alloc_path(); in btrfs_insert_file_extent() 139 if (!path) in btrfs_insert_file_extent() 145 path->leave_spinning = 1; in btrfs_insert_file_extent() 146 ret = btrfs_insert_empty_item(trans, root, path, &file_key, in btrfs_insert_file_extent() 151 leaf = path->nodes[0]; in btrfs_insert_file_extent() 152 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_file_extent() 167 btrfs_free_path(path); in btrfs_insert_file_extent() 174 struct btrfs_path *path, in btrfs_lookup_csum() 190 ret = btrfs_search_slot(trans, root, &file_key, path, in btrfs_lookup_csum() 172 btrfs_lookup_csum(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 bytenr, int cow) btrfs_lookup_csum() argument 225 btrfs_lookup_file_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid, u64 offset, int mod) btrfs_lookup_file_extent() argument 263 struct btrfs_path *path; btrfs_lookup_bio_sums() local 400 struct btrfs_path *path; btrfs_lookup_csums_range() local 647 truncate_one_csum(struct btrfs_fs_info *fs_info, struct btrfs_path *path, struct btrfs_key *key, u64 bytenr, u64 len) truncate_one_csum() argument 701 struct btrfs_path *path; btrfs_del_csums() local 849 struct btrfs_path *path; btrfs_csum_file_blocks() local 1046 btrfs_extent_item_to_extent_map(struct btrfs_inode *inode, const struct btrfs_path *path, struct btrfs_file_extent_item *fi, const bool new_inline, struct extent_map *em) btrfs_extent_item_to_extent_map() argument 1117 btrfs_file_extent_end(const struct btrfs_path *path) btrfs_file_extent_end() argument [all...] |
H A D | free-space-tree.c | 17 struct btrfs_path *path); 52 struct btrfs_path *path) in add_new_free_space_info() 64 ret = btrfs_insert_empty_item(trans, root, path, &key, sizeof(*info)); in add_new_free_space_info() 68 leaf = path->nodes[0]; in add_new_free_space_info() 69 info = btrfs_item_ptr(leaf, path->slots[0], in add_new_free_space_info() 77 btrfs_release_path(path); in add_new_free_space_info() 85 struct btrfs_path *path, int cow) in search_free_space_info() 96 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in search_free_space_info() 106 return btrfs_item_ptr(path->nodes[0], path in search_free_space_info() 50 add_new_free_space_info(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path) add_new_free_space_info() argument 82 search_free_space_info( struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, int cow) search_free_space_info() argument 185 convert_free_space_to_bitmaps(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path) convert_free_space_to_bitmaps() argument 325 convert_free_space_to_extents(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path) convert_free_space_to_extents() argument 458 update_free_space_extent_count(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, int new_extents) update_free_space_extent_count() argument 497 free_space_test_bit(struct btrfs_block_group *block_group, struct btrfs_path *path, u64 offset) free_space_test_bit() argument 519 free_space_set_bits(struct btrfs_block_group *block_group, struct btrfs_path *path, u64 *start, u64 *size, int bit) free_space_set_bits() argument 586 modify_free_space_bitmap(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, u64 start, u64 size, int remove) modify_free_space_bitmap() argument 699 remove_free_space_extent(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, u64 start, u64 size) remove_free_space_extent() argument 786 __remove_from_free_space_tree(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, u64 start, u64 size) __remove_from_free_space_tree() argument 819 struct btrfs_path *path; remove_from_free_space_tree() local 851 add_free_space_extent(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, u64 start, u64 size) add_free_space_extent() argument 979 __add_to_free_space_tree(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, u64 start, u64 size) __add_to_free_space_tree() argument 1012 struct btrfs_path *path; add_to_free_space_tree() local 1052 struct btrfs_path *path, *path2; populate_free_space_tree() local 1197 struct btrfs_path *path; clear_free_space_tree() local 1276 __add_block_group_free_space(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path) __add_block_group_free_space() argument 1297 struct btrfs_path *path = NULL; add_block_group_free_space() local 1327 struct btrfs_path *path; remove_block_group_free_space() local 1399 load_free_space_bitmaps(struct btrfs_caching_control *caching_ctl, struct btrfs_path *path, u32 expected_extent_count) load_free_space_bitmaps() argument 1480 load_free_space_extents(struct btrfs_caching_control *caching_ctl, struct btrfs_path *path, u32 expected_extent_count) load_free_space_extents() argument 1546 struct btrfs_path *path; load_free_space_tree() local [all...] |
H A D | dir-item.c | 21 struct btrfs_path *path, in insert_with_overflow() 33 ret = btrfs_insert_empty_item(trans, root, path, cpu_key, data_size); in insert_with_overflow() 36 di = btrfs_match_dir_item_name(fs_info, path, name, name_len); in insert_with_overflow() 39 btrfs_extend_item(path, data_size); in insert_with_overflow() 43 leaf = path->nodes[0]; in insert_with_overflow() 44 item = btrfs_item_nr(path->slots[0]); in insert_with_overflow() 45 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in insert_with_overflow() 57 struct btrfs_path *path, u64 objectid, in btrfs_insert_xattr_item() 77 dir_item = insert_with_overflow(trans, root, path, &key, data_size, in btrfs_insert_xattr_item() 83 leaf = path in btrfs_insert_xattr_item() 18 insert_with_overflow(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_key *cpu_key, u32 data_size, const char *name, int name_len) insert_with_overflow() argument 55 btrfs_insert_xattr_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid, const char *name, u16 name_len, const void *data, u16 data_len) btrfs_insert_xattr_item() argument 115 struct btrfs_path *path; btrfs_insert_dir_item() local 179 btrfs_lookup_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 dir, const char *name, int name_len, int mod) btrfs_lookup_dir_item() argument 213 struct btrfs_path *path; btrfs_check_dir_item_collision() local 272 btrfs_lookup_dir_index_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 dir, u64 objectid, const char *name, int name_len, int mod) btrfs_lookup_dir_index_item() argument 296 btrfs_search_dir_index_item(struct btrfs_root *root, struct btrfs_path *path, u64 dirid, const char *name, int name_len) btrfs_search_dir_index_item() argument 343 btrfs_lookup_xattr(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 dir, const char *name, u16 name_len, int mod) btrfs_lookup_xattr() argument 371 btrfs_match_dir_item_name(struct btrfs_fs_info *fs_info, struct btrfs_path *path, const char *name, int name_len) btrfs_match_dir_item_name() argument 407 btrfs_delete_one_dir_name(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_dir_item *di) btrfs_delete_one_dir_name() argument [all...] |
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | path.c | 15 #include <linux/path.h> 21 #include "include/path.h" 37 /* If the path is not connected to the expected root, 41 * specifically directed to connect the path, 43 * if in a chroot and doing chroot relative paths and the path 48 static int disconnect(const struct path *path, char *buf, char **name, in disconnect() argument 55 our_mnt(path->mnt))) { in disconnect() 56 /* disconnected path, don't return pathname starting in disconnect() 75 * d_namespace_path - lookup a name associated with a given path 88 d_namespace_path(const struct path *path, char *buf, char **name, int flags, const char *disconnected) d_namespace_path() argument 197 aa_path_name(const struct path *path, int flags, char *buffer, const char **name, const char **info, const char *disconnected) aa_path_name() argument [all...] |
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | path.c | 15 #include <linux/path.h> 21 #include "include/path.h" 37 /* If the path is not connected to the expected root, 41 * specifically directed to connect the path, 43 * if in a chroot and doing chroot relative paths and the path 48 static int disconnect(const struct path *path, char *buf, char **name, in disconnect() argument 55 our_mnt(path->mnt))) { in disconnect() 56 /* disconnected path, don't return pathname starting in disconnect() 75 * d_namespace_path - lookup a name associated with a given path 88 d_namespace_path(const struct path *path, char *buf, char **name, int flags, const char *disconnected) d_namespace_path() argument 197 aa_path_name(const struct path *path, int flags, char *buffer, const char **name, const char **info, const char *disconnected) aa_path_name() argument [all...] |
/kernel/linux/linux-6.6/tools/lib/api/fs/ |
H A D | fs.c | 93 char *path; member 157 char path[PATH_MAX + 1]; in fs__read_mounts() local 164 path, type) == 2) { in fs__read_mounts() 167 fs->path = strdup(path); in fs__read_mounts() 169 return fs->path != NULL; in fs__read_mounts() 195 fs->path = strdup(*ptr); in fs__check_mounts() 196 if (!fs->path) in fs__check_mounts() 235 fs->path = strdup(override_path); in fs__env_override() 236 if (!fs->path) in fs__env_override() 415 char path[PATH_MAX]; procfs__read_str() local 429 char path[PATH_MAX]; sysfs__read_ull_base() local 452 char path[PATH_MAX]; sysfs__read_int() local 465 char path[PATH_MAX]; sysfs__read_str() local 507 char path[PATH_MAX]; sysctl__read_int() local 520 char path[PATH_MAX]; sysfs__write_int() local [all...] |
/kernel/linux/linux-5.10/drivers/interconnect/ |
H A D | core.c | 155 struct icc_path *path; in path_init() local 158 path = kzalloc(struct_size(path, reqs, num_nodes), GFP_KERNEL); in path_init() 159 if (!path) in path_init() 162 path->num_nodes = num_nodes; in path_init() 166 hlist_add_head(&path->reqs[i].req_node, &node->req_list); in path_init() 167 path->reqs[i].node = node; in path_init() 168 path->reqs[i].dev = dev; in path_init() 169 path->reqs[i].enabled = true; in path_init() 170 /* reference to previous node was saved during path traversa in path_init() 180 struct icc_path *path = ERR_PTR(-EPROBE_DEFER); path_find() local 283 apply_constraints(struct icc_path *path) apply_constraints() argument 407 struct icc_path **ptr, *path; devm_of_icc_get() local 442 struct icc_path *path; of_icc_get_by_index() local 576 icc_set_tag(struct icc_path *path, u32 tag) icc_set_tag() argument 601 icc_get_name(struct icc_path *path) icc_get_name() argument 625 icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw) icc_set_bw() argument 678 __icc_enable(struct icc_path *path, bool enable) __icc_enable() argument 699 icc_enable(struct icc_path *path) icc_enable() argument 705 icc_disable(struct icc_path *path) icc_disable() argument 730 struct icc_path *path = ERR_PTR(-EPROBE_DEFER); icc_get() local 766 icc_put(struct icc_path *path) icc_put() argument [all...] |
/kernel/linux/linux-6.6/drivers/interconnect/ |
H A D | core.c | 170 struct icc_path *path; in path_init() local 173 path = kzalloc(struct_size(path, reqs, num_nodes), GFP_KERNEL); in path_init() 174 if (!path) in path_init() 177 path->num_nodes = num_nodes; in path_init() 181 hlist_add_head(&path->reqs[i].req_node, &node->req_list); in path_init() 182 path->reqs[i].node = node; in path_init() 183 path->reqs[i].dev = dev; in path_init() 184 path->reqs[i].enabled = true; in path_init() 185 /* reference to previous node was saved during path traversa in path_init() 195 struct icc_path *path = ERR_PTR(-EPROBE_DEFER); path_find() local 298 apply_constraints(struct icc_path *path) apply_constraints() argument 422 struct icc_path **ptr, *path; devm_of_icc_get() local 457 struct icc_path *path; of_icc_get_by_index() local 599 struct icc_path *path = ERR_PTR(-EPROBE_DEFER); icc_get() local 639 icc_set_tag(struct icc_path *path, u32 tag) icc_set_tag() argument 664 icc_get_name(struct icc_path *path) icc_get_name() argument 688 icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw) icc_set_bw() argument 741 __icc_enable(struct icc_path *path, bool enable) __icc_enable() argument 762 icc_enable(struct icc_path *path) icc_enable() argument 768 icc_disable(struct icc_path *path) icc_disable() argument 781 icc_put(struct icc_path *path) icc_put() argument [all...] |
/kernel/linux/linux-6.6/Documentation/sphinx/ |
H A D | kernel_include.py | 16 the path name and allows to include files from arbitrary locations. 34 import os.path namespace 63 path = os.path.realpath( 64 os.path.expandvars(self.arguments[0])) 67 if path.startswith(os.sep + "etc"): 69 'Problems with "%s" directive, prohibited path: %s' 70 % (self.name, path)) 72 self.arguments[0] = path 74 env.note_dependency(os.path [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | fhandle.c | 17 static long do_sys_name_to_handle(struct path *path, in do_sys_name_to_handle() argument 30 if (!path->dentry->d_sb->s_export_op || in do_sys_name_to_handle() 31 !path->dentry->d_sb->s_export_op->fh_to_dentry) in do_sys_name_to_handle() 49 retval = exportfs_encode_fh(path->dentry, in do_sys_name_to_handle() 72 if (put_user(real_mount(path->mnt)->mnt_id, mnt_id) || in do_sys_name_to_handle() 97 struct path path; in SYSCALL_DEFINE5() local 107 err = user_path_at(dfd, name, lookup_flags, &path); in SYSCALL_DEFINE5() 109 err = do_sys_name_to_handle(&path, handl in SYSCALL_DEFINE5() 139 do_handle_to_path(int mountdirfd, struct file_handle *handle, struct path *path) do_handle_to_path() argument 167 handle_to_path(int mountdirfd, struct file_handle __user *ufh, struct path *path) handle_to_path() argument 219 struct path path; do_handle_open() local [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | fhandle.c | 17 static long do_sys_name_to_handle(const struct path *path, in do_sys_name_to_handle() argument 32 if (!path->dentry->d_sb->s_export_op || in do_sys_name_to_handle() 34 !path->dentry->d_sb->s_export_op->fh_to_dentry)) in do_sys_name_to_handle() 52 retval = exportfs_encode_fh(path->dentry, in do_sys_name_to_handle() 76 if (put_user(real_mount(path->mnt)->mnt_id, mnt_id) || in do_sys_name_to_handle() 102 struct path path; in SYSCALL_DEFINE5() local 114 err = user_path_at(dfd, name, lookup_flags, &path); in SYSCALL_DEFINE5() 116 err = do_sys_name_to_handle(&path, handl in SYSCALL_DEFINE5() 146 do_handle_to_path(int mountdirfd, struct file_handle *handle, struct path *path) do_handle_to_path() argument 174 handle_to_path(int mountdirfd, struct file_handle __user *ufh, struct path *path) handle_to_path() argument 226 struct path path; do_handle_open() local [all...] |
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | tunnel.c | 102 /* If the path is complete sw is not NULL */ in tb_initial_credits() 116 static void tb_pci_init_path(struct tb_path *path) in tb_pci_init_path() argument 118 path->egress_fc_enable = TB_PATH_SOURCE | TB_PATH_INTERNAL; in tb_pci_init_path() 119 path->egress_shared_buffer = TB_PATH_NONE; in tb_pci_init_path() 120 path->ingress_fc_enable = TB_PATH_ALL; in tb_pci_init_path() 121 path->ingress_shared_buffer = TB_PATH_NONE; in tb_pci_init_path() 122 path->priority = 3; in tb_pci_init_path() 123 path->weight = 1; in tb_pci_init_path() 124 path->drop_packages = 0; in tb_pci_init_path() 125 path in tb_pci_init_path() 144 struct tb_path *path; tb_tunnel_discover_pci() local 222 struct tb_path *path; tb_tunnel_alloc_pci() local 605 tb_dp_init_aux_path(struct tb_path *path) tb_dp_init_aux_path() argument 620 tb_dp_init_video_path(struct tb_path *path, bool discover) tb_dp_init_video_path() argument 658 struct tb_path *path; tb_tunnel_discover_dp() local 744 struct tb_path *path; tb_tunnel_alloc_dp() local 809 tb_dma_init_path(struct tb_path *path, unsigned int isb, unsigned int efc, u32 credits) tb_dma_init_path() argument 846 struct tb_path *path; tb_tunnel_alloc_dma() local 1008 tb_usb3_init_path(struct tb_path *path) tb_usb3_init_path() argument 1036 struct tb_path *path; tb_tunnel_discover_usb3() local 1142 struct tb_path *path; tb_tunnel_alloc_usb3() local [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | namei.h | 7 #include <linux/path.h> 24 #define LOOKUP_EMPTY 0x4000 /* accept empty path [user_... only] */ 50 extern int path_pts(struct path *path); 52 extern int user_path_at_empty(int, const char __user *, unsigned, struct path *, int *empty); 55 struct path *path) in user_path_at() 57 return user_path_at_empty(dfd, name, flags, path, NULL); in user_path_at() 63 extern int kern_path(const char *, unsigned, struct path *); 65 extern struct dentry *kern_path_create(int, const char *, struct path *, unsigne 54 user_path_at(int dfd, const char __user *name, unsigned flags, struct path *path) user_path_at() argument [all...] |