Searched refs:message (Results 76 - 88 of 88) sorted by relevance

1234

/xnu-2782.1.97/osfmk/kern/
H A Dthread.h89 #include <mach/message.h>
318 mach_port_seqno_t seqno; /* seqno of recvd message */
325 struct ipc_kmsg *kmsg; /* received message */
/xnu-2782.1.97/bsd/kern/
H A Dkdebug.c1169 kernel_debug_string(const char *message) argument
1173 /* Stuff the message string in the args and log it. */
1174 strncpy((char *)arg, message, MIN(sizeof(arg), strlen(message)));
H A Dkern_authorization.c50 #include <mach/message.h>
H A Dkern_prot.c111 #include <mach/message.h>
H A Dkern_proc.c109 #include <mach/message.h>
H A Dubc_subr.c84 extern void Debugger(const char *message);
1269 * cons up a wire message in either the page-in or page-out path.
/xnu-2782.1.97/bsd/sys/
H A Dkdebug.h489 #define IMP_MSG 0x12 /* boosting message sent by donating task on donating port */
509 #define IMP_MSG_SEND 0x1 /* boosting message sent by donating task on donating port */
510 #define IMP_MSG_DELV 0x2 /* boosting message delivered to task */
745 const char *message);
/xnu-2782.1.97/iokit/IOKit/
H A DIOService.h165 @param messageType Type of the message - IOKit defined in IOKit/IOMessage.h or family specific.
167 @param messageArgument An argument for message, dependent on its type.
595 @discussion Registering an IOService object informs possible clients of its existance and instantiates drivers that may be used with it; <code>terminate</code> involves the opposite process of informing clients that an IOService object is no longer able to be used and will be destroyed. By default, if any client has the service open, <code>terminate</code> fails. If the <code>kIOServiceRequired</code> flag is passed however, <code>terminate</code> will be successful though further progress in the destruction of the IOService object will not proceed until the last client has closed it. The service will be made inactive immediately upon successful termination, and all its clients will be notified via their @link message message@/link method with a message of type <code>kIOMessageServiceIsTerminated</code>. Both these actions take place on the caller's thread. After the IOService object is made inactive, further matching or attach calls will fail on it. Each client has its @link stop stop@/link method called upon their close of an inactive IOService object , or on its termination if they do not have it open. After <code>stop</code>, @link detach detach@/link is called in each client. When all clients have been detached, the @link finalize finalize@/link method is called in the inactive service. The termination process is inherently asynchronous because it will be deferred until all clients have chosen to close.
1163 /*! @function message
1164 @abstract Receives a generic message delivered from an attached provider.
1165 @discussion A provider may deliver messages via the <code>message</code> method to its clients informing them of state changes, such as <code>kIOMessageServiceIsTerminated</code> or <code>kIOMessageServiceIsSuspended</code>. Certain messages are defined by the I/O Kit in <code>IOMessage.h</code> while others may be family dependent. This method is implemented in the client to receive messages.
1167 @param provider The provider from which the message originates.
1169 @result An IOReturn code defined by the message typ
[all...]
/xnu-2782.1.97/osfmk/vm/
H A Dmemory_object.c80 #include <mach/message.h>
H A Dvm_fault.c71 #include <mach/message.h> /* for error codes */
/xnu-2782.1.97/iokit/Kernel/
H A DIOService.cpp1500 // send a message to a client or interested party of this service
1509 ret = service->message( type, this, argument );
1614 // send a message to all clients
2179 message( kIOMessageServiceIsRequestingClose, provider, (void *)(uintptr_t) options );
5266 {kIOReturnBadMessageID, "bad IPC message ID" },
5291 {kIOReturnMessageTooLarge, "message is too large" },
5406 IOReturn IOService::message( UInt32 type, IOService * provider, function in class:IOService
5411 * kIOReturnSuccess indicates that the message was received, and where
/xnu-2782.1.97/osfmk/ipc/
H A Dipc_right.c76 #include <mach/message.h>
2452 * a message anyway.
H A Dipc_kmsg.c77 #include <mach/message.h>
569 * We keep a per-processor cache of kernel message buffers.
579 * Allocate a kernel message structure. If we can get one from
594 * message descrptors for user spaces with pointers larger than
658 * Free a kernel message buffer. If the kms is preallocated
661 * on our message released. In that case, we have to just
662 * revert the message to a traditional one and free it normally.
681 * Check to see if the message is bound to the port. If so,
683 * leave the message associated with it. Otherwise, free it.
817 * Destroys a kernel message
[all...]

Completed in 104 milliseconds

1234