Searched refs:inode (Results 1 – 3 of 3) sorted by relevance
75 struct inode vfs_inode;107 static inline struct mqueue_inode_info *MQUEUE_I(struct inode *inode) in MQUEUE_I() argument109 return container_of(inode, struct mqueue_inode_info, vfs_inode); in MQUEUE_I()115 static inline struct ipc_namespace *__get_ns_from_inode(struct inode *inode) in __get_ns_from_inode() argument117 return get_ipc_ns(inode->i_sb->s_fs_info); in __get_ns_from_inode()120 static struct ipc_namespace *get_ns_from_inode(struct inode *inode) in get_ns_from_inode() argument125 ns = __get_ns_from_inode(inode); in get_ns_from_inode()231 static struct inode *mqueue_get_inode(struct super_block *sb, in mqueue_get_inode()236 struct inode *inode; in mqueue_get_inode() local239 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()
514 static int shm_release(struct inode *ino, struct file *file) in shm_release()835 struct inode *inode; in shm_add_rss_swap() local837 inode = file_inode(shp->shm_file); in shm_add_rss_swap()840 struct address_space *mapping = inode->i_mapping; in shm_add_rss_swap()845 struct shmem_inode_info *info = SHMEM_I(inode); in shm_add_rss_swap()848 *rss_add += inode->i_mapping->nrpages; in shm_add_rss_swap()852 *rss_add += inode->i_mapping->nrpages; in shm_add_rss_swap()