Home
last modified time | relevance | path

Searched refs:sf_i (Results 1 – 4 of 4) sorted by relevance

/linux/fs/vboxsf/
H A Dfile.c26 struct vboxsf_inode *sf_i = VBOXSF_I(inode); in vboxsf_create_sf_handle() local
34 sf_i->force_restat = 1; in vboxsf_create_sf_handle()
42 mutex_lock(&sf_i->handle_list_mutex); in vboxsf_create_sf_handle()
43 list_add(&sf_handle->head, &sf_i->handle_list); in vboxsf_create_sf_handle()
44 mutex_unlock(&sf_i->handle_list_mutex); in vboxsf_create_sf_handle()
132 struct vboxsf_inode *sf_i = VBOXSF_I(inode); in vboxsf_release_sf_handle() local
134 mutex_lock(&sf_i->handle_list_mutex); in vboxsf_release_sf_handle()
136 mutex_unlock(&sf_i->handle_list_mutex); in vboxsf_release_sf_handle()
247 static struct vboxsf_handle *vboxsf_get_write_handle(struct vboxsf_inode *sf_i) in vboxsf_get_write_handle() argument
251 mutex_lock(&sf_i->handle_list_mutex); in vboxsf_get_write_handle()
[all …]
H A Dsuper.c227 struct vboxsf_inode *sf_i = data; in vboxsf_inode_init_once() local
229 mutex_init(&sf_i->handle_list_mutex); in vboxsf_inode_init_once()
230 inode_init_once(&sf_i->vfs_inode); in vboxsf_inode_init_once()
235 struct vboxsf_inode *sf_i; in vboxsf_alloc_inode() local
237 sf_i = alloc_inode_sb(sb, vboxsf_inode_cachep, GFP_NOFS); in vboxsf_alloc_inode()
238 if (!sf_i) in vboxsf_alloc_inode()
241 sf_i->force_restat = 0; in vboxsf_alloc_inode()
242 INIT_LIST_HEAD(&sf_i->handle_list); in vboxsf_alloc_inode()
244 return &sf_i->vfs_inode; in vboxsf_alloc_inode()
H A Dutils.c195 struct vboxsf_inode *sf_i; in vboxsf_inode_revalidate() local
206 sf_i = VBOXSF_I(inode); in vboxsf_inode_revalidate()
208 if (!sf_i->force_restat) { in vboxsf_inode_revalidate()
218 sf_i->force_restat = 0; in vboxsf_inode_revalidate()
241 struct vboxsf_inode *sf_i = VBOXSF_I(inode); in vboxsf_getattr() local
248 sf_i->force_restat = 1; in vboxsf_getattr()
263 struct vboxsf_inode *sf_i = VBOXSF_I(d_inode(dentry)); in vboxsf_setattr() local
330 sf_i->force_restat = 1; in vboxsf_setattr()
348 sf_i->force_restat = 1; in vboxsf_setattr()
354 if (sf_i->force_restat) in vboxsf_setattr()
H A Ddir.c239 struct vboxsf_inode *sf_i; in vboxsf_dir_instantiate() local
246 sf_i = VBOXSF_I(inode); in vboxsf_dir_instantiate()
248 sf_i->force_restat = 1; in vboxsf_dir_instantiate()