Home
last modified time | relevance | path

Searched refs:howmany (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/char/xillybus/
A Dxillybus_core.c731 if (howmany > bytes_to_do) { in xillybus_read()
734 howmany = bytes_to_do; in xillybus_read()
781 + bufpos, howmany)) in xillybus_read()
784 userbuf += howmany; in xillybus_read()
785 bytes_done += howmany; in xillybus_read()
1241 if ((howmany > bytes_to_do) && in xillybus_write()
1246 howmany = bytes_to_do; in xillybus_write()
1260 howmany = 0; in xillybus_write()
1324 userbuf, howmany)) in xillybus_write()
1327 userbuf += howmany; in xillybus_write()
[all …]
/linux/drivers/net/wan/
A Dfsl_ucc_hdlc.c456 int howmany = 0; in hdlc_tx_done() local
484 howmany++; in hdlc_tx_done()
524 u16 length, howmany = 0; in hdlc_rx_done() local
590 howmany++; in hdlc_rx_done()
615 return howmany; in hdlc_rx_done()
623 int howmany; in ucc_hdlc_poll() local
630 howmany = 0; in ucc_hdlc_poll()
631 howmany += hdlc_rx_done(priv, budget - howmany); 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/
A Dbitmask.c12 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
15 #define longsperbits(n) howmany(n, bitsperlong)
/linux/fs/xfs/
A Dxfs_bio_io.c9 return bio_max_segs(howmany(count, PAGE_SIZE)); in bio_max_vecs()
A Dxfs_linux.h136 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
A Dxfs_dir2_readdir.c291 ra_want = howmany(bufsize + geo->blksize, (1 << geo->fsblog)); in xfs_dir2_leaf_readbuf()
A Dxfs_log.c1586 size_t bvec_size = howmany(log->l_iclog_size, PAGE_SIZE) * in xlog_alloc_log()
1886 bio_init(&iclog->ic_bio, iclog->ic_bvec, howmany(count, PAGE_SIZE)); in xlog_write_iclog()
3570 num_headers = howmany(unit_bytes, iclog_space); in xlog_calc_unit_res()
3577 howmany(unit_bytes, iclog_space) > num_headers) { in xlog_calc_unit_res()
/linux/drivers/net/ethernet/freescale/
A Ducc_geth.c2993 u16 length, howmany = 0; in ucc_geth_rx() local
3027 howmany++; in ucc_geth_rx()
3064 return howmany; in ucc_geth_rx()
3072 int howmany = 0; in ucc_geth_tx() local
3090 howmany++; in ucc_geth_tx()
3121 int howmany, i; in ucc_geth_poll() local
3131 howmany = 0; in ucc_geth_poll()
3133 howmany += ucc_geth_rx(ugeth, i, budget - howmany); in ucc_geth_poll()
3135 if (howmany < budget) { in ucc_geth_poll()
3136 napi_complete_done(napi, howmany); in ucc_geth_poll()
[all …]
A Dgianfar.c2164 int howmany = 0; in gfar_clean_tx_ring() local
2242 howmany++; in gfar_clean_tx_ring()
2258 netdev_tx_completed_queue(txq, howmany, bytes_sent); in gfar_clean_tx_ring()
2510 int i, howmany = 0; in gfar_clean_rx_ring() local
2551 howmany++; in gfar_clean_rx_ring()
2604 return howmany; in gfar_clean_rx_ring()
/linux/drivers/pci/hotplug/
A Dibmphp_pci.c1053 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/fs/xfs/libxfs/
A Dxfs_trans_resv.c214 return (howmany(rtbmp_bytes, blksz) + 1) * num_ops; in xfs_rtalloc_log_count()
A Dxfs_sb.c362 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common()
A Dxfs_ialloc.c2883 first_bno = howmany(4 * mp->m_sb.sb_sectsize, mp->m_sb.sb_blocksize); in xfs_ialloc_calc_rootino()
/linux/drivers/pci/
A Dprobe.c322 static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom) in pci_read_bases() argument
333 for (pos = 0; pos < howmany; pos++) { in pci_read_bases()

Completed in 43 milliseconds