Home
last modified time | relevance | path

Searched refs:check_sub_overflow (Results 1 – 14 of 14) sorted by relevance

/linux/include/linux/
H A Doverflow.h107 #define check_sub_overflow(a, b, d) \ macro
375 check_sub_overflow(minuend, subtrahend, &bytes)) in size_sub()
/linux/tools/include/linux/
H A Doverflow.h53 #define check_sub_overflow(a, b, d) ({ \ macro
/linux/net/xdp/
H A Dxsk_queue.h158 if (check_sub_overflow(desc->addr, pool->tx_metadata_len, &addr)) in xp_aligned_validate_desc()
195 if (check_sub_overflow(xp_unaligned_add_offset_to_addr(desc->addr), in xp_unaligned_validate_desc()
/linux/drivers/vfio/pci/nvgrace-gpu/
H A Dmain.c498 if (check_sub_overflow(vma->vm_end, vma->vm_start, &req_len) ||
1185 if (check_sub_overflow(memlength, resmem_size, in nvgrace_gpu_probe()
1224 (check_sub_overflow(memlength, nvdev->usemem.memlength, in nvgrace_gpu_probe()
/linux/drivers/gpu/drm/scheduler/
H A Dsched_main.c91 WARN_ON(check_sub_overflow(sched->credit_limit,
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dcalib.c63 if (check_sub_overflow(len, sizeof(*cmd), &len)) in iwl_calib_set()
/linux/drivers/input/misc/
H A Duinput.c434 if (!check_sub_overflow(max, min, &range) && abs->flat > range) { in uinput_validate_absinfo()
/linux/include/net/
H A Dsch_generic.h701 if (check_sub_overflow(cl->filter_cnt, 1, &res))
/linux/Documentation/translations/it_IT/process/
H A Ddeprecated.rst119 check_sub_overflow(), e check_shl_overflow().
/linux/Documentation/translations/sp_SP/process/
H A Ddeprecated.rst117 check_add_overflow(), check_sub_overflow(), y check_shl_overflow().
/linux/drivers/infiniband/core/
H A Duser_mad.c592 if (check_sub_overflow(count, hdr_size(file) + hdr_len, &data_len)) { in ib_umad_write()
/linux/kernel/bpf/
H A Dverifier.c
/linux/drivers/accel/qaic/
H A Dqaic_data.c628 if (check_sub_overflow(vma->vm_end, remap_start, &length)) in qaic_gem_object_mmap()
/linux/fs/smb/client/
H A Dsmb2pdu.c2491 if (check_sub_overflow(rem, off, &rem)) in add_lease_context()