Lines Matching refs:key
265 struct afs_vnode *auth_vnode, struct key *key) in afs_vnode_fetch_status() argument
360 ret = afs_fs_fetch_file_status(server, key, vnode, NULL, in afs_vnode_fetch_status()
369 afs_cache_permit(vnode, key, acl_order); in afs_vnode_fetch_status()
395 int afs_vnode_fetch_data(struct afs_vnode *vnode, struct key *key, in afs_vnode_fetch_data() argument
406 key_serial(key)); in afs_vnode_fetch_data()
423 ret = afs_fs_fetch_data(server, key, vnode, offset, length, in afs_vnode_fetch_data()
450 int afs_vnode_create(struct afs_vnode *vnode, struct key *key, in afs_vnode_create() argument
463 key_serial(key), in afs_vnode_create()
479 ret = afs_fs_create(server, key, vnode, name, mode, newfid, in afs_vnode_create()
508 int afs_vnode_remove(struct afs_vnode *vnode, struct key *key, const char *name, in afs_vnode_remove() argument
519 key_serial(key), in afs_vnode_remove()
535 ret = afs_fs_remove(server, key, vnode, name, isdir, in afs_vnode_remove()
564 struct key *key, const char *name) in afs_vnode_link() argument
578 key_serial(key), in afs_vnode_link()
597 ret = afs_fs_link(server, key, dvnode, vnode, name, in afs_vnode_link()
631 int afs_vnode_symlink(struct afs_vnode *vnode, struct key *key, in afs_vnode_symlink() argument
645 key_serial(key), in afs_vnode_symlink()
661 ret = afs_fs_symlink(server, key, vnode, name, content, in afs_vnode_symlink()
692 struct key *key, in afs_vnode_rename() argument
708 key_serial(key), in afs_vnode_rename()
731 ret = afs_fs_rename(server, key, orig_dvnode, orig_name, in afs_vnode_rename()
781 key_serial(wb->key), in afs_vnode_store_data()
824 int afs_vnode_setattr(struct afs_vnode *vnode, struct key *key, in afs_vnode_setattr() argument
835 key_serial(key)); in afs_vnode_setattr()
850 ret = afs_fs_setattr(server, key, vnode, attr, &afs_sync_call); in afs_vnode_setattr()
876 int afs_vnode_get_volume_status(struct afs_vnode *vnode, struct key *key, in afs_vnode_get_volume_status() argument
887 key_serial(key)); in afs_vnode_get_volume_status()
897 ret = afs_fs_get_volume_status(server, key, vnode, vs, &afs_sync_call); in afs_vnode_get_volume_status()
915 int afs_vnode_set_lock(struct afs_vnode *vnode, struct key *key, in afs_vnode_set_lock() argument
926 key_serial(key), type); in afs_vnode_set_lock()
936 ret = afs_fs_set_lock(server, key, vnode, type, &afs_sync_call); in afs_vnode_set_lock()
954 int afs_vnode_extend_lock(struct afs_vnode *vnode, struct key *key) in afs_vnode_extend_lock() argument
964 key_serial(key)); in afs_vnode_extend_lock()
974 ret = afs_fs_extend_lock(server, key, vnode, &afs_sync_call); in afs_vnode_extend_lock()
992 int afs_vnode_release_lock(struct afs_vnode *vnode, struct key *key) in afs_vnode_release_lock() argument
1002 key_serial(key)); in afs_vnode_release_lock()
1012 ret = afs_fs_release_lock(server, key, vnode, &afs_sync_call); in afs_vnode_release_lock()