Searched refs:path (Results 51 - 75 of 1248) sorted by relevance

1234567891011>>

/linux-master/fs/bcachefs/
H A Dbtree_iter.c97 static inline bool btree_path_pos_before_node(struct btree_path *path, argument
100 return bpos_lt(path->pos, b->data->min_key);
103 static inline bool btree_path_pos_after_node(struct btree_path *path, argument
106 return bpos_gt(path->pos, b->key.k.p);
109 static inline bool btree_path_pos_in_node(struct btree_path *path, argument
112 return path->btree_id == b->c.btree_id &&
113 !btree_path_pos_before_node(path, b) &&
114 !btree_path_pos_after_node(path, b);
122 struct btree_path *path)
125 bool locked = btree_node_locked(path,
121 bch2_btree_path_verify_cached(struct btree_trans *trans, struct btree_path *path) argument
138 bch2_btree_path_verify_level(struct btree_trans *trans, struct btree_path *path, unsigned level) argument
220 bch2_btree_path_verify(struct btree_trans *trans, struct btree_path *path) argument
243 struct btree_path *path; local
335 struct btree_path *path; local
374 bch2_btree_path_verify_level(struct btree_trans *trans, struct btree_path *path, unsigned l) argument
376 bch2_btree_path_verify(struct btree_trans *trans, struct btree_path *path) argument
403 __bch2_btree_path_fix_key_modified(struct btree_path *path, struct btree *b, struct bkey_packed *where) argument
420 struct btree_path *path; local
429 __bch2_btree_node_iter_fix(struct btree_path *path, struct btree *b, struct btree_node_iter *node_iter, struct bset_tree *t, struct bkey_packed *where, unsigned clobber_u64s, unsigned new_u64s) argument
520 bch2_btree_node_iter_fix(struct btree_trans *trans, struct btree_path *path, struct btree *b, struct btree_node_iter *node_iter, struct bkey_packed *where, unsigned clobber_u64s, unsigned new_u64s) argument
575 btree_path_level_peek(struct btree_trans *trans, struct btree_path *path, struct btree_path_level *l, struct bkey *u) argument
589 btree_path_level_prev(struct btree_trans *trans, struct btree_path *path, struct btree_path_level *l, struct bkey *u) argument
603 btree_path_advance_to_pos(struct btree_path *path, struct btree_path_level *l, int max_advance) argument
622 __btree_path_level_init(struct btree_path *path, unsigned level) argument
637 bch2_btree_path_level_init(struct btree_trans *trans, struct btree_path *path, struct btree *b) argument
681 bch2_trans_node_add(struct btree_trans *trans, struct btree_path *path, struct btree *b) argument
718 struct btree_path *path; local
729 btree_path_lock_root(struct btree_trans *trans, struct btree_path *path, unsigned depth_want, unsigned long trace_ip) argument
790 btree_path_prefetch(struct btree_trans *trans, struct btree_path *path) argument
826 btree_path_prefetch_j(struct btree_trans *trans, struct btree_path *path, struct btree_and_journal_iter *jiter) argument
861 btree_node_mem_ptr_set(struct btree_trans *trans, struct btree_path *path, unsigned plevel, struct btree *b) argument
883 btree_node_iter_and_journal_peek(struct btree_trans *trans, struct btree_path *path, unsigned flags, struct bkey_buf *out) argument
908 btree_path_down(struct btree_trans *trans, struct btree_path *path, unsigned flags, unsigned long trace_ip) argument
982 struct btree_path *path; local
1053 btree_path_check_pos_in_node(struct btree_path *path, unsigned l, int check_pos) argument
1063 btree_path_good_node(struct btree_trans *trans, struct btree_path *path, unsigned l, int check_pos) argument
1072 btree_path_set_level_down(struct btree_trans *trans, struct btree_path *path, unsigned new_level) argument
1088 __btree_path_up_until_good_node(struct btree_trans *trans, struct btree_path *path, int check_pos) argument
1111 btree_path_up_until_good_node(struct btree_trans *trans, struct btree_path *path, int check_pos) argument
1135 struct btree_path *path = &trans->paths[path_idx]; local
1233 __bch2_btree_path_make_mut(struct btree_trans *trans, btree_path_idx_t path, bool intent, unsigned long ip) argument
1254 struct btree_path *path = trans->paths + path_idx; local
1300 have_path_at_pos(struct btree_trans *trans, struct btree_path *path) argument
1315 have_node_at_pos(struct btree_trans *trans, struct btree_path *path) argument
1330 __bch2_path_free(struct btree_trans *trans, btree_path_idx_t path) argument
1339 struct btree_path *path = trans->paths + path_idx, *dup; local
1364 bch2_path_put_nokeep(struct btree_trans *trans, btree_path_idx_t path, bool intent) argument
1433 struct btree_path *path = trans->paths + path_idx; local
1595 struct btree_path *path = &trans->paths[idx]; local
1610 struct btree_path *path; local
1681 bch2_btree_path_peek_slot(struct btree_path *path, struct bkey *u) argument
1745 struct btree_path *path = btree_iter_path(trans, iter); local
1766 struct btree_path *path = btree_iter_path(trans, iter); local
1811 struct btree_path *path = btree_iter_path(trans, iter); local
1924 struct btree_path *path = btree_iter_path(trans, iter); local
1954 struct btree_path *path = btree_iter_path(trans, iter); local
1967 struct btree_path *path = btree_iter_path(trans, iter); local
1983 struct btree_path *path = btree_iter_path(trans, iter); local
2067 struct btree_path *path = btree_iter_path(trans, iter); local
2344 struct btree_path *path = btree_iter_path(trans, iter); local
2603 struct btree_path *path; local
2623 struct btree_path *path, *prev = NULL; local
2683 btree_path_list_remove(struct btree_trans *trans, struct btree_path *path) argument
2704 struct btree_path *path = trans->paths + path_idx; local
2770 struct btree_path *path = btree_iter_path(trans, iter); local
2880 struct btree_path *path; local
2914 struct btree_path *path; local
3079 struct btree_path *path; local
3207 struct btree_path *path = paths + idx; local
[all...]
/linux-master/tools/lib/subcmd/
H A Dexec-cmd.c34 static int is_absolute_path(const char *path) argument
36 return path[0] == '/';
57 static const char *make_nonrelative_path(char *buf, size_t sz, const char *path) argument
59 if (is_absolute_path(path)) {
60 if (strlcpy(buf, path, sz) >= sz)
61 die("Too long path: %.*s", 60, path);
68 if (strlen(cwd) + strlen(path) + 2 >= sz)
69 die("Too long path: %.*s", 60, path);
77 system_path(const char *path) argument
133 add_path(char **out, const char *path) argument
[all...]
/linux-master/tools/power/cpupower/lib/
H A Dcpupower.c17 int is_valid_path(const char *path) argument
19 if (access(path, F_OK) == -1)
24 unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen) argument
29 fd = open(path, O_RDONLY);
45 unsigned int cpupower_write_sysfs(const char *path, char *buf, size_t buflen) argument
50 fd = open(path, O_WRONLY);
56 perror(path);
76 char path[SYSFS_PATH_MAX]; local
84 snprintf(path, sizeof(path), PATH_TO_CP
121 char path[SYSFS_PATH_MAX]; local
[all...]
/linux-master/include/linux/
H A Dinterconnect.h29 * @path: reference to the interconnect path (internal use)
35 struct icc_path *path; member in struct:icc_bulk_data
47 void icc_put(struct icc_path *path);
48 int icc_enable(struct icc_path *path);
49 int icc_disable(struct icc_path *path);
50 int icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw);
51 void icc_set_tag(struct icc_path *path, u32 tag);
52 const char *icc_get_name(struct icc_path *path);
79 static inline void icc_put(struct icc_path *path) argument
83 icc_enable(struct icc_path *path) argument
88 icc_disable(struct icc_path *path) argument
93 icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw) argument
98 icc_set_tag(struct icc_path *path, u32 tag) argument
102 icc_get_name(struct icc_path *path) argument
[all...]
H A Dearlycpio.h15 struct cpio_data find_cpio_data(const char *path, void *data, size_t len,
/linux-master/fs/smb/server/
H A Dvfs.h85 int ksmbd_vfs_remove_file(struct ksmbd_work *work, const struct path *path);
88 int ksmbd_vfs_getattr(const struct path *path, struct kstat *stat);
89 int ksmbd_vfs_rename(struct ksmbd_work *work, const struct path *old_path,
111 const struct path *path, const char *attr_name,
117 const struct path *path, char *attr_name);
119 unsigned int flags, struct path *parent_pat
[all...]
/linux-master/fs/
H A Dfhandle.c17 static long do_sys_name_to_handle(const struct path *path, argument
30 if (!exportfs_can_encode_fh(path->dentry->d_sb->s_export_op, fh_flags))
48 retval = exportfs_encode_fh(path->dentry,
72 if (put_user(real_mount(path->mnt)->mnt_id, mnt_id) ||
98 struct path path; local
110 err = user_path_at(dfd, name, lookup_flags, &path);
112 err = do_sys_name_to_handle(&path, handle, mnt_id, fh_flags);
113 path_put(&path);
142 do_handle_to_path(int mountdirfd, struct file_handle *handle, struct path *path) argument
170 handle_to_path(int mountdirfd, struct file_handle __user *ufh, struct path *path) argument
222 struct path path; local
[all...]
/linux-master/fs/btrfs/
H A Ddir-item.h23 struct btrfs_path *path, u64 dir,
28 struct btrfs_path *path, u64 dir,
31 struct btrfs_path *path, u64 dirid,
35 struct btrfs_path *path,
39 struct btrfs_path *path, u64 objectid,
44 struct btrfs_path *path, u64 dir,
48 struct btrfs_path *path,
H A Ddir-item.c24 struct btrfs_path *path,
35 ret = btrfs_insert_empty_item(trans, root, path, cpu_key, data_size);
38 di = btrfs_match_dir_item_name(fs_info, path, name, name_len);
41 btrfs_extend_item(trans, path, data_size);
45 leaf = path->nodes[0];
46 ptr = btrfs_item_ptr(leaf, path->slots[0], char);
47 ASSERT(data_size <= btrfs_item_size(leaf, path->slots[0]));
48 ptr += btrfs_item_size(leaf, path->slots[0]) - data_size;
58 struct btrfs_path *path, u64 objectid,
78 dir_item = insert_with_overflow(trans, root, path,
21 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) argument
56 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) argument
116 struct btrfs_path *path; local
177 btrfs_lookup_match_dir( struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_key *key, const char *name, int name_len, int mod) argument
212 btrfs_lookup_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 dir, const struct fscrypt_str *name, int mod) argument
242 struct btrfs_path *path; local
308 btrfs_lookup_dir_index_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 dir, u64 index, const struct fscrypt_str *name, int mod) argument
329 btrfs_search_dir_index_item(struct btrfs_root *root, struct btrfs_path *path, u64 dirid, const struct fscrypt_str *name) argument
356 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) argument
381 btrfs_match_dir_item_name(struct btrfs_fs_info *fs_info, struct btrfs_path *path, const char *name, int name_len) argument
417 btrfs_delete_one_dir_name(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_dir_item *di) argument
[all...]
H A Duuid-tree.c28 struct btrfs_path *path = NULL; local
40 path = btrfs_alloc_path();
41 if (!path) {
47 ret = btrfs_search_slot(NULL, uuid_root, &key, path, 0, 0);
55 eb = path->nodes[0];
56 slot = path->slots[0];
80 btrfs_free_path(path);
90 struct btrfs_path *path = NULL; local
108 path = btrfs_alloc_path();
109 if (!path) {
154 struct btrfs_path *path = NULL; local
296 struct btrfs_path *path; local
[all...]
H A Dfree-space-tree.c22 struct btrfs_path *path);
71 struct btrfs_path *path)
83 ret = btrfs_insert_empty_item(trans, root, path, &key, sizeof(*info));
87 leaf = path->nodes[0];
88 info = btrfs_item_ptr(leaf, path->slots[0],
96 btrfs_release_path(path);
104 struct btrfs_path *path, int cow)
115 ret = btrfs_search_slot(trans, root, &key, path, 0, cow);
125 return btrfs_item_ptr(path->nodes[0], path
69 add_new_free_space_info(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path) argument
101 search_free_space_info( struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path, int cow) argument
205 convert_free_space_to_bitmaps(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path) argument
343 convert_free_space_to_extents(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path) 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) argument
514 free_space_test_bit(struct btrfs_block_group *block_group, struct btrfs_path *path, u64 offset) 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) 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) 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) 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) argument
837 struct btrfs_path *path; 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) 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) argument
1030 struct btrfs_path *path; local
1070 struct btrfs_path *path, *path2; local
1225 struct btrfs_path *path; local
1361 __add_block_group_free_space(struct btrfs_trans_handle *trans, struct btrfs_block_group *block_group, struct btrfs_path *path) argument
1382 struct btrfs_path *path = NULL; local
1412 struct btrfs_path *path; local
1484 load_free_space_bitmaps(struct btrfs_caching_control *caching_ctl, struct btrfs_path *path, u32 expected_extent_count) argument
1568 load_free_space_extents(struct btrfs_caching_control *caching_ctl, struct btrfs_path *path, u32 expected_extent_count) argument
1636 struct btrfs_path *path; local
[all...]
H A Dctree.c30 *root, struct btrfs_path *path, int level);
32 const struct btrfs_key *ins_key, struct btrfs_path *path,
196 /* this also releases the path */
206 * path release drops references on the extent buffers in the path
207 * and it drops any locks held by this path
916 struct btrfs_path *path, int level)
926 int orig_slot = path->slots[level];
931 mid = path->nodes[level];
933 WARN_ON(path
914 balance_level(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int level) argument
1172 push_nodes_for_insert(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int level) argument
1323 reada_for_search(struct btrfs_fs_info *fs_info, struct btrfs_path *path, int level, int slot, u64 objectid) argument
1406 reada_for_balance(struct btrfs_path *path, int level) argument
1439 unlock_up(struct btrfs_path *path, int level, int lowest_unlock, int min_write_lock_level, int *write_lock_level) argument
1663 btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, u64 iobjectid, u64 ioff, u8 key_type, struct btrfs_key *found_key) argument
1792 finish_need_commit_sem_search(struct btrfs_path *path) argument
1838 search_leaf(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct btrfs_key *key, struct btrfs_path *path, int ins_len, int prev_cmp) argument
2350 btrfs_prev_leaf(struct btrfs_root *root, struct btrfs_path *path) argument
2505 btrfs_search_backwards(struct btrfs_root *root, struct btrfs_key *key, struct btrfs_path *path) argument
2531 btrfs_get_next_valid_item(struct btrfs_root *root, struct btrfs_key *key, struct btrfs_path *path) argument
2554 fixup_low_keys(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct btrfs_disk_key *key, int level) argument
2584 btrfs_set_item_key_safe(struct btrfs_trans_handle *trans, struct btrfs_path *path, const struct btrfs_key *new_key) argument
2848 insert_new_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int level) argument
2914 insert_ptr(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct btrfs_disk_key *key, u64 bytenr, int slot, int level) argument
2970 split_node(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int level) argument
3105 __push_leaf_right(struct btrfs_trans_handle *trans, struct btrfs_path *path, int data_size, int empty, struct extent_buffer *right, int free_space, u32 left_nritems, u32 min_slot) argument
3243 push_leaf_right(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int min_data_size, int data_size, int empty, u32 min_slot) argument
3321 __push_leaf_left(struct btrfs_trans_handle *trans, struct btrfs_path *path, int data_size, int empty, struct extent_buffer *left, int free_space, u32 right_nritems, u32 max_slot) argument
3459 push_leaf_left(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int min_data_size, int data_size, int empty, u32 max_slot) argument
3521 copy_for_split(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct extent_buffer *l, struct extent_buffer *right, int slot, int mid, int nritems) argument
3590 push_for_double_split(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int data_size) argument
3650 split_leaf(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct btrfs_key *ins_key, struct btrfs_path *path, int data_size, int extend) argument
3835 setup_leaf_for_split(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int ins_len) argument
3901 split_item(struct btrfs_trans_handle *trans, struct btrfs_path *path, const struct btrfs_key *new_key, unsigned long split_offset) argument
3983 btrfs_split_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *new_key, unsigned long split_offset) argument
4005 btrfs_truncate_item(struct btrfs_trans_handle *trans, struct btrfs_path *path, u32 new_size, int from_end) argument
4097 btrfs_extend_item(struct btrfs_trans_handle *trans, struct btrfs_path *path, u32 data_size) argument
4167 setup_items_for_insert(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_item_batch *batch) argument
4264 btrfs_setup_item_for_insert(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *key, u32 data_size) argument
4288 btrfs_insert_empty_items(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_item_batch *batch) argument
4320 struct btrfs_path *path; local
4346 btrfs_duplicate_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *new_key) argument
4380 btrfs_del_ptr(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int level, int slot) argument
4437 btrfs_del_leaf(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct extent_buffer *leaf) argument
4466 btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int slot, int nr) argument
4614 btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key, struct btrfs_path *path, u64 min_trans) argument
4729 btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path, struct btrfs_key *key, int level, u64 min_trans) argument
4794 btrfs_next_old_leaf(struct btrfs_root *root, struct btrfs_path *path, u64 time_seq) argument
4995 btrfs_next_old_item(struct btrfs_root *root, struct btrfs_path *path, u64 time_seq) argument
5009 btrfs_previous_item(struct btrfs_root *root, struct btrfs_path *path, u64 min_objectid, int type) argument
5051 btrfs_previous_extent_item(struct btrfs_root *root, struct btrfs_path *path, u64 min_objectid) argument
[all...]
H A Dtree-log.c110 struct btrfs_path *path, u64 objectid);
114 struct btrfs_path *path,
363 * root is the tree we are copying into, and path is a scratch
364 * path for use in this function (it should be released on entry and
375 struct btrfs_path *path,
390 * we'll have to clone the leaf in the path, release the path and use
400 ret = btrfs_search_slot(NULL, root, key, path, 0, 0);
407 u32 dst_size = btrfs_item_size(path->nodes[0],
408 path
373 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) argument
621 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) argument
924 drop_one_dir_item(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct btrfs_inode *dir, struct btrfs_dir_item *di) argument
969 inode_in_dir(struct btrfs_root *root, struct btrfs_path *path, u64 dirid, u64 objectid, u64 index, struct fscrypt_str *name) argument
1021 struct btrfs_path *path; local
1048 __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) argument
1261 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) argument
1345 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) argument
1484 count_inode_extrefs(struct btrfs_inode *inode, struct btrfs_path *path) argument
1527 count_inode_refs(struct btrfs_inode *inode, struct btrfs_path *path) argument
1597 struct btrfs_path *path; local
1645 fixup_inode_link_counts(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path) argument
1706 link_to_fixup_dir(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid) argument
1775 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) argument
1819 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) argument
1948 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) argument
2018 find_dir_range(struct btrfs_root *root, struct btrfs_path *path, u64 dirid, u64 *start_ret, u64 *end_ret) argument
2094 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) argument
2170 replay_xattr_deletes(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_root *log, struct btrfs_path *path, const u64 ino) argument
2278 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) argument
2390 struct btrfs_path *path; local
2583 walk_down_log_tree(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int *level, struct walk_control *wc) argument
2663 walk_up_log_tree(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int *level, struct walk_control *wc) argument
2710 struct btrfs_path *path; local
3295 struct btrfs_path *path = path_in; local
3407 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) argument
3461 struct btrfs_path *path; local
3531 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) argument
3666 clone_leaf(struct btrfs_path *path, struct btrfs_log_ctx *ctx) argument
3690 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) argument
3806 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) argument
3994 update_last_dir_index_offset(struct btrfs_inode *inode, struct btrfs_path *path, const struct btrfs_log_ctx *ctx) argument
4063 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) argument
4099 drop_inode_items(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, struct btrfs_inode *inode, int max_key_type) argument
4230 log_inode_item(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, struct btrfs_inode *inode, bool inode_item_dropped) argument
4675 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) argument
4766 btrfs_log_prealloc_extents(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_log_ctx *ctx) argument
4892 btrfs_log_changed_extents(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_log_ctx *ctx) argument
4993 logged_inode_size(struct btrfs_root *log, struct btrfs_inode *inode, struct btrfs_path *path, u64 *size_ret) argument
5042 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) argument
5121 btrfs_log_holes(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path) argument
5433 struct btrfs_path *path; local
5592 conflicting_inode_is_dir(struct btrfs_root *root, u64 ino, struct btrfs_path *path) argument
5629 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) argument
5848 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) argument
6006 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) argument
6034 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) argument
6129 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) argument
6173 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) argument
6208 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) argument
6280 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) argument
6390 struct btrfs_path *path; local
6725 struct btrfs_path *path; local
6841 log_new_ancestors(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_log_ctx *ctx) argument
6951 struct btrfs_path *path; local
7185 struct btrfs_path *path; local
7500 struct btrfs_path *path; local
[all...]
/linux-master/tools/testing/selftests/memfd/
H A Dfuse_mnt.c27 static int memfd_getattr(const char *path, struct stat *st) argument
31 if (!strcmp(path, "/")) {
34 } else if (!strcmp(path, memfd_path)) {
45 static int memfd_readdir(const char *path, argument
51 if (strcmp(path, "/"))
61 static int memfd_open(const char *path, struct fuse_file_info *fi) argument
63 if (strcmp(path, memfd_path))
75 static int memfd_read(const char *path, argument
83 if (strcmp(path, memfd_path) != 0)
/linux-master/tools/testing/selftests/nsfs/
H A Dpidns.c44 char path[] = "/proc/0123456789/ns/pid"; local
55 snprintf(path, sizeof(path), "/proc/%d/ns/%s", pid, ns_strs[i]);
56 ns = open(path, O_RDONLY);
58 return pr_err("Unable to open %s", path);
64 snprintf(path, sizeof(path), "/proc/self/ns/%s", ns_strs[i]);
65 if (stat(path, &st2))
66 return pr_err("Unable to stat %s", path);
/linux-master/tools/perf/util/
H A Ddata.c27 zfree(&files[nr].path);
53 ret = asprintf(&file->path, "%s/data.%d", data->path, i);
60 ret = open(file->path, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR);
110 dir = opendir(data->path);
116 char path[PATH_MAX]; local
119 snprintf(path, sizeof(path), "%s/%s", data->path, dent->d_name);
120 if (stat(path,
495 has_kcore_dir(const char *path) argument
552 is_perf_data(const char *path) argument
[all...]
H A Dtrace-event-info.c90 char *path = get_events_file("header_page"); local
94 if (!path) {
99 if (stat(path, &st) < 0) {
100 pr_debug("can't read '%s'", path);
109 if (record_file(path, 8) < 0) {
114 put_events_file(path);
116 path = get_events_file("header_event");
117 if (!path) {
123 if (stat(path, &st) < 0) {
124 pr_debug("can't read '%s'", path);
226 char *path; local
257 char *path; local
338 char *path; local
366 char *path; local
406 struct tracepoint_path *path = NULL; local
472 struct tracepoint_path *path = tracepoint_id_to_path(config); local
484 struct tracepoint_path *path = zalloc(sizeof(*path)); local
507 struct tracepoint_path path, *ppath = &path; local
[all...]
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-exec.c25 static char *path; variable
39 execl(path, "tm-exec", "--child", NULL);
61 path = argv[0];
/linux-master/tools/testing/selftests/efivarfs/
H A Dcreate-read.c14 const char *path; local
19 fprintf(stderr, "usage: %s <path>\n", argv[0]);
23 path = argv[1];
26 fd = open(path, O_RDWR | O_CREAT, 0600);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_skc_to_unix_sock.c10 char path[256] = {}; variable
30 path[0] = '@';
35 path[i] = unix_sk->addr->name->sun_path[i];
/linux-master/fs/ext4/
H A Dextents.c109 static void ext4_ext_drop_refs(struct ext4_ext_path *path) argument
113 if (!path)
115 depth = path->p_depth;
116 for (i = 0; i <= depth; i++, path++) {
117 brelse(path->p_bh);
118 path->p_bh = NULL;
122 void ext4_free_ext_path(struct ext4_ext_path *path) argument
124 ext4_ext_drop_refs(path);
125 kfree(path);
156 struct ext4_ext_path *path)
155 ext4_ext_get_access(handle_t *handle, struct inode *inode, struct ext4_ext_path *path) argument
185 __ext4_ext_dirty(const char *where, unsigned int line, handle_t *handle, struct inode *inode, struct ext4_ext_path *path) argument
210 ext4_ext_find_goal(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t block) 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) argument
331 struct ext4_ext_path *path = *ppath; local
603 struct ext4_ext_path *path = NULL; local
663 ext4_ext_show_path(struct inode *inode, struct ext4_ext_path *path) argument
685 ext4_ext_show_leaf(struct inode *inode, struct ext4_ext_path *path) argument
708 ext4_ext_show_move(struct inode *inode, struct ext4_ext_path *path, ext4_fsblk_t newblock, int level) argument
751 ext4_ext_binsearch_idx(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t block) argument
812 ext4_ext_binsearch(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t block) argument
888 struct ext4_ext_path *path = orig_path ? *orig_path : NULL; 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) argument
1404 struct ext4_ext_path *path = *ppath; local
1470 ext4_ext_search_left(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t *logical, ext4_fsblk_t *phys) 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) argument
1642 ext4_ext_next_allocated_block(struct ext4_ext_path *path) argument
1674 ext4_ext_next_leaf_block(struct ext4_ext_path *path) argument
1705 ext4_ext_correct_indexes(handle_t *handle, struct inode *inode, struct ext4_ext_path *path) argument
1801 ext4_ext_try_to_merge_right(struct inode *inode, struct ext4_ext_path *path, struct ext4_extent *ex) argument
1842 ext4_ext_try_to_merge_up(handle_t *handle, struct inode *inode, struct ext4_ext_path *path) argument
1888 ext4_ext_try_to_merge(handle_t *handle, struct inode *inode, struct ext4_ext_path *path, struct ext4_extent *ex) argument
1918 ext4_ext_check_overlap(struct ext4_sb_info *sbi, struct inode *inode, struct ext4_extent *newext, struct ext4_ext_path *path) argument
1971 struct ext4_ext_path *path = *ppath; local
2244 ext4_ext_find_hole(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t *lblk) argument
2277 ext4_ext_rm_idx(handle_t *handle, struct inode *inode, struct ext4_ext_path *path, int depth) argument
2333 ext4_ext_calc_credits_for_single_extent(struct inode *inode, int nrblocks, struct ext4_ext_path *path) 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) argument
2773 ext4_ext_more_to_rm(struct ext4_ext_path *path) argument
2794 struct ext4_ext_path *path = NULL; local
3159 struct ext4_ext_path *path = *ppath; local
3307 struct ext4_ext_path *path = *ppath; local
3397 struct ext4_ext_path *path = *ppath; local
3655 struct ext4_ext_path *path = *ppath; local
3696 struct ext4_ext_path *path = *ppath; local
3759 struct ext4_ext_path *path = *ppath; local
3830 struct ext4_ext_path __maybe_unused *path = *ppath; local
3980 get_implied_cluster_alloc(struct super_block *sb, struct ext4_map_blocks *map, struct ext4_extent *ex, struct ext4_ext_path *path) argument
4048 ext4_ext_determine_insert_hole(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t lblk) argument
4129 struct ext4_ext_path *path = NULL; local
5059 ext4_ext_shift_path_extents(struct ext4_ext_path *path, ext4_lblk_t shift, struct inode *inode, handle_t *handle, enum SHIFT_DIRECTION SHIFT) argument
5161 struct ext4_ext_path *path; local
5443 struct ext4_ext_path *path; local
5800 struct ext4_ext_path *path; local
5882 struct ext4_ext_path *path = NULL, *ppath; local
5942 struct ext4_ext_path *path = NULL; local
5990 struct ext4_ext_path *path = NULL, *path2 = NULL; local
6083 struct ext4_ext_path *path = NULL; local
[all...]
/linux-master/Documentation/sphinx/
H A Dmaintainers_include.py22 import os.path namespace
43 def parse_maintainers(self, path):
63 for line in open(path):
171 statemachine.string2lines(output), path)
178 # Walk up source path directories to find Documentation/../
179 path = self.state_machine.document.attributes['source']
180 path = os.path.realpath(path)
181 tail = path
[all...]
/linux-master/fs/btrfs/tests/
H A Dfree-space-tree-tests.c23 struct btrfs_path *path,
35 info = search_free_space_info(trans, cache, path, 0);
41 flags = btrfs_free_space_flags(path->nodes[0], info);
42 extent_count = btrfs_free_space_extent_count(path->nodes[0], info);
50 if (path->slots[0] != 0)
54 while (++path->slots[0] < btrfs_header_nritems(path->nodes[0])) {
55 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]);
60 bit = free_space_test_bit(cache, path, offse
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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) argument
431 struct btrfs_path *path = NULL; local
[all...]
/linux-master/tools/power/cpupower/utils/helpers/
H A Dsysfs.c18 unsigned int sysfs_read_file(const char *path, char *buf, size_t buflen) argument
23 fd = open(path, O_RDONLY);
49 char path[SYSFS_PATH_MAX]; local
57 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u", cpu);
59 if (stat(path, &statbuf) != 0)
66 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/online", cpu);
67 if (stat(path, &statbuf) != 0)
70 fd = open(path, O_RDONL
107 char path[SYSFS_PATH_MAX]; local
127 char path[SYSFS_PATH_MAX]; local
162 char path[SYSFS_PATH_MAX]; local
387 char path[SYSFS_PATH_MAX]; local
[all...]
/linux-master/drivers/staging/media/atomisp/include/linux/
H A Dlibmsrlisthelper.h22 int load_msr_list(struct i2c_client *client, char *path,

Completed in 462 milliseconds

1234567891011>>