Lines Matching full:blocked
68 unsigned long blocked; member
83 #define BLOCKED 0 macro
117 * As in pppoatm_pop(), it's safe to clear the BLOCKED bit here because in pppoatm_release_cb()
122 * set the BLOCKED bit while the socket is still locked. We know that in pppoatm_release_cb()
125 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) in pppoatm_release_cb()
133 * but we also need to wake up the device if we blocked it
144 * fear of race conditions where we clear the BLOCKED flag just as we in pppoatm_pop()
154 * So if the CPU in pppoatm_send() has already set the BLOCKED bit and in pppoatm_pop()
157 * BLOCKED bit yet, that's fine too because of the double check in in pppoatm_pop()
160 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) in pppoatm_pop()
257 test_and_set_bit(BLOCKED, &pvcc->blocked); in pppoatm_may_send()
261 * last packet in the queue, *just* before we set the BLOCKED in pppoatm_may_send()
263 * remain permanently blocked. Cope with that race by checking in pppoatm_may_send()
266 * the BLOCKED flag set, since it's only used as a trigger to in pppoatm_may_send()
269 * space on the queue yet, then it hasn't checked the BLOCKED in pppoatm_may_send()
311 test_and_set_bit(BLOCKED, &pvcc->blocked); in pppoatm_send()