Searched defs:shmaddr (Results 1 - 2 of 2) sorted by relevance

/external/kernel-headers/original/linux/
H A Dshm.h98 long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr);
100 static inline long do_shmat(int shmid, char __user *shmaddr, argument
/external/stressapptest/src/
H A Dos.cc448 void *shmaddr; local
461 shmaddr = shmat(shmid, NULL, NULL);
462 if (shmaddr == reinterpret_cast<void*>(-1)) {
479 buf = shmaddr;
481 shmid, shmaddr);
488 void *shmaddr = NULL; local
516 shmaddr = mmap64(NULL, length, PROT_READ | PROT_WRITE,
519 if (shmaddr == reinterpret_cast<void*>(-1)) {
531 buf = shmaddr;
536 sprintf(location_message, "at %p", shmaddr);
[all...]

Completed in 192 milliseconds