Searched refs:kthreads_assigned (Results 1 – 3 of 3) sorted by relevance
451 atomic_set(&ch->kthreads_assigned, 0); in xpc_setup_ch_structures()614 int assigned = atomic_read(&ch->kthreads_assigned); in xpc_activate_kthreads()746 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_kthread_start()791 if (!atomic_inc_not_zero(&ch->kthreads_assigned)) { in xpc_create_kthreads()801 } else if (atomic_inc_return(&ch->kthreads_assigned) == 1 && in xpc_create_kthreads()823 if (atomic_dec_return(&ch->kthreads_assigned) == 0 && in xpc_create_kthreads()830 if (atomic_read(&ch->kthreads_assigned) < in xpc_create_kthreads()
94 if (atomic_read(&ch->kthreads_assigned) > 0 || in xpc_process_disconnect()493 DBUG_ON(atomic_read(&ch->kthreads_assigned) != 0); in xpc_connect_channel()
351 atomic_t kthreads_assigned; /* #of kthreads assigned to channel */ member