• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/xnu-2782.1.97/bsd/kern/

Lines Matching refs:shm_handle

150 struct shm_handle {
153 struct shm_handle *shm_handle_next; /* next chunk */
263 struct shm_handle *shm_handle, *shm_handle_next;
266 for (shm_handle = CAST_DOWN(void *,shmseg->u.shm_internal); /* tunnel */
267 shm_handle != NULL;
268 shm_handle = shm_handle_next) {
269 shm_handle_next = shm_handle->shm_handle_next;
270 mach_memory_entry_port_release(shm_handle->shm_object);
271 FREE((caddr_t) shm_handle, M_SHM);
367 struct shm_handle *shm_handle;
475 for (shm_handle = CAST_DOWN(void *, shmseg->u.shm_internal);/* tunnel */
476 shm_handle != NULL;
477 shm_handle = shm_handle->shm_handle_next) {
482 shm_handle->shm_handle_size, /* segment size */
485 shm_handle->shm_object,
494 mapped_size += shm_handle->shm_handle_size;
495 attach_va = attach_va + shm_handle->shm_handle_size;
716 struct shm_handle *shm_handle;
720 struct shm_handle *shm_handle_next, **shm_handle_next_p;
766 MALLOC(shm_handle, struct shm_handle *, sizeof(struct shm_handle), M_SHM, M_WAITOK);
767 if (shm_handle == NULL) {
773 shm_handle->shm_object = mem_object;
774 shm_handle->shm_handle_size = size;
775 shm_handle->shm_handle_next = NULL;
777 shmseg->u.shm_internal = CAST_USER_ADDR_T(shm_handle);/* tunnel */
779 *shm_handle_next_p = shm_handle;
781 shm_handle_next_p = &shm_handle->shm_handle_next;
814 for (shm_handle = CAST_DOWN(void *,shmseg->u.shm_internal); /* tunnel */
815 shm_handle != NULL;
816 shm_handle = shm_handle_next) {
817 shm_handle_next = shm_handle->shm_handle_next;
818 mach_memory_entry_port_release(shm_handle->shm_object);
819 FREE((caddr_t) shm_handle, M_SHM);