Home
last modified time | relevance | path

Searched refs:afs_vnode (Results 1 – 19 of 19) sorted by relevance

/linux/fs/afs/
H A Dinternal.h36 struct afs_vnode;
687 struct afs_vnode { struct
739 static inline struct fscache_cookie *afs_vnode_cache(struct afs_vnode *vnode) in afs_vnode_cache() argument
748 static inline void afs_vnode_set_cache(struct afs_vnode *vnode, in afs_vnode_set_cache()
843 struct afs_vnode *vnode;
965 static inline void afs_set_cache_aux(struct afs_vnode *vnode, in afs_set_cache_aux()
971 static inline void afs_invalidate_cache(struct afs_vnode *vnode, unsigned int flags) in afs_invalidate_cache()
984 struct afs_vnode *dvnode;
1031 extern void __afs_break_callback(struct afs_vnode *, enum afs_cb_break_reason);
1032 extern void afs_break_callback(struct afs_vnode *, enum afs_cb_break_reason);
[all …]
H A Ddir_silly.c26 struct afs_vnode *dvnode = dvp->vnode; in afs_silly_rename_edit_dir()
27 struct afs_vnode *vnode = AFS_FS_I(d_inode(op->dentry)); in afs_silly_rename_edit_dir()
60 static int afs_do_silly_rename(struct afs_vnode *dvnode, struct afs_vnode *vnode, in afs_do_silly_rename()
111 int afs_sillyrename(struct afs_vnode *dvnode, struct afs_vnode *vnode, in afs_sillyrename()
179 struct afs_vnode *dvnode = dvp->vnode; in afs_silly_unlink_edit_dir()
201 static int afs_do_silly_unlink(struct afs_vnode *dvnode, struct afs_vnode *vnode, in afs_do_silly_unlink()
246 struct afs_vnode *dvnode = AFS_FS_I(d_inode(dentry->d_parent)); in afs_silly_iput()
247 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_silly_iput()
H A Dflock.c16 static void afs_next_locker(struct afs_vnode *vnode, int error);
25 static inline void afs_set_lock_state(struct afs_vnode *vnode, enum afs_lock_state state) in afs_set_lock_state()
36 void afs_lock_may_be_available(struct afs_vnode *vnode) in afs_lock_may_be_available()
51 static void afs_schedule_lock_extension(struct afs_vnode *vnode) in afs_schedule_lock_extension()
74 struct afs_vnode *vnode = op->file[0].vnode; in afs_lock_op_done()
90 static void afs_grant_locks(struct afs_vnode *vnode) in afs_grant_locks()
111 static void afs_next_locker(struct afs_vnode *vnode, int error) in afs_next_locker()
157 static void afs_kill_lockers_enoent(struct afs_vnode *vnode) in afs_kill_lockers_enoent()
191 static int afs_set_lock(struct afs_vnode *vnode, struct key *key, in afs_set_lock()
223 static int afs_extend_lock(struct afs_vnode *vnode, struct key *key) in afs_extend_lock()
[all …]
H A Dfile.c85 int afs_cache_wb_key(struct afs_vnode *vnode, struct afs_file *af) in afs_cache_wb_key()
120 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_open()
174 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_release()
213 struct afs_vnode *vnode = op->file[0].vnode; in afs_fetch_data_success()
335 struct afs_vnode *vnode = AFS_FS_I(subreq->rreq->inode); in afs_issue_read()
382 struct afs_vnode *vnode = AFS_FS_I(rreq->inode); in afs_init_request()
416 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); in afs_check_write_begin()
429 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_update_i_size()
444 struct afs_vnode *vnode = AFS_FS_I(wreq->inode); in afs_netfs_invalidate_cache()
462 static void afs_add_open_mmap(struct afs_vnode *vnode) in afs_add_open_mmap()
[all …]
H A Ddir.c96 static void afs_dir_unuse_cookie(struct afs_vnode *dvnode, int ret) in afs_dir_unuse_cookie()
131 static void afs_dir_dump(struct afs_vnode *dvnode) in afs_dir_dump()
147 static bool afs_dir_check_block(struct afs_vnode *dvnode, size_t progress, in afs_dir_check_block()
174 struct afs_vnode *dvnode = priv; in afs_dir_check_step()
193 static int afs_dir_check(struct afs_vnode *dvnode) in afs_dir_check()
231 static ssize_t afs_do_read_single(struct afs_vnode *dvnode, struct file *file) in afs_do_read_single()
297 ssize_t afs_read_single(struct afs_vnode *dvnode, struct file *file) in afs_read_single()
311 ssize_t afs_read_dir(struct afs_vnode *dvnode, struct file *file) in afs_read_dir()
368 static int afs_dir_iterate_block(struct afs_vnode *dvnode, in afs_dir_iterate_block()
465 struct afs_vnode *dvnode = priv; in afs_dir_iterate_step()
[all …]
H A Dinode.c28 void afs_init_new_symlink(struct afs_vnode *vnode, struct afs_operation *op) in afs_init_new_symlink()
57 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_get_link()
118 static noinline void dump_vnode(struct afs_vnode *vnode, struct afs_vnode *parent_vnode) in dump_vnode()
145 static void afs_set_netfs_context(struct afs_vnode *vnode) in afs_set_netfs_context()
155 struct afs_vnode *vnode) in afs_inode_init_from_status()
255 struct afs_vnode *vnode = vp->vnode; in afs_apply_status()
366 struct afs_vnode *vnode = vp->vnode; in afs_apply_callback()
381 struct afs_vnode *vnode = vp->vnode; in afs_vnode_commit_status()
427 struct afs_vnode *vnode = vp->vnode; in afs_fetch_status_success()
450 int afs_fetch_status(struct afs_vnode *vnode, struct key *key, bool is_new, in afs_fetch_status()
[all …]
H A Dfs_operation.c61 static void afs_unlock_for_io(struct afs_vnode *vnode) in afs_unlock_for_io()
83 static void afs_lock_for_io(struct afs_vnode *vnode) in afs_lock_for_io()
110 static int afs_lock_for_io_interruptible(struct afs_vnode *vnode) in afs_lock_for_io_interruptible()
156 struct afs_vnode *vnode = op->file[0].vnode; in afs_get_io_locks()
157 struct afs_vnode *vnode2 = op->file[1].vnode; in afs_get_io_locks()
200 struct afs_vnode *vnode = op->file[0].vnode; in afs_drop_io_locks()
201 struct afs_vnode *vnode2 = op->file[1].vnode; in afs_drop_io_locks()
214 struct afs_vnode *vnode = vp->vnode; in afs_prepare_vnode()
239 struct afs_vnode *vnode = op->file[0].vnode; in afs_begin_vnode_operation()
H A Dwrite.c21 static void afs_pages_written_back(struct afs_vnode *vnode, loff_t start, unsigned int len) in afs_pages_written_back()
39 struct afs_vnode *vnode = AFS_FS_I(wreq->inode); in afs_get_writeback_key()
69 struct afs_vnode *vnode = op->file[0].vnode; in afs_store_data_success()
108 struct afs_vnode *vnode = AFS_FS_I(wreq->inode); in afs_issue_write_worker()
231 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_writepages()
255 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); in afs_fsync()
286 void afs_prune_wb_keys(struct afs_vnode *vnode) in afs_prune_wb_keys()
H A Dcallback.c31 struct afs_vnode *vnode = container_of(work, struct afs_vnode, cb_work); in afs_invalidate_mmap_work()
38 struct afs_vnode *vnode; in afs_volume_init_callback()
77 void __afs_break_callback(struct afs_vnode *vnode, enum afs_cb_break_reason reason) in __afs_break_callback()
101 void afs_break_callback(struct afs_vnode *vnode, enum afs_cb_break_reason reason) in afs_break_callback()
193 struct afs_vnode *vnode; in afs_break_one_callback()
H A Dxattr.c42 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_acl()
106 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_set_acl()
144 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_yfs()
237 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_set_yfs()
273 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_cell()
300 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_fid()
338 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_volume()
H A Ddynroot.c34 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_iget5_pseudo_set()
49 struct afs_vnode *vnode; in afs_iget_pseudo_dir()
208 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_atcell_get_link()
251 struct afs_vnode *vnode; in afs_lookup_atcell()
372 struct afs_vnode *vnode; in afs_dynroot_iget_root()
H A Dsecurity.c140 void afs_clear_permits(struct afs_vnode *vnode) in afs_clear_permits()
176 void afs_cache_permit(struct afs_vnode *vnode, struct key *key, in afs_cache_permit()
336 static bool afs_check_permit_rcu(struct afs_vnode *vnode, struct key *key, in afs_check_permit_rcu()
375 int afs_check_permit(struct afs_vnode *vnode, struct key *key, in afs_check_permit()
434 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_permission()
H A Ddir_edit.c114 struct afs_vnode *dvnode = iter->dvnode; in afs_dir_get_block()
241 void afs_edit_dir_add(struct afs_vnode *vnode, in afs_edit_dir_add()
393 void afs_edit_dir_remove(struct afs_vnode *vnode, in afs_edit_dir_remove()
528 void afs_edit_dir_update(struct afs_vnode *vnode, const struct qstr *name, in afs_edit_dir_update()
529 struct afs_vnode *new_dvnode, enum afs_edit_dir_reason why) in afs_edit_dir_update()
604 void afs_mkdir_init_dir(struct afs_vnode *dvnode, struct afs_vnode *parent_dvnode) in afs_mkdir_init_dir()
H A Dsuper.c107 sizeof(struct afs_vnode), in afs_fs_init()
651 struct afs_vnode *vnode = _vnode; in afs_i_init_once()
672 struct afs_vnode *vnode; in afs_alloc_inode()
711 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_destroy_inode()
748 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); in afs_statfs()
H A Dvalidation.c120 bool afs_check_validity(const struct afs_vnode *vnode) in afs_check_validity()
367 static void afs_zap_data(struct afs_vnode *vnode) in afs_zap_data()
391 int afs_validate(struct afs_vnode *vnode, struct key *key) in afs_validate()
H A Ddir_search.c70 struct afs_vnode *dvnode = iter->dvnode; in afs_dir_find_block()
191 int afs_dir_search(struct afs_vnode *dvnode, const struct qstr *name, in afs_dir_search()
H A Dmntpt.c75 struct afs_vnode *vnode = AFS_FS_I(d_inode(mntpt)); in afs_mntpt_set_params()
H A Drotate.c35 struct afs_vnode *vnode) in afs_start_fs_iteration()
156 struct afs_vnode *vnode = op->file[0].vnode; in afs_select_fileserver()
/linux/include/trace/events/
H A Dafs.h964 TP_PROTO(struct afs_vnode *vnode, loff_t off),
969 __field(struct afs_vnode *, vnode)
1015 TP_PROTO(struct afs_vnode *dvnode, const struct qstr *name,
1041 TP_PROTO(struct afs_vnode *dvnode,
1089 TP_PROTO(const struct afs_vnode *dvnode, enum afs_dir_invalid_trace trace),
1111 TP_PROTO(const struct afs_vnode *vnode, enum afs_cb_promise_trace trace),
1133 TP_PROTO(const struct afs_vnode *vnode, enum afs_vnode_invalid_trace trace),
1155 TP_PROTO(const struct afs_vnode *dvnode, u64 new_dv),
1179 TP_PROTO(const struct afs_vnode *dvnode, u64 before_dv, int delta, u64 new_dv),
1247 TP_PROTO(struct afs_vnode *vnode, int error, enum afs_file_error where),
[all …]