Lines Matching +full:single +full:- +full:phase

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2001-2002 Luigi Rizzo
74 * call -- typically this is the number of packets to be received, or
119 if (error || !req->newptr ) in poll_burst_max_sysctl()
145 if (error || !req->newptr ) in poll_each_burst_sysctl()
176 if (error || !req->newptr ) in user_frac_sysctl()
200 if (error || !req->newptr ) in reg_frac_sysctl()
238 static uint32_t phase; variable
239 SYSCTL_UINT(_kern_polling, OID_AUTO, phase, CTLFLAG_RD,
240 &phase, 0, "Polling phase");
302 delta = (t.tv_usec - prev_t.tv_usec) + in hardclock_device_poll()
303 (t.tv_sec - prev_t.tv_sec)*1000000; in hardclock_device_poll()
316 phase = 0; in hardclock_device_poll()
319 if (phase <= 2) { in hardclock_device_poll()
320 if (phase != 0) in hardclock_device_poll()
322 phase = 1; in hardclock_device_poll()
326 phase = 2; in hardclock_device_poll()
358 * It is very bad to fetch large bursts of packets from a single card at once,
362 * time spent in network-related processing, we split the burst in smaller
387 phase = 5; in netisr_pollmore()
398 kern_load = (t.tv_usec - poll_start_t.tv_usec) + in netisr_pollmore()
399 (t.tv_sec - poll_start_t.tv_sec)*1000000; /* us */ in netisr_pollmore()
401 if (kern_load > (100 - user_frac)) { /* try decrease ticks */ in netisr_pollmore()
403 poll_burst--; in netisr_pollmore()
409 pending_polls--; in netisr_pollmore()
411 phase = 0; in netisr_pollmore()
418 poll_burst -= (poll_burst / 8); in netisr_pollmore()
424 phase = 6; in netisr_pollmore()
449 phase = 3; in netisr_poll()
461 residual_burst -= cycles; in netisr_poll()
466 phase = 4; in netisr_poll()
498 verbose--; in ether_poll_register()
542 poll_handlers--; in ether_poll_deregister()
559 PROC_SLOCK(td->td_proc); in poll_idle()
561 PROC_SUNLOCK(td->td_proc); in poll_idle()