函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\sem.c Create Date:2022-07-27 18:21:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sysvipc_sem_proc_show

函数原型:static int sysvipc_sem_proc_show(struct seq_file *s, void *it)

返回类型:int

参数:

类型参数名称
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  返回:0