Home
last modified time | relevance | path

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

/linux-5.10/drivers/usb/gadget/
Du_f.h31 if (check_add_overflow(offset, size, \
48 if (check_add_overflow(offset, groupname##_##name##__sz,\
/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()
/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()
/linux-5.10/drivers/gpu/drm/
Ddrm_managed.c92 if (unlikely(check_add_overflow(sizeof(*dr), size, &tot_size))) in alloc_dr()
/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()
/linux-5.10/drivers/gpu/drm/i915/
Di915_utils.h135 if (check_add_overflow(sz, base, &sz)) in __check_struct_size()
/linux-5.10/mm/
Dmmu_notifier.c911 check_add_overflow(start, length - 1, in __mmu_interval_notifier_insert()
Dvmalloc.c3035 if (check_add_overflow(size, off, &end_index) || in remap_vmalloc_range_partial()
/linux-5.10/Documentation/translations/it_IT/process/
Ddeprecated.rst100 funzioni check_add_overflow() e check_mul_overflow().
/linux-5.10/drivers/base/
Ddevres.c95 if (unlikely(check_add_overflow(sizeof(struct devres), in check_dr_size()
/linux-5.10/Documentation/process/
Ddeprecated.rst94 for more details as well as the related check_add_overflow() and
/linux-5.10/fs/btrfs/
Dtree-checker.c301 if (check_add_overflow(btrfs_file_extent_num_bytes(leaf, fi), in check_extent_data_item()
Dextent_io.c5611 if (unlikely(check_add_overflow(start, len, &offset) || offset > eb->len)) in check_eb_range()
Dextent-tree.c5917 check_add_overflow(range->start, range->len, &range_end)) in btrfs_trim_fs()
/linux-5.10/drivers/infiniband/hw/mlx5/
Dodp.c821 if (check_add_overflow(io_virt - mr->mmkey.iova, in pagefault_mr()
/linux-5.10/fs/
Dio_uring.c7590 if (check_add_overflow(up->offset, nr_args, &done)) in __io_sqe_files_update()
7960 if (check_add_overflow(off, sq_array_size, &off)) in rings_size()