Searched refs:SHM_SIZE (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/tests/tcg/multiarch/linux/ |
H A D | linux-test.c | 514 #define SHM_SIZE 32768 macro 521 shmid = chk_error(shmget(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | 0777)); in test_shm() 527 memset(ptr, 0, SHM_SIZE); in test_shm()
|
/openbmc/linux/Documentation/arch/ia64/ |
H A D | err_inject.rst | 301 #define SHM_SIZE (2*PAGE_SIZE*NR_CPUS) 319 shmid = shmget(key, SHM_SIZE, 0644 | IPC_CREAT); 322 shmid = shmget(key, SHM_SIZE, 0); 342 memset(shmaddr, 0, SHM_SIZE); 343 mlock(shmaddr, SHM_SIZE); 350 munlock(shmaddr, SHM_SIZE);
|