Lines Matching refs:notify
1710 struct xpc_notify_sn2 *notify; in xpc_notify_senders_sn2() local
1716 notify = &ch->sn.sn2.notify_queue[get % ch->local_nentries]; in xpc_notify_senders_sn2()
1724 notify_type = notify->type; in xpc_notify_senders_sn2()
1726 cmpxchg(¬ify->type, notify_type, 0) != notify_type) { in xpc_notify_senders_sn2()
1734 if (notify->func != NULL) { in xpc_notify_senders_sn2()
1737 (void *)notify, get, ch->partid, ch->number); in xpc_notify_senders_sn2()
1739 notify->func(reason, ch->partid, ch->number, in xpc_notify_senders_sn2()
1740 notify->key); in xpc_notify_senders_sn2()
1744 (void *)notify, get, ch->partid, ch->number); in xpc_notify_senders_sn2()
2174 struct xpc_notify_sn2 *notify = notify; in xpc_send_payload_sn2() local
2209 notify = &ch_sn2->notify_queue[msg_number % ch->local_nentries]; in xpc_send_payload_sn2()
2210 notify->func = func; in xpc_send_payload_sn2()
2211 notify->key = key; in xpc_send_payload_sn2()
2212 notify->type = notify_type; in xpc_send_payload_sn2()
2224 if (cmpxchg(¬ify->type, notify_type, 0) == in xpc_send_payload_sn2()