Home
last modified time | relevance | path

Searched refs:shm_segsz (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
Dshmbuf.h24 size_t shm_segsz; member
37 size_t shm_segsz; member
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
Dshmbuf.h19 size_t shm_segsz; /* size of segment (bytes) */ member
32 size_t shm_segsz; /* size of segment (bytes) */ member
/kernel/liteos_a/kernel/base/vm/
Dshm.c257 seg->ds.shm_segsz = size; in ShmAllocSeg()
281 if (count != (seg->ds.shm_segsz >> PAGE_SHIFT)) { in ShmFreeSeg()
282 …VM_ERR("free physical pages failed, count = %d, size = %d", count, seg->ds.shm_segsz >> PAGE_SHIFT… in ShmFreeSeg()
286 OsIPCLimitShmFree(seg->ds.shm_segsz); in ShmFreeSeg()
289 (*shmUsedPageCount) -= seg->ds.shm_segsz >> PAGE_SHIFT; in ShmFreeSeg()
315 if (size > seg->ds.shm_segsz) { in ShmSegValidCheck()
547 region = LOS_RegionAlloc(space, 0, seg->ds.shm_segsz, regionFlags, 0); in ShmatVmmAlloc()
555 LOS_RegionFind(space, vaddr + seg->ds.shm_segsz - 1) || in ShmatVmmAlloc()
556 LOS_RegionRangeFind(space, vaddr, seg->ds.shm_segsz - 1))) { in ShmatVmmAlloc()
560 vaddr = (VADDR_T)LOS_MMap(vaddr, seg->ds.shm_segsz, prot, mapFlags, -1, 0); in ShmatVmmAlloc()
[all …]
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/
Dshm_test_004.cpp51 ICUNIT_GOTO_EQUAL(ds.shm_segsz, PAGE_SIZE, ds.shm_segsz, ERROR_OUT); in Testcase()
/kernel/linux/linux-5.10/ipc/
Dshm.c57 unsigned long shm_segsz; member
328 ns->shm_tot -= (shp->shm_segsz + PAGE_SIZE - 1) >> PAGE_SHIFT; in shm_destroy()
765 shp->shm_segsz = size; in newseg()
815 if (shp->shm_segsz < params->u.size) in shm_more_checks()
856 out.shm_segsz = in->shm_segsz; in copy_shmid_to_user()
1126 tbuf->shm_segsz = shp->shm_segsz; in shmctl_stat()
1312 int shm_segsz; member
1396 v.shm_segsz = in->shm_segsz; in copy_compat_shmid_to_user()
1409 v.shm_segsz = in->shm_segsz; in copy_compat_shmid_to_user()
1858 shp->shm_segsz, in sysvipc_shm_proc_show()
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/
Dshmbuf.h25 size_t shm_segsz; /* size of segment (bytes) */ member
/kernel/linux/linux-5.10/include/uapi/asm-generic/
Dshmbuf.h27 size_t shm_segsz; /* size of segment (bytes) */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
Dshmbuf.h24 size_t shm_segsz; member
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/
Dshmbuf.h28 size_t shm_segsz; /* size of segment (bytes) */ member
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/
Dshmbuf.h37 size_t shm_segsz; /* size of segment (bytes) */ member
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
Dshmbuf.h31 __kernel_size_t shm_segsz; /* size of segment (bytes) */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
Dshmbuf.h11 size_t shm_segsz; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dshmbuf.h26 size_t shm_segsz; member
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
Dshmbuf.h18 size_t shm_segsz; /* size of segment (bytes) */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dshm.h32 int shm_segsz; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dshm.h30 int shm_segsz; /* size of segment (bytes) */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dshm.h21 int shm_segsz; member
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dcompat.h167 compat_size_t shm_segsz; member
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dcompat.h196 compat_size_t shm_segsz; member
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dcompat.h167 compat_size_t shm_segsz; member
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dcompat.h160 compat_size_t shm_segsz; member
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dcompat.h165 compat_size_t shm_segsz; member
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dcompat.h146 compat_size_t shm_segsz; member
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dcompat.h243 compat_size_t shm_segsz; member
/kernel/liteos_a/testsuites/unittest/container/smoke/
DIt_ipc_container_004.cpp188 ASSERT_EQ(ds.shm_segsz, PAGE_SIZE); in ItIpcContainer004()