Lines Matching defs:empty
122 * empty. See __cpu_map_entry_replace() and work-queue
280 static void cpu_map_gro_flush(struct bpf_cpu_map_entry *rcpu, bool empty)
283 * If the ring is not empty, there'll be a new iteration soon, and we
285 * If the ring is empty, to not hold GRO packets in the stack for too
290 gro_flush_normal(&rcpu->gro, !empty && HZ >= 1000);
305 * kthread_stop signal until queue is empty.
314 bool empty;
398 /* Flush either every 64 packets or in case of empty ring */
400 empty = __ptr_ring_empty(rcpu->queue);
401 if (packets >= NAPI_POLL_WEIGHT || empty) {
402 cpu_map_gro_flush(rcpu, empty);
532 * cpu_map_kthread_run() makes sure the pointer ring is empty
540 /* The queue should be empty at this point */