Back to index

glibc  2.9
Functions
mig_support.h File Reference
#include <mach/std_types.h>
#include <mach/message.h>
#include <sys/types.h>
#include <string.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void __mig_init (void *__first)
void mig_init (void *__first)
void __mig_allocate (vm_address_t *__addr_p, vm_size_t __size)
void mig_allocate (vm_address_t *__addr_p, vm_size_t __size)
void __mig_deallocate (vm_address_t __addr, vm_size_t __size)
void mig_deallocate (vm_address_t __addr, vm_size_t __size)
void __mig_dealloc_reply_port (mach_port_t)
void mig_dealloc_reply_port (mach_port_t)
mach_port_t __mig_get_reply_port (void)
mach_port_t mig_get_reply_port (void)
void __mig_put_reply_port (mach_port_t)
void mig_put_reply_port (mach_port_t)
void __mig_reply_setup (const mach_msg_header_t *__request, mach_msg_header_t *__reply)
void mig_reply_setup (const mach_msg_header_t *__request, mach_msg_header_t *__reply)
vm_size_t mig_strncpy (char *__dst, const char *__src, vm_size_t __len)
vm_size_t __mig_strncpy (char *__dst, const char *__src, vm_size_t)

Function Documentation

void __mig_allocate ( vm_address_t *  __addr_p,
vm_size_t  __size 
)

Definition at line 23 of file mig-alloc.c.

{
  if (__vm_allocate (__mach_task_self (), addr, size, 1) != KERN_SUCCESS)
    *addr = 0;
}

Here is the call graph for this function:

void __mig_dealloc_reply_port ( mach_port_t  )

Here is the caller graph for this function:

void __mig_deallocate ( vm_address_t  __addr,
vm_size_t  __size 
)

Definition at line 23 of file mig-dealloc.c.

{
  (void) __vm_deallocate (__mach_task_self (), addr, size);
}

Here is the call graph for this function:

mach_port_t __mig_get_reply_port ( void  )

Definition at line 27 of file mig-reply.c.

{
  if (reply_port == MACH_PORT_NULL)
    reply_port = __mach_reply_port ();

  return reply_port;
}

Here is the call graph for this function:

void __mig_init ( void *  __first)

Definition at line 49 of file mig-reply.c.

{
  if (cproc == 0)
    reply_port = MACH_PORT_NULL;
}
void __mig_put_reply_port ( mach_port_t  )
void __mig_reply_setup ( const mach_msg_header_t *  __request,
mach_msg_header_t *  __reply 
)
__extern_inline vm_size_t __mig_strncpy ( char *  __dst,
const char *  __src,
vm_size_t  __len 
)

Definition at line 71 of file mig_support.h.

{
  return __stpncpy (__dst, __src, __len) - __dst;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void mig_allocate ( vm_address_t *  __addr_p,
vm_size_t  __size 
)
void mig_dealloc_reply_port ( mach_port_t  )
void mig_deallocate ( vm_address_t  __addr,
vm_size_t  __size 
)
mach_port_t mig_get_reply_port ( void  )
void mig_init ( void *  __first)
void mig_put_reply_port ( mach_port_t  )
void mig_reply_setup ( const mach_msg_header_t *  __request,
mach_msg_header_t *  __reply 
)
__extern_inline vm_size_t mig_strncpy ( char *  __dst,
const char *  __src,
vm_size_t  __len 
)

Definition at line 76 of file mig_support.h.

{
  return __mig_strncpy (__dst, __src, __len);
}

Here is the call graph for this function: