Searched refs:shm_file (Results 1 – 1 of 1) sorted by relevance
212 struct file *shm_file; in shm_destroy() local214 shm_file = shp->shm_file; in shm_destroy()215 shp->shm_file = NULL; in shm_destroy()219 if (!is_file_hugepages(shm_file)) in shm_destroy()220 shmem_lock(shm_file, 0, shp->mlock_user); in shm_destroy()222 user_shm_unlock(file_inode(shm_file)->i_size, shp->mlock_user); in shm_destroy()223 fput(shm_file); in shm_destroy()558 shp->shm_file = file; in newseg()723 inode = file_inode(shp->shm_file); in shm_add_rss_swap()725 if (is_file_hugepages(shp->shm_file)) { in shm_add_rss_swap()[all …]