Home
last modified time | relevance | path

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

/linux/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()
1212 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local
1232 howmany in xillybus_write()
[all...]
/linux/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)
/linux/fs/xfs/
H A Dxfs_bio_io.c9 return bio_max_segs(howmany(count, PAGE_SIZE)); in bio_max_vecs()
H A Dxfs_linux.h138 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
H A Dxfs_dir2_readdir.c295 ra_want = howmany(bufsize + geo->blksize, (1 << geo->fsblog)); in xfs_dir2_leaf_readbuf()
H A Dxfs_log.c1448 size_t bvec_size = howmany(log->l_iclog_size, PAGE_SIZE) * in xlog_alloc_log()
1647 howmany(count, PAGE_SIZE), in xlog_write_iclog()
3180 num_headers = howmany(unit_bytes, iclog_space); in xlog_calc_unit_res()
3187 howmany(unit_bytes, iclog_space) > num_headers) { in xlog_calc_unit_res()
H A Dxfs_buf.c114 mm_account_reclaimed_pages(howmany(size, PAGE_SHIFT)); in xfs_buf_free()
/linux/drivers/net/ethernet/freescale/
H A Ducc_geth.c2891 u16 length, howmany = 0; in ucc_geth_rx() local
2925 howmany++; in ucc_geth_rx()
2962 return howmany; in ucc_geth_rx()
2970 int howmany = 0; in ucc_geth_tx() local
2988 howmany++; in ucc_geth_tx()
3011 netdev_completed_queue(dev, howmany, bytes_sent); in ucc_geth_tx()
3019 int howmany, i; in ucc_geth_poll() local
3029 howmany = 0; in ucc_geth_poll()
3031 howmany += ucc_geth_rx(ugeth, i, budget - howmany); in ucc_geth_poll()
[all...]
H A Dgianfar.c2121 int howmany = 0; in gfar_clean_tx_ring() local
2200 howmany++; in gfar_clean_tx_ring()
2216 netdev_tx_completed_queue(txq, howmany, bytes_sent); in gfar_clean_tx_ring()
2468 int i, howmany = 0; in gfar_clean_rx_ring() local
2509 howmany++; in gfar_clean_rx_ring()
2562 return howmany; in gfar_clean_rx_ring()
/linux/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()
/linux/drivers/pci/
H A Dprobe.c345 unsigned int howmany, int rom) in pci_read_bases() argument
351 BUILD_BUG_ON(statically_true(howmany > PCI_STD_NUM_BARS)); in pci_read_bases()
369 __pci_size_stdbars(dev, howmany, PCI_BASE_ADDRESS_0, stdbars); in pci_read_bases()
377 for (pos = 0; pos < howmany; pos++) { in pci_read_bases()
/linux/fs/xfs/libxfs/
H A Dxfs_attr_remote.c70 return howmany(attrlen, xfs_attr3_rmt_buf_space(mp)); in xfs_attr3_rmt_blocks()
H A Dxfs_sb.c622 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common()
H A Dxfs_ialloc.c3103 first_bno = howmany(4 * mp->m_sb.sb_sectsize, mp->m_sb.sb_blocksize); in xfs_ialloc_calc_rootino()