| /linux/drivers/tee/qcomtee/ |
| H A D | shm.c | 56 size = size_add(size, qcomtee_msg_offset_align(u[i].b.size)); in qcomtee_msg_buffers_alloc() 63 size = size_add(size, qcomtee_msg_offset_align(u[i].b.size)); in qcomtee_msg_buffers_alloc()
|
| /linux/drivers/nvdimm/ |
| H A D | ramdax.c | 146 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 D | overflow.h | 349 static __always_inline size_t __must_check size_add(size_t addend1, size_t addend2) in size_add() function 437 size_add(sizeof(*(p)), flex_array_size(p, member, count)))
|
| H A D | ring_buffer.h | 285 return size_add(offsetof(struct trace_buffer_desc, __data), in trace_buffer_desc_size()
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | 11n_rxreorder.c | 919 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 D | vmci_handle_array.c | 49 size_add(array->capacity, capacity_bump)); in vmci_handle_arr_append_entry()
|
| /linux/drivers/accel/qaic/ |
| H A D | qaic_control.c | 372 if (size_add(msg_hdr_len, in_trans->hdr.len) > QAIC_MANAGE_WIRE_MSG_LENGTH) in encode_passthrough() 581 if (size_add(msg_hdr_len, sizeof(*out_trans) + sizeof(struct wire_addr_size_pair)) > in encode_dma() 651 if (size_add(msg_hdr_len, sizeof(*out_trans)) > QAIC_MANAGE_WIRE_MSG_LENGTH) in encode_activate() 736 if (size_add(msg_hdr_len, in_trans->hdr.len) > QAIC_MANAGE_WIRE_MSG_LENGTH) in encode_status() 790 size_add(user_len, trans_hdr->len) > user_msg->len) { in encode_message() 990 size_add(msg_len, hdr_len) > msg_hdr_len) in decode_message()
|
| H A D | qaic_debugfs.c | 161 if (size_add(size, sizeof(*page)) > page->size) in bootlog_get_space()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | wow.c | 192 if (size_add(eth_pkt_ofs, eth_pat_len) < ETH_ALEN) { in ath12k_wow_convert_8023_to_80211() 197 } else if (size_add(eth_pkt_ofs, eth_pat_len) < prot_ofs) { in ath12k_wow_convert_8023_to_80211() 234 if (size_add(eth_pkt_ofs, eth_pat_len) < prot_ofs) { in ath12k_wow_convert_8023_to_80211()
|
| /linux/drivers/net/dsa/realtek/ |
| H A D | rtl83xx.c | 152 priv = devm_kzalloc(dev, size_add(sizeof(*priv), var->chip_data_sz), in rtl83xx_probe()
|
| /linux/drivers/tee/ |
| H A D | tee_core.c | 559 if (size_add(sizeof(arg), TEE_IOCTL_PARAM_SIZE(arg.num_params)) != buf.buf_len) in tee_ioctl_open_session() 636 if (size_add(sizeof(arg), TEE_IOCTL_PARAM_SIZE(arg.num_params)) != buf.buf_len) in tee_ioctl_invoke() 841 if (size_add(sizeof(*uarg), TEE_IOCTL_PARAM_SIZE(num_params)) != buf.buf_len) in tee_ioctl_supp_recv() 955 if (size_add(sizeof(*uarg), TEE_IOCTL_PARAM_SIZE(num_params)) > buf.buf_len) in tee_ioctl_supp_send()
|
| /linux/drivers/misc/mei/ |
| H A D | platform-vsc.c | 346 mei_dev = kzalloc(size_add(sizeof(*mei_dev), sizeof(*hw)), GFP_KERNEL); in mei_vsc_probe()
|
| /linux/drivers/infiniband/core/ |
| H A D | sysfs.c | 858 data = kzalloc_flex(*data, attrs, size_add(stats->num_counters, 1)); in alloc_hw_stats_device() 964 data = kzalloc_flex(*data, attrs, size_add(stats->num_counters, 1)); in alloc_hw_stats_port() 1157 size_add(attr->gid_tbl_len, attr->pkey_tbl_len)); in setup_port()
|
| /linux/drivers/i2c/ |
| H A D | i2c-mux.c | 236 muxc = devm_kzalloc(dev, size_add(mux_size, sizeof_priv), GFP_KERNEL); in i2c_mux_alloc()
|
| /linux/drivers/cxl/ |
| H A D | pmem.c | 250 if (size_add(struct_size(cmd, in_buf, cmd->in_length), 4) > buf_len) in cxl_pmem_set_config_data()
|
| /linux/sound/soc/fsl/ |
| H A D | fsl_asrc_dma.c | 459 pair = kzalloc(size_add(sizeof(*pair), asrc->pair_priv_size), GFP_KERNEL); in fsl_asrc_dma_pcm_new()
|
| /linux/arch/s390/boot/ |
| H A D | startup.c | 318 return size_add(vsize, vmalloc_size); in get_vmem_size()
|
| /linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
| H A D | chtls_main.c | 349 skb = alloc_skb(size_add(gl->tot_len, in copy_gl_to_skb_pkt()
|
| /linux/Documentation/translations/it_IT/process/ |
| H A D | deprecated.rst | 106 Per altri calcoli, usate le funzioni size_mul(), size_add(), e size_sub(). Per 113 foo = krealloc(size_add(current_size,
|
| /linux/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | offload.c | 459 if (size_add(pkt_size, data_size) > INT_MAX || in nfp_bpf_event_output()
|
| /linux/Documentation/translations/sp_SP/process/ |
| H A D | deprecated.rst | 105 size_add(), and size_sub(). Por ejemplo, en el caso de:: 111 foo = krealloc(size_add(current_size,
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-zynqmp.c | 616 fgroups = devm_kcalloc(dev, size_add(func->ngroups, npins), in zynqmp_pinctrl_prepare_func_groups()
|
| /linux/drivers/gpu/drm/gud/ |
| H A D | gud_pipe.c | 530 size_add(GUD_PROPERTIES_MAX_NUM, GUD_CONNECTOR_PROPERTIES_MAX_NUM)); in gud_plane_atomic_check()
|
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | pkvm.c | 643 return size_add(sizeof(struct pkvm_hyp_vm), in pkvm_get_hyp_vm_size()
|
| /linux/drivers/usb/atm/ |
| H A D | usbatm.c | 1022 size_add(num_rcv_urbs, num_snd_urbs)); in usbatm_usb_probe()
|