Home
last modified time | relevance | path

Searched refs:shm_perm (Results 1 - 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/ipc/
H A Dshm.c54 struct kern_ipc_perm shm_perm; member
98 ipc_unlock(&(shp)->shm_perm)
126 shp = container_of(ipcp, struct shmid_kernel, shm_perm); in do_shm_rmid()
130 shp->shm_perm.mode |= SHM_DEST; in do_shm_rmid()
132 ipc_set_key_private(&shm_ids(ns), &shp->shm_perm); in do_shm_rmid()
173 return container_of(ipcp, struct shmid_kernel, shm_perm); in shm_obtain_object()
183 return container_of(ipcp, struct shmid_kernel, shm_perm); in shm_obtain_object_check()
208 return container_of(ipcp, struct shmid_kernel, shm_perm); in shm_lock()
225 ipc_lock_object(&ipcp->shm_perm); in shm_lock_by_ptr()
233 shm_perm); in shm_rcu_free()
1311 struct compat_ipc_perm shm_perm; global() member
[all...]
/kernel/linux/linux-6.6/ipc/
H A Dshm.c54 struct kern_ipc_perm shm_perm; member
98 ipc_unlock(&(shp)->shm_perm)
126 shp = container_of(ipcp, struct shmid_kernel, shm_perm); in do_shm_rmid()
130 shp->shm_perm.mode |= SHM_DEST; in do_shm_rmid()
132 ipc_set_key_private(&shm_ids(ns), &shp->shm_perm); in do_shm_rmid()
173 return container_of(ipcp, struct shmid_kernel, shm_perm); in shm_obtain_object()
183 return container_of(ipcp, struct shmid_kernel, shm_perm); in shm_obtain_object_check()
208 return container_of(ipcp, struct shmid_kernel, shm_perm); in shm_lock()
225 ipc_lock_object(&ipcp->shm_perm); in shm_lock_by_ptr()
233 shm_perm); in shm_rcu_free()
1321 struct compat_ipc_perm shm_perm; global() member
[all...]
/kernel/liteos_a/kernel/base/vm/
H A Dshm.c129 shmSegs[i].ds.shm_perm.seq = i + 1; in OsShmCBInit()
255 seg->ds.shm_perm.mode = (UINT32)shmflg & ACCESSPERMS; in ShmAllocSeg()
256 seg->ds.shm_perm.key = key; in ShmAllocSeg()
258 seg->ds.shm_perm.cuid = LOS_GetUserID(); in ShmAllocSeg()
259 seg->ds.shm_perm.uid = LOS_GetUserID(); in ShmAllocSeg()
260 seg->ds.shm_perm.cgid = LOS_GetGroupID(); in ShmAllocSeg()
261 seg->ds.shm_perm.gid = LOS_GetGroupID(); in ShmAllocSeg()
303 (seg->ds.shm_perm.key == key)) { in ShmFindSegByKey()
429 mode_t privMode = seg->ds.shm_perm.mode; in ShmPermCheck()
432 if ((uid == seg->ds.shm_perm in ShmPermCheck()
638 struct ipc_perm shm_perm; ShmCtl() local
[all...]
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/
H A Dshm_test_004.cpp55 ICUNIT_GOTO_EQUAL(ds.shm_perm.uid, getuid(), ds.shm_perm.uid, ERROR_OUT); in Testcase()
61 ds.shm_perm.uid = getuid(); in Testcase()
62 ds.shm_perm.gid = getgid(); in Testcase()
63 ds.shm_perm.mode = 0; in Testcase()
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
H A Dshmbuf.h18 struct ipc64_perm shm_perm; /* operation perms */ member
31 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/linux-6.6/arch/mips/include/uapi/asm/
H A Dshmbuf.h21 struct ipc64_perm shm_perm; /* operation perms */ member
34 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-mips/asm/
H A Dshmbuf.h23 struct ipc64_perm shm_perm; member
36 struct ipc64_perm shm_perm; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
H A Dshmbuf.h23 struct ipc64_perm shm_perm; member
36 struct ipc64_perm shm_perm; member
/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_ipc_container_004.cpp192 ASSERT_EQ(ds.shm_perm.uid, getuid()); in ItIpcContainer004()
198 ds.shm_perm.uid = getuid(); in ItIpcContainer004()
199 ds.shm_perm.gid = getgid(); in ItIpcContainer004()
200 ds.shm_perm.mode = 0; in ItIpcContainer004()
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/
H A Dshmbuf.h24 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/
H A Dshmbuf.h23 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
H A Dshmbuf.h17 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/
H A Dshmbuf.h15 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/linux-6.6/arch/powerpc/include/uapi/asm/
H A Dshmbuf.h26 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/linux-6.6/arch/sparc/include/uapi/asm/
H A Dshmbuf.h18 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/linux-5.10/include/uapi/asm-generic/
H A Dshmbuf.h26 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/linux-6.6/include/uapi/asm-generic/
H A Dshmbuf.h28 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/linux-6.6/arch/xtensa/include/uapi/asm/
H A Dshmbuf.h27 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
H A Dshmbuf.h10 struct ipc64_perm shm_perm; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
H A Dshmbuf.h23 struct ipc64_perm shm_perm; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/
H A Dshmbuf.h23 struct ipc64_perm shm_perm; member
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
H A Dshmbuf.h17 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/linux-6.6/arch/parisc/include/uapi/asm/
H A Dshmbuf.h19 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/
H A Dshmbuf.h21 struct ipc64_perm shm_perm; /* operation perms */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
H A Dshmbuf.h25 struct ipc64_perm shm_perm; member

Completed in 9 milliseconds

12