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

/linux-master/drivers/fpga/
H A Daltera-ps-spi.c149 size_t extra_bytes = (len & 0x03); local
150 const u32 *fw_end = (u32 *)(buf + len - extra_bytes);
158 if (extra_bytes) {
160 while (extra_bytes) {
163 extra_bytes--;
/linux-master/drivers/net/ethernet/cavium/liquidio/
H A Docteon_droq.h183 * @param extra_bytes - extra bytes to be allocated at the end of the recv info
187 static inline struct octeon_recv_info *octeon_alloc_recv_info(int extra_bytes) argument
193 extra_bytes, GFP_ATOMIC);
201 if (extra_bytes)
/linux-master/drivers/infiniband/hw/hfi1/
H A Dud.c226 u16 *pkey, u32 extra_bytes, bool bypass)
241 bth0 |= extra_bytes << 20;
264 u32 nwords, extra_bytes; local
279 extra_bytes = -wqe->length & 3;
280 nwords = ((wqe->length + extra_bytes) >> 2) + SIZE_OF_CRC;
323 hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, false);
340 u32 dlid, slid, nwords, extra_bytes; local
367 extra_bytes = hfi1_get_16b_padding((ps->s_txreq->hdr_dwords << 2),
369 nwords = ((wqe->length + extra_bytes + SIZE_OF_LT) >> 2) + SIZE_OF_CRC;
415 hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, tru
224 hfi1_make_bth_deth(struct rvt_qp *qp, struct rvt_swqe *wqe, struct ib_other_headers *ohdr, u16 *pkey, u32 extra_bytes, bool bypass) argument
826 u8 extra_bytes; local
[all...]
H A Druc.c243 u8 extra_bytes = hfi1_get_16b_padding( local
247 extra_bytes + SIZE_OF_LT) >> 2);
287 bth0 |= extra_bytes << 20;
330 u8 extra_bytes = -ps->s_txreq->s_cur_size & 3; local
332 extra_bytes) >> 2);
365 bth0 |= extra_bytes << 20;
H A Duc.c274 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); local
379 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes)))
399 if (unlikely(tlen < (hdrsize + extra_bytes)))
402 tlen -= (hdrsize + extra_bytes);
493 tlen -= (hdrsize + extra_bytes);
518 tlen -= (hdrsize + extra_bytes);
H A Dverbs.c728 u8 extra_bytes = 0; local
735 extra_bytes = hfi1_get_16b_padding(hdrbytes - 8, length) +
743 extra_bytes,
780 if (extra_bytes)
782 extra_bytes);
813 u8 extra_bytes = hfi1_get_16b_padding((hdrwords << 2), len); local
815 dwords = (len + extra_bytes + (SIZE_OF_CRC << 2) +
955 u8 extra_bytes = 0; local
960 extra_bytes = pad_size + (SIZE_OF_CRC << 2) + SIZE_OF_LT;
961 dwords = (len + extra_bytes) >>
[all...]
H A Drc.c1287 u8 extra_bytes; local
1293 extra_bytes = hfi1_get_16b_padding(*hwords << 2, 0);
1294 *nwords = SIZE_OF_CRC + ((extra_bytes + SIZE_OF_LT) >> 2);
1319 bth0 |= extra_bytes << 20;
2321 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); local
2388 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes)))
2425 if (unlikely(tlen < (hdrsize + extra_bytes)))
2447 if (unlikely(tlen <= (hdrsize + extra_bytes)))
2450 tlen -= hdrsize + extra_bytes;
2784 u8 extra_bytes local
[all...]
H A Ddriver.c1641 u32 extra_bytes; local
1680 extra_bytes = ib_bth_get_pad(packet->ohdr) + (SIZE_OF_CRC << 2) +
1682 if (unlikely(tlen < extra_bytes))
1685 tlen -= extra_bytes;
H A Dtid_rdma.c2495 u8 extra_bytes = pad + packet->extra_byte + local
2499 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes)))
4316 u8 extra_bytes = pad + packet->extra_byte + local
4320 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes)))
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_ruc.c213 u32 extra_bytes; local
216 extra_bytes = -qp->s_cur_size & 3;
217 nwords = (qp->s_cur_size + extra_bytes) >> 2;
237 bth0 |= extra_bytes << 20;
H A Dqib_ud.c240 u32 extra_bytes; local
309 extra_bytes = -wqe->length & 3;
310 nwords = (wqe->length + extra_bytes) >> 2;
364 bth0 |= extra_bytes << 20;
/linux-master/drivers/scsi/aic7xxx/
H A Daiclib.h116 uint8_t extra_bytes[14]; member in struct:scsi_sense_data
/linux-master/drivers/platform/chrome/
H A Dcros_ec_lightbar.c425 int extra_bytes, max_size, ret; local
437 extra_bytes = sizeof(*param) - sizeof(param->set_program.data);
438 max_size = min(EC_LB_PROG_LEN, ec->ec_dev->max_request - extra_bytes);
467 msg->outsize = count + extra_bytes;
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dtx.h75 u8 extra_bytes; member in struct:wl128x_tx_mem
98 (1u << (8 * sizeof(((struct wl128x_tx_mem *) 0)->extra_bytes))))
/linux-master/arch/x86/boot/
H A Dheader.S461 # extra_bytes = (uncompressed_size >> 12) + 32768 + 18
473 # extra_bytes = (uncompressed_size >> 12) + 65536 + 128
479 # extra_bytes = (uncompressed_size >> 8) + 65536
485 # extra_bytes = (uncompressed_size >> 8) + 131072
/linux-master/net/rds/
H A Dmessage.c339 int extra_bytes = num_sgs * sizeof(struct scatterlist); local
341 rm = rds_message_alloc(extra_bytes, GFP_NOWAIT);
/linux-master/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_tx.c152 unsigned int extra_bytes = 0, extra_pkts = 0; local
261 extra_bytes = (be16_to_cpu(req->offload.inner_l4_off) +
297 q->stats.tx_bytes += skb->len + extra_bytes;
/linux-master/drivers/scsi/
H A Dadvansys.c257 uchar extra_bytes; member in struct:asc_scsiq_1
295 uchar extra_bytes; member in struct:asc_q_done_info
6646 scsiq->extra_bytes = (uchar)(_val >> 8);
6864 if (scsiq->extra_bytes != 0) {
6865 scsiq->remain_bytes += scsiq->extra_bytes;
8079 uchar extra_bytes; local
8091 scsiq->q1.extra_bytes = 0;
8186 extra_bytes =
8188 if ((extra_bytes != 0)
8196 scsiq->q1.extra_bytes
[all...]
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.h744 u32 extra_bytes; /* Extraneous bytes transferred */ member in struct:sym_ccb
H A Dsym_hipd.c3155 cp->extra_bytes = 0;
3858 resid -= cp->extra_bytes;
4528 cp->extra_bytes += INL(np, nc_scratcha);
5252 cp->extra_bytes = 0;
/linux-master/drivers/gpu/drm/msm/dp/
H A Ddp_ctrl.c235 int extra_bytes; member in struct:tu_algo_data
759 tu->extra_bytes = drm_fixp2int_ceil(temp2_fp);
761 tu->extra_bytes = 0;
763 temp1_fp = drm_fixp_from_fraction(tu->extra_bytes, 1);
/linux-master/drivers/net/wireless/ti/wl12xx/
H A Dmain.c1313 desc->wl128x_mem.extra_bytes = aligned_len - skb->len;
1322 desc->wl128x_mem.extra_bytes);
/linux-master/block/
H A Dblk-throttle.c861 u64 extra_bytes; local
883 extra_bytes = tg->bytes_disp[rw] + bio_size - bytes_allowed;
884 jiffy_wait = div64_u64(extra_bytes * HZ, bps_limit);
/linux-master/fs/ceph/
H A Dmds_client.c1543 int extra_bytes = 0; local
1561 extra_bytes = 4; /* map length */
1563 extra_bytes += 8 + strlen(metadata[i][0]) +
1573 extra_bytes += 4 + size;
1580 extra_bytes += 2 + 4 + 4 + size;
1583 extra_bytes += 4 + 4 + 8;
1586 msg = ceph_msg_new(CEPH_MSG_CLIENT_SESSION, sizeof(*h) + extra_bytes,
/linux-master/net/ipv4/
H A Dtcp_output.c2612 u64 extra_bytes = (u64)READ_ONCE(sk->sk_pacing_rate) * local
2618 * do_div(extra_bytes, USEC_PER_SEC/2) is replaced by a right shift.
2620 extra_bytes >>= (20 - 1);
2621 limit += extra_bytes;

Completed in 336 milliseconds