Home
last modified time | relevance | path

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

/linux/ipc/
H A Dshm.c1058 struct shm_info *shm_info) in shmctl_shm_info() argument
1062 memset(shm_info, 0, sizeof(*shm_info)); in shmctl_shm_info()
1064 shm_info->used_ids = shm_ids(ns).in_use; in shmctl_shm_info()
1065 shm_get_stat(ns, &shm_info->shm_rss, &shm_info->shm_swp); in shmctl_shm_info()
1066 shm_info->shm_tot = ns->shm_tot; in shmctl_shm_info()
1067 shm_info->swap_attempts = 0; in shmctl_shm_info()
1068 shm_info->swap_successes = 0; in shmctl_shm_info()
1259 struct shm_info shm_info; in ksys_shmctl() local
1260 err = shmctl_shm_info(ns, &shm_info); in ksys_shmctl()
1263 if (copy_to_user(buf, &shm_info, sizeof(shm_info))) in ksys_shmctl()
[all …]
/linux/include/uapi/linux/
H A Dshm.h101 struct shm_info { struct
/linux/tools/testing/selftests/mm/
H A Dthuge-gen.c140 struct shm_info i; in test_shmget()