/drivers/net/irda/ |
D | mcs7780.c | 403 int new_len; in mcs_unwrap_mir() local 410 new_len = len - 2; in mcs_unwrap_mir() 411 if(unlikely(new_len <= 0)) { in mcs_unwrap_mir() 413 mcs->netdev->name, new_len); in mcs_unwrap_mir() 423 fcs, new_len); in mcs_unwrap_mir() 429 skb = dev_alloc_skb(new_len + 1); in mcs_unwrap_mir() 436 skb_copy_to_linear_data(skb, buf, new_len); in mcs_unwrap_mir() 437 skb_put(skb, new_len); in mcs_unwrap_mir() 445 mcs->netdev->stats.rx_bytes += new_len; in mcs_unwrap_mir() 455 int new_len; in mcs_unwrap_fir() local [all …]
|
/drivers/video/fbdev/omap2/dss/ |
D | omapdss-boot-init.c | 96 int new_len; in omapdss_omapify_node() local 112 new_len = prop->length + strlen(prefix) * num_strs; in omapdss_omapify_node() 113 new_compat = kmalloc(new_len, GFP_KERNEL); in omapdss_omapify_node() 115 omapdss_prefix_strcpy(new_compat, new_len, prop->value, prop->length); in omapdss_omapify_node() 117 omapdss_update_prop(node, new_compat, new_len); in omapdss_omapify_node()
|
/drivers/s390/net/ |
D | ctcm_mpc.c | 1062 __u32 new_len; in ctcmpc_unpack_skb() local 1142 new_len = curr_pdu->pdu_offset; in ctcmpc_unpack_skb() 1144 __func__, new_len); in ctcmpc_unpack_skb() 1145 if ((new_len == 0) || (new_len > pskb->len)) { in ctcmpc_unpack_skb() 1151 CTCM_FUNTAIL, dev->name, new_len); in ctcmpc_unpack_skb() 1154 skb = __dev_alloc_skb(new_len+4, GFP_ATOMIC); in ctcmpc_unpack_skb() 1164 memcpy(skb_put(skb, new_len), pskb->data, new_len); in ctcmpc_unpack_skb() 1188 skb_pull(pskb, new_len); /* point to next PDU */ in ctcmpc_unpack_skb() 2084 __u32 new_len = 0; in mpc_send_qllc_discontact() local 2114 new_len = sizeof(struct qllc); in mpc_send_qllc_discontact() [all …]
|
/drivers/usb/serial/ |
D | digi_acceleport.c | 910 int ret, data_len, new_len; in digi_write() local 932 new_len = 1; in digi_write() 934 new_len = 0; in digi_write() 937 return new_len; in digi_write() 942 new_len = min(count, port->bulk_out_size-2-priv->dp_out_buf_len); in digi_write() 943 data_len = new_len + priv->dp_out_buf_len; in digi_write() 960 memcpy(data, buf, new_len); in digi_write() 965 ret = new_len; in digi_write()
|
/drivers/video/fbdev/ |
D | udlfb.c | 1166 int new_len; in dlfb_realloc_framebuffer() local 1173 new_len = info->fix.line_length * info->var.yres; in dlfb_realloc_framebuffer() 1175 if (PAGE_ALIGN(new_len) > old_len) { in dlfb_realloc_framebuffer() 1179 new_fb = vmalloc(new_len); in dlfb_realloc_framebuffer() 1191 info->fix.smem_len = PAGE_ALIGN(new_len); in dlfb_realloc_framebuffer() 1202 new_back = vzalloc(new_len); in dlfb_realloc_framebuffer()
|
D | smscufx.c | 1300 int new_len; in ufx_realloc_framebuffer() local 1306 new_len = info->fix.line_length * info->var.yres; in ufx_realloc_framebuffer() 1308 if (PAGE_ALIGN(new_len) > old_len) { in ufx_realloc_framebuffer() 1312 new_fb = vmalloc(new_len); in ufx_realloc_framebuffer() 1324 info->fix.smem_len = PAGE_ALIGN(new_len); in ufx_realloc_framebuffer()
|
/drivers/usb/gadget/function/ |
D | f_ncm.c | 898 unsigned new_len; in package_for_tx() local 910 new_len = ndp_index + dgram_idx_len + ncm->skb_tx_ndp->len; in package_for_tx() 916 put_ncm(&ntb_iter, opts->block_length, new_len); in package_for_tx() 920 new_len = opts->ndp_size + in package_for_tx() 926 put_unaligned_le16(new_len, ntb_iter); in package_for_tx()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | obd_config.c | 997 int new_len = 0; in lustre_cfg_rename() local 1012 new_len = LUSTRE_CFG_BUFLEN(cfg, 1) + strlen(new_name) - name_len; in lustre_cfg_rename() 1014 OBD_ALLOC(new_param, new_len); in lustre_cfg_rename() 1024 OBD_FREE(new_param, new_len); in lustre_cfg_rename() 1034 OBD_FREE(new_param, new_len); in lustre_cfg_rename()
|
/drivers/net/wireless/ |
D | rndis_wlan.c | 2073 int ret = -EINVAL, len, count, bssid_len, real_count, new_len; in rndis_check_bssid_list() local 2088 new_len = len; in rndis_check_bssid_list() 2090 buf, &new_len); in rndis_check_bssid_list() 2091 if (ret != 0 || new_len < sizeof(struct ndis_80211_bssid_list_ex)) in rndis_check_bssid_list() 2094 if (new_len > len) { in rndis_check_bssid_list() 2095 len = new_len; in rndis_check_bssid_list() 2100 len = new_len; in rndis_check_bssid_list()
|
/drivers/net/wireless/ath/ath10k/ |
D | wmi.c | 1535 u32 new_len; in ath10k_wmi_update_noa() local 1542 new_len = ath10k_p2p_calc_noa_ie_len(noa); in ath10k_wmi_update_noa() 1543 if (!new_len) in ath10k_wmi_update_noa() 1546 new_data = kmalloc(new_len, GFP_ATOMIC); in ath10k_wmi_update_noa() 1550 ath10k_p2p_fill_noa_ie(new_data, new_len, noa); in ath10k_wmi_update_noa() 1554 arvif->u.ap.noa_len = new_len; in ath10k_wmi_update_noa()
|
/drivers/net/wireless/ath/ath6kl/ |
D | wmi.c | 164 size_t new_len; in ath6kl_wmi_dix_2_dot3() local 185 new_len = skb->len - sizeof(*eth_hdr) + sizeof(*llc_hdr); in ath6kl_wmi_dix_2_dot3() 190 eth_hdr->h_proto = cpu_to_be16(new_len); in ath6kl_wmi_dix_2_dot3()
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_adminq_cmd.h | 1968 __le16 new_len; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq_cmd.h | 1964 __le16 new_len; member
|
/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 1422 size_t new_len; in lpfc_sli_next_iotag() local 1436 new_len = psli->iocbq_lookup_len + LPFC_IOCBQ_LOOKUP_INCREMENT; in lpfc_sli_next_iotag() 1438 new_arr = kzalloc(new_len * sizeof (struct lpfc_iocbq *), in lpfc_sli_next_iotag() 1443 if (new_len <= psli->iocbq_lookup_len) { in lpfc_sli_next_iotag() 1462 psli->iocbq_lookup_len = new_len; in lpfc_sli_next_iotag()
|