/drivers/media/video/cx18/ |
H A D | cx18-vbi.c | 109 static u32 compress_raw_buf(struct cx18 *cx, u8 *buf, u32 size, u32 hdr_size) argument 118 buf += hdr_size; 129 /* last line is hdr_size bytes short - extrapolate it */ 130 memcpy(q, p + 4, line_size - 4 - hdr_size); 131 q += line_size - 4 - hdr_size; 132 p += line_size - hdr_size - 1; 133 memset(q, (int) *p, hdr_size); 143 const u32 hdr_size) 152 for (i = hdr_size, buf += hdr_size; 142 compress_sliced_buf(struct cx18 *cx, u8 *buf, u32 size, const u32 hdr_size) argument [all...] |
/drivers/net/arcnet/ |
H A D | arc-rawmode.c | 138 int hdr_size = ARC_HDR_SIZE; local 139 struct archdr *pkt = (struct archdr *) skb_push(skb, hdr_size); 158 return hdr_size; 163 return hdr_size; /* success */
|
H A D | rfc1051.c | 94 int hdr_size = ARC_HDR_SIZE + RFC1051_HDR_SIZE; local 98 skb_pull(skb, hdr_size); 171 int hdr_size = ARC_HDR_SIZE + RFC1051_HDR_SIZE; local 172 struct archdr *pkt = (struct archdr *) skb_push(skb, hdr_size); 209 return hdr_size; 214 return hdr_size; /* success */
|
H A D | capmode.c | 103 int hdr_size = ARC_HDR_SIZE; local 104 struct archdr *pkt = (struct archdr *) skb_push(skb, hdr_size); 125 return hdr_size; 130 return hdr_size; /* success */
|
H A D | rfc1201.c | 96 int hdr_size = ARC_HDR_SIZE + RFC1201_HDR_SIZE; local 100 skb_pull(skb, hdr_size); 378 int hdr_size = ARC_HDR_SIZE + RFC1201_HDR_SIZE; local 379 struct archdr *pkt = (struct archdr *) skb_push(skb, hdr_size); 433 return hdr_size; 437 return hdr_size;
|
/drivers/staging/android/ |
H A D | logger.h | 45 __u16 hdr_size; /* sizeof(struct logger_entry_v2) */ member in struct:logger_entry
|
H A D | logger.c | 463 header.hdr_size = sizeof(struct logger_entry);
|
/drivers/char/ |
H A D | ramoops.c | 80 int res, hdr_size; local 102 hdr_size = buf - buf_orig; 103 l2_cpy = min(l2, cxt->record_size - hdr_size); 104 l1_cpy = min(l1, cxt->record_size - hdr_size - l2_cpy);
|
/drivers/net/wimax/i2400m/ |
H A D | tx.c | 618 size_t aligned_size, padding, hdr_size; local 643 hdr_size = sizeof(*tx_msg) 645 hdr_size = ALIGN(hdr_size, I2400M_PL_ALIGN); 646 tx_msg->offset = I2400M_TX_PLD_SIZE - hdr_size; 648 memmove(tx_msg_moved, tx_msg, hdr_size);
|
/drivers/infiniband/core/ |
H A D | user_mad.c | 145 static int hdr_size(struct ib_umad_file *file) function 224 packet->mad.hdr.length = hdr_size(file) + mad_recv_wc->mad_len; 264 count < hdr_size(file) + packet->length) || 266 count < hdr_size(file) + sizeof (*recv_buf->mad))) 269 if (copy_to_user(buf, &packet->mad, hdr_size(file))) 272 buf += hdr_size(file); 282 if (count < hdr_size(file) + packet->length) { 302 return hdr_size(file) + packet->length; 308 ssize_t size = hdr_size(file) + packet->length; 313 if (copy_to_user(buf, &packet->mad, hdr_size(fil [all...] |
H A D | mad_rmpp.c | 433 int hdr_size, data_size, pad; local 437 hdr_size = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class); 438 data_size = sizeof(struct ib_rmpp_mad) - hdr_size; 443 return hdr_size + rmpp_recv->seg_num * data_size - pad;
|
/drivers/usb/gadget/ |
H A D | f_mtp.c | 640 int xfer, ret, hdr_size; local 653 hdr_size = sizeof(struct mtp_data_header); 654 count += hdr_size; 656 hdr_size = 0; 689 if (hdr_size) { 699 ret = vfs_read(filp, req->buf + hdr_size, xfer - hdr_size, 705 xfer = ret + hdr_size; 706 hdr_size = 0;
|
/drivers/staging/ozwpan/ |
H A D | ozusbsvc1.c | 243 int hdr_size; local 257 hdr_size = sizeof(struct oz_isoc_fixed) - 1; 277 data = ((u8 *)(elt+1)) + hdr_size; 295 elt->length = hdr_size + MAX_ISOC_FIXED_DATA - rem;
|
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-drv.c | 312 u32 api_ver, hdr_size, build; local 321 hdr_size = 28; 322 if (ucode_raw->size < hdr_size) { 340 hdr_size = 24; 341 if (ucode_raw->size < hdr_size) { 376 if (ucode_raw->size != hdr_size +
|
/drivers/vhost/ |
H A D | net.c | 146 size_t hdr_size; local 169 hdr_size = vq->vhost_hlen; 217 s = move_iovec_hdr(vq->iov, vq->hdr, hdr_size, out); 224 iov_length(vq->hdr, s), hdr_size);
|
/drivers/scsi/lpfc/ |
H A D | lpfc_sli4.h | 377 uint32_t hdr_size; member in struct:lpfc_pc_sli4_params
|
H A D | lpfc_init.c | 8406 sli4_params->hdr_size = bf_get(hdr_size, &mqe->un.sli4_params);
|
/drivers/net/wireless/ath/ath6kl/ |
H A D | wmi.c | 255 u32 meta_size, hdr_size; local 274 hdr_size = sizeof(struct ethhdr); 279 meta_size + hdr_size); 334 u32 hdr_size; local 350 hdr_size = roundup(sizeof(struct ieee80211_qos_hdr), 352 skb_pull(skb, hdr_size);
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_common.c | 3407 u32 hdr_size = sizeof(struct ixgbe_hic_hdr); local 3457 dword_len = hdr_size >> 2; 3470 if (length < (buf_len + hdr_size)) {
|
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_ethtool.c | 783 dump_hdr.hdr_size = (sizeof(struct dump_hdr) / 4) - 1; 799 p += dump_hdr.hdr_size + 1;
|
H A D | bnx2x_dump.h | 124 u32 hdr_size; /* in dwords, excluding this field */ member in struct:dump_hdr
|
/drivers/net/wireless/iwlegacy/ |
H A D | 4965-mac.c | 4682 u32 api_ver, hdr_size; local 4693 hdr_size = 24; 4694 if (ucode_raw->size < hdr_size) { 4709 hdr_size + pieces->inst_size + pieces->data_size +
|
/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 2737 int hdr_size) 2743 crc_offset = hdr_size + img_start + image_size - 4; 2735 be_flash_redboot(struct be_adapter *adapter, const u8 *p, u32 img_start, int image_size, int hdr_size) argument
|
/drivers/scsi/ |
H A D | scsi_transport_iscsi.c | 2213 (char*)ev + sizeof(*ev) + ev->u.send_pdu.hdr_size,
|