Home
last modified time | relevance | path

Searched refs:shm_info (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/ipc/
Dshm.c961 struct shm_info *shm_info) in shmctl_shm_info() argument
965 memset(shm_info, 0, sizeof(*shm_info)); in shmctl_shm_info()
967 shm_info->used_ids = shm_ids(ns).in_use; in shmctl_shm_info()
968 shm_get_stat(ns, &shm_info->shm_rss, &shm_info->shm_swp); in shmctl_shm_info()
969 shm_info->shm_tot = ns->shm_tot; in shmctl_shm_info()
970 shm_info->swap_attempts = 0; in shmctl_shm_info()
971 shm_info->swap_successes = 0; in shmctl_shm_info()
1162 struct shm_info shm_info; in ksys_shmctl() local
1163 err = shmctl_shm_info(ns, &shm_info); in ksys_shmctl()
1166 if (copy_to_user(buf, &shm_info, sizeof(shm_info))) in ksys_shmctl()
[all …]
/Linux-v5.4/include/uapi/linux/
Dshm.h101 struct shm_info { struct
/Linux-v5.4/tools/testing/selftests/vm/
Dthuge-gen.c173 struct shm_info i; in test_shmget()