Searched refs:howmany (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/char/xillybus/ |
| H A D | xillybus_core.c | 703 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local 726 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read() 731 if (howmany > bytes_to_do) { in xillybus_read() 734 howmany = bytes_to_do; in xillybus_read() 735 channel->wr_host_buf_pos += howmany; in xillybus_read() 781 + bufpos, howmany)) in xillybus_read() 784 userbuf += howmany; in xillybus_read() 785 bytes_done += howmany; in xillybus_read() 1212 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local 1232 howmany = channel->rd_buf_size - bufpos; in xillybus_write() [all …]
|
| /linux/drivers/net/wan/ |
| H A D | fsl_ucc_hdlc.c | 454 int howmany = 0; in hdlc_tx_done() local 483 howmany++; in hdlc_tx_done() 512 netdev_completed_queue(dev, howmany, bytes_sent); in hdlc_tx_done() 523 u16 length, howmany = 0; in hdlc_rx_done() local 590 howmany++; in hdlc_rx_done() 616 return howmany; in hdlc_rx_done() 624 int howmany; in ucc_hdlc_poll() local 631 howmany = hdlc_rx_done(priv, budget); in ucc_hdlc_poll() 633 if (howmany < budget) { in ucc_hdlc_poll() 634 napi_complete_done(napi, howmany); in ucc_hdlc_poll() [all …]
|
| /linux/tools/power/cpupower/utils/helpers/ |
| H A D | bitmask.c | 12 #define howmany(x, y) (((x)+((y)-1))/(y)) macro 15 #define longsperbits(n) howmany(n, bitsperlong)
|
| /linux/fs/xfs/ |
| H A D | xfs_platform.h | 146 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
| H A D | xfs_log.c | 1403 size_t bvec_size = howmany(log->l_iclog_size, PAGE_SIZE) * in xlog_alloc_log() 1578 howmany(count, PAGE_SIZE), in xlog_write_iclog() 3086 num_headers = howmany(unit_bytes, iclog_space); in xlog_calc_unit_res() 3093 howmany(unit_bytes, iclog_space) > num_headers) { in xlog_calc_unit_res()
|
| H A D | xfs_buf.c | 111 mm_account_reclaimed_pages(howmany(size, PAGE_SHIFT)); in xfs_buf_free()
|
| /linux/drivers/pci/hotplug/ |
| H A D | ibmphp_pci.c | 1053 int howmany = 0; /*this is to see if there are any devices behind the bridge */ in scan_behind_bridge() local 1084 howmany++; in scan_behind_bridge() 1162 if (!howmany) in scan_behind_bridge()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | gianfar.c | 2116 int howmany = 0; in gfar_clean_tx_ring() local 2195 howmany++; in gfar_clean_tx_ring() 2211 netdev_tx_completed_queue(txq, howmany, bytes_sent); in gfar_clean_tx_ring() 2463 int i, howmany = 0; in gfar_clean_rx_ring() local 2504 howmany++; in gfar_clean_rx_ring() 2557 return howmany; in gfar_clean_rx_ring()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_sb.c | 635 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common()
|
| H A D | xfs_ialloc.c | 3104 first_bno = howmany(4 * mp->m_sb.sb_sectsize, mp->m_sb.sb_blocksize); in xfs_ialloc_calc_rootino()
|