Searched defs:bytes (Results 176 - 200 of 220) sorted by relevance

123456789

/drivers/block/
H A Drbd.c47 * universally 512 bytes. These symbols are just slightly more
116 u64 bytes; member in struct:rbd_req_status
842 coll->status[index].bytes = len;
849 coll->status[i].bytes);
987 u64 bytes; local
995 bytes = le64_to_cpu(op->extent.length);
998 dout("rbd_req_cb bytes=%lld readop=%d rc=%d\n", bytes, read_op, rc);
1003 } else if (rc == 0 && read_op && bytes < req_data->len) {
1004 zero_bio_chain(req_data->bio, bytes);
[all...]
/drivers/gpu/drm/gma500/
H A Dpsb_intel_sdvo.c2247 unsigned char bytes[2]; local
2250 memcpy(bytes, &psb_intel_sdvo->caps.output_flags, 2);
2253 bytes[0], bytes[1]);
/drivers/gpu/drm/i915/
H A Dintel_sdvo.c2223 unsigned char bytes[2]; local
2226 memcpy(bytes, &intel_sdvo->caps.output_flags, 2);
2229 bytes[0], bytes[1]);
/drivers/mmc/host/
H A Dvub300.c75 u8 reserved[44]; /* to pad out to 64 bytes */
86 u8 reserved[42]; /* to pad out to 64 bytes */
1071 * this is because the packet _must_ be padded to 64 bytes
1723 int bytes = 3 & less_cmd; local
1726 if (bytes == 3) {
1730 } else if (bytes == 2) {
1733 } else if (bytes == 1) {
/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c441 u64 pkts, bytes; local
450 bytes = rx_stats(rxo)->rx_bytes;
453 stats->rx_bytes += bytes;
464 bytes = tx_stats(txo)->tx_bytes;
467 stats->tx_bytes += bytes;
714 * 60 bytes long.
769 "MTU must be between %d and %d bytes\n",
774 dev_info(&adapter->pdev->dev, "MTU changed from %d to %d bytes\n",
/drivers/net/ethernet/intel/e1000/
H A De1000_main.c256 "packets <= %u bytes\n", copybreak);
637 * the tx fifo also stores 16 bytes of information about the tx
1539 e_err(tx_err, "txdr align check failed: %u bytes at %p\n",
1737 e_err(rx_err, "rxdr align check failed: %u bytes at %p\n",
2579 * @bytes: the number of bytes during this measurement interval
2592 u16 itr_setting, int packets, int bytes)
2606 if (bytes/packets > 8000)
2608 else if ((packets < 5) && (bytes > 512))
2612 if (bytes > 1000
2591 e1000_update_itr(struct e1000_adapter *adapter, u16 itr_setting, int packets, int bytes) argument
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe.h78 * NOTE: netdev_alloc_skb reserves up to 64 bytes, NET_IP_ALIGN mans we
79 * reserve 2 more, and skb_shared_info adds an additional 384 bytes more,
80 * this adds up to 512 bytes of extra data meaning the smallest allocation
168 u64 bytes; member in struct:ixgbe_queue_stats
220 unsigned int size; /* length in bytes */
279 * FCoE requires that all Rx buffers be over 2200 bytes in length. Since
296 unsigned int total_bytes; /* total bytes processed this int */
/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c772 * @bytes: the number of bytes during this measurement interval
784 int packets, int bytes)
801 bytes_perint = bytes / timepassed_us; /* bytes/usec */
3235 u64 bytes, packets; local
3247 bytes = ring->total_bytes;
3250 stats->rx_bytes += bytes;
3258 bytes = ring->total_bytes;
3261 stats->tx_bytes += bytes;
782 ixgbevf_update_itr(struct ixgbevf_adapter *adapter, u32 eitr, u8 itr_setting, int packets, int bytes) argument
[all...]
/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4_en.h76 /* Typical TSO descriptor with 16 gather entries is 352 bytes... */
251 unsigned long bytes; member in struct:mlx4_en_tx_ring
279 unsigned long bytes; member in struct:mlx4_en_rx_ring
/drivers/net/ethernet/neterion/vxge/
H A Dvxge-main.c3132 u64 packets, bytes, multicast; local
3139 bytes = rxstats->rx_bytes;
3143 net_stats->rx_bytes += bytes;
3153 bytes = txstats->tx_bytes;
3157 net_stats->tx_bytes += bytes;
/drivers/net/ethernet/qlogic/qlge/
H A Dqlge_main.c1522 "%d bytes of headers and data in large. Chain page to new skb and pull tail.\n",
1710 "Header of %d bytes in small buffer.\n", hdr_len);
1737 "Headers in small, data of %d bytes in small, combine them.\n",
1765 "%d bytes in a single small buffer.\n",
1782 "Header in small, %d bytes in large. Chain large to small!\n",
1791 "Chaining page at offset = %d, for %d bytes to skb.\n",
1819 "%d bytes of headers and data in large. Chain page to new skb and pull tail.\n",
1862 "%d bytes of headers & data in chain of large.\n",
1874 "Adding page %d to skb for %d bytes.\n",
4201 unsigned long pkts, mcast, dropped, errors, bytes; local
[all...]
/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c828 int len, offset, bytes, n; local
848 bytes = len;
852 bytes = ALIGN(offset + len, 4);
853 if (!(mem = kmalloc(bytes, GFP_ATOMIC))) {
858 memcpy_swab32(mem, (u32 *)((int)skb->data & ~3), bytes / 4);
861 phys = dma_map_single(&dev->dev, mem, bytes, DMA_TO_DEVICE);
/drivers/net/tokenring/
H A Dsmctr.c284 struct sk_buff *skb, __u8 *pbuff, unsigned int bytes);
1342 * Since this cannot be guaranteed, adding the full 256 bytes
4446 /* frame length less the CRC (4 bytes) + FS (1 byte) */
4990 /* Allocate Transmit FCB only by requesting 0 bytes
5417 struct sk_buff *skb, __u8 *pbuff, unsigned int bytes)
5431 while(flen > 0 && bytes > 0)
5442 if(len > bytes)
5443 len = bytes;
5449 bytes -= len;
5416 smctr_tx_move_frame(struct net_device *dev, struct sk_buff *skb, __u8 *pbuff, unsigned int bytes) argument
/drivers/net/wan/
H A Dixp4xx_hss.c833 int len, offset, bytes, n; local
853 bytes = len;
857 bytes = ALIGN(offset + len, 4);
858 if (!(mem = kmalloc(bytes, GFP_ATOMIC))) {
863 memcpy_swab32(mem, (u32 *)((int)skb->data & ~3), bytes / 4);
867 phys = dma_map_single(&dev->dev, mem, bytes, DMA_TO_DEVICE);
/drivers/scsi/
H A Dosst.c120 #error "Buffer size should not exceed (2 << 24 - 1) bytes!"
426 unsigned char *cmd, int bytes, int direction, int timeout, int retries, int do_wait)
470 use_sg = (bytes > STp->buffer->sg[0].length) ? STp->buffer->use_sg : 0;
483 if (osst_execute(SRpnt, cmd, COMMAND_SIZE(cmd[0]), direction, bp, bytes,
1329 "%s:D: Seek success at ppos %d fsq %d in_buf %d, bytes %d, ptr %d*%d\n",
1369 * size of 512 bytes, we need to be able to resolve 32K/512 == 64 == 2**6 positions
3136 printk(OSST_DEB_MSG "%s:D: Flushing %d bytes, Transferring %d bytes in %d lblocks.\n",
3437 printk(KERN_ERR "%s:E: Write (%Zd bytes) not multiple of tape block size (%d%c).\n",
3567 printk(OSST_DEB_MSG "%s:D: Writing %d bytes t
424 osst_do_scsi(struct osst_request *SRpnt, struct osst_tape *STp, unsigned char *cmd, int bytes, int direction, int timeout, int retries, int do_wait) argument
[all...]
H A Dst.c150 #error "Buffer size should not exceed (2 << 24 - 1) bytes!"
526 int bytes, int direction, int timeout, int retries, int do_wait)
565 DIV_ROUND_UP(bytes, PAGE_SIZE << mdata->page_order);
574 ret = st_scsi_execute(SRpnt, cmd, direction, NULL, bytes, timeout,
708 DEBC(printk(ST_DEB_MSG "%s: Flushing %d bytes.\n",
841 "%s: Can't set default block size to %d bytes and density %x.\n",
1067 "%s: Block limits %d - %d bytes.\n", name,
1768 "%s: EOM with %d bytes unwritten.\n",
1783 "%s: Retry write of %d bytes at EOM.\n",
1850 int transfer, blks, bytes;
523 st_do_scsi(struct st_request * SRpnt, struct scsi_tape * STp, unsigned char *cmd, int bytes, int direction, int timeout, int retries, int do_wait) argument
1842 int transfer, blks, bytes; local
[all...]
/drivers/staging/telephony/
H A Dixj.c495 j->hsr.bytes.low = inb_p(j->DSPbase + 8);
496 j->hsr.bytes.high = inb_p(j->DSPbase + 9);
1403 if (j->ex.bytes) {
1443 BYTES bytes; local
1451 bytes.high = (cmd & 0xFF00) >> 8;
1452 bytes.low = cmd & 0x00FF;
1468 outb(bytes.low, j->DSPbase + 6);
1469 outb(bytes.high, j->DSPbase + 7);
1506 j->gpio.bytes.low = j->ssr.low;
1507 j->gpio.bytes
4743 BYTES bytes; local
4774 BYTES bytes; local
4821 BYTES bytes; local
4857 BYTES bytes; local
4928 BYTES bytes; local
4974 BYTES bytes; local
5063 BYTES bytes; local
5113 BYTES bytes; local
5231 BYTES bytes; local
6785 BYTES bytes; local
[all...]
/drivers/tty/serial/
H A Dpch_uart.c643 dev_warn(port->dev, "Rx overrun: dropping %u bytes\n",
922 int bytes; local
951 bytes = min((int)CIRC_CNT(xmit->head, xmit->tail,
954 if (!bytes) {
955 dev_dbg(priv->port.dev, "%s 0 bytes return\n", __func__);
961 if (bytes > fifo_size) {
962 num = bytes / fifo_size + 1;
964 rem = bytes % fifo_size;
967 size = bytes;
968 rem = bytes;
[all...]
/drivers/video/matrox/
H A Dmatroxfb_base.c732 fix->smem_start = minfo->video.base + minfo->curr.ydstorg.bytes;
733 fix->smem_len = minfo->video.len_usable - minfo->curr.ydstorg.bytes;
782 minfo->curr.ydstorg.bytes = ydstorg;
1295 unsigned char bytes[32]; local
1310 tmp = bytes;
1323 tmp = bytes;
/drivers/atm/
H A Dlanai.c319 * Lanai needs DMA buffers aligned to 256 bytes of at least 1024 bytes -
328 * Note that the size will be rounded up 2^n bytes, and
333 size_t bytes, size_t minbytes, struct pci_dev *pci)
337 if (bytes > (128 * 1024)) /* max lanai buffer size */
338 bytes = 128 * 1024;
339 for (size = LANAI_PAGE_SIZE; size < bytes; size *= 2)
365 /* size of buffer in bytes */
674 /* How many bytes will an AAL5 PDU take to transmit - remember that:
675 * o we need to add 8 bytes fo
332 lanai_buf_allocate(struct lanai_buffer *buf, size_t bytes, size_t minbytes, struct pci_dev *pci) argument
1679 int bytes; local
[all...]
/drivers/char/
H A Dmbcs.h494 uint64_t bytes; member in struct:getdma
507 uint64_t bytes; member in struct:putdma
/drivers/media/video/
H A Dtvaudio.c67 int count; /* # of bytes to send */
68 unsigned char bytes[MAXREGS+1]; /* addr, data, data, ... */ member in struct:AUDIOCMD
150 chip->shadow.bytes[1] = val;
157 if (subaddr + 1 >= ARRAY_SIZE(chip->shadow.bytes)) {
166 chip->shadow.bytes[subaddr+1] = val;
185 val = (chip->shadow.bytes[1] & ~mask) | (val & mask);
187 if (subaddr + 1 >= ARRAY_SIZE(chip->shadow.bytes)) {
194 val = (chip->shadow.bytes[subaddr+1] & ~mask) | (val & mask);
245 if (cmd->count + cmd->bytes[0] - 1 >= ARRAY_SIZE(chip->shadow.bytes)) {
[all...]
/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c932 * but keep the FCS bytes out of the total_rx_bytes
2360 * @bytes: the number of bytes during this measurement interval
2373 int bytes)
2383 if (bytes/packets > 8000)
2385 else if ((packets < 5) && (bytes > 512))
2389 if (bytes > 10000) {
2391 if (bytes/packets > 8000)
2393 else if ((packets < 10) || ((bytes/packets) > 1200))
2397 } else if (bytes/packet
2371 e1000_update_itr(struct e1000_adapter *adapter, u16 itr_setting, int packets, int bytes) argument
[all...]
/drivers/net/ethernet/intel/igb/
H A Digb_main.c1686 /* the tx fifo also stores 16 bytes of information about the tx
2883 u8 bytes[4]; member in union:e1000_reta
2926 reta.bytes[j & 3] = (j % num_rx_queues) << shift;
2928 reta.bytes[j & 3] |= num_rx_queues << shift2;
3888 /* Add 24 bytes to size to account for CRC, preamble, and gap */
3938 unsigned int bytes = ring_container->total_bytes; local
3948 if (bytes/packets > 8000)
3950 else if ((packets < 5) && (bytes > 512))
3954 if (bytes > 10000) {
3956 if (bytes/packet
4624 u64 bytes, packets; local
[all...]
/drivers/net/ethernet/marvell/
H A Dsky2.c1008 /* Set threshold to 0xa (64 bytes) + 1 to workaround pause bug */
1022 /* Pause threshold is scaled by 8 in bytes */
1048 /* convert from K bytes to qwords used for hw register */
2052 sky2->tx_stats.bytes += bytes_compl;
2664 unsigned packets, unsigned bytes)
2674 sky2->rx_stats.bytes += bytes;
3894 _bytes = sky2->rx_stats.bytes;
3903 _bytes = sky2->tx_stats.bytes;
2663 sky2_rx_done(struct sky2_hw *hw, unsigned port, unsigned packets, unsigned bytes) argument

Completed in 2477 milliseconds

123456789