Home
last modified time | relevance | path

Searched refs:check_add_overflow (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.1.9/drivers/usb/gadget/
Du_f.h31 if (check_add_overflow(offset, size, \
48 if (check_add_overflow(offset, groupname##_##name##__sz,\
/linux-6.1.9/tools/include/linux/
Doverflow.h44 #define check_add_overflow(a, b, d) ({ \ macro
122 if (check_add_overflow(bytes, c, &bytes)) in __ab_c_size()
/linux-6.1.9/include/linux/
Doverflow.h66 #define check_add_overflow(a, b, d) \ macro
163 if (check_add_overflow(addend1, addend2, &bytes)) in size_add()
/linux-6.1.9/io_uring/
Dfiletable.c184 if (check_add_overflow(range.off, range.len, &end)) in io_register_file_alloc_range()
Drsrc.c133 if (check_add_overflow((unsigned long)iov->iov_base, acct_len, &tmp)) in io_buffer_validate()
580 if (check_add_overflow(up->offset, nr_args, &tmp)) in __io_register_rsrc_update()
1318 if (unlikely(check_add_overflow(buf_addr, (u64)len, &buf_end))) in io_import_fixed()
Dkbuf.c338 if (check_add_overflow((unsigned long)p->addr, size, &tmp_check)) in io_provide_buffers_prep()
Dnet.c408 if (check_add_overflow((int)sizeof(struct io_uring_recvmsg_out), in io_recvmsg_multishot_overflow()
411 if (check_add_overflow(hdr, (int)iomsg->controllen, &hdr)) in io_recvmsg_multishot_overflow()
/linux-6.1.9/drivers/infiniband/core/
Dumem_dmabuf.c123 if (check_add_overflow(offset, (unsigned long)size, &end)) in ib_umem_dmabuf_get()
Dib_core_uverbs.c301 if (check_add_overflow(xa_first, npages, &xa_last)) in rdma_user_mmap_entry_insert_range()
Dumem_odp.c65 if (check_add_overflow(umem_odp->umem.address, in ib_init_umem_odp()
Duverbs_ioctl.c114 if (check_add_overflow(size, pbundle->internal_used, &new_used)) in _uverbs_alloc()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_managed.c93 if (unlikely(check_add_overflow(sizeof(*dr), size, &tot_size))) in alloc_dr()
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_user_sdma.c888 if (check_add_overflow(bytes_togo, slen, &bytes_togo) || in qib_user_sdma_queue_pkts()
929 if (check_add_overflow(pktsize, tidsmsize, &sz)) { in qib_user_sdma_queue_pkts()
940 if (check_add_overflow(n, ARRAY_SIZE(pkt->addr), in qib_user_sdma_queue_pkts()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dmlx5_core.h164 if (check_add_overflow((int)fixed, inlen, &inlen)) { in mlx5_flexible_inlen()
/linux-6.1.9/drivers/misc/mei/
Dinterrupt.c375 if (check_add_overflow((u32)sizeof(*meta_hdr), in mei_irq_read_handler()
/linux-6.1.9/drivers/vfio/pci/mlx5/
Dmain.c282 check_add_overflow((loff_t)len, *pos, &requested_length)) in mlx5vf_resume_write()
/linux-6.1.9/drivers/gpu/drm/tegra/
Dsubmit.c374 if (check_add_overflow(*offset, cmd->words, &next_offset)) { in submit_job_add_gather()
/linux-6.1.9/mm/
Dmmu_notifier.c927 check_add_overflow(start, length - 1, in __mmu_interval_notifier_insert()
/linux-6.1.9/drivers/vfio/
Dvfio_main.c1353 if (check_add_overflow(range.iova, range.length, &iova_end) || in vfio_ioctl_device_feature_logging_start()
1440 if (check_add_overflow(report.iova, report.length, &iova_end) || in vfio_ioctl_device_feature_logging_report()
/linux-6.1.9/drivers/base/
Ddevres.c100 if (unlikely(check_add_overflow(sizeof(struct devres), in check_dr_size()
/linux-6.1.9/fs/btrfs/
Dtree-checker.c305 if (unlikely(check_add_overflow(btrfs_file_extent_num_bytes(leaf, fi), in check_extent_data_item()
836 if (unlikely(check_add_overflow(logical, length, &chunk_end))) { in btrfs_check_chunk_valid()
/linux-6.1.9/drivers/acpi/
Dproperty.c401 check_add_overflow(sizeof(*props) + sizeof(*package), alloc_size, in acpi_data_add_buffer_props()
/linux-6.1.9/drivers/vfio/pci/hisilicon/
Dhisi_acc_vfio_pci.c715 check_add_overflow((loff_t)len, *pos, &requested_length)) in hisi_acc_vf_resume_write()
/linux-6.1.9/Documentation/process/
Ddeprecated.rst109 as well as the related check_mul_overflow(), check_add_overflow(),
/linux-6.1.9/Documentation/translations/it_IT/process/
Ddeprecated.rst118 anche le funzioni della famiglia check_mul_overflow(), check_add_overflow(),

12