Home
last modified time | relevance | path

Searched refs:new_len (Results 1 – 4 of 4) sorted by relevance

/drivers/net/irda/
Dmcs7780.c395 int new_len; in mcs_unwrap_mir() local
402 new_len = len - 2; in mcs_unwrap_mir()
403 if(unlikely(new_len <= 0)) { in mcs_unwrap_mir()
405 mcs->netdev->name, new_len); in mcs_unwrap_mir()
415 fcs, new_len); in mcs_unwrap_mir()
421 skb = dev_alloc_skb(new_len + 1); in mcs_unwrap_mir()
428 skb_copy_to_linear_data(skb, buf, new_len); in mcs_unwrap_mir()
429 skb_put(skb, new_len); in mcs_unwrap_mir()
437 mcs->netdev->stats.rx_bytes += new_len; in mcs_unwrap_mir()
449 int new_len; in mcs_unwrap_fir() local
[all …]
/drivers/s390/net/
Dctcm_mpc.c1069 __u32 new_len; in ctcmpc_unpack_skb() local
1150 new_len = curr_pdu->pdu_offset; in ctcmpc_unpack_skb()
1152 __func__, new_len); in ctcmpc_unpack_skb()
1153 if ((new_len == 0) || (new_len > pskb->len)) { in ctcmpc_unpack_skb()
1159 CTCM_FUNTAIL, dev->name, new_len); in ctcmpc_unpack_skb()
1162 skb = __dev_alloc_skb(new_len+4, GFP_ATOMIC); in ctcmpc_unpack_skb()
1172 memcpy(skb_put(skb, new_len), pskb->data, new_len); in ctcmpc_unpack_skb()
1196 skb_pull(pskb, new_len); /* point to next PDU */ in ctcmpc_unpack_skb()
2101 __u32 new_len = 0; in mpc_send_qllc_discontact() local
2131 new_len = sizeof(struct qllc); in mpc_send_qllc_discontact()
[all …]
/drivers/usb/serial/
Ddigi_acceleport.c1154 int ret, data_len, new_len; in digi_write() local
1175 new_len = 1; in digi_write()
1177 new_len = 0; in digi_write()
1180 return new_len; in digi_write()
1185 new_len = min(count, port->bulk_out_size-2-priv->dp_out_buf_len); in digi_write()
1186 data_len = new_len + priv->dp_out_buf_len; in digi_write()
1204 memcpy(data, buf, new_len); in digi_write()
1209 ret = new_len; in digi_write()
/drivers/scsi/lpfc/
Dlpfc_sli.c464 size_t new_len; in lpfc_sli_next_iotag() local
478 new_len = psli->iocbq_lookup_len + LPFC_IOCBQ_LOOKUP_INCREMENT; in lpfc_sli_next_iotag()
480 new_arr = kzalloc(new_len * sizeof (struct lpfc_iocbq *), in lpfc_sli_next_iotag()
485 if (new_len <= psli->iocbq_lookup_len) { in lpfc_sli_next_iotag()
504 psli->iocbq_lookup_len = new_len; in lpfc_sli_next_iotag()