Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\sem.c Create Date:2022-07-28 16:45:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sysvipc_sem_proc_show

Proto:static int sysvipc_sem_proc_show(struct seq_file *s, void *it)

Type:int

Parameter:

TypeParameterName
struct seq_file *s
void *it
2414  user_ns = seq_user_ns(s)
2415  ipcp = it
2416  sma = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(ipcp, structsem_array, sem_perm)
2425  Enter the mode suitable for non-simple operations:* Caller must own sem_perm.lock.
2427  sem_otime = get_semotime(sma)
2429  seq_printf(s, "%10d %10d %4o %10u %5u %5u %5u %5u %10llu %10llu\n", key, id, mode, . of semaphores in array , m_kuid_munged - Create a uid from a kuid user-namespace pair.*@targ: The user namespace we want a uid in.*@kuid: The kernel internal uid to start with.* Map @kuid into the user-namespace specified by @targ and* return the resulting uid., m_kgid_munged - Create a gid from a kgid user-namespace pair.*@targ: The user namespace we want a gid in.*@kgid: The kernel internal gid to start with.* Map @kgid into the user-namespace specified by @targ and* return the resulting gid., m_kuid_munged - Create a uid from a kuid user-namespace pair.*@targ: The user namespace we want a uid in.*@kuid: The kernel internal uid to start with.* Map @kuid into the user-namespace specified by @targ and* return the resulting uid., m_kgid_munged - Create a gid from a kgid user-namespace pair.*@targ: The user namespace we want a gid in.*@kgid: The kernel internal gid to start with.* Map @kgid into the user-namespace specified by @targ and* return the resulting gid., sem_otime, create/last semctl() time )
2442  Try to leave the mode that disallows simple operations:* Caller must own sem_perm.lock.
2444  Return 0