/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/ |
D | shmget02.c | 56 {&shmkey1, SHM_SIZE, IPC_EXCL, 0, 0, ENOENT}, 57 {&shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL, 0, 0, EEXIST}, 60 {&shmkey, SHM_SIZE * 2, IPC_EXCL, 0, 0, EINVAL}, 61 {&shmkey, SHM_SIZE, SHM_RD, 1, 0, EACCES}, 62 {&shmkey1, SHM_SIZE, IPC_CREAT | SHM_HUGETLB, 0, 1, EPERM}, 63 {&shmkey1, SHM_SIZE, IPC_CREAT | SHM_HUGETLB, 0, 0, ENOMEM} 124 shm_id = SAFE_SHMGET(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL); in setup()
|
D | shmget04.c | 43 TST_EXP_FAIL2(shmget(shmkey, SHM_SIZE, tc->flag), EACCES, "shmget(%i, %i, %i)", in verify_shmget() 44 shmkey, SHM_SIZE, tc->flag); in verify_shmget() 55 shm_id = SAFE_SHMGET(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL); in setup()
|
D | shmget03.c | 30 TST_EXP_FAIL2(shmget(shmkey + maxshms, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW), ENOSPC, in verify_shmget() 31 "shmget(%i, %i, %i)", shmkey + maxshms, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in verify_shmget() 46 res = shmget(shmkey + num, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
|
D | shmget06.c | 35 shm_id[1] = SAFE_SHMGET(shmkey[1], SHM_SIZE, IPC_CREAT | SHM_RW); in verify_shmget() 52 shm_id[0] = SAFE_SHMGET(shmkey[0], SHM_SIZE, IPC_CREAT | SHM_RW); in setup()
|
D | shmget05.c | 36 shm_id = SAFE_SHMGET(shmkey, SHM_SIZE, SHM_RW | IPC_CREAT); in verify_shmget()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl02.c | 37 #define SHM_SIZE 2048 macro 111 shm_id3 = SAFE_SHMGET(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | SHM_RW); in setup() 119 shm_id1 = SAFE_SHMGET(shmkey1, SHM_SIZE, IPC_CREAT | IPC_EXCL); in setup() 120 shm_id2 = SAFE_SHMGET(shmkey2, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in setup() 122 tmp = shm_rem = SAFE_SHMGET(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | SHM_RW); in setup()
|
D | shmctl01.c | 171 if (ds->shm_segsz != SHM_SIZE) { in check_ds() 173 desc, ds->shm_segsz, SHM_SIZE); in check_ds() 175 tst_res(TPASS, "%s: shm_segsz=%i", desc, SHM_SIZE); in check_ds() 248 shm_id = SAFE_SHMGET(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | SHM_RW); in setup()
|
D | shmctl07.c | 18 #define SHM_SIZE 2048 macro 58 shm_id = SAFE_SHMGET(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | SHM_RW); in setup()
|
D | shmctl08.c | 21 #define SHM_SIZE 2048 macro 93 shm_id = SAFE_SHMGET(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | 0666); in setup()
|
D | shmctl04.c | 31 #define SHM_SIZE 2048 macro 163 shm_id = SAFE_SHMGET(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | SHM_RW); in setup()
|
D | shmctl06.c | 33 shmid = shmget(key, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in run()
|
/third_party/node/deps/v8/src/d8/ |
D | cov.cc | 19 #define SHM_SIZE 0x100000 macro 20 #define MAX_EDGES ((SHM_SIZE - 4) * 8) 45 shmem = (struct shmem_data*)v8::base::Malloc(SHM_SIZE); in __sanitizer_cov_trace_pc_guard_init() 53 shmem = (struct shmem_data*)mmap(0, SHM_SIZE, PROT_READ | PROT_WRITE, in __sanitizer_cov_trace_pc_guard_init()
|
/third_party/ltp/include/ |
D | ipcshm.h | 41 #define SHM_SIZE 2048 /* a resonable size for a memory segment */ macro
|
D | libnewipc.h | 44 #define SHM_SIZE 2048 macro
|
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/ |
D | page-poisoning.c | 48 #define SHM_SIZE 1 // in page_size. macro 83 static int shm_size = SHM_SIZE; 863 if (shm_size < SHM_SIZE) in main() 864 shm_size = SHM_SIZE; in main()
|