Searched refs:shm_key (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/syscalls/ipc/shmat/ |
D | shmat01.c | 34 static key_t shm_key; variable 135 shm_key = GETIPCKEY(); in setup() 137 shm_id = SAFE_SHMGET(shm_key, INT_SIZE, SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_dbenv.py | 198 shm_key=137 199 self.env.set_shm_key(shm_key) 200 self.assertEqual(shm_key, self.env.get_shm_key()) 201 self.env.set_shm_key(shm_key+1) 202 self.assertEqual(shm_key+1, self.env.get_shm_key()) 210 self.env.set_shm_key, shm_key) 211 self.assertEqual(shm_key+1, self.env.get_shm_key())
|
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/ |
D | tlbie_test.c | 620 key_t shm_key = (key_t) getpid(); in main() local 654 shmid = shmget(shm_key, page_size, IPC_CREAT|0666); in main()
|
/external/python/cpython2/Modules/ |
D | _bsddb.c | 5328 long shm_key = 0; in DBEnv_set_shm_key() local 5330 if (!PyArg_ParseTuple(args, "l:set_shm_key", &shm_key)) in DBEnv_set_shm_key() 5334 err = self->db_env->set_shm_key(self->db_env, shm_key); in DBEnv_set_shm_key() 5343 long shm_key; in DBEnv_get_shm_key() local 5348 err = self->db_env->get_shm_key(self->db_env, &shm_key); in DBEnv_get_shm_key() 5353 return NUMBER_FromLong(shm_key); in DBEnv_get_shm_key()
|