Lines Matching +full:use +full:- +full:broken +full:- +full:interrupts

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2001-2002 Luigi Rizzo
8 * Redistribution and use in source and binary forms, with or without
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
62 * If registration is successful, the driver must disable interrupts,
74 * call -- typically this is the number of packets to be received, or
81 * with polling and disable interrupts, if registration was successful.
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()
290 * meaning either stray interrupts or delayed events.
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()
362 * time spent in network-related processing, we split the burst in smaller
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()
418 poll_burst -= (poll_burst / 8); in netisr_pollmore()
461 residual_burst -= cycles; in netisr_poll()
490 * broken driver trying to register multiple times. Checking in ether_poll_register()
497 "maybe a broken driver ?\n"); in ether_poll_register()
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()