/linux/fs/xfs/scrub/ |
A D | fscounters.c | 189 fsc->icount = 0; in xchk_fscount_aggregate_agcounts() 204 fsc->icount += pag->pagi_count; in xchk_fscount_aggregate_agcounts() 245 trace_xchk_fscounters_calc(mp, fsc->icount, fsc->ifree, fsc->fdblocks, in xchk_fscount_aggregate_agcounts() 250 if (fsc->icount < fsc->icount_min || fsc->icount > fsc->icount_max || in xchk_fscount_aggregate_agcounts() 260 if (fsc->ifree > fsc->icount) { in xchk_fscount_aggregate_agcounts() 336 int64_t icount, ifree, fdblocks; in xchk_fscounters() local 340 icount = percpu_counter_sum(&mp->m_icount); in xchk_fscounters() 345 if (icount < 0 || ifree < 0 || fdblocks < 0) in xchk_fscounters() 349 if (icount < fsc->icount_min || icount > fsc->icount_max) in xchk_fscounters() 360 if (ifree > icount && ifree - icount > XCHK_FSCOUNT_MIN_VARIANCE) in xchk_fscounters() [all …]
|
A D | repair.c | 182 xfs_agino_t icount = NULLAGINO; in xrep_calc_ag_resblks() local 198 icount = pag->pagi_count; in xrep_calc_ag_resblks() 203 icount = pag->pagi_count; in xrep_calc_ag_resblks() 225 if (icount == NULLAGINO || in xrep_calc_ag_resblks() 226 !xfs_verify_agino(mp, sm->sm_agno, icount)) { in xrep_calc_ag_resblks() 230 icount = last - first + 1; in xrep_calc_ag_resblks() 242 trace_xrep_calc_ag_resblks(mp, sm->sm_agno, icount, aglen, in xrep_calc_ag_resblks() 252 inobt_sz = xfs_iallocbt_calc_size(mp, icount / in xrep_calc_ag_resblks() 255 inobt_sz = xfs_iallocbt_calc_size(mp, icount / in xrep_calc_ag_resblks()
|
/linux/drivers/tty/ |
A D | amiserial.c | 184 icount = &info->icount; in receive_chars() 198 icount->rx++; in receive_chars() 218 icount->brk++; in receive_chars() 222 icount->frame++; in receive_chars() 271 info->icount.tx++; in transmit_chars() 287 info->icount.tx++; in transmit_chars() 316 icount = &info->icount; in check_modem_status() 319 icount->dsr++; in check_modem_status() 321 icount->dcd++; in check_modem_status() 324 icount->cts++; in check_modem_status() [all …]
|
A D | synclink_gt.c | 1049 cnow = info->icount; in get_icount() 1204 info->icount.txok, info->icount.rxok); in line_info() 1219 info->icount.tx, info->icount.rx); in line_info() 1761 struct mgsl_icount *icount = &info->icount; in rx_async() local 1782 icount->rx++; in rx_async() 1930 info->icount.dsr++; in dsr_change() 1950 info->icount.cts++; in cts_change() 1985 info->icount.dcd++; in dcd_change() 2022 info->icount.rng++; in ri_change() 2352 memset(&info->icount, 0, sizeof(info->icount)); in startup() [all …]
|
A D | mxser.c | 692 port->icount.rng++; in mxser_check_modem_status() 694 port->icount.dsr++; in mxser_check_modem_status() 696 port->icount.dcd++; in mxser_check_modem_status() 698 port->icount.cts++; in mxser_check_modem_status() 1312 cnow = info->icount; in mxser_get_icount() 1316 icount->brk = cnow.brk; in mxser_get_icount() 1320 icount->rx = cnow.rx; in mxser_get_icount() 1321 icount->tx = cnow.tx; in mxser_get_icount() 1322 icount->cts = cnow.cts; in mxser_get_icount() 1323 icount->dsr = cnow.dsr; in mxser_get_icount() [all …]
|
/linux/drivers/mmc/core/ |
A D | sdio_uart.c | 72 struct uart_icount icount; member 379 port->icount.rx++; in sdio_uart_receive_chars() 388 port->icount.brk++; in sdio_uart_receive_chars() 392 port->icount.frame++; in sdio_uart_receive_chars() 434 port->icount.tx++; in sdio_uart_transmit_chars() 451 port->icount.tx++; in sdio_uart_transmit_chars() 474 port->icount.rng++; in sdio_uart_check_modem_status() 476 port->icount.dsr++; in sdio_uart_check_modem_status() 478 port->icount.dcd++; in sdio_uart_check_modem_status() 488 port->icount.cts++; in sdio_uart_check_modem_status() [all …]
|
/linux/arch/powerpc/sysdev/xics/ |
A D | ics-native.c | 36 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/drivers/usb/serial/ |
A D | generic.c | 558 icount->cts = cnow.cts; in usb_serial_generic_get_icount() 559 icount->dsr = cnow.dsr; in usb_serial_generic_get_icount() 560 icount->rng = cnow.rng; in usb_serial_generic_get_icount() 561 icount->dcd = cnow.dcd; in usb_serial_generic_get_icount() 562 icount->tx = cnow.tx; in usb_serial_generic_get_icount() 563 icount->rx = cnow.rx; in usb_serial_generic_get_icount() 564 icount->frame = cnow.frame; in usb_serial_generic_get_icount() 565 icount->parity = cnow.parity; in usb_serial_generic_get_icount() 566 icount->overrun = cnow.overrun; in usb_serial_generic_get_icount() 567 icount->brk = cnow.brk; in usb_serial_generic_get_icount() [all …]
|
A D | ssu100.c | 430 port->icount.cts++; in ssu100_update_msr() 432 port->icount.dsr++; in ssu100_update_msr() 434 port->icount.dcd++; in ssu100_update_msr() 436 port->icount.rng++; in ssu100_update_msr() 456 port->icount.brk++; in ssu100_update_lsr() 461 port->icount.parity++; in ssu100_update_lsr() 466 port->icount.frame++; in ssu100_update_lsr() 471 port->icount.overrun++; in ssu100_update_lsr()
|
A D | ark3116.c | 480 port->icount.cts++; in ark3116_update_msr() 482 port->icount.dsr++; in ark3116_update_msr() 484 port->icount.dcd++; in ark3116_update_msr() 486 port->icount.rng++; in ark3116_update_msr() 503 port->icount.brk++; in ark3116_update_lsr() 505 port->icount.frame++; in ark3116_update_lsr() 507 port->icount.parity++; in ark3116_update_lsr() 509 port->icount.overrun++; in ark3116_update_lsr()
|
A D | quatech2.c | 823 port->icount.cts++; in qt2_update_msr() 825 port->icount.dsr++; in qt2_update_msr() 827 port->icount.dcd++; in qt2_update_msr() 829 port->icount.rng++; in qt2_update_msr() 838 struct async_icount *icount; in qt2_update_lsr() local 854 icount = &port->icount; in qt2_update_lsr() 859 icount->brk++; in qt2_update_lsr() 862 icount->overrun++; in qt2_update_lsr() 865 icount->parity++; in qt2_update_lsr() 868 icount->frame++; in qt2_update_lsr()
|
/linux/drivers/char/pcmcia/ |
A D | synclink_cs.c | 897 struct mgsl_icount *icount = &info->icount; in rx_ready_async() local 918 icount->rx++; in rx_ready_async() 929 icount->frame++; in rx_ready_async() 950 __FILE__,__LINE__,icount->rx,icount->brk, in rx_ready_async() 951 icount->parity,icount->frame,icount->overrun); in rx_ready_async() 1050 info->icount.cts++; in cts_change() 1085 info->icount.dcd++; in dcd_change() 1288 memset(&info->icount, 0, sizeof(info->icount)); in startup() 1766 memset(&info->icount, 0, sizeof(info->icount)); in get_stats() 2558 info->icount.txok, info->icount.rxok); in line_info() [all …]
|
/linux/drivers/leds/trigger/ |
A D | ledtrig-tty.c | 83 struct serial_icounter_struct icount; in ledtrig_tty_work() local 116 ret = tty_get_icount(trigger_data->tty, &icount); in ledtrig_tty_work() 123 if (icount.rx != trigger_data->rx || in ledtrig_tty_work() 124 icount.tx != trigger_data->tx) { in ledtrig_tty_work() 127 trigger_data->rx = icount.rx; in ledtrig_tty_work() 128 trigger_data->tx = icount.tx; in ledtrig_tty_work()
|
/linux/drivers/staging/fwserial/ |
A D | fwserial.c | 1383 icount->cts = port->icount.cts; in fwtty_get_icount() 1384 icount->dsr = port->icount.dsr; in fwtty_get_icount() 1385 icount->rng = port->icount.rng; in fwtty_get_icount() 1386 icount->dcd = port->icount.dcd; in fwtty_get_icount() 1387 icount->rx = port->icount.rx; in fwtty_get_icount() 1389 icount->frame = port->icount.frame; in fwtty_get_icount() 1390 icount->overrun = port->icount.overrun; in fwtty_get_icount() 1391 icount->parity = port->icount.parity; in fwtty_get_icount() 1392 icount->brk = port->icount.brk; in fwtty_get_icount() 1408 port->icount.dsr, port->icount.rng, port->icount.dcd); in fwtty_proc_show_port() [all …]
|
/linux/drivers/tty/serial/ |
A D | dz.c | 182 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() 284 dport->port.icount.tx++; in dz_transmit_chars() 322 dport->port.icount.dsr++; in check_modem_status()
|
A D | mux.c | 188 port->icount.tx++; in mux_write() 202 port->icount.tx++; in mux_write() 229 __u32 start_count = port->icount.rx; in mux_read() 240 port->icount.rx++; in mux_read() 243 port->icount.brk++; in mux_read() 254 if (start_count != port->icount.rx) in mux_read()
|
A D | sb1250-duart.c | 333 struct uart_icount *icount; in sbd_receive_chars() local 346 icount = &uport->icount; in sbd_receive_chars() 347 icount->rx++; in sbd_receive_chars() 353 icount->brk++; in sbd_receive_chars() 357 icount->frame++; in sbd_receive_chars() 359 icount->parity++; in sbd_receive_chars() 361 icount->overrun++; in sbd_receive_chars() 391 sport->port.icount.tx++; in sbd_transmit_chars() 403 sport->port.icount.tx++; in sbd_transmit_chars() 430 uport->icount.dsr++; in sbd_status_handle()
|
A D | serial_core.c | 1261 icount->rx = cnow.rx; in uart_get_icount() 1262 icount->tx = cnow.tx; in uart_get_icount() 1860 uport->icount.tx, uport->icount.rx); in uart_line_info() 1861 if (uport->icount.frame) in uart_line_info() 1863 if (uport->icount.parity) in uart_line_info() 1865 if (uport->icount.brk) in uart_line_info() 1867 if (uport->icount.overrun) in uart_line_info() 3095 uport->icount.dcd++; in uart_handle_dcd_change() 3117 uport->icount.cts++; in uart_handle_cts_change() 3156 ++port->icount.buf_overrun; in uart_insert_char() [all …]
|
A D | 21285.c | 126 port->icount.rx++; in serial21285_rx_chars() 131 port->icount.parity++; in serial21285_rx_chars() 133 port->icount.frame++; in serial21285_rx_chars() 135 port->icount.overrun++; in serial21285_rx_chars() 162 port->icount.tx++; in serial21285_tx_chars() 174 port->icount.tx++; in serial21285_tx_chars()
|
A D | apbuart.c | 83 port->icount.rx++; in apbuart_rx_chars() 91 port->icount.brk++; in apbuart_rx_chars() 95 port->icount.parity++; in apbuart_rx_chars() 97 port->icount.frame++; in apbuart_rx_chars() 100 port->icount.overrun++; in apbuart_rx_chars() 130 port->icount.tx++; in apbuart_tx_chars() 145 port->icount.tx++; in apbuart_tx_chars()
|
A D | altera_uart.c | 212 port->icount.rx++; in altera_uart_rx_chars() 219 port->icount.brk++; in altera_uart_rx_chars() 223 port->icount.parity++; in altera_uart_rx_chars() 225 port->icount.overrun++; in altera_uart_rx_chars() 227 port->icount.frame++; in altera_uart_rx_chars() 258 port->icount.tx++; in altera_uart_tx_chars() 269 port->icount.tx++; in altera_uart_tx_chars()
|
/linux/drivers/ipack/devices/ |
A D | ipoctal.c | 142 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/fs/xfs/ |
A D | xfs_itable.h | 14 unsigned int icount; /* number of elements in ubuffer */ member 35 return breq->ocount == breq->icount ? -ECANCELED : 0; in xfs_ibulk_advance()
|
/linux/drivers/net/usb/ |
A D | hso.c | 191 struct uart_icount icount; member 1452 struct uart_icount *icount; in tiocmget_intr_callback() local 1496 icount = &tiocmget->icount; in tiocmget_intr_callback() 1500 icount->parity++; in tiocmget_intr_callback() 1503 icount->parity++; in tiocmget_intr_callback() 1506 icount->frame++; in tiocmget_intr_callback() 1509 icount->rng++; in tiocmget_intr_callback() 1512 icount->brk++; in tiocmget_intr_callback() 1515 icount->dsr++; in tiocmget_intr_callback() 1518 icount->dcd++; in tiocmget_intr_callback() [all …]
|
/linux/drivers/input/serio/ |
A D | hp_sdc_mlc.c | 68 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()
|