• Home
  • Raw
  • Download

Lines Matching refs:info

845 		struct shmem_inode_info *info = SHMEM_I(inode);  in shm_add_rss_swap()  local
847 spin_lock_irq(&info->lock); in shm_add_rss_swap()
849 *swp_add += info->swapped; in shm_add_rss_swap()
850 spin_unlock_irq(&info->lock); in shm_add_rss_swap()
1253 struct compat_shminfo64 info; in copy_compat_shminfo_to_user() local
1254 memset(&info, 0, sizeof(info)); in copy_compat_shminfo_to_user()
1255 info.shmmax = in->shmmax; in copy_compat_shminfo_to_user()
1256 info.shmmin = in->shmmin; in copy_compat_shminfo_to_user()
1257 info.shmmni = in->shmmni; in copy_compat_shminfo_to_user()
1258 info.shmseg = in->shmseg; in copy_compat_shminfo_to_user()
1259 info.shmall = in->shmall; in copy_compat_shminfo_to_user()
1260 return copy_to_user(buf, &info, sizeof(info)); in copy_compat_shminfo_to_user()
1262 struct shminfo info; in copy_compat_shminfo_to_user() local
1263 memset(&info, 0, sizeof(info)); in copy_compat_shminfo_to_user()
1264 info.shmmax = in->shmmax; in copy_compat_shminfo_to_user()
1265 info.shmmin = in->shmmin; in copy_compat_shminfo_to_user()
1266 info.shmmni = in->shmmni; in copy_compat_shminfo_to_user()
1267 info.shmseg = in->shmseg; in copy_compat_shminfo_to_user()
1268 info.shmall = in->shmall; in copy_compat_shminfo_to_user()
1269 return copy_to_user(buf, &info, sizeof(info)); in copy_compat_shminfo_to_user()
1276 struct compat_shm_info info; in put_compat_shm_info() local
1278 memset(&info, 0, sizeof(info)); in put_compat_shm_info()
1279 info.used_ids = ip->used_ids; in put_compat_shm_info()
1280 info.shm_tot = ip->shm_tot; in put_compat_shm_info()
1281 info.shm_rss = ip->shm_rss; in put_compat_shm_info()
1282 info.shm_swp = ip->shm_swp; in put_compat_shm_info()
1283 info.swap_attempts = ip->swap_attempts; in put_compat_shm_info()
1284 info.swap_successes = ip->swap_successes; in put_compat_shm_info()
1285 return copy_to_user(uip, &info, sizeof(info)); in put_compat_shm_info()