Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.4.14/fs/xfs/
Dxfs_dir2_readdir.c320 mip->ra_want = howmany(bufsize + geo->blksize, (1 << geo->fsblog)) - 1; in xfs_dir2_leaf_readbuf()
504 length = howmany(bufsize + geo->blksize, (1 << geo->fsblog)); in xfs_dir2_leaf_getdents()
Dxfs_linux.h156 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
Dxfs_log.c3620 num_headers = howmany(unit_bytes, iclog_space); in xfs_log_calc_unit_res()
3627 howmany(unit_bytes, iclog_space) > num_headers) { in xfs_log_calc_unit_res()
/linux-4.4.14/drivers/net/ethernet/freescale/
Ducc_geth.c3167 u16 length, howmany = 0; in ucc_geth_rx() local
3201 howmany++; in ucc_geth_rx()
3238 return howmany; in ucc_geth_rx()
3291 int howmany, i; in ucc_geth_poll() local
3301 howmany = 0; in ucc_geth_poll()
3303 howmany += ucc_geth_rx(ugeth, i, budget - howmany); in ucc_geth_poll()
3305 if (howmany < budget) { in ucc_geth_poll()
3310 return howmany; in ucc_geth_poll()
Dgianfar.c2669 int howmany = 0; in gfar_clean_tx_ring() local
2743 howmany++; in gfar_clean_tx_ring()
2759 netdev_tx_completed_queue(txq, howmany, bytes_sent); in gfar_clean_tx_ring()
3076 int i, howmany = 0; in gfar_clean_rx_ring() local
3106 howmany++; in gfar_clean_rx_ring()
3157 return howmany; in gfar_clean_rx_ring()
/linux-4.4.14/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.4.14/fs/xfs/libxfs/
Dxfs_sb.c248 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_mount_validate_sb()
/linux-4.4.14/drivers/pci/
Dprobe.c318 static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom) in pci_read_bases() argument
325 for (pos = 0; pos < howmany; pos++) { in pci_read_bases()