Lines Matching refs:shminfo
906 struct shminfo out; in copy_shminfo_to_user()
1039 struct shminfo64 *shminfo) in shmctl_ipc_info() argument
1043 memset(shminfo, 0, sizeof(*shminfo)); in shmctl_ipc_info()
1044 shminfo->shmmni = shminfo->shmseg = ns->shm_ctlmni; in shmctl_ipc_info()
1045 shminfo->shmmax = ns->shm_ctlmax; in shmctl_ipc_info()
1046 shminfo->shmall = ns->shm_ctlall; in shmctl_ipc_info()
1047 shminfo->shmmin = SHMMIN; in shmctl_ipc_info()
1250 struct shminfo64 shminfo; in ksys_shmctl() local
1251 err = shmctl_ipc_info(ns, &shminfo); in ksys_shmctl()
1254 if (copy_shminfo_to_user(buf, &shminfo, version)) in ksys_shmctl()
1359 struct shminfo info; in copy_compat_shminfo_to_user()
1445 struct shminfo64 shminfo; in compat_ksys_shmctl() local
1446 err = shmctl_ipc_info(ns, &shminfo); in compat_ksys_shmctl()
1449 if (copy_compat_shminfo_to_user(uptr, &shminfo, version)) in compat_ksys_shmctl()