Lines Matching defs:state
121 * The per-thread poll state consists of
151 * Whenever possible the design relies on the fact that the poll cache state
153 * Thus the key interactions where other threads access the state are:
167 * can access this per-thread state.
168 * Those exceptions occur in poll when first allocating the per-thread state,
171 * pollheads or fpollinfo to the threads poll state.
182 * from exiting and freeing all of the poll related state. Thus is done
193 * the poll cache state. The solution is to use pc_busy and do the close
196 * This prevents the per-thread poll related state from being freed.
313 int state;
315 if (pollunlock(&state) != 0) {
319 pollrelock(state);
701 * Clean up any state left around by poll(2). Called when a thread exits.
1941 * A bitmap caches poll state information of