Lines Matching defs:func
1373 xpc_notify_func func = msg_slot->func;
1375 if (func != NULL && cmpxchg(&msg_slot->func, func, NULL) == func) {
1379 dev_dbg(xpc_chan, "msg_slot->func() called, msg_slot=0x%p "
1383 func(reason, ch->partid, ch->number, msg_slot->key);
1385 dev_dbg(xpc_chan, "msg_slot->func() returned, msg_slot=0x%p "
1403 if (msg_slot->func != NULL)
1535 u16 payload_size, u8 notify_type, xpc_notify_func func,
1565 if (func != NULL) {
1569 smp_wmb(); /* a non-NULL func must hit memory after the key */
1570 msg_slot->func = func;
1592 if (func != NULL) {
1594 * Try to NULL the msg_slot's func field. If we fail, then
1603 if (cmpxchg(&msg_slot->func, func, NULL) != func) {
1638 if (msg_slot->func != NULL)