/linux-4.4.14/fs/afs/ |
H A D | internal.h | 147 struct afs_vnode *vnode; /* vnode to which this write applies */ 333 struct afs_vnode { struct 459 extern void afs_discard_callback_on_delete(struct afs_vnode *); 460 extern void afs_give_up_callback(struct afs_vnode *); 508 extern void afs_lock_may_be_available(struct afs_vnode *); 516 struct afs_vnode *, struct afs_volsync *, 521 struct afs_vnode *, off_t, size_t, struct page *, 524 struct afs_vnode *, const char *, umode_t, 529 struct afs_vnode *, const char *, bool, 531 extern int afs_fs_link(struct afs_server *, struct key *, struct afs_vnode *, 532 struct afs_vnode *, const char *, 535 struct afs_vnode *, const char *, const char *, 539 struct afs_vnode *, const char *, 540 struct afs_vnode *, const char *, 546 struct afs_vnode *, struct iattr *, 549 struct afs_vnode *, 553 struct afs_vnode *, afs_lock_type_t, 556 struct afs_vnode *, 559 struct afs_vnode *, 570 extern void afs_zap_data(struct afs_vnode *); 571 extern int afs_validate(struct afs_vnode *, struct key *); 596 extern int afs_mntpt_check_symlink(struct afs_vnode *, struct key *); 626 extern void afs_clear_permits(struct afs_vnode *); 627 extern void afs_cache_permit(struct afs_vnode *, struct key *, long); 687 static inline struct afs_vnode *AFS_FS_I(struct inode *inode) AFS_FS_I() 689 return container_of(inode, struct afs_vnode, vfs_inode); AFS_FS_I() 692 static inline struct inode *AFS_VNODE_TO_I(struct afs_vnode *vnode) AFS_VNODE_TO_I() 697 extern void afs_vnode_finalise_status_update(struct afs_vnode *, 699 extern int afs_vnode_fetch_status(struct afs_vnode *, struct afs_vnode *, 701 extern int afs_vnode_fetch_data(struct afs_vnode *, struct key *, 703 extern int afs_vnode_create(struct afs_vnode *, struct key *, const char *, 706 extern int afs_vnode_remove(struct afs_vnode *, struct key *, const char *, 708 extern int afs_vnode_link(struct afs_vnode *, struct afs_vnode *, struct key *, 710 extern int afs_vnode_symlink(struct afs_vnode *, struct key *, const char *, 713 extern int afs_vnode_rename(struct afs_vnode *, struct afs_vnode *, 717 extern int afs_vnode_setattr(struct afs_vnode *, struct key *, struct iattr *); 718 extern int afs_vnode_get_volume_status(struct afs_vnode *, struct key *, 720 extern int afs_vnode_set_lock(struct afs_vnode *, struct key *, 722 extern int afs_vnode_extend_lock(struct afs_vnode *, struct key *); 723 extern int afs_vnode_release_lock(struct afs_vnode *, struct key *); 732 extern struct afs_server *afs_volume_pick_fileserver(struct afs_vnode *); 733 extern int afs_volume_release_fileserver(struct afs_vnode *, 749 extern void afs_pages_written_back(struct afs_vnode *, struct afs_call *); 751 extern int afs_writeback_all(struct afs_vnode *);
|
H A D | callback.c | 40 struct afs_vnode *vnode; afs_init_callback_state() 49 struct afs_vnode, cb_promise); afs_init_callback_state() 65 struct afs_vnode *vnode = afs_broken_callback_work() 66 container_of(work, struct afs_vnode, cb_broken_work); afs_broken_callback_work() 111 struct afs_vnode *vnode) afs_break_callback() 146 struct afs_vnode *vnode; afs_break_one_callback() 153 vnode = rb_entry(p, struct afs_vnode, server_rb); afs_break_one_callback() 223 struct afs_vnode *vnode) afs_do_give_up_callback() 262 void afs_discard_callback_on_delete(struct afs_vnode *vnode) afs_discard_callback_on_delete() 289 void afs_give_up_callback(struct afs_vnode *vnode) afs_give_up_callback() 364 struct afs_vnode *vnode, *xvnode; 385 struct afs_vnode, cb_promise); 437 struct afs_vnode, update); 441 struct afs_vnode, update);
|
H A D | vnode.c | 23 struct afs_vnode *vnode; 32 vnode = rb_entry(node, struct afs_vnode, cb_promise); 59 static void afs_install_vnode(struct afs_vnode *vnode, afs_install_vnode() 63 struct afs_vnode *xvnode; afs_install_vnode() 85 xvnode = rb_entry(parent, struct afs_vnode, server_rb); afs_install_vnode() 113 static void afs_vnode_note_promise(struct afs_vnode *vnode, afs_vnode_note_promise() 117 struct afs_vnode *xvnode; afs_vnode_note_promise() 156 xvnode = rb_entry(parent, struct afs_vnode, cb_promise); afs_vnode_note_promise() 174 static void afs_vnode_deleted_remotely(struct afs_vnode *vnode) afs_vnode_deleted_remotely() 213 void afs_vnode_finalise_status_update(struct afs_vnode *vnode, afs_vnode_finalise_status_update() 235 static void afs_vnode_status_update_failed(struct afs_vnode *vnode, int ret) afs_vnode_status_update_failed() 264 int afs_vnode_fetch_status(struct afs_vnode *vnode, afs_vnode_fetch_status() 265 struct afs_vnode *auth_vnode, struct key *key) afs_vnode_fetch_status() 395 int afs_vnode_fetch_data(struct afs_vnode *vnode, struct key *key, afs_vnode_fetch_data() 450 int afs_vnode_create(struct afs_vnode *vnode, struct key *key, afs_vnode_create() 508 int afs_vnode_remove(struct afs_vnode *vnode, struct key *key, const char *name, afs_vnode_remove() 563 int afs_vnode_link(struct afs_vnode *dvnode, struct afs_vnode *vnode, afs_vnode_link() 631 int afs_vnode_symlink(struct afs_vnode *vnode, struct key *key, afs_vnode_symlink() 690 int afs_vnode_rename(struct afs_vnode *orig_dvnode, afs_vnode_rename() 691 struct afs_vnode *new_dvnode, afs_vnode_rename() 773 struct afs_vnode *vnode = wb->vnode; afs_vnode_store_data() 824 int afs_vnode_setattr(struct afs_vnode *vnode, struct key *key, afs_vnode_setattr() 876 int afs_vnode_get_volume_status(struct afs_vnode *vnode, struct key *key, afs_vnode_get_volume_status() 915 int afs_vnode_set_lock(struct afs_vnode *vnode, struct key *key, afs_vnode_set_lock() 954 int afs_vnode_extend_lock(struct afs_vnode *vnode, struct key *key) afs_vnode_extend_lock() 992 int afs_vnode_release_lock(struct afs_vnode *vnode, struct key *key) afs_vnode_release_lock()
|
H A D | security.c | 83 static struct afs_vnode *afs_get_auth_inode(struct afs_vnode *vnode, afs_get_auth_inode() 86 struct afs_vnode *auth_vnode; afs_get_auth_inode() 109 void afs_clear_permits(struct afs_vnode *vnode) afs_clear_permits() 129 void afs_cache_permit(struct afs_vnode *vnode, struct key *key, long acl_order) afs_cache_permit() 133 struct afs_vnode *auth_vnode; afs_cache_permit() 217 static int afs_check_permit(struct afs_vnode *vnode, struct key *key, afs_check_permit() 222 struct afs_vnode *auth_vnode; afs_check_permit() 290 struct afs_vnode *vnode = AFS_FS_I(inode); afs_permission()
|
H A D | file.c | 67 struct afs_vnode *vnode = AFS_FS_I(inode); afs_open() 95 struct afs_vnode *vnode = AFS_FS_I(inode); afs_release() 128 struct afs_vnode *vnode = AFS_FS_I(inode); afs_page_filler() 244 struct afs_vnode *vnode; afs_readpages() 325 struct afs_vnode *vnode = AFS_FS_I(page->mapping->host); afs_invalidatepage() 352 struct afs_vnode *vnode = AFS_FS_I(page->mapping->host); afs_releasepage()
|
H A D | fsclient.c | 37 struct afs_vnode *vnode, xdr_decode_AFSFetchStatus() 135 static void xdr_decode_AFSCallBack(const __be32 **_bp, struct afs_vnode *vnode) xdr_decode_AFSCallBack() 241 struct afs_vnode *vnode = call->reply; afs_deliver_fs_fetch_status() 279 struct afs_vnode *vnode, afs_fs_fetch_file_status() 315 struct afs_vnode *vnode = call->reply; afs_deliver_fs_fetch_data() 451 struct afs_vnode *vnode, afs_fs_fetch_data64() 494 struct afs_vnode *vnode, afs_fs_fetch_data() 623 struct afs_vnode *vnode = call->reply; afs_deliver_fs_create_vnode() 662 struct afs_vnode *vnode, afs_fs_create() 722 struct afs_vnode *vnode = call->reply; afs_deliver_fs_remove() 758 struct afs_vnode *vnode, afs_fs_remove() 805 struct afs_vnode *dvnode = call->reply, *vnode = call->reply2; afs_deliver_fs_link() 842 struct afs_vnode *dvnode, afs_fs_link() 843 struct afs_vnode *vnode, afs_fs_link() 893 struct afs_vnode *vnode = call->reply; afs_deliver_fs_symlink() 931 struct afs_vnode *vnode, afs_fs_symlink() 1000 struct afs_vnode *orig_dvnode = call->reply, *new_dvnode = call->reply2; afs_deliver_fs_rename() 1039 struct afs_vnode *orig_dvnode, afs_fs_rename() 1041 struct afs_vnode *new_dvnode, afs_fs_rename() 1106 struct afs_vnode *vnode = call->reply; afs_deliver_fs_store_data() 1162 struct afs_vnode *vnode = wb->vnode; afs_fs_store_data64() 1220 struct afs_vnode *vnode = wb->vnode; afs_fs_store_data() 1293 struct afs_vnode *vnode = call->reply; afs_deliver_fs_store_status() 1352 struct afs_vnode *vnode, struct iattr *attr, afs_fs_setattr_size64() 1400 struct afs_vnode *vnode, struct iattr *attr, afs_fs_setattr_size() 1448 struct afs_vnode *vnode, struct iattr *attr, afs_fs_setattr() 1725 struct afs_vnode *vnode, afs_fs_get_volume_status() 1820 struct afs_vnode *vnode, afs_fs_set_lock() 1854 struct afs_vnode *vnode, afs_fs_extend_lock() 1886 struct afs_vnode *vnode, afs_fs_release_lock()
|
H A D | inode.c | 34 static int afs_inode_map_status(struct afs_vnode *vnode, struct key *key) afs_inode_map_status() 123 struct afs_vnode *vnode = AFS_FS_I(inode); afs_iget5_set() 141 struct afs_vnode *vnode; afs_iget_autocell() 204 struct afs_vnode *vnode; afs_iget() 291 void afs_zap_data(struct afs_vnode *vnode) afs_zap_data() 313 int afs_validate(struct afs_vnode *vnode, struct key *key) afs_validate() 409 struct afs_vnode *vnode; afs_evict_inode() 461 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); afs_setattr()
|
H A D | flock.c | 61 void afs_lock_may_be_available(struct afs_vnode *vnode) afs_lock_may_be_available() 72 static void afs_schedule_lock_extension(struct afs_vnode *vnode) afs_schedule_lock_extension() 83 static void afs_grant_locks(struct afs_vnode *vnode, struct file_lock *fl) afs_grant_locks() 108 struct afs_vnode *vnode = afs_lock_work() 109 container_of(work, struct afs_vnode, lock_work.work); afs_lock_work() 238 static void afs_defer_unlock(struct afs_vnode *vnode, struct key *key) afs_defer_unlock() 256 struct afs_vnode *vnode = AFS_FS_I(inode); afs_do_setlk() 443 struct afs_vnode *vnode = AFS_FS_I(file->f_mapping->host); afs_do_unlk() 478 struct afs_vnode *vnode = AFS_FS_I(file->f_mapping->host); afs_do_getlk() 518 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); afs_lock() 541 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); afs_flock()
|
H A D | write.c | 38 struct afs_vnode *vnode = wb->vnode; afs_unlink_writeback() 69 struct afs_vnode *vnode = wb->vnode; afs_put_writeback() 86 static int afs_fill_page(struct afs_vnode *vnode, struct key *key, afs_fill_page() 123 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); afs_write_begin() 248 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); afs_write_end() 277 static void afs_kill_pages(struct afs_vnode *vnode, bool error, afs_kill_pages() 571 void afs_pages_written_back(struct afs_vnode *vnode, struct afs_call *call) afs_pages_written_back() 629 struct afs_vnode *vnode = AFS_FS_I(file_inode(iocb->ki_filp)); afs_file_write() 658 int afs_writeback_all(struct afs_vnode *vnode) afs_writeback_all() 686 struct afs_vnode *vnode = AFS_FS_I(inode); afs_fsync() 748 struct afs_vnode *vnode = AFS_FS_I(vma->vm_file->f_mapping->host); afs_page_mkwrite()
|
H A D | cache.c | 253 const struct afs_vnode *vnode = cookie_netfs_data; afs_vnode_cache_get_key() 276 const struct afs_vnode *vnode = cookie_netfs_data; afs_vnode_cache_get_attr() 291 const struct afs_vnode *vnode = cookie_netfs_data; afs_vnode_cache_get_aux() 318 struct afs_vnode *vnode = cookie_netfs_data; afs_vnode_cache_check_aux() 372 struct afs_vnode *vnode = cookie_netfs_data; afs_vnode_cache_now_uncached()
|
H A D | super.c | 92 sizeof(struct afs_vnode), afs_fs_init() 461 struct afs_vnode *vnode = _vnode; afs_i_init_once() 482 struct afs_vnode *vnode; afs_alloc_inode() 505 struct afs_vnode *vnode = AFS_FS_I(inode); afs_i_callback() 514 struct afs_vnode *vnode = AFS_FS_I(inode); afs_destroy_inode() 532 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); afs_statfs()
|
H A D | dir.c | 466 struct afs_vnode *vnode = AFS_FS_I(dir); afs_try_auto_mntpt() 497 struct afs_vnode *vnode; afs_lookup() 579 struct afs_vnode *vnode, *dir; afs_d_revalidate() 735 struct afs_vnode *dvnode, *vnode; afs_mkdir() 798 struct afs_vnode *dvnode, *vnode; afs_rmdir() 840 struct afs_vnode *dvnode, *vnode; afs_unlink() 912 struct afs_vnode *dvnode, *vnode; afs_create() 976 struct afs_vnode *dvnode, *vnode; afs_link() 1020 struct afs_vnode *dvnode, *vnode; afs_symlink() 1088 struct afs_vnode *orig_dvnode, *new_dvnode, *vnode; afs_rename()
|
H A D | mntpt.c | 53 int afs_mntpt_check_symlink(struct afs_vnode *vnode, struct key *key) afs_mntpt_check_symlink() 129 struct afs_vnode *vnode; afs_mntpt_do_automount()
|
H A D | volume.c | 219 struct afs_server *afs_volume_pick_fileserver(struct afs_vnode *vnode) afs_volume_pick_fileserver() 306 int afs_volume_release_fileserver(struct afs_vnode *vnode, afs_volume_release_fileserver()
|