Searched refs:cohort (Results 1 - 5 of 5) sorted by relevance

/freebsd-current/sys/contrib/ck/include/
H A Dck_cohort.h67 ck_cohort_##N##_init(struct ck_cohort_##N *cohort, \
70 cohort->global_lock = global_lock; \
71 cohort->local_lock = local_lock; \
72 cohort->release_state = CK_COHORT_STATE_GLOBAL; \
73 cohort->waiting_threads = 0; \
74 cohort->acquire_count = 0; \
75 cohort->local_pass_limit = pass_limit; \
81 ck_cohort_##N##_lock(CK_COHORT_INSTANCE(N) *cohort, \
85 ck_pr_inc_uint(&cohort->waiting_threads); \
86 LL(cohort
[all...]
H A Dck_rwcohort.h74 CK_COHORT_INSTANCE(N) *cohort, void *global_context, \
81 CK_COHORT_LOCK(N, cohort, global_context, local_context); \
90 CK_COHORT_INSTANCE(N) *cohort, void *global_context, \
95 CK_COHORT_UNLOCK(N, cohort, global_context, local_context); \
100 CK_COHORT_INSTANCE(N) *cohort, void *global_context, \
109 if (CK_COHORT_LOCKED(N, cohort, global_context, \
114 while (CK_COHORT_LOCKED(N, cohort, global_context, \
132 ck_rwcohort_wp_##N##_read_unlock(CK_RWCOHORT_WP_INSTANCE(N) *cohort) \
136 ck_pr_dec_uint(&cohort->read_counter); \
178 CK_COHORT_INSTANCE(N) *cohort, voi
[all...]
/freebsd-current/contrib/bmake/unit-tests/
H A Ddepsrc-optional.exp5 ExamineLater: need to examine "optional-cohort"
7 Make_ExpandUse: examine optional-cohort
9 Examining optional-cohort...nonexistent...:: operator and no sources...out-of-date.
11 recheck(optional-cohort): update time from nonexistent to now
12 Examining important...nonexistent...modified before source "optional-cohort"...out-of-date.
/freebsd-current/contrib/bmake/
H A Dtarg.c573 * Propagate some type information to cohort nodes (those from the '::'
592 GNode *cohort = cln->datum; local
594 cohort->type |= type & (unsigned)~OP_OPMASK;
H A Dparse.c698 GNode *cohort; local
706 cohort = Targ_NewInternalNode(gn->name);
708 RememberLocation(cohort);
710 * Make the cohort invisible to avoid duplicating it
718 cohort->type = op | OP_INVISIBLE;
719 Lst_Append(&gn->cohorts, cohort);
720 cohort->centurion = gn;
722 snprintf(cohort->cohort_num, sizeof cohort->cohort_num, "#%d",

Completed in 133 milliseconds