Lines Matching refs:notify
1048 * The notify argument implements the MACH_SEND_CANCEL option.
1055 * then it isn't sent and the send-once right for the notify
1078 mach_port_name_t notify)
1134 if (notify != MACH_PORT_NULL) {
1135 if ((entry = ipc_entry_lookup(space, notify)) == IE_NULL) {
1414 if ((notify != MACH_PORT_NULL) &&
1917 * MACH_SEND_INVALID_NOTIFY Bad notify port.
1931 mach_port_name_t notify)
1935 mr = ipc_kmsg_copyin_header(kmsg->ikm_header, space, notify);
2100 * The notify argument implements the MACH_RCV_NOTIFY option.
2105 * with the notify port supplying the send-once right.
2127 mach_port_name_t notify)
2146 * Handling notify (for MACH_RCV_NOTIFY) is tricky.
2148 * from the notify port and installing it for a
2150 * requires two port locks (on the notify port and
2152 * and consume send-once rights for the notify port
2159 * lookup the notify port receive right. When we make
2160 * the send-once right, we lock the notify port,
2176 if (notify != MACH_PORT_NULL) {
2178 notify);
2180 printf("ipc_kmsg_copyout_header: no notify port\n");
2197 * release the notify port right.
2316 * when checking notify and when locking
2327 if (notify != MACH_PORT_NULL) {
2330 /* must check notify even though it won't be used */
2332 if ((entry = ipc_entry_lookup(space, notify)) == IE_NULL) {
2901 * MACH_RCV_INVALID_NOTIFY Bad notify port.
2915 mach_port_name_t notify,
2920 mr = ipc_kmsg_copyout_header(kmsg->ikm_header, space, notify);