Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/gadget/
Du_f.h31 if (check_add_overflow(offset, size, \
48 if (check_add_overflow(offset, groupname##_##name##__sz,\
/kernel/linux/linux-5.10/tools/include/linux/
Doverflow.h49 #define check_add_overflow(a, b, d) ({ \ macro
187 #define check_add_overflow(a, b, d) \ macro
256 if (check_add_overflow(bytes, c, &bytes)) in __ab_c_size()
/kernel/linux/linux-5.10/include/linux/
Doverflow.h66 #define check_add_overflow(a, b, d) __must_check_overflow(({ \ macro
204 #define check_add_overflow(a, b, d) __must_check_overflow( \ macro
307 if (check_add_overflow(bytes, c, &bytes)) in __ab_c_size()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_managed.c92 if (unlikely(check_add_overflow(sizeof(*dr), size, &tot_size))) in alloc_dr()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dib_core_uverbs.c301 if (check_add_overflow(xa_first, npages, &xa_last)) in rdma_user_mmap_entry_insert_range()
Dumem_odp.c67 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_utils.h135 if (check_add_overflow(sz, base, &sz)) in __check_struct_size()
/kernel/linux/linux-5.10/drivers/misc/mei/
Dinterrupt.c378 if (check_add_overflow((u32)sizeof(*meta_hdr), in mei_irq_read_handler()
/kernel/linux/linux-5.10/mm/
Dmmu_notifier.c934 check_add_overflow(start, length - 1, in __mmu_interval_notifier_insert()
Dgup.c2754 if (check_add_overflow(start, len, &end)) in internal_get_user_pages_fast()
Dvmalloc.c3039 if (check_add_overflow(size, off, &end_index) || in remap_vmalloc_range_partial()
/kernel/linux/linux-5.10/fs/btrfs/
Dtree-checker.c301 if (check_add_overflow(btrfs_file_extent_num_bytes(leaf, fi), in check_extent_data_item()
812 if (unlikely(check_add_overflow(logical, length, &chunk_end))) { in btrfs_check_chunk_valid()
Dextent_io.c5620 if (unlikely(check_add_overflow(start, len, &offset) || offset > eb->len)) in check_eb_range()
Dextent-tree.c5840 check_add_overflow(range->start, range->len, &range_end)) in btrfs_trim_fs()
/kernel/linux/linux-5.10/Documentation/translations/it_IT/process/
Ddeprecated.rst100 funzioni check_add_overflow() e check_mul_overflow().
/kernel/linux/linux-5.10/drivers/base/
Ddevres.c95 if (unlikely(check_add_overflow(sizeof(struct devres), in check_dr_size()
/kernel/linux/linux-5.10/Documentation/process/
Ddeprecated.rst94 for more details as well as the related check_add_overflow() and
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dodp.c821 if (check_add_overflow(io_virt - mr->mmkey.iova, in pagefault_mr()
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c3084 if (unlikely(check_add_overflow(buf_addr, (u64)len, &buf_end))) in __io_import_fixed()
4348 if (check_add_overflow((unsigned long)p->addr, size, &tmp_check)) in io_provide_buffers_prep()
8857 if (check_add_overflow(off, sq_array_size, &off)) in rings_size()
9135 if (check_add_overflow((unsigned long)iov->iov_base, acct_len, &tmp)) in io_buffer_validate()
10611 if (check_add_overflow(up->offset, nr_args, &tmp)) in __io_register_rsrc_update()