Home
last modified time | relevance | path

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

/fs/hostfs/
Dhostfs_kern.c30 static inline struct hostfs_inode_info *HOSTFS_I(struct inode *inode) in HOSTFS_I() function
35 #define FILE_HOSTFS_I(file) HOSTFS_I(file_inode(file))
240 if (HOSTFS_I(inode)->fd != -1) { in hostfs_evict_inode()
241 close_file(&HOSTFS_I(inode)->fd); in hostfs_evict_inode()
242 HOSTFS_I(inode)->fd = -1; in hostfs_evict_inode()
249 kfree(HOSTFS_I(inode)); in hostfs_i_callback()
313 if ((mode & HOSTFS_I(ino)->mode) == mode) in hostfs_open()
316 mode |= HOSTFS_I(ino)->mode; in hostfs_open()
335 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
337 if ((mode & HOSTFS_I(ino)->mode) == mode) { in hostfs_open()
[all …]