/linux/arch/powerpc/platforms/pseries/ |
H A D | papr-vpd.c | 154 const size_t new_len = blob->len + len; in vpd_blob_extend() local 160 kvrealloc(old_ptr, old_len, new_len, GFP_KERNEL_ACCOUNT) : in vpd_blob_extend() 168 blob->len = new_len; in vpd_blob_extend()
|
/linux/arch/riscv/include/asm/ |
H A D | alternative-macros.h | 9 .macro ALT_ENTRY oldptr newptr vendor_id patch_id new_len 13 .2byte \new_len
|
/linux/arch/sparc/kernel/ |
H A D | sys_sparc_64.c | 479 unsigned long, new_len, unsigned long, flags, 484 return sys_mremap(addr, old_len, new_len, flags, new_addr);
|
H A D | systbls.h | 41 unsigned long new_len,
|
/linux/arch/x86/kvm/ |
H A D | lapic.c | 3269 unsigned long new_len; in kvm_lapic_set_pv_eoi() local 3277 new_len = ghc->len; in kvm_lapic_set_pv_eoi() 3279 new_len = len; in kvm_lapic_set_pv_eoi() 3281 ret = kvm_gfn_to_hva_cache_init(vcpu->kvm, ghc, addr, new_len); in kvm_lapic_set_pv_eoi()
|
/linux/drivers/crypto/bcm/ |
H A D | cipher.c | 738 u16 new_len; /* len of data to add to hash carry */ in handle_ahash_req() local 746 new_len = rem - rctx->hash_carry_len; in handle_ahash_req() 747 sg_copy_part_to_buf(req->src, dest, new_len, in handle_ahash_req()
|
/linux/drivers/crypto/ |
H 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()
|
H 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 …]
|
H A D | s5p-sss.c | 1025 len = new_len + ctx->bufcnt; in s5p_hash_copy_sgs() 1039 new_len, 0); in s5p_hash_copy_sgs() 1098 while (sg && new_len) { in s5p_hash_copy_sg_lists() 1100 if (new_len < len) in s5p_hash_copy_sg_lists() 1101 len = new_len; in s5p_hash_copy_sg_lists() 1103 new_len -= len; in s5p_hash_copy_sg_lists() 1106 if (new_len <= 0) in s5p_hash_copy_sg_lists() 1137 unsigned int new_len, bool final) in s5p_hash_prepare_sgs() argument 1143 if (!sg || !sg->length || !new_len) in s5p_hash_prepare_sgs() 1176 return s5p_hash_copy_sgs(ctx, sg, new_len); in s5p_hash_prepare_sgs() [all …]
|
/linux/drivers/crypto/qce/ |
H A D | dma.c | 54 unsigned int new_len; in qce_sgtable_add() local 66 new_len = new_sgl->length > max_len ? max_len : new_sgl->length; in qce_sgtable_add() 67 sg_set_page(sg, sg_page(new_sgl), new_len, new_sgl->offset); in qce_sgtable_add() 71 max_len -= new_len; in qce_sgtable_add()
|
/linux/drivers/crypto/stm32/ |
H 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 …]
|
/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_mst_topology.c | 1555 int new_len = history->len + 1; in __topology_ref_save() local 1557 new = krealloc(history->entries, sizeof(*new) * new_len, in __topology_ref_save() 1563 history->len = new_len; in __topology_ref_save()
|
/linux/drivers/media/test-drivers/vidtv/ |
H 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()
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_adminq_cmd.h | 2080 __le16 new_len; member
|
H 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()
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H 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()
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | pnvm.c | 242 size_t new_len; in iwl_pnvm_get_from_fs() local 254 new_len = pnvm->size; in iwl_pnvm_get_from_fs() 261 *len = new_len; in iwl_pnvm_get_from_fs()
|
/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | pci.c | 1054 u32 new_len; in rtw_pci_rx_napi() local 1077 new_len = pkt_stat.pkt_len + pkt_offset; in rtw_pci_rx_napi() 1078 new = dev_alloc_skb(new_len); in rtw_pci_rx_napi() 1083 skb_put_data(new, skb->data, new_len); in rtw_pci_rx_napi()
|
/linux/drivers/nvdimm/ |
H 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()
|
/linux/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | bioscfg.c | 436 int new_len = 0; in hp_convert_hexstr_to_str() local 465 new_str[new_len++] = '\\'; in hp_convert_hexstr_to_str() 467 new_str[new_len++] = ch; in hp_convert_hexstr_to_str() 473 if (new_len) { in hp_convert_hexstr_to_str() 474 new_str[new_len] = '\0'; in hp_convert_hexstr_to_str() 475 *str = krealloc(new_str, (new_len + 1) * sizeof(char), in hp_convert_hexstr_to_str() 478 *len = new_len; in hp_convert_hexstr_to_str()
|
/linux/drivers/s390/net/ |
H A D | ctcm_mpc.c | 1038 __u32 new_len; in ctcmpc_unpack_skb() local 1118 new_len = curr_pdu->pdu_offset; in ctcmpc_unpack_skb() 1120 __func__, new_len); in ctcmpc_unpack_skb() 1121 if ((new_len == 0) || (new_len > pskb->len)) { in ctcmpc_unpack_skb() 1127 CTCM_FUNTAIL, dev->name, new_len); in ctcmpc_unpack_skb() 1130 skb = __dev_alloc_skb(new_len+4, GFP_ATOMIC); in ctcmpc_unpack_skb() 1140 skb_put_data(skb, pskb->data, new_len); in ctcmpc_unpack_skb() 1164 skb_pull(pskb, new_len); /* point to next PDU */ in ctcmpc_unpack_skb()
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 2117 size_t new_len; in lpfc_sli_next_iotag() local 2131 new_len = psli->iocbq_lookup_len + LPFC_IOCBQ_LOOKUP_INCREMENT; in lpfc_sli_next_iotag() 2133 new_arr = kcalloc(new_len, sizeof(struct lpfc_iocbq *), in lpfc_sli_next_iotag() 2138 if (new_len <= psli->iocbq_lookup_len) { in lpfc_sli_next_iotag() 2157 psli->iocbq_lookup_len = new_len; in lpfc_sli_next_iotag()
|
/linux/drivers/usb/gadget/function/ |
H A D | f_ncm.c | 952 unsigned new_len; in package_for_tx() local 964 new_len = ndp_index + dgram_idx_len + ncm->skb_tx_ndp->len; in package_for_tx() 970 put_ncm(&ntb_iter, opts->block_length, new_len); in package_for_tx() 974 new_len = opts->ndp_size + in package_for_tx() 980 put_unaligned_le16(new_len, ntb_iter); in package_for_tx()
|
/linux/drivers/usb/serial/ |
H A D | digi_acceleport.c | 889 int ret, data_len, new_len; in digi_write() local 910 new_len = 1; in digi_write() 912 new_len = 0; in digi_write() 915 return new_len; in digi_write() 920 new_len = min(count, port->bulk_out_size-2-priv->dp_out_buf_len); in digi_write() 921 data_len = new_len + priv->dp_out_buf_len; in digi_write() 938 memcpy(data, buf, new_len); in digi_write() 943 ret = new_len; in digi_write()
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H 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()
|