Home
last modified time | relevance | path

Searched refs:dvnode (Results 1 – 2 of 2) sorted by relevance

/fs/afs/
Ddir_silly.c26 struct afs_vnode *dvnode = dvp->vnode; in afs_silly_rename_edit_dir() local
34 if (dvnode->silly_key != op->key) { in afs_silly_rename_edit_dir()
35 key_put(dvnode->silly_key); in afs_silly_rename_edit_dir()
36 dvnode->silly_key = key_get(op->key); in afs_silly_rename_edit_dir()
39 down_write(&dvnode->validate_lock); in afs_silly_rename_edit_dir()
40 if (test_bit(AFS_VNODE_DIR_VALID, &dvnode->flags) && in afs_silly_rename_edit_dir()
41 dvnode->status.data_version == dvp->dv_before + dvp->dv_delta) { in afs_silly_rename_edit_dir()
42 afs_edit_dir_remove(dvnode, &old->d_name, in afs_silly_rename_edit_dir()
44 afs_edit_dir_add(dvnode, &new->d_name, in afs_silly_rename_edit_dir()
47 up_write(&dvnode->validate_lock); in afs_silly_rename_edit_dir()
[all …]
Ddir.c137 static bool afs_dir_check_folio(struct afs_vnode *dvnode, struct folio *folio, in afs_dir_check_folio() argument
156 __func__, dvnode->netfs.inode.i_ino, in afs_dir_check_folio()
158 trace_afs_dir_check_failed(dvnode, pos + offset, i_size); in afs_dir_check_folio()
160 trace_afs_file_error(dvnode, -EIO, afs_file_error_dir_bad_magic); in afs_dir_check_folio()
173 afs_stat_v(dvnode, n_read_dir); in afs_dir_check_folio()
183 static void afs_dir_dump(struct afs_vnode *dvnode, struct afs_read *req) in afs_dir_dump() argument
186 struct address_space *mapping = dvnode->netfs.inode.i_mapping; in afs_dir_dump()
194 dvnode->fid.vid, dvnode->fid.vnode, in afs_dir_dump()
218 static int afs_dir_check(struct afs_vnode *dvnode, struct afs_read *req) in afs_dir_check() argument
220 struct address_space *mapping = dvnode->netfs.inode.i_mapping; in afs_dir_check()
[all …]