Lines Matching refs:es
251 * (reader) starvation by setting the es parameter to SE_EXCL_WANTED.
256 * The se and es parameters determine if the lock should be granted
259 * Lock wanted es flags p_selock/SE_EWANTED Action
279 * dispostion of se, unless the es parameter has SE_RETIRED flag set.
281 * Notes on values of "es":
283 * es & 1: page_lookup_create will attempt page relocation
284 * es & SE_EXCL_WANTED: caller wants SE_EWANTED set (eg. delete
287 * es & SE_RETIRED: caller wants to lock pages even if they are
294 page_lock_es(page_t *pp, se_t se, kmutex_t *lock, reclaim_t reclaim, int es)
310 ASSERT(((es & SE_EXCL_WANTED) == 0) ||
311 ((es & SE_EXCL_WANTED) && (se == SE_EXCL)));
313 if (PP_RETIRED(pp) && !(es & SE_RETIRED)) {
319 if (se == SE_SHARED && es == 1 && pp->p_selock == 0) {
358 if (!(es & SE_EXCL_WANTED) && (pp->p_selock & SE_EWANTED)) {
373 if (es & SE_EXCL_WANTED) {
492 * SE_EXCL callers specifying es == SE_EXCL_WANTED will cause the
503 page_try_reclaim_lock(page_t *pp, se_t se, int es)
512 ASSERT(((es & SE_EXCL_WANTED) == 0) ||
513 ((es & SE_EXCL_WANTED) && (se == SE_EXCL)));
515 if (PP_RETIRED(pp) && !(es & SE_RETIRED)) {
521 if (se == SE_SHARED && es == 1 && old == 0) {
551 if (!(old & SE_EWANTED) || (es & SE_EXCL_WANTED)) {
561 if (es & SE_EXCL_WANTED) {