Lines Matching defs:scan_batch
151 * rdllist into a caller-local scan_batch. ep_done_scan() drains ovflist
154 * left in scan_batch (e.g., level-triggered re-queues).
965 static void ep_start_scan(struct eventpoll *ep, struct list_head *scan_batch)
979 list_splice_init(&ep->rdllist, scan_batch);
987 struct list_head *scan_batch)
1001 * Skip items that the caller already returned via @scan_batch
1020 * Quickly re-inject items left on "scan_batch".
1022 list_splice(scan_batch, &ep->rdllist);
1289 LIST_HEAD(scan_batch);
1304 ep_start_scan(ep, &scan_batch);
1305 list_for_each_entry_safe(epi, tmp, &scan_batch, rdllink) {
1319 ep_done_scan(ep, &scan_batch);
2066 * re-inserted at the head of @scan_batch so ep_done_scan() merges it
2075 struct list_head *scan_batch)
2113 list_add(&epi->rdllink, scan_batch);
2139 LIST_HEAD(scan_batch);
2161 ep_start_scan(ep, &scan_batch);
2165 * scan_batch; items cannot vanish while we hold ep->mtx.
2167 list_for_each_entry_safe(epi, tmp, &scan_batch, rdllink) {
2173 delivered = ep_deliver_event(ep, epi, &pt, &events, &scan_batch);
2182 ep_done_scan(ep, &scan_batch);