/kernel/linux/linux-5.10/fs/afs/ |
H A D | dir_silly.c | 26 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 in afs_silly_rename_edit_dir() 60 afs_do_silly_rename(struct afs_vnode *dvnode, struct afs_vnode *vnode, struct dentry *old, struct dentry *new, struct key *key) afs_do_silly_rename() argument 100 afs_sillyrename(struct afs_vnode *dvnode, struct afs_vnode *vnode, struct dentry *dentry, struct key *key) afs_sillyrename() argument 170 struct afs_vnode *dvnode = dvp->vnode; afs_silly_unlink_edit_dir() local 192 afs_do_silly_unlink(struct afs_vnode *dvnode, struct afs_vnode *vnode, struct dentry *dentry, struct key *key) afs_do_silly_unlink() argument 237 struct afs_vnode *dvnode = AFS_FS_I(d_inode(dentry->d_parent)); afs_silly_iput() local [all...] |
H A D | dir.c | 107 static bool afs_dir_check_page(struct afs_vnode *dvnode, struct page *page, in afs_dir_check_page() argument 133 __func__, dvnode->vfs_inode.i_ino, tmp, qty, in afs_dir_check_page() 135 trace_afs_dir_check_failed(dvnode, off, i_size); in afs_dir_check_page() 137 trace_afs_file_error(dvnode, -EIO, afs_file_error_dir_bad_magic); in afs_dir_check_page() 151 afs_stat_v(dvnode, n_read_dir); in afs_dir_check_page() 161 static bool afs_dir_check_pages(struct afs_vnode *dvnode, struct afs_read *req) in afs_dir_check_pages() argument 167 if (!afs_dir_check_page(dvnode, req->pages[i], req->actual_len)) in afs_dir_check_pages() 173 dvnode->fid.vid, dvnode->fid.vnode, in afs_dir_check_pages() 211 static struct afs_read *afs_read_dir(struct afs_vnode *dvnode, struc 306 trace_afs_reload_dir(dvnode); global() variable 346 afs_dir_iterate_block(struct afs_vnode *dvnode, struct dir_context *ctx, union afs_xdr_dir_block *block, unsigned blkoff) afs_dir_iterate_block() argument 452 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_dir_iterate() local 719 afs_server_supports_ibulk(struct afs_vnode *dvnode) afs_server_supports_ibulk() argument 757 struct afs_vnode *dvnode = AFS_FS_I(dir), *vnode; afs_do_lookup() local 943 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_lookup() local 1011 struct afs_vnode *dvnode; afs_d_revalidate_rcu() local 1271 struct afs_vnode *dvnode = dvp->vnode; afs_create_edit_dir() local 1306 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_mkdir() local 1355 struct afs_vnode *dvnode = dvp->vnode; afs_rmdir_edit_dir() local 1390 struct afs_vnode *dvnode = AFS_FS_I(dir), *vnode = NULL; afs_rmdir() local 1441 struct afs_vnode *dvnode = op->file[0].vnode; afs_dir_remove_link() local 1490 struct afs_vnode *dvnode = dvp->vnode; afs_unlink_edit_dir() local 1523 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_unlink() local 1605 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_create() local 1677 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_link() local 1730 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_symlink() local 1964 struct afs_vnode *dvnode = AFS_FS_I(page->mapping->host); afs_dir_releasepage() local 1984 struct afs_vnode *dvnode = AFS_FS_I(page->mapping->host); afs_dir_invalidatepage() local [all...] |
/kernel/linux/linux-6.6/fs/afs/ |
H A D | dir_silly.c | 26 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 in afs_silly_rename_edit_dir() 60 afs_do_silly_rename(struct afs_vnode *dvnode, struct afs_vnode *vnode, struct dentry *old, struct dentry *new, struct key *key) afs_do_silly_rename() argument 100 afs_sillyrename(struct afs_vnode *dvnode, struct afs_vnode *vnode, struct dentry *dentry, struct key *key) afs_sillyrename() argument 170 struct afs_vnode *dvnode = dvp->vnode; afs_silly_unlink_edit_dir() local 192 afs_do_silly_unlink(struct afs_vnode *dvnode, struct afs_vnode *vnode, struct dentry *dentry, struct key *key) afs_do_silly_unlink() argument 237 struct afs_vnode *dvnode = AFS_FS_I(d_inode(dentry->d_parent)); afs_silly_iput() local [all...] |
H A D | dir.c | 138 static bool afs_dir_check_folio(struct afs_vnode *dvnode, struct folio *folio, in afs_dir_check_folio() argument 157 __func__, dvnode->netfs.inode.i_ino, in afs_dir_check_folio() 159 trace_afs_dir_check_failed(dvnode, pos + offset, i_size); in afs_dir_check_folio() 161 trace_afs_file_error(dvnode, -EIO, afs_file_error_dir_bad_magic); in afs_dir_check_folio() 174 afs_stat_v(dvnode, n_read_dir); in afs_dir_check_folio() 184 static void afs_dir_dump(struct afs_vnode *dvnode, struct afs_read *req) in afs_dir_dump() argument 187 struct address_space *mapping = dvnode->netfs.inode.i_mapping; in afs_dir_dump() 195 dvnode->fid.vid, dvnode->fid.vnode, in afs_dir_dump() 219 static int afs_dir_check(struct afs_vnode *dvnode, struc argument 358 trace_afs_reload_dir(dvnode); global() variable 399 afs_dir_iterate_block(struct afs_vnode *dvnode, struct dir_context *ctx, union afs_xdr_dir_block *block, unsigned blkoff) afs_dir_iterate_block() argument 500 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_dir_iterate() local 755 afs_server_supports_ibulk(struct afs_vnode *dvnode) afs_server_supports_ibulk() argument 793 struct afs_vnode *dvnode = AFS_FS_I(dir), *vnode; afs_do_lookup() local 979 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_lookup() local 1047 struct afs_vnode *dvnode; afs_d_revalidate_rcu() local 1307 struct afs_vnode *dvnode = dvp->vnode; afs_create_edit_dir() local 1343 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_mkdir() local 1392 struct afs_vnode *dvnode = dvp->vnode; afs_rmdir_edit_dir() local 1427 struct afs_vnode *dvnode = AFS_FS_I(dir), *vnode = NULL; afs_rmdir() local 1478 struct afs_vnode *dvnode = op->file[0].vnode; afs_dir_remove_link() local 1527 struct afs_vnode *dvnode = dvp->vnode; afs_unlink_edit_dir() local 1560 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_unlink() local 1642 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_create() local 1714 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_link() local 1773 struct afs_vnode *dvnode = AFS_FS_I(dir); afs_symlink() local 2015 struct afs_vnode *dvnode = AFS_FS_I(folio_inode(folio)); afs_dir_release_folio() local 2033 struct afs_vnode *dvnode = AFS_FS_I(folio_inode(folio)); afs_dir_invalidate_folio() local [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | afs.h | 1084 TP_PROTO(struct afs_vnode *dvnode, const struct qstr *name, 1087 TP_ARGS(dvnode, name, fid), 1097 __entry->dfid = dvnode->fid; 1110 TP_PROTO(struct afs_vnode *dvnode, 1119 TP_ARGS(dvnode, why, op, block, slot, f_vnode, f_unique, name), 1136 __entry->vnode = dvnode->fid.vnode; 1137 __entry->unique = dvnode->fid.unique;
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | afs.h | 1081 TP_PROTO(struct afs_vnode *dvnode, const struct qstr *name, 1084 TP_ARGS(dvnode, name, fid), 1094 __entry->dfid = dvnode->fid; 1107 TP_PROTO(struct afs_vnode *dvnode, 1116 TP_ARGS(dvnode, why, op, block, slot, f_vnode, f_unique, name), 1133 __entry->vnode = dvnode->fid.vnode; 1134 __entry->unique = dvnode->fid.unique;
|