Lines Matching defs:smp
44 static boolean_t getspin(volatile shmem_msg_t *smp);
53 volatile shmem_msg_t *smp;
63 smp = (shmem_msg_t *) mmap(0, sizeof (struct shmem_msg),
66 if (smp == (struct shmem_msg *) - 1) {
73 smp->spin = B_TRUE;
75 *ret_val = smp;
84 getspin(volatile shmem_msg_t *smp)
86 return (smp->spin);
90 prb_shmem_wait(volatile shmem_msg_t *smp)
95 while (getspin(smp));
110 prb_shmem_clear(volatile shmem_msg_t *smp)
114 smp->spin = B_FALSE;
123 prb_shmem_free(volatile shmem_msg_t *smp)
127 if (munmap((caddr_t) smp, sizeof (struct shmem_msg)) != 0) {