Home
last modified time | relevance | path

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

/openbmc/linux/fs/hostfs/
H A Dhostfs_kern.c32 static inline struct hostfs_inode_info *HOSTFS_I(struct inode *inode) in HOSTFS_I() function
37 #define FILE_HOSTFS_I(file) HOSTFS_I(file_inode(file))
234 if (HOSTFS_I(inode)->fd != -1) { in hostfs_evict_inode()
235 close_file(&HOSTFS_I(inode)->fd); in hostfs_evict_inode()
236 HOSTFS_I(inode)->fd = -1; in hostfs_evict_inode()
237 HOSTFS_I(inode)->dev = 0; in hostfs_evict_inode()
243 kmem_cache_free(hostfs_inode_cache, HOSTFS_I(inode)); in hostfs_free_inode()
303 if ((mode & HOSTFS_I(ino)->mode) == mode) in hostfs_open()
306 mode |= HOSTFS_I(ino)->mode; in hostfs_open()
325 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
[all …]