Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\shm.c Create Date:2022-07-28 16:48:05
Last Modify:2020-03-17 22:58:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:put_compat_shm_info

Proto:static int put_compat_shm_info(struct shm_info *ip, struct compat_shm_info __user *uip)

Type:int

Parameter:

TypeParameterName
struct shm_info *ip
struct compat_shm_info __user *uip
1278  memset( & info, 0, size of info )
1279  used_ids = used_ids
1280  shm_tot = total allocated shm
1281  shm_rss = total resident shm
1282  shm_swp = total swapped shm
1283  swap_attempts = swap_attempts
1284  swap_successes = swap_successes
1285  Return copy_to_user(uip, & info, size of info )
Caller
NameDescribe
compat_ksys_shmctl