| /drivers/video/fbdev/omap2/omapfb/dss/ |
| A D | omapdss-boot-init.c | 85 int new_len; in omapdss_omapify_node() local 101 new_len = prop->length + strlen(prefix) * num_strs; in omapdss_omapify_node() 102 new_compat = kmalloc(new_len, GFP_KERNEL); in omapdss_omapify_node() 106 omapdss_prefix_strcpy(new_compat, new_len, prop->value, prop->length); in omapdss_omapify_node() 108 omapdss_update_prop(node, new_compat, new_len); in omapdss_omapify_node()
|
| /drivers/crypto/ |
| A D | omap-crypto.c | 60 int new_len; in omap_crypto_copy_sgs() local 62 new_len = ALIGN(total, bs); in omap_crypto_copy_sgs() 63 pages = get_order(new_len); in omap_crypto_copy_sgs() 75 memset(buf + total, 0, new_len - total); in omap_crypto_copy_sgs() 81 sg_set_buf(new_sg, buf, new_len); in omap_crypto_copy_sgs()
|
| A D | omap-sham.c | 632 ctx->total = new_len; in omap_sham_copy_sg_lists() 663 if (new_len < len) in omap_sham_copy_sg_lists() 664 len = new_len; in omap_sham_copy_sg_lists() 667 new_len -= len; in omap_sham_copy_sg_lists() 672 if (new_len <= 0) in omap_sham_copy_sg_lists() 718 ctx->total = new_len; in omap_sham_copy_sgs() 731 int new_len; in omap_sham_align_sgs() local 747 new_len = nbytes; in omap_sham_align_sgs() 753 new_len = DIV_ROUND_UP(new_len, bs) * bs; in omap_sham_align_sgs() 755 new_len = (new_len - 1) / bs * bs; in omap_sham_align_sgs() [all …]
|
| A D | s5p-sss.c | 1010 len = new_len + ctx->bufcnt; in s5p_hash_copy_sgs() 1050 struct scatterlist *sg, unsigned int new_len) in s5p_hash_copy_sg_lists() argument 1082 while (sg && new_len) { in s5p_hash_copy_sg_lists() 1084 if (new_len < len) in s5p_hash_copy_sg_lists() 1085 len = new_len; in s5p_hash_copy_sg_lists() 1087 new_len -= len; in s5p_hash_copy_sg_lists() 1090 if (new_len <= 0) in s5p_hash_copy_sg_lists() 1121 unsigned int new_len, bool final) in s5p_hash_prepare_sgs() argument 1127 if (!sg || !sg->length || !new_len) in s5p_hash_prepare_sgs() 1160 return s5p_hash_copy_sgs(ctx, sg, new_len); in s5p_hash_prepare_sgs() [all …]
|
| /drivers/crypto/qce/ |
| A D | dma.c | 58 unsigned int new_len; in qce_sgtable_add() local 70 new_len = new_sgl->length > max_len ? max_len : new_sgl->length; in qce_sgtable_add() 71 sg_set_page(sg, sg_page(new_sgl), new_len, new_sgl->offset); in qce_sgtable_add() 75 max_len -= new_len; in qce_sgtable_add()
|
| /drivers/platform/x86/hp/hp-bioscfg/ |
| A D | bioscfg.c | 431 int new_len = 0; in hp_convert_hexstr_to_str() local 460 new_str[new_len++] = '\\'; in hp_convert_hexstr_to_str() 462 new_str[new_len++] = ch; in hp_convert_hexstr_to_str() 468 if (new_len) { in hp_convert_hexstr_to_str() 469 new_str[new_len] = '\0'; in hp_convert_hexstr_to_str() 470 *str = krealloc(new_str, (new_len + 1) * sizeof(char), in hp_convert_hexstr_to_str() 473 *len = new_len; in hp_convert_hexstr_to_str()
|
| /drivers/crypto/stm32/ |
| A D | stm32-hash.c | 1130 rctx->total = new_len; in stm32_hash_copy_sgs() 1143 int new_len; in stm32_hash_align_sgs() local 1161 new_len = nbytes; in stm32_hash_align_sgs() 1167 new_len = DIV_ROUND_UP(new_len, bs) * bs; in stm32_hash_align_sgs() 1169 new_len = (new_len - 1) / bs * bs; // return n block - 1 block in stm32_hash_align_sgs() 1177 new_len += sizeof(u32); in stm32_hash_align_sgs() 1179 new_len -= bs; in stm32_hash_align_sgs() 1183 if (!new_len) in stm32_hash_align_sgs() 1186 if (nbytes != new_len) in stm32_hash_align_sgs() 1238 rctx->total = new_len; in stm32_hash_align_sgs() [all …]
|
| /drivers/net/wireless/intel/iwlwifi/fw/ |
| A D | pnvm.c | 244 size_t new_len; in iwl_pnvm_get_from_fs() local 256 new_len = pnvm->size; in iwl_pnvm_get_from_fs() 263 *len = new_len; in iwl_pnvm_get_from_fs()
|
| /drivers/usb/serial/ |
| A D | digi_acceleport.c | 887 int ret, data_len, new_len; in digi_write() local 908 new_len = 1; in digi_write() 910 new_len = 0; in digi_write() 913 return new_len; in digi_write() 918 new_len = min(count, port->bulk_out_size-2-priv->dp_out_buf_len); in digi_write() 919 data_len = new_len + priv->dp_out_buf_len; in digi_write() 936 memcpy(data, buf, new_len); in digi_write() 941 ret = new_len; in digi_write()
|
| /drivers/video/fbdev/ |
| A D | udlfb.c | 79 static int dlfb_realloc_framebuffer(struct dlfb_data *dlfb, struct fb_info *info, u32 new_len); 1178 static int dlfb_realloc_framebuffer(struct dlfb_data *dlfb, struct fb_info *info, u32 new_len) in dlfb_realloc_framebuffer() argument 1185 new_len = PAGE_ALIGN(new_len); in dlfb_realloc_framebuffer() 1187 if (new_len > old_len) { in dlfb_realloc_framebuffer() 1191 new_fb = vmalloc(new_len); in dlfb_realloc_framebuffer() 1196 memset(new_fb, 0xff, new_len); in dlfb_realloc_framebuffer() 1204 info->fix.smem_len = new_len; in dlfb_realloc_framebuffer() 1215 new_back = vzalloc(new_len); in dlfb_realloc_framebuffer()
|
| A D | smscufx.c | 1266 int new_len; in ufx_realloc_framebuffer() local 1272 new_len = info->fix.line_length * info->var.yres; in ufx_realloc_framebuffer() 1274 if (PAGE_ALIGN(new_len) > old_len) { in ufx_realloc_framebuffer() 1278 new_fb = vmalloc(new_len); in ufx_realloc_framebuffer() 1288 info->fix.smem_len = PAGE_ALIGN(new_len); in ufx_realloc_framebuffer()
|
| /drivers/nvdimm/ |
| A D | badrange.c | 151 u64 new_len = bre_end - new_start + 1; in badrange_forget() local 155 new_len, GFP_NOWAIT); in badrange_forget()
|
| /drivers/s390/net/ |
| A D | ctcm_mpc.c | 1039 __u32 new_len; in ctcmpc_unpack_skb() local 1119 new_len = curr_pdu->pdu_offset; in ctcmpc_unpack_skb() 1121 __func__, new_len); in ctcmpc_unpack_skb() 1122 if ((new_len == 0) || (new_len > pskb->len)) { in ctcmpc_unpack_skb() 1128 CTCM_FUNTAIL, dev->name, new_len); in ctcmpc_unpack_skb() 1131 skb = __dev_alloc_skb(new_len+4, GFP_ATOMIC); in ctcmpc_unpack_skb() 1141 skb_put_data(skb, pskb->data, new_len); in ctcmpc_unpack_skb() 1165 skb_pull(pskb, new_len); /* point to next PDU */ in ctcmpc_unpack_skb()
|
| /drivers/usb/gadget/function/ |
| A D | f_ncm.c | 953 unsigned new_len; in package_for_tx() local 965 new_len = ndp_index + dgram_idx_len + ncm->skb_tx_ndp->len; in package_for_tx() 971 put_ncm(&ntb_iter, opts->block_length, new_len); in package_for_tx() 975 new_len = opts->ndp_size + in package_for_tx() 981 put_unaligned_le16(new_len, ntb_iter); in package_for_tx()
|
| /drivers/media/test-drivers/vidtv/ |
| A D | vidtv_psi.c | 121 static void vidtv_psi_set_desc_loop_len(__be16 *bitfield, u16 new_len, in vidtv_psi_set_desc_loop_len() argument 129 new = cpu_to_be16((be16_to_cpu(*bitfield) & mask) | new_len); in vidtv_psi_set_desc_loop_len() 133 static void vidtv_psi_set_sec_len(struct vidtv_psi_table_header *h, u16 new_len) in vidtv_psi_set_sec_len() argument 141 new = cpu_to_be16((be16_to_cpu(h->bitfield) & mask) | new_len); in vidtv_psi_set_sec_len() 145 new_len, in vidtv_psi_set_sec_len()
|
| /drivers/net/ethernet/intel/i40e/ |
| A D | i40e_nvm.c | 1103 int new_len = aq_total_len - cmd->offset; in i40e_nvmupd_get_aq_result() local 1106 __func__, cmd->data_size, new_len); in i40e_nvmupd_get_aq_result() 1107 cmd->data_size = new_len; in i40e_nvmupd_get_aq_result()
|
| A D | i40e_adminq_cmd.h | 1929 __le16 new_len; member
|
| /drivers/net/wireless/realtek/rtw88/ |
| A D | pci.c | 1055 u32 new_len; in rtw_pci_rx_napi() local 1078 new_len = pkt_stat.pkt_len + pkt_offset; in rtw_pci_rx_napi() 1079 new = dev_alloc_skb(new_len); in rtw_pci_rx_napi() 1084 skb_put_data(new, skb->data, new_len); in rtw_pci_rx_napi()
|
| /drivers/net/wireless/ath/ath6kl/ |
| A 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/crypto/bcm/ |
| A D | cipher.c | 739 u16 new_len; /* len of data to add to hash carry */ in handle_ahash_req() local 747 new_len = rem - rctx->hash_carry_len; in handle_ahash_req() 748 sg_copy_part_to_buf(req->src, dest, new_len, in handle_ahash_req()
|
| /drivers/gpu/drm/display/ |
| A D | drm_dp_mst_topology.c | 1567 int new_len = history->len + 1; in __topology_ref_save() local 1569 new = krealloc(history->entries, sizeof(*new) * new_len, in __topology_ref_save() 1575 history->len = new_len; in __topology_ref_save()
|
| /drivers/scsi/lpfc/ |
| A D | lpfc_sli.c | 2120 size_t new_len; in lpfc_sli_next_iotag() local 2134 new_len = psli->iocbq_lookup_len + LPFC_IOCBQ_LOOKUP_INCREMENT; in lpfc_sli_next_iotag() 2136 new_arr = kcalloc(new_len, sizeof(struct lpfc_iocbq *), in lpfc_sli_next_iotag() 2141 if (new_len <= psli->iocbq_lookup_len) { in lpfc_sli_next_iotag() 2160 psli->iocbq_lookup_len = new_len; in lpfc_sli_next_iotag()
|