Searched refs:inode (Results 1 – 3 of 3) sorted by relevance
136 struct inode vfs_inode;169 static inline struct mqueue_inode_info *MQUEUE_I(struct inode *inode) in MQUEUE_I() argument171 return container_of(inode, struct mqueue_inode_info, vfs_inode); in MQUEUE_I()177 static inline struct ipc_namespace *__get_ns_from_inode(struct inode *inode) in __get_ns_from_inode() argument179 return get_ipc_ns(inode->i_sb->s_fs_info); in __get_ns_from_inode()182 static struct ipc_namespace *get_ns_from_inode(struct inode *inode) in get_ns_from_inode() argument187 ns = __get_ns_from_inode(inode); in get_ns_from_inode()292 static struct inode *mqueue_get_inode(struct super_block *sb, in mqueue_get_inode()297 struct inode *inode; in mqueue_get_inode() local300 inode = new_inode(sb); in mqueue_get_inode()[all …]
863 static int sysvipc_proc_open(struct inode *inode, struct file *file) in sysvipc_proc_open() argument871 iter->iface = PDE_DATA(inode); in sysvipc_proc_open()878 static int sysvipc_proc_release(struct inode *inode, struct file *file) in sysvipc_proc_release() argument884 return seq_release_private(inode, file); in sysvipc_proc_release()
606 static int shm_release(struct inode *ino, struct file *file) in shm_release()930 struct inode *inode; in shm_add_rss_swap() local932 inode = file_inode(shp->shm_file); in shm_add_rss_swap()935 struct address_space *mapping = inode->i_mapping; in shm_add_rss_swap()940 struct shmem_inode_info *info = SHMEM_I(inode); in shm_add_rss_swap()943 *rss_add += inode->i_mapping->nrpages; in shm_add_rss_swap()947 *rss_add += inode->i_mapping->nrpages; in shm_add_rss_swap()