Home
last modified time | relevance | path

Searched refs:size_add (Results 1 – 25 of 43) sorted by relevance

12

/linux/net/devlink/
H A Dnetlink.c52 data_size = size_add(data_size, in devlink_nl_notify_filter_set_doit()
55 data_size = size_add(data_size, in devlink_nl_notify_filter_set_doit()
58 flt = kzalloc(size_add(sizeof(*flt), data_size), GFP_KERNEL); in devlink_nl_notify_filter_set_doit()
/linux/drivers/nvdimm/
H A Dramdax.c146 if (size_add(cmd->in_offset, cmd->in_length) > LABEL_AREA_SIZE) in ramdax_get_config_data()
163 if (size_add(cmd->in_offset, cmd->in_length) > LABEL_AREA_SIZE) in ramdax_set_config_data()
/linux/include/linux/
H A Doverflow.h355 static inline size_t __must_check size_add(size_t addend1, size_t addend2) in size_add() function
443 size_add(sizeof(*(p)), flex_array_size(p, member, count)))
/linux/crypto/
H A Dscompress.c207 size_add(doff, dlen) > PAGE_SIZE) in scomp_acomp_comp_decomp()
229 size_add(soff, slen) > PAGE_SIZE) in scomp_acomp_comp_decomp()
/linux/drivers/net/wireless/marvell/mwifiex/
H A D11n_rxreorder.c919 if (size_add(sizeof(tlv_rxba->header), tlv_len) > tlv_buf_left) { in mwifiex_11n_rxba_sync_event()
922 size_add(sizeof(tlv_rxba->header), tlv_len), in mwifiex_11n_rxba_sync_event()
935 if (size_add(sizeof(*tlv_rxba), tlv_bitmap_len) > tlv_buf_left) { in mwifiex_11n_rxba_sync_event()
938 size_add(sizeof(*tlv_rxba), tlv_bitmap_len), in mwifiex_11n_rxba_sync_event()
/linux/drivers/misc/vmw_vmci/
H A Dvmci_handle_array.c49 size_add(array->capacity, capacity_bump)); in vmci_handle_arr_append_entry()
/linux/drivers/soc/qcom/
H A Dmdt_loader.c38 phend = size_add(size_mul(sizeof(struct elf32_phdr), ehdr->e_phnum), ehdr->e_phoff); in mdt_header_valid()
46 shend = size_add(size_mul(sizeof(struct elf32_shdr), ehdr->e_shnum), ehdr->e_shoff); in mdt_header_valid()
/linux/arch/arm64/include/asm/
H A Dkvm_pkvm.h169 return size_add(sizeof(struct cpu_sve_state), in pkvm_host_sve_state_size()
/linux/drivers/accel/qaic/
H A Dqaic_control.c372 if (size_add(msg_hdr_len, in_trans->hdr.len) > QAIC_MANAGE_WIRE_MSG_LENGTH) in encode_passthrough()
580 if (size_add(msg_hdr_len, sizeof(*out_trans) + sizeof(struct wire_addr_size_pair)) > in encode_dma()
650 if (size_add(msg_hdr_len, sizeof(*out_trans)) > QAIC_MANAGE_WIRE_MSG_LENGTH) in encode_activate()
735 if (size_add(msg_hdr_len, in_trans->hdr.len) > QAIC_MANAGE_WIRE_MSG_LENGTH) in encode_status()
789 size_add(user_len, trans_hdr->len) > user_msg->len) { in encode_message()
989 size_add(msg_len, hdr_len) > msg_hdr_len) in decode_message()
H A Dqaic_debugfs.c161 if (size_add(size, sizeof(*page)) > page->size) in bootlog_get_space()
/linux/drivers/net/dsa/realtek/
H A Drtl83xx.c152 priv = devm_kzalloc(dev, size_add(sizeof(*priv), var->chip_data_sz), in rtl83xx_probe()
/linux/drivers/misc/mei/
H A Dplatform-vsc.c346 mei_dev = kzalloc(size_add(sizeof(*mei_dev), sizeof(*hw)), GFP_KERNEL); in mei_vsc_probe()
/linux/drivers/mux/
H A Dcore.c101 mux_chip = kzalloc(size_add(struct_size(mux_chip, mux, controllers), in mux_chip_alloc()
/linux/arch/arm64/kvm/
H A Dpkvm.c160 hyp_vm_sz = PAGE_ALIGN(size_add(PKVM_HYP_VM_SIZE, in __pkvm_create_hyp_vm()
/linux/drivers/cxl/
H A Dpmem.c233 if (size_add(struct_size(cmd, in_buf, cmd->in_length), 4) > buf_len) in cxl_pmem_set_config_data()
/linux/net/ethtool/
H A Dcommon.c852 key_off = size_add(priv_bytes, indir_bytes); in ethtool_rxfh_ctx_alloc()
853 flex_len = size_add(key_off, key_max); in ethtool_rxfh_ctx_alloc()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_main.c349 skb = alloc_skb(size_add(gl->tot_len, in copy_gl_to_skb_pkt()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Doffload.c461 if (size_add(pkt_size, data_size) > INT_MAX || in nfp_bpf_event_output()
/linux/Documentation/process/
H A Ddeprecated.rst98 size_add(), and size_sub() helpers. For example, in the case of::
104 foo = krealloc(size_add(current_size,
/linux/Documentation/translations/it_IT/process/
H A Ddeprecated.rst106 Per altri calcoli, usate le funzioni size_mul(), size_add(), e size_sub(). Per
113 foo = krealloc(size_add(current_size,
/linux/drivers/pinctrl/
H A Dpinctrl-zynqmp.c616 fgroups = devm_kcalloc(dev, size_add(func->ngroups, npins), in zynqmp_pinctrl_prepare_func_groups()
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dpkvm.c603 return size_add(sizeof(struct pkvm_hyp_vm), in pkvm_get_hyp_vm_size()
/linux/drivers/gpu/drm/gud/
H A Dgud_pipe.c530 size_add(GUD_PROPERTIES_MAX_NUM, GUD_CONNECTOR_PROPERTIES_MAX_NUM)); in gud_plane_atomic_check()
/linux/Documentation/translations/sp_SP/process/
H A Ddeprecated.rst105 size_add(), and size_sub(). Por ejemplo, en el caso de::
111 foo = krealloc(size_add(current_size,
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c698 (size_add(submit->cmd[i].size, submit->cmd[i].offset) > obj->size / 4)) { in msm_ioctl_gem_submit()

12