Home
last modified time | relevance | path

Searched refs:icount (Results 1 – 25 of 154) sorted by relevance

1234567

/linux-6.12.1/drivers/tty/
Damiserial.c73 struct async_icount icount; member
182 struct async_icount *icount; in receive_chars() local
185 icount = &info->icount; in receive_chars()
199 icount->rx++; in receive_chars()
219 icount->brk++; in receive_chars()
221 icount->parity++; in receive_chars()
223 icount->frame++; in receive_chars()
225 icount->overrun++; in receive_chars()
270 info->icount.tx++; in transmit_chars()
286 info->icount.tx++; in transmit_chars()
[all …]
Dmxser.c269 struct async_icount icount; /* kernel counters for 4 input interrupts */ member
693 port->icount.rng++; in mxser_check_modem_status()
695 port->icount.dsr++; in mxser_check_modem_status()
697 port->icount.dcd++; in mxser_check_modem_status()
699 port->icount.cts++; in mxser_check_modem_status()
1151 cnow = info->icount; /* atomic copy */ in mxser_cflags_changed()
1225 cnow = info->icount; /* note the counters on entry */ in mxser_ioctl()
1244 struct serial_icounter_struct *icount) in mxser_get_icount() argument
1252 cnow = info->icount; in mxser_get_icount()
1255 icount->frame = cnow.frame; in mxser_get_icount()
[all …]
Dsynclink_gt.c229 struct mgsl_icount icount; member
1033 struct serial_icounter_struct *icount) in get_icount() argument
1041 cnow = info->icount; in get_icount()
1044 icount->cts = cnow.cts; in get_icount()
1045 icount->dsr = cnow.dsr; in get_icount()
1046 icount->rng = cnow.rng; in get_icount()
1047 icount->dcd = cnow.dcd; in get_icount()
1048 icount->rx = cnow.rx; in get_icount()
1049 icount->tx = cnow.tx; in get_icount()
1050 icount->frame = cnow.frame; in get_icount()
[all …]
/linux-6.12.1/fs/xfs/scrub/
Dfscounters.c305 fsc->icount = 0; in xchk_fscount_aggregate_agcounts()
321 fsc->icount += pag->pagi_count; in xchk_fscount_aggregate_agcounts()
364 trace_xchk_fscounters_calc(mp, fsc->icount, fsc->ifree, fsc->fdblocks, in xchk_fscount_aggregate_agcounts()
369 if (fsc->icount < fsc->icount_min || fsc->icount > fsc->icount_max || in xchk_fscount_aggregate_agcounts()
379 if (fsc->ifree > fsc->icount) { in xchk_fscount_aggregate_agcounts()
508 int64_t icount, ifree, fdblocks, frextents; in xchk_fscounters() local
513 icount = percpu_counter_sum(&mp->m_icount); in xchk_fscounters()
519 if (icount < 0 || ifree < 0) in xchk_fscounters()
540 if (icount < fsc->icount_min || icount > fsc->icount_max) in xchk_fscounters()
555 if (ifree > icount && ifree - icount > XCHK_FSCOUNT_MIN_VARIANCE) in xchk_fscounters()
[all …]
Drepair.c279 xfs_agino_t icount = NULLAGINO; in xrep_calc_ag_resblks() local
295 icount = pag->pagi_count; in xrep_calc_ag_resblks()
300 icount = pag->pagi_count; in xrep_calc_ag_resblks()
321 if (icount == NULLAGINO || in xrep_calc_ag_resblks()
322 !xfs_verify_agino(pag, icount)) { in xrep_calc_ag_resblks()
323 icount = pag->agino_max - pag->agino_min + 1; in xrep_calc_ag_resblks()
336 trace_xrep_calc_ag_resblks(mp, sm->sm_agno, icount, aglen, in xrep_calc_ag_resblks()
346 inobt_sz = xfs_iallocbt_calc_size(mp, icount / in xrep_calc_ag_resblks()
349 inobt_sz = xfs_iallocbt_calc_size(mp, icount / in xrep_calc_ag_resblks()
/linux-6.12.1/drivers/mmc/core/
Dsdio_uart.c73 struct uart_icount icount; member
362 port->icount.rx++; in sdio_uart_receive_chars()
371 port->icount.brk++; in sdio_uart_receive_chars()
373 port->icount.parity++; in sdio_uart_receive_chars()
375 port->icount.frame++; in sdio_uart_receive_chars()
377 port->icount.overrun++; in sdio_uart_receive_chars()
417 port->icount.tx++; in sdio_uart_transmit_chars()
434 port->icount.tx++; in sdio_uart_transmit_chars()
457 port->icount.rng++; in sdio_uart_check_modem_status()
459 port->icount.dsr++; in sdio_uart_check_modem_status()
[all …]
/linux-6.12.1/arch/powerpc/sysdev/xics/
Dics-native.c36 u32 icount; member
54 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_unmask_irq()
91 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_mask_irq()
106 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_set_affinity()
140 if (hw_irq < in->ibase || hw_irq >= (in->ibase + in->icount)) in ics_native_check()
150 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_mask_unknown()
161 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_get_server()
219 ics->icount = ranges[1]; in ics_native_add_one()
222 ics->ibase, ics->ibase + ics->icount - 1); in ics_native_add_one()
/linux-6.12.1/drivers/usb/serial/
Dgeneric.c513 cnow = port->icount; /* atomic copy*/ in usb_serial_generic_msr_changed()
534 cnow = port->icount; /* atomic copy */ in usb_serial_generic_tiocmiwait()
547 struct serial_icounter_struct *icount) in usb_serial_generic_get_icount() argument
554 cnow = port->icount; /* atomic copy */ in usb_serial_generic_get_icount()
557 icount->cts = cnow.cts; in usb_serial_generic_get_icount()
558 icount->dsr = cnow.dsr; in usb_serial_generic_get_icount()
559 icount->rng = cnow.rng; in usb_serial_generic_get_icount()
560 icount->dcd = cnow.dcd; in usb_serial_generic_get_icount()
561 icount->tx = cnow.tx; in usb_serial_generic_get_icount()
562 icount->rx = cnow.rx; in usb_serial_generic_get_icount()
[all …]
Dssu100.c416 port->icount.cts++; in ssu100_update_msr()
418 port->icount.dsr++; in ssu100_update_msr()
420 port->icount.dcd++; in ssu100_update_msr()
422 port->icount.rng++; in ssu100_update_msr()
442 port->icount.brk++; in ssu100_update_lsr()
447 port->icount.parity++; in ssu100_update_lsr()
452 port->icount.frame++; in ssu100_update_lsr()
457 port->icount.overrun++; in ssu100_update_lsr()
Dark3116.c469 port->icount.cts++; in ark3116_update_msr()
471 port->icount.dsr++; in ark3116_update_msr()
473 port->icount.dcd++; in ark3116_update_msr()
475 port->icount.rng++; in ark3116_update_msr()
492 port->icount.brk++; in ark3116_update_lsr()
494 port->icount.frame++; in ark3116_update_lsr()
496 port->icount.parity++; in ark3116_update_lsr()
498 port->icount.overrun++; in ark3116_update_lsr()
Dquatech2.c805 port->icount.cts++; in qt2_update_msr()
807 port->icount.dsr++; in qt2_update_msr()
809 port->icount.dcd++; in qt2_update_msr()
811 port->icount.rng++; in qt2_update_msr()
820 struct async_icount *icount; in qt2_update_lsr() local
836 icount = &port->icount; in qt2_update_lsr()
841 icount->brk++; in qt2_update_lsr()
844 icount->overrun++; in qt2_update_lsr()
847 icount->parity++; in qt2_update_lsr()
850 icount->frame++; in qt2_update_lsr()
Df81232.c221 port->icount.cts++; in f81232_read_msr()
223 port->icount.dsr++; in f81232_read_msr()
225 port->icount.rng++; in f81232_read_msr()
227 port->icount.dcd++; in f81232_read_msr()
359 port->icount.brk++; in f81232_handle_lsr()
363 port->icount.parity++; in f81232_handle_lsr()
366 port->icount.frame++; in f81232_handle_lsr()
370 port->icount.overrun++; in f81232_handle_lsr()
/linux-6.12.1/drivers/leds/trigger/
Dledtrig-tty.c258 struct serial_icounter_struct icount; in ledtrig_tty_work() local
260 ret = tty_get_icount(trigger_data->tty, &icount); in ledtrig_tty_work()
264 if (trigger_data->mode_tx && (icount.tx != trigger_data->tx)) { in ledtrig_tty_work()
265 trigger_data->tx = icount.tx; in ledtrig_tty_work()
270 if (trigger_data->mode_rx && (icount.rx != trigger_data->rx)) { in ledtrig_tty_work()
271 trigger_data->rx = icount.rx; in ledtrig_tty_work()
/linux-6.12.1/drivers/tty/serial/
Ddz.c182 struct uart_icount *icount; in dz_receive_chars() local
195 icount = &uport->icount; in dz_receive_chars()
196 icount->rx++; in dz_receive_chars()
214 icount->brk++; in dz_receive_chars()
218 icount->frame++; in dz_receive_chars()
220 icount->parity++; in dz_receive_chars()
222 icount->overrun++; in dz_receive_chars()
265 dport->port.icount.tx++; in dz_transmit_chars()
320 dport->port.icount.dsr++; in check_modem_status()
Dsb1250-duart.c333 struct uart_icount *icount; in sbd_receive_chars() local
347 icount = &uport->icount; in sbd_receive_chars()
348 icount->rx++; in sbd_receive_chars()
354 icount->brk++; in sbd_receive_chars()
358 icount->frame++; in sbd_receive_chars()
360 icount->parity++; in sbd_receive_chars()
362 icount->overrun++; in sbd_receive_chars()
393 sport->port.icount.tx++; in sbd_transmit_chars()
431 uport->icount.dsr++; in sbd_status_handle()
Dserial_core.c700 uport->icount.tx++; in uart_xchar_out()
1245 memcpy(&cprev, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status()
1252 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status()
1289 struct serial_icounter_struct *icount) in uart_get_icount() argument
1299 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_get_icount()
1303 icount->cts = cnow.cts; in uart_get_icount()
1304 icount->dsr = cnow.dsr; in uart_get_icount()
1305 icount->rng = cnow.rng; in uart_get_icount()
1306 icount->dcd = cnow.dcd; in uart_get_icount()
1307 icount->rx = cnow.rx; in uart_get_icount()
[all …]
Dmux.c210 __u32 start_count = port->icount.rx; in mux_read()
221 port->icount.rx++; in mux_read()
224 port->icount.brk++; in mux_read()
235 if (start_count != port->icount.rx) in mux_read()
Dapbuart.c81 port->icount.rx++; in apbuart_rx_chars()
89 port->icount.brk++; in apbuart_rx_chars()
93 port->icount.parity++; in apbuart_rx_chars()
95 port->icount.frame++; in apbuart_rx_chars()
98 port->icount.overrun++; in apbuart_rx_chars()
/linux-6.12.1/drivers/ipack/devices/
Dipoctal.c142 struct serial_icounter_struct *icount) in ipoctal_get_icount() argument
146 icount->cts = 0; in ipoctal_get_icount()
147 icount->dsr = 0; in ipoctal_get_icount()
148 icount->rng = 0; in ipoctal_get_icount()
149 icount->dcd = 0; in ipoctal_get_icount()
150 icount->rx = channel->stats.rx; in ipoctal_get_icount()
151 icount->tx = channel->stats.tx; in ipoctal_get_icount()
152 icount->frame = channel->stats.framing_err; in ipoctal_get_icount()
153 icount->parity = channel->stats.parity_err; in ipoctal_get_icount()
154 icount->brk = channel->stats.rcv_break; in ipoctal_get_icount()
/linux-6.12.1/fs/xfs/
Dxfs_itable.h14 unsigned int icount; /* number of elements in ubuffer */ member
38 return breq->ocount == breq->icount ? -ECANCELED : 0; in xfs_ibulk_advance()
Dxfs_ioctl32.c250 if (get_user(bulkreq.icount, &p32->icount) || in xfs_compat_ioc_fsbulkstat()
261 if (bulkreq.icount <= 0) in xfs_compat_ioc_fsbulkstat()
268 breq.icount = bulkreq.icount; in xfs_compat_ioc_fsbulkstat()
287 breq.icount = 1; in xfs_compat_ioc_fsbulkstat()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_types.c188 unsigned long long icount) in xfs_verify_icount() argument
193 return icount >= min && icount <= max; in xfs_verify_icount()
/linux-6.12.1/drivers/net/usb/
Dhso.c191 struct uart_icount icount; member
1446 struct uart_icount *icount; in tiocmget_intr_callback() local
1490 icount = &tiocmget->icount; in tiocmget_intr_callback()
1494 icount->parity++; in tiocmget_intr_callback()
1497 icount->parity++; in tiocmget_intr_callback()
1500 icount->frame++; in tiocmget_intr_callback()
1503 icount->rng++; in tiocmget_intr_callback()
1506 icount->brk++; in tiocmget_intr_callback()
1509 icount->dsr++; in tiocmget_intr_callback()
1512 icount->dcd++; in tiocmget_intr_callback()
[all …]
/linux-6.12.1/drivers/input/serio/
Dhp_sdc_mlc.c68 if (mlc->icount < 0) { in hp_sdc_mlc_isr()
73 idx = 15 - mlc->icount; in hp_sdc_mlc_isr()
76 mlc->icount--; in hp_sdc_mlc_isr()
158 mlc->icount = 14; in hp_sdc_mlc_in()
/linux-6.12.1/drivers/tty/serial/8250/
D8250_pci1xxxx.c316 port->icount.overrun++; in pci1xxxx_read_burst_status()
320 port->icount.frame++; in pci1xxxx_read_burst_status()
323 port->icount.parity++; in pci1xxxx_read_burst_status()
377 port->icount.overrun += buff_index - copied_len; in pci1xxxx_rx_burst()
379 port->icount.rx += buff_index; in pci1xxxx_rx_burst()
441 port->icount.tx++; in pci1xxxx_tx_burst()
458 port->icount.tx++; in pci1xxxx_tx_burst()

1234567