Lines Matching refs:part
937 xpc_wakeup_channel_mgr(struct xpc_partition *part) in xpc_wakeup_channel_mgr() argument
939 if (atomic_inc_return(&part->channel_mgr_requests) == 1) in xpc_wakeup_channel_mgr()
940 wake_up(&part->channel_mgr_wq); in xpc_wakeup_channel_mgr()
971 xpc_part_deref(struct xpc_partition *part) in xpc_part_deref() argument
973 s32 refs = atomic_dec_return(&part->references); in xpc_part_deref()
976 if (refs == 0 && part->setup_state == XPC_P_SS_WTEARDOWN) in xpc_part_deref()
977 wake_up(&part->teardown_wq); in xpc_part_deref()
981 xpc_part_ref(struct xpc_partition *part) in xpc_part_ref() argument
985 atomic_inc(&part->references); in xpc_part_ref()
986 setup = (part->setup_state == XPC_P_SS_SETUP); in xpc_part_ref()
988 xpc_part_deref(part); in xpc_part_ref()