Searched refs:howmany (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/char/xillybus/ |
D | xillybus_core.c | 682 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local 705 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read() 710 if (howmany > bytes_to_do) { in xillybus_read() 713 howmany = bytes_to_do; in xillybus_read() 714 channel->wr_host_buf_pos += howmany; in xillybus_read() 761 + bufpos, howmany)) in xillybus_read() 764 userbuf += howmany; in xillybus_read() 765 bytes_done += howmany; in xillybus_read() 1195 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local 1215 howmany = channel->rd_buf_size - bufpos; in xillybus_write() [all …]
|
/Linux-v4.19/drivers/net/wan/ |
D | fsl_ucc_hdlc.c | 478 u16 length, howmany = 0; in hdlc_rx_done() local 532 howmany++; in hdlc_rx_done() 557 return howmany; in hdlc_rx_done() 565 int howmany; in ucc_hdlc_poll() local 572 howmany = 0; in ucc_hdlc_poll() 573 howmany += hdlc_rx_done(priv, budget - howmany); in ucc_hdlc_poll() 575 if (howmany < budget) { in ucc_hdlc_poll() 576 napi_complete_done(napi, howmany); in ucc_hdlc_poll() 581 return howmany; in ucc_hdlc_poll()
|
/Linux-v4.19/tools/power/cpupower/utils/helpers/ |
D | bitmask.c | 12 #define howmany(x, y) (((x)+((y)-1))/(y)) macro 15 #define longsperbits(n) howmany(n, bitsperlong)
|
/Linux-v4.19/fs/xfs/ |
D | xfs_linux.h | 143 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
D | xfs_dir2_readdir.c | 291 ra_want = howmany(bufsize + geo->blksize, (1 << geo->fsblog)); in xfs_dir2_leaf_readbuf()
|
D | xfs_log.c | 3643 num_headers = howmany(unit_bytes, iclog_space); in xfs_log_calc_unit_res() 3650 howmany(unit_bytes, iclog_space) > num_headers) { in xfs_log_calc_unit_res()
|
/Linux-v4.19/drivers/net/ethernet/freescale/ |
D | ucc_geth.c | 3166 u16 length, howmany = 0; in ucc_geth_rx() local 3200 howmany++; in ucc_geth_rx() 3237 return howmany; in ucc_geth_rx() 3245 int howmany = 0; in ucc_geth_tx() local 3263 howmany++; in ucc_geth_tx() 3286 netdev_completed_queue(dev, howmany, bytes_sent); in ucc_geth_tx() 3294 int howmany, i; in ucc_geth_poll() local 3304 howmany = 0; in ucc_geth_poll() 3306 howmany += ucc_geth_rx(ugeth, i, budget - howmany); in ucc_geth_poll() 3308 if (howmany < budget) { in ucc_geth_poll() [all …]
|
D | gianfar.c | 2677 int howmany = 0; in gfar_clean_tx_ring() local 2751 howmany++; in gfar_clean_tx_ring() 2767 netdev_tx_completed_queue(txq, howmany, bytes_sent); in gfar_clean_tx_ring() 3085 int i, howmany = 0; in gfar_clean_rx_ring() local 3115 howmany++; in gfar_clean_rx_ring() 3168 return howmany; in gfar_clean_rx_ring()
|
/Linux-v4.19/drivers/pci/hotplug/ |
D | ibmphp_pci.c | 1054 int howmany = 0; /*this is to see if there are any devices behind the bridge */ in scan_behind_bridge() local 1085 howmany++; in scan_behind_bridge() 1163 if (!howmany) in scan_behind_bridge()
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_sb.c | 318 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common()
|
/Linux-v4.19/drivers/pci/ |
D | probe.c | 325 static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom) in pci_read_bases() argument 336 for (pos = 0; pos < howmany; pos++) { in pci_read_bases()
|