| /fs/bcachefs/ |
| D | btree_locking.h | 20 static inline bool is_btree_node(struct btree_path *path, unsigned l) in is_btree_node() 40 static inline int btree_node_locked_type(struct btree_path *path, in btree_node_locked_type() 46 static inline bool btree_node_write_locked(struct btree_path *path, unsigned l) in btree_node_write_locked() 51 static inline bool btree_node_intent_locked(struct btree_path *path, unsigned l) in btree_node_intent_locked() 56 static inline bool btree_node_read_locked(struct btree_path *path, unsigned l) in btree_node_read_locked() 61 static inline bool btree_node_locked(struct btree_path *path, unsigned level) in btree_node_locked() 66 static inline void mark_btree_node_locked_noreset(struct btree_path *path, in mark_btree_node_locked_noreset() 78 static inline void mark_btree_node_unlocked(struct btree_path *path, in mark_btree_node_unlocked() 86 struct btree_path *path, in mark_btree_node_locked() 96 static inline enum six_lock_type __btree_lock_want(struct btree_path *path, int level) in __btree_lock_want() [all …]
|
| D | trace.h | 1876 static inline void trace_update_by_path(struct btree_trans *trans, struct btree_path *path, in trace_update_by_path() 1879 static inline void trace_btree_path_get_ll(struct btree_trans *trans, struct btree_path *path) {} in trace_btree_path_get_ll() 1880 static inline void trace_btree_path_put_ll(struct btree_trans *trans, struct btree_path *path) {} in trace_btree_path_put_ll() 1881 …nline void trace_btree_path_should_be_locked(struct btree_trans *trans, struct btree_path *path) {} in trace_btree_path_should_be_locked() 1882 static inline void trace_btree_path_alloc(struct btree_trans *trans, struct btree_path *path) {} in trace_btree_path_alloc() 1883 static inline void trace_btree_path_get(struct btree_trans *trans, struct btree_path *path, struct … in trace_btree_path_get() 1884 static inline void trace_btree_path_clone(struct btree_trans *trans, struct btree_path *path, struc… in trace_btree_path_clone() 1885 static inline void trace_btree_path_save_pos(struct btree_trans *trans, struct btree_path *path, st… in trace_btree_path_save_pos() 1886 … inline void trace_btree_path_traverse_start(struct btree_trans *trans, struct btree_path *path) {} in trace_btree_path_traverse_start() 1887 static inline void trace_btree_path_traverse_end(struct btree_trans *trans, struct btree_path *path… in trace_btree_path_traverse_end() [all …]
|
| D | btree_iter.c | 97 static inline bool btree_path_pos_before_node(struct btree_path *path, in btree_path_pos_before_node() 103 static inline bool btree_path_pos_after_node(struct btree_path *path, in btree_path_pos_after_node() 109 static inline bool btree_path_pos_in_node(struct btree_path *path, in btree_path_pos_in_node() 122 struct btree_path *path) in bch2_btree_path_verify_cached() 139 struct btree_path *path, unsigned level) in bch2_btree_path_verify_level() 221 struct btree_path *path) in bch2_btree_path_verify() 240 struct btree_path *path; in bch2_trans_verify_paths() local 332 struct btree_path *path; in bch2_assert_pos_locked() local 363 struct btree_path *path, unsigned l) {} in bch2_btree_path_verify_level() 365 struct btree_path *path) {} in bch2_btree_path_verify() [all …]
|
| D | btree_locking.c | 23 struct btree_path *path; in bch2_btree_node_lock_counts() local 46 struct btree_path *path, struct btree *b) in bch2_btree_node_unlock_write() 312 struct btree_path *path = paths + path_idx; in bch2_check_for_deadlock() local 404 int __bch2_btree_node_lock_write(struct btree_trans *trans, struct btree_path *path, in __bch2_btree_node_lock_write() 429 struct btree_path *path, in bch2_btree_node_lock_write_nofail() 439 struct btree_path *path, in btree_path_get_locks() 488 struct btree_path *path, unsigned level, in __bch2_btree_node_relock() 512 struct btree_path *path, unsigned level) in bch2_btree_node_upgrade() 576 struct btree_path *path) in bch2_btree_path_relock_intent() 595 bool bch2_btree_path_relock_norestart(struct btree_trans *trans, struct btree_path *path) in bch2_btree_path_relock_norestart() [all …]
|
| D | btree_iter.h | 22 static inline void __btree_path_get(struct btree_trans *trans, struct btree_path *path, bool intent) in __btree_path_get() 37 static inline bool __btree_path_put(struct btree_trans *trans, struct btree_path *path, bool intent) in __btree_path_put() 48 static inline void btree_path_set_dirty(struct btree_path *path, in btree_path_set_dirty() 54 static inline struct btree *btree_path_node(struct btree_path *path, in btree_path_node() 60 static inline bool btree_node_lock_seq_matches(const struct btree_path *path, in btree_node_lock_seq_matches() 66 static inline struct btree *btree_node_parent(struct btree_path *path, in btree_node_parent() 136 static inline struct btree_path *next_btree_path(struct btree_trans *trans, struct btree_path *path) in next_btree_path() 147 static inline struct btree_path *prev_btree_path(struct btree_trans *trans, struct btree_path *path) in prev_btree_path() 179 static inline bool __path_has_node(const struct btree_path *path, in __path_has_node() 190 struct btree_path *path; in __trans_next_path_with_node() local [all …]
|
| D | btree_key_cache.c | 42 static inline void btree_path_cached_set(struct btree_trans *trans, struct btree_path *path, in btree_path_cached_set() 136 bkey_cached_alloc(struct btree_trans *trans, struct btree_path *path, unsigned key_u64s) in bkey_cached_alloc() 200 static int btree_key_cache_create(struct btree_trans *trans, struct btree_path *path, in btree_key_cache_create() 321 struct btree_path *path) in btree_path_traverse_cached_fast() 350 int bch2_btree_path_traverse_cached(struct btree_trans *trans, struct btree_path *path, in bch2_btree_path_traverse_cached() 447 struct btree_path *path = btree_iter_path(trans, &c_iter); in btree_key_cache_flush_pos() local 569 struct btree_path *path) in bch2_btree_key_cache_drop()
|
| /fs/ |
| D | init.c | 19 struct path path; in init_mount() local 33 struct path path; in init_umount() local 46 struct path path; in init_chdir() local 61 struct path path; in init_chroot() local 85 struct path path; in init_chown() local 102 struct path path; in init_chmod() local 115 struct path path; in init_eaccess() local 129 struct path path; in init_stat() local 144 struct path path; in init_mknod() local 203 struct path path; in init_symlink() local [all …]
|
| D | namei.c | 553 void path_get(const struct path *path) in path_get() 566 void path_put(const struct path *path) in path_put() 575 struct path path; member 708 static bool __legitimize_path(struct path *path, unsigned seq, unsigned mseq) in __legitimize_path() 725 struct path *path, unsigned seq) in legitimize_path() 1001 int nd_jump_link(const struct path *path) in nd_jump_link() 1298 int follow_up(struct path *path) in follow_up() 1322 struct path *path, unsigned *seqp) in choose_mountpoint_rcu() 1342 struct path *path) in choose_mountpoint() 1371 static int follow_automount(struct path *path, int *count, unsigned lookup_flags) in follow_automount() [all …]
|
| D | fhandle.c | 17 static long do_sys_name_to_handle(const struct path *path, in do_sys_name_to_handle() 110 struct path path; in SYSCALL_DEFINE5() local 224 static int do_handle_to_path(struct file_handle *handle, struct path *path, in do_handle_to_path() 293 struct path *path, unsigned int o_flags) in handle_to_path() 347 struct path path; in do_handle_open() local
|
| /fs/xfs/scrub/ |
| D | dirtree.c | 73 struct xchk_dirpath *path, *n; in xchk_dirtree_buf_cleanup() local 158 struct xchk_dirpath *path, in xchk_dirpath_append() 217 struct xchk_dirpath *path; in xchk_dirtree_create_path() local 280 struct xchk_dirpath *path) in xchk_dirpath_revalidate() 347 struct xchk_dirpath *path, in xchk_dirpath_set_outcome() 365 struct xchk_dirpath *path) in xchk_dirpath_step_up() 508 struct xchk_dirpath *path) in xchk_dirpath_walk_upwards() 584 struct xchk_dirpath *path, in xchk_dirpath_step_is_stale() 650 struct xchk_dirpath *path, in xchk_dirpath_is_stale() 690 struct xchk_dirpath *path; in xchk_dirtree_live_update() local [all …]
|
| D | dirtree_repair.c | 57 struct xchk_dirpath *path, in xrep_dirpath_set_outcome() 72 struct xchk_dirpath *path; in xrep_dirtree_delete_all_paths() local 100 struct xchk_dirpath *path) in xrep_dirpath_retain_parent() 118 struct xchk_dirpath *path; in xrep_dirtree_find_surviving_path() local 147 struct xchk_dirpath *path; in xrep_dirtree_keep_one_good_path() local 183 struct xchk_dirpath *path; in xrep_dirtree_keep_one_suspect_path() local 264 struct xchk_dirpath *path, in xrep_dirtree_prep_path() 381 struct xchk_dirpath *path, in xrep_dirtree_unlink() 505 struct xchk_dirpath *path) in xrep_dirtree_delete_path() 554 struct xchk_dirpath *path; in xrep_dirtree_create_adoption_path() local [all …]
|
| /fs/btrfs/tests/ |
| D | free-space-tree-tests.c | 23 struct btrfs_path *path, in __check_free_space_extents() 110 struct btrfs_path *path, in check_free_space_extents() 153 struct btrfs_path *path, in test_empty_block_group() 167 struct btrfs_path *path, in test_remove_all() 188 struct btrfs_path *path, in test_remove_beginning() 211 struct btrfs_path *path, in test_remove_end() 234 struct btrfs_path *path, in test_remove_middle() 258 struct btrfs_path *path, in test_merge_left() 295 struct btrfs_path *path, in test_merge_right() 333 struct btrfs_path *path, in test_merge_both() [all …]
|
| /fs/nilfs2/ |
| D | btree.c | 25 struct nilfs_btree_path *path; in nilfs_btree_alloc_path() local 45 static void nilfs_btree_free_path(struct nilfs_btree_path *path) in nilfs_btree_free_path() 417 nilfs_btree_get_nonroot_node(const struct nilfs_btree_path *path, int level) in nilfs_btree_get_nonroot_node() 423 nilfs_btree_get_sib_node(const struct nilfs_btree_path *path, int level) in nilfs_btree_get_sib_node() 435 const struct nilfs_btree_path *path, in nilfs_btree_get_node() 548 struct nilfs_btree_path *path, in nilfs_btree_do_lookup() 610 struct nilfs_btree_path *path, in nilfs_btree_do_lookup_last() 659 const struct nilfs_btree_path *path, in nilfs_btree_get_next_key() 689 struct nilfs_btree_path *path; in nilfs_btree_lookup() local 707 struct nilfs_btree_path *path; in nilfs_btree_lookup_contig() local [all …]
|
| /fs/btrfs/ |
| D | dir-item.c | 24 struct btrfs_path *path, in insert_with_overflow() 58 struct btrfs_path *path, u64 objectid, in btrfs_insert_xattr_item() 116 struct btrfs_path *path; in btrfs_insert_dir_item() local 179 struct btrfs_root *root, struct btrfs_path *path, in btrfs_lookup_match_dir() 214 struct btrfs_path *path, u64 dir, in btrfs_lookup_dir_item() 242 struct btrfs_path *path; in btrfs_check_dir_item_collision() local 310 struct btrfs_path *path, u64 dir, in btrfs_lookup_dir_index_item() 329 btrfs_search_dir_index_item(struct btrfs_root *root, struct btrfs_path *path, in btrfs_search_dir_index_item() 358 struct btrfs_path *path, u64 dir, in btrfs_lookup_xattr() 382 const struct btrfs_path *path, in btrfs_match_dir_item_name() [all …]
|
| D | free-space-tree.c | 71 struct btrfs_path *path) in add_new_free_space_info() 104 struct btrfs_path *path, int cow) in search_free_space_info() 207 struct btrfs_path *path) in convert_free_space_to_bitmaps() 345 struct btrfs_path *path) in convert_free_space_to_extents() 477 struct btrfs_path *path, in update_free_space_extent_count() 515 struct btrfs_path *path, u64 offset) in free_space_test_bit() 538 struct btrfs_path *path, u64 *start, u64 *size, in free_space_set_bits() 606 struct btrfs_path *path, in modify_free_space_bitmap() 719 struct btrfs_path *path, in remove_free_space_extent() 806 struct btrfs_path *path, u64 start, u64 size) in __remove_from_free_space_tree() [all …]
|
| D | ctree.c | 925 struct btrfs_path *path, int level) in balance_level() 1195 struct btrfs_path *path, int level) in push_nodes_for_insert() 1345 struct btrfs_path *path, in reada_for_search() 1427 static noinline void reada_for_balance(struct btrfs_path *path, int level) in reada_for_balance() 1460 static noinline void unlock_up(struct btrfs_path *path, int level, in unlock_up() 1679 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_find_item() 1808 static int finish_need_commit_sem_search(struct btrfs_path *path) in finish_need_commit_sem_search() 1857 struct btrfs_path *path, in search_leaf() 2370 static int btrfs_prev_leaf(struct btrfs_root *root, struct btrfs_path *path) in btrfs_prev_leaf() 2526 struct btrfs_path *path) in btrfs_search_backwards() [all …]
|
| D | tree-log.c | 399 struct btrfs_path *path, in overwrite_item() 632 struct btrfs_path *path, in replay_one_extent() 931 struct btrfs_path *path, in drop_one_dir_item() 978 struct btrfs_path *path, in inode_in_dir() 1029 struct btrfs_path *path; in backref_in_log() local 1058 struct btrfs_path *path, in __add_inode_ref() 1273 struct btrfs_path *path, in unlink_old_inode_refs() 1357 struct btrfs_path *path, in add_inode_ref() 1517 static int count_inode_extrefs(struct btrfs_inode *inode, struct btrfs_path *path) in count_inode_extrefs() 1560 static int count_inode_refs(struct btrfs_inode *inode, struct btrfs_path *path) in count_inode_refs() [all …]
|
| D | file-item.c | 166 struct btrfs_path *path; in btrfs_insert_hole_extent() local 203 struct btrfs_path *path, in btrfs_lookup_csum() 256 struct btrfs_path *path, u64 objectid, in btrfs_lookup_file_extent() 280 struct btrfs_path *path, u64 disk_bytenr, in search_csum_tree() 346 struct btrfs_path *path; in btrfs_lookup_bio_sums() local 472 struct btrfs_path *path; in btrfs_lookup_csums_list() local 611 int btrfs_lookup_csums_bitmap(struct btrfs_root *root, struct btrfs_path *path, in btrfs_lookup_csums_bitmap() 826 struct btrfs_path *path, in truncate_one_csum() 879 struct btrfs_path *path; in btrfs_del_csums() local 1020 struct btrfs_path *path, in find_next_csum_offset() [all …]
|
| D | root-tree.c | 68 struct btrfs_path *path, struct btrfs_root_item *root_item, in btrfs_find_root() 133 struct btrfs_path *path; in btrfs_update_root() local 220 struct btrfs_path *path; in btrfs_find_orphan_roots() local 322 struct btrfs_path *path; in btrfs_del_root() local 348 struct btrfs_path *path; in btrfs_del_root_ref() local 422 struct btrfs_path *path; in btrfs_add_root_ref() local
|
| D | inode-item.c | 84 struct btrfs_path *path, in btrfs_lookup_inode_extref() 112 struct btrfs_path *path; in btrfs_del_inode_extref() local 181 struct btrfs_path *path; in btrfs_del_inode_ref() local 263 struct btrfs_path *path; in btrfs_insert_inode_extref() local 314 struct btrfs_path *path; in btrfs_insert_inode_ref() local 387 struct btrfs_path *path, u64 objectid) in btrfs_insert_empty_inode() 401 *root, struct btrfs_path *path, in btrfs_lookup_inode() 463 struct btrfs_path *path; in btrfs_truncate_inode_items() local
|
| D | uuid-tree.c | 30 struct btrfs_path *path = NULL; in btrfs_uuid_tree_lookup() local 92 struct btrfs_path *path = NULL; in btrfs_uuid_tree_add() local 156 struct btrfs_path *path = NULL; in btrfs_uuid_tree_remove() local 298 struct btrfs_path *path; in btrfs_uuid_tree_iterate() local 401 struct btrfs_path *path = NULL; in btrfs_uuid_scan_kthread() local
|
| /fs/ext4/ |
| D | extents.c | 108 static inline void ext4_ext_path_brelse(struct ext4_ext_path *path) in ext4_ext_path_brelse() 114 static void ext4_ext_drop_refs(struct ext4_ext_path *path) in ext4_ext_drop_refs() 125 void ext4_free_ext_path(struct ext4_ext_path *path) in ext4_free_ext_path() 161 struct ext4_ext_path *path) in ext4_ext_get_access() 192 struct ext4_ext_path *path) in __ext4_ext_dirty() 212 #define ext4_ext_dirty(handle, inode, path) \ argument 216 struct ext4_ext_path *path, in ext4_ext_find_goal() 266 struct ext4_ext_path *path, in ext4_ext_new_meta_block() 333 struct ext4_ext_path *path, ext4_lblk_t lblk, in ext4_force_split_extent_at() 607 struct ext4_ext_path *path = NULL; in ext4_ext_precache() local [all …]
|
| /fs/smb/client/ |
| D | dfs_cache.c | 40 const char *path; member 76 char *dfs_cache_canonical_path(const char *path, const struct nls_table *cp, int remap) in dfs_cache_canonical_path() 533 static struct cache_entry *__lookup_cache_entry(const char *path, unsigned int hash, int len) in __lookup_cache_entry() 555 static struct cache_entry *lookup_cache_entry(const char *path) in lookup_cache_entry() 644 static int get_dfs_referral(const unsigned int xid, struct cifs_ses *ses, const char *path, in get_dfs_referral() 683 const char *path, in cache_refresh_path() 754 static int setup_referral(const char *path, struct cache_entry *ce, in setup_referral() 855 int remap, const char *path, struct dfs_info3_param *ref, in dfs_cache_find() 902 int dfs_cache_noreq_find(const char *path, struct dfs_info3_param *ref, in dfs_cache_noreq_find() 944 void dfs_cache_noreq_update_tgthint(const char *path, const struct dfs_cache_tgt_iterator *it) in dfs_cache_noreq_update_tgthint() [all …]
|
| /fs/autofs/ |
| D | dev-ioctl.c | 190 int test(const struct path *path, void *data), in find_autofs_mount() 193 struct path path; in find_autofs_mount() local 216 static int test_by_dev(const struct path *path, void *p) in test_by_dev() 221 static int test_by_type(const struct path *path, void *p) in test_by_type() 239 struct path path; in autofs_dev_ioctl_open_mountpoint() local 267 const char *path; in autofs_dev_ioctl_openmount() local 511 struct path path; in autofs_dev_ioctl_requester() local 594 struct path path; in autofs_dev_ioctl_ismountpoint() local
|
| /fs/smb/server/ |
| D | vfs.c | 71 struct path *path) in ksmbd_vfs_path_lookup_locked() 174 struct path path; in ksmbd_vfs_create() local 213 struct path path; in ksmbd_vfs_mkdir() local 562 int ksmbd_vfs_getattr(const struct path *path, struct kstat *stat) in ksmbd_vfs_getattr() 605 int ksmbd_vfs_remove_file(struct ksmbd_work *work, const struct path *path) in ksmbd_vfs_remove_file() 943 const struct path *path, const char *attr_name, in ksmbd_vfs_setxattr() 1068 const struct path *path, char *attr_name, in ksmbd_vfs_remove_xattr() 1231 struct path *path, bool caseless) in ksmbd_vfs_kern_path_locked() 1310 void ksmbd_vfs_kern_path_unlock(struct path *parent_path, struct path *path) in ksmbd_vfs_kern_path_unlock() 1321 struct path *path) in ksmbd_vfs_kern_path_create() [all …]
|