Searched refs:inode (Results 1 – 3 of 3) sorted by relevance
67 struct inode vfs_inode;96 static inline struct mqueue_inode_info *MQUEUE_I(struct inode *inode) in MQUEUE_I() argument98 return container_of(inode, struct mqueue_inode_info, vfs_inode); in MQUEUE_I()104 static inline struct ipc_namespace *__get_ns_from_inode(struct inode *inode) in __get_ns_from_inode() argument106 return get_ipc_ns(inode->i_sb->s_fs_info); in __get_ns_from_inode()109 static struct ipc_namespace *get_ns_from_inode(struct inode *inode) in get_ns_from_inode() argument114 ns = __get_ns_from_inode(inode); in get_ns_from_inode()212 static struct inode *mqueue_get_inode(struct super_block *sb, in mqueue_get_inode()217 struct inode *inode; in mqueue_get_inode() local220 inode = new_inode(sb); in mqueue_get_inode()[all …]
855 static int sysvipc_proc_open(struct inode *inode, struct file *file) in sysvipc_proc_open() argument863 iter->iface = PDE_DATA(inode); in sysvipc_proc_open()869 static int sysvipc_proc_release(struct inode *inode, struct file *file) in sysvipc_proc_release() argument874 return seq_release_private(inode, file); in sysvipc_proc_release()
527 static int shm_release(struct inode *ino, struct file *file) in shm_release()851 struct inode *inode; in shm_add_rss_swap() local853 inode = file_inode(shp->shm_file); in shm_add_rss_swap()856 struct address_space *mapping = inode->i_mapping; in shm_add_rss_swap()861 struct shmem_inode_info *info = SHMEM_I(inode); in shm_add_rss_swap()863 *rss_add += inode->i_mapping->nrpages; in shm_add_rss_swap()867 *rss_add += inode->i_mapping->nrpages; in shm_add_rss_swap()