Home
last modified time | relevance | path

Searched refs:memSize (Results 1 – 11 of 11) sorted by relevance

/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/
Dshm_test_010.cpp36 const int memSize = 1024; in Testcase() local
44 shmid = shmget((key_t)1234, memSize, 0666 | IPC_CREAT); in Testcase()
53 shmid = shmget((key_t)1234, memSize, 0000 | IPC_CREAT); in Testcase()
Dshm_test_007.cpp36 const int memSize = 1024; in Testcase() local
44 shmid = shmget((key_t)1234, memSize, 0666 | IPC_CREAT); in Testcase()
78 ret = strncpy_s(shared, memSize, testStr, sizeof(testStr)); in Testcase()
Dshm_test_008.cpp36 const int memSize = PAGE_SIZE; in Testcase() local
41 shmid = shmget(IPC_PRIVATE, memSize, SHM_R | IPC_CREAT); in Testcase()
Dshm_test_006.cpp35 const int memSize = PAGE_SIZE; in Testcase() local
41 shmid = shmget(IPC_PRIVATE, memSize, 0666 | IPC_CREAT); in Testcase()
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/smoke/
Dshm_test_011.cpp36 const int memSize = 1024; in Testcase() local
42 shmid = shmget((key_t)IPC_PRIVATE, memSize, 0666 | IPC_CREAT); in Testcase()
/kernel/linux/linux-5.10/drivers/atm/
Diphase.c444 ptr16 = (u_short *)(dev->reass_ram + REASS_TABLE*dev->memSize); in ia_open_abr_vc()
446 r_abr_vc = (r_vc_abr_entry*)(dev->reass_ram+ABR_VC_TABLE*dev->memSize); in ia_open_abr_vc()
529 SchedTbl = (u16*)(dev->seg_ram+CBR_SCHED_TABLE*dev->memSize); in ia_cbr_setup()
583 SchedTbl = (u16*)(iadev->seg_ram+CBR_SCHED_TABLE*iadev->memSize); in ia_cbrVc_close()
1391 vc_table = iadev->reass_ram+RX_VC_TABLE*iadev->memSize;
1406 reass_ptr = iadev->reass_ram+REASS_TABLE*iadev->memSize;
1482 iadev->RX_DESC_BASE_ADDR = iadev->reass_ram+RX_DESC_BASE*iadev->memSize;
1496 i = FREE_BUF_DESC_Q*iadev->memSize;
1514 i = (PKT_COMP_Q * iadev->memSize) & 0xffff;
1521 i = (EXCEPTION_Q * iadev->memSize) & 0xffff;
[all …]
Diphase.h1032 u_short num_vc, memSize, memType; member
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/
Dprocess_test_042.cpp81 const int memSize = 1024; in GroupProcess() local
96 shmid = shmget(static_cast<key_t>(1234), memSize, 0666 | IPC_CREAT); in GroupProcess()
/kernel/liteos_a/fs/vfs/bcache/src/
Dbcache.c718 UINT32 memSize, in BcacheInitCache() argument
745 blockNum = (memSize - DMA_ALLGN) / (sizeof(OsBcacheBlock) + bc->blockSize); in BcacheInitCache()
751 g_memSize = memSize; in BcacheInitCache()
802 UINT32 memSize, in BlockCacheDrvCreate() argument
811 ret = BcacheInitCache(bc, memStart, memSize, blockSize); in BlockCacheDrvCreate()
1072 UINT32 blockSize, memSize; in BlockCacheInit() local
1082 memSize = ((sizeof(OsBcacheBlock) + blockSize) * blockNum) + DMA_ALLGN; in BlockCacheInit()
1090 bcacheMem = (UINT8 *)zalloc(memSize); in BlockCacheInit()
1092 PRINT_ERR("bcache_init : malloc %u Bytes failed!\n", memSize); in BlockCacheInit()
1107 if (BlockCacheDrvCreate(blkDriver, bcacheMem, memSize, blockSize, bcache) != ENOERR) { in BlockCacheInit()
/kernel/liteos_a/kernel/extended/dynload/include/
Dlos_ld_elf_pri.h189 UINT32 memSize; /* Segment size in memory */ member
201 UINT64 memSize; /* Segment size in memory */ member
/kernel/liteos_a/kernel/extended/dynload/src/
Dlos_load_elf.c186 if (phdr->memSize > MEM_SIZE_MAX) { in OsVerifyELFPhdr()
386 if ((elfPhdrTemp->vAddr + elfPhdrTemp->memSize) > addrMax) { in OsGetAllocSize()
387 addrMax = elfPhdrTemp->vAddr + elfPhdrTemp->memSize; in OsGetAllocSize()
410 size = elfPhdr->memSize + ROUNDOFFSET(elfPhdr->vAddr, PAGE_SIZE); in OsDoMmapFile()
517 SetVmmRegionCodeStart(vAddr + *loadBase, elfPhdrTemp->memSize); in OsMmapELFFile()
530 if ((elfPhdrTemp->memSize > elfPhdrTemp->fileSize) && (elfPhdrTemp->flags & PF_W)) { in OsMmapELFFile()
532 bssEnd = mapAddr + ROUNDOFFSET(vAddr, PAGE_SIZE) + elfPhdrTemp->memSize; in OsMmapELFFile()