Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/char/xillybus/
Dxillybus_core.c680 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
703 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read()
708 if (howmany > bytes_to_do) { in xillybus_read()
711 howmany = bytes_to_do; in xillybus_read()
712 channel->wr_host_buf_pos += howmany; in xillybus_read()
759 + bufpos, howmany)) in xillybus_read()
762 userbuf += howmany; in xillybus_read()
763 bytes_done += howmany; in xillybus_read()
1193 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local
1213 howmany = channel->rd_buf_size - bufpos; in xillybus_write()
[all …]
/linux-4.1.27/tools/power/cpupower/utils/helpers/
Dbitmask.c11 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
14 #define longsperbits(n) howmany(n, bitsperlong)
/linux-4.1.27/fs/xfs/
Dxfs_dir2_readdir.c317 mip->ra_want = howmany(bufsize + geo->blksize, (1 << geo->fsblog)) - 1; in xfs_dir2_leaf_readbuf()
501 length = howmany(bufsize + geo->blksize, (1 << geo->fsblog)); in xfs_dir2_leaf_getdents()
Dxfs_linux.h170 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
Dxfs_log.c3583 num_headers = howmany(unit_bytes, iclog_space); in xfs_log_calc_unit_res()
3590 howmany(unit_bytes, iclog_space) > num_headers) { in xfs_log_calc_unit_res()
/linux-4.1.27/drivers/net/ethernet/freescale/
Ducc_geth.c3161 u16 length, howmany = 0; in ucc_geth_rx() local
3195 howmany++; in ucc_geth_rx()
3232 return howmany; in ucc_geth_rx()
3285 int howmany, i; in ucc_geth_poll() local
3295 howmany = 0; in ucc_geth_poll()
3297 howmany += ucc_geth_rx(ugeth, i, budget - howmany); in ucc_geth_poll()
3299 if (howmany < budget) { in ucc_geth_poll()
3304 return howmany; in ucc_geth_poll()
Dgianfar.c2614 int howmany = 0; in gfar_clean_tx_ring() local
2688 howmany++; in gfar_clean_tx_ring()
2704 netdev_tx_completed_queue(txq, howmany, bytes_sent); in gfar_clean_tx_ring()
2900 int howmany = 0; in gfar_clean_rx_ring() local
2941 howmany++; in gfar_clean_rx_ring()
2981 return howmany; in gfar_clean_rx_ring()
/linux-4.1.27/drivers/pci/hotplug/
Dibmphp_pci.c1085 int howmany = 0; /*this is to see if there are any devices behind the bridge */ in scan_behind_bridge() local
1116 howmany++; in scan_behind_bridge()
1194 if (!howmany) in scan_behind_bridge()
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_sb.c216 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_mount_validate_sb()
/linux-4.1.27/drivers/pci/
Dprobe.c315 static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom) in pci_read_bases() argument
322 for (pos = 0; pos < howmany; pos++) { in pci_read_bases()