Lines Matching refs:prepost

220 	uint32_t kw_fakecount;		/* number of error/prepost fakes */
236 uint32_t kw_pre_rwwc; /* prepost count */
237 uint32_t kw_pre_lockseq; /* prepost target seq */
238 uint32_t kw_pre_sseq; /* prepost target sword, in cvar used for mutexowned */
239 uint32_t kw_pre_intrcount; /* prepost of missed wakeup due to intrs */
240 uint32_t kw_pre_intrseq; /* prepost of missed wakeup limit seq */
261 #define PTH_RWL_PBIT 0x04 /* prepost (cv) pending in kernel */
284 #define PTH_RWS_CV_PBIT PTH_RWS_IBIT /* kernel has prepost/fake structs only,no waiters */
285 #define PTH_RWS_CV_MBIT PTH_RWL_MBIT /* to indicate prepost return */
661 __FAILEDUSERTEST__("psynch_mutexdrop_internal: prepost more than one (1)\n");
690 /* next seq to be granted not found, prepost */
694 __FAILEDUSERTEST__("psynch_mutexdrop_internal: prepost more than one (2)\n");
713 __FAILEDUSERTEST__("psynch_mutexdrop_internal: prepost more than one (3)\n");
735 /* indicate prepost content in kernel */
840 __FAILEDUSERTEST__("psynch_mutexwait(prepost): returning 0 lseq in mutexwait with no EBIT \n");
849 __FAILEDUSERTEST__("psynch_mutexwait: more than one prepost\n");
1020 /* broadcast wakeups/prepost handling */
1129 /* merge in with existing prepost at our same uptoseq */
1186 /* no eligible entries - add prepost */
1311 /* Look for the sequence for prepost (or conflicting thread */
1337 * consuming a prepost higher than our lock sequence is valid, but
1510 * psynch_cvclrprepost: This system call clears pending prepost if present.
1558 /* clear prepost */
2259 goto prepost;
2262 /* no prepost and all threads are in place, reset the bit */
2294 prepost:
2528 goto prepost;
2531 /* no prepost and all threads are in place, reset the bit */
2567 prepost:
2568 /* update if the new seq is higher than prev prepost, or first set */
3347 int prepost = flags & KW_UNLOCK_PREPOST;
3362 if (prepost != 0) {
3380 if (prepost != 0) {
3382 /* upgrade thread calling the prepost */
3673 if ((prepost != 0) && ((flags & KW_UNLOCK_PREPOST_READLOCK) != 0)) {
3838 /* need to handle prepost */
3882 /* During prepost when a thread is getting cancelled, we could have two with same seq */
4024 /* find the thread at the target sequence (or a broadcast/prepost at or above) */
4070 /* match any prepost at our same uptoseq or any broadcast above */