Home
last modified time | relevance | path

Searched refs:howmany (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/char/xillybus/
H A Dxillybus_core.c703 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()
1213 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local
1233 howmany in xillybus_write()
[all...]
/kernel/linux/linux-5.10/drivers/net/wan/
H A Dfsl_ucc_hdlc.c458 int howmany = 0; in hdlc_tx_done() local
486 howmany++; in hdlc_tx_done()
515 netdev_completed_queue(dev, howmany, bytes_sent); in hdlc_tx_done()
526 u16 length, howmany = 0; in hdlc_rx_done() local
592 howmany++; in hdlc_rx_done()
617 return howmany; in hdlc_rx_done()
625 int howmany; in ucc_hdlc_poll() local
632 howmany = 0; in ucc_hdlc_poll()
633 howmany += hdlc_rx_done(priv, budget - howmany); in ucc_hdlc_poll()
[all...]
/kernel/linux/linux-6.6/drivers/net/wan/
H A Dfsl_ucc_hdlc.c458 int howmany = 0; in hdlc_tx_done() local
487 howmany++; in hdlc_tx_done()
516 netdev_completed_queue(dev, howmany, bytes_sent); in hdlc_tx_done()
527 u16 length, howmany = 0; in hdlc_rx_done() local
594 howmany++; in hdlc_rx_done()
620 return howmany; in hdlc_rx_done()
628 int howmany; in ucc_hdlc_poll() local
635 howmany = 0; in ucc_hdlc_poll()
636 howmany += hdlc_rx_done(priv, budget - howmany); in ucc_hdlc_poll()
[all...]
/kernel/linux/linux-5.10/drivers/char/xillybus/
H A Dxillybus_core.c679 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
702 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read()
707 if (howmany > bytes_to_do) { in xillybus_read()
710 howmany = bytes_to_do; in xillybus_read()
711 channel->wr_host_buf_pos += howmany; in xillybus_read()
758 + bufpos, howmany)) in xillybus_read()
761 userbuf += howmany; in xillybus_read()
762 bytes_done += howmany; in xillybus_read()
1192 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local
1212 howmany in xillybus_write()
[all...]
/kernel/linux/linux-5.10/tools/power/cpupower/utils/helpers/
H A Dbitmask.c11 /* howmany(a,b) : how many elements of size b needed to hold all of a */
12 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
15 #define longsperbits(n) howmany(n, bitsperlong)
/kernel/linux/linux-6.6/tools/power/cpupower/utils/helpers/
H A Dbitmask.c11 /* howmany(a,b) : how many elements of size b needed to hold all of a */
12 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
15 #define longsperbits(n) howmany(n, bitsperlong)
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_bio_io.c9 return min_t(unsigned, howmany(count, PAGE_SIZE), BIO_MAX_PAGES); in bio_max_vecs()
H A Dxfs_linux.h137 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
H A Dxfs_dir2_readdir.c293 ra_want = howmany(bufsize + geo->blksize, (1 << geo->fsblog)); in xfs_dir2_leaf_readbuf()
H A Dxfs_log.c1387 size_t bvec_size = howmany(log->l_iclog_size, PAGE_SIZE) * in xlog_alloc_log()
1719 bio_init(&iclog->ic_bio, iclog->ic_bvec, howmany(count, PAGE_SIZE)); in xlog_write_iclog()
3408 num_headers = howmany(unit_bytes, iclog_space); in xfs_log_calc_unit_res()
3415 howmany(unit_bytes, iclog_space) > num_headers) { in xfs_log_calc_unit_res()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_bio_io.c9 return bio_max_segs(howmany(count, PAGE_SIZE)); in bio_max_vecs()
H A Dxfs_linux.h140 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
H A Dxfs_dir2_readdir.c292 ra_want = howmany(bufsize + geo->blksize, (1 << geo->fsblog)); in xfs_dir2_leaf_readbuf()
H A Dxfs_log.c1604 size_t bvec_size = howmany(log->l_iclog_size, PAGE_SIZE) * in xlog_alloc_log()
1906 howmany(count, PAGE_SIZE), in xlog_write_iclog()
3474 num_headers = howmany(unit_bytes, iclog_space); in xlog_calc_unit_res()
3481 howmany(unit_bytes, iclog_space) > num_headers) { in xlog_calc_unit_res()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
H A Ducc_geth.c3156 u16 length, howmany = 0; in ucc_geth_rx() local
3190 howmany++; in ucc_geth_rx()
3227 return howmany; in ucc_geth_rx()
3235 int howmany = 0; in ucc_geth_tx() local
3253 howmany++; in ucc_geth_tx()
3276 netdev_completed_queue(dev, howmany, bytes_sent); in ucc_geth_tx()
3284 int howmany, i; in ucc_geth_poll() local
3294 howmany = 0; in ucc_geth_poll()
3296 howmany += ucc_geth_rx(ugeth, i, budget - howmany); in ucc_geth_poll()
[all...]
H A Dgianfar.c2197 int howmany = 0; in gfar_clean_tx_ring() local
2275 howmany++; in gfar_clean_tx_ring()
2291 netdev_tx_completed_queue(txq, howmany, bytes_sent); in gfar_clean_tx_ring()
2543 int i, howmany = 0; in gfar_clean_rx_ring() local
2584 howmany++; in gfar_clean_rx_ring()
2637 return howmany; in gfar_clean_rx_ring()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/
H A Ducc_geth.c2994 u16 length, howmany = 0; in ucc_geth_rx() local
3028 howmany++; in ucc_geth_rx()
3065 return howmany; in ucc_geth_rx()
3073 int howmany = 0; in ucc_geth_tx() local
3091 howmany++; in ucc_geth_tx()
3114 netdev_completed_queue(dev, howmany, bytes_sent); in ucc_geth_tx()
3122 int howmany, i; in ucc_geth_poll() local
3132 howmany = 0; in ucc_geth_poll()
3134 howmany += ucc_geth_rx(ugeth, i, budget - howmany); in ucc_geth_poll()
[all...]
H A Dgianfar.c2161 int howmany = 0; in gfar_clean_tx_ring() local
2239 howmany++; in gfar_clean_tx_ring()
2255 netdev_tx_completed_queue(txq, howmany, bytes_sent); in gfar_clean_tx_ring()
2507 int i, howmany = 0; in gfar_clean_rx_ring() local
2548 howmany++; in gfar_clean_rx_ring()
2601 return howmany; in gfar_clean_rx_ring()
/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dibmphp_pci.c1054 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()
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H 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()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_trans_resv.c214 return (howmany(rtbmp_bytes, blksz) + 1) * num_ops; in xfs_rtalloc_log_count()
H A Dxfs_sb.c314 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_trans_resv.c224 return (howmany(rtbmp_bytes, blksz) + 1) * num_ops; in xfs_rtalloc_block_count()
/kernel/linux/linux-5.10/drivers/pci/
H A Dprobe.c321 static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom) in pci_read_bases() argument
332 for (pos = 0; pos < howmany; pos++) { in pci_read_bases()
/kernel/linux/linux-6.6/drivers/pci/
H A Dprobe.c321 static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom) in pci_read_bases() argument
332 for (pos = 0; pos < howmany; pos++) { in pci_read_bases()

Completed in 46 milliseconds

12