Home
last modified time | relevance | path

Searched refs:S16_MAX (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/lib/
Dtest_overflow.c146 {0, S16_MAX, S16_MAX, -S16_MAX, 0, false, false, false},
147 {S16_MAX, 0, S16_MAX, S16_MAX, 0, false, false, false},
151 {-1, S16_MIN, S16_MAX, S16_MAX, S16_MIN, true, false, true},
152 {S16_MIN, -1, S16_MAX, -S16_MAX, S16_MIN, true, false, true},
153 {-1, S16_MAX, S16_MAX-1, S16_MIN, -S16_MAX, false, false, false},
154 {S16_MAX, -1, S16_MAX-1, S16_MIN, -S16_MAX, false, true, false},
155 {-1, -S16_MAX, S16_MIN, S16_MAX-1, S16_MAX, false, false, false},
156 {-S16_MAX, -1, S16_MIN, S16_MIN+2, S16_MAX, false, false, false},
158 {1, S16_MIN, -S16_MAX, -S16_MAX, S16_MIN, false, true, false},
159 {S16_MIN, 1, -S16_MAX, S16_MAX, S16_MIN, false, true, false},
[all …]
Dnlattr.c233 range->max = S16_MAX; in nla_get_range_signed()
/kernel/linux/linux-5.10/include/linux/
Dlimits.h16 #define S16_MAX ((s16)(U16_MAX >> 1)) macro
17 #define S16_MIN ((s16)(-S16_MAX - 1))
/kernel/linux/linux-5.10/net/ethtool/
Dbitset.h6 #define ETHNL_MAX_BITSET_SIZE S16_MAX
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_object_blt.c69 GEM_BUG_ON(size >> PAGE_SHIFT > S16_MAX); in intel_emit_vma_fill_blt()
291 GEM_BUG_ON(size >> PAGE_SHIFT > S16_MAX); in intel_emit_vma_copy_blt()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dmodule.c114 if (sval < S16_MIN || sval > S16_MAX) in reloc_data()
/kernel/linux/linux-5.10/arch/mips/net/
Debpf_jit.c411 if (insn->imm >= S16_MIN && insn->imm <= S16_MAX) { in gen_imm_to_reg()
434 upper_bound = S16_MAX; in gen_imm_insn()
439 lower_bound = -(int)S16_MAX; in gen_imm_insn()
1214 if (t64s >= S16_MIN && t64s <= S16_MAX) { in build_one_insn()
/kernel/linux/linux-5.10/sound/soc/atmel/
Datmel-pdmic.c47 #define PDMIC_OFFSET_MAX_VAL S16_MAX
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c745 if ((temp / 1000) > S16_MAX) { in iwl_mvm_tzone_set_trip_temp()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_client_blt.c32 const u32 max_block_size = S16_MAX * PAGE_SIZE; in __igt_client_fill()
/kernel/linux/linux-5.10/drivers/iio/temperature/
Dmlx90632.c422 if (read > S16_MAX || read < S16_MIN) in mlx90632_read_object_raw_extended()
/kernel/linux/linux-5.10/kernel/bpf/
Dcore.c364 const s32 off_min = S16_MIN, off_max = S16_MAX; in bpf_adj_delta_to_off()
443 const u32 cnt_max = S16_MAX; in bpf_patch_insn_single()
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/
Dpmbus_core.c819 return (u16)clamp_val(val, S16_MIN, S16_MAX); in pmbus_data2reg_direct()
/kernel/linux/linux-5.10/drivers/hid/
Dwacom_sys.c276 field->logical_maximum = S16_MAX; in wacom_hid_usage_quirk()
/kernel/linux/linux-5.10/net/core/
Dfilter.c482 bool ldx_off_ok = offset <= S16_MAX; in convert_bpf_ld_abs()
687 const s32 off_min = S16_MIN, off_max = S16_MAX; \ in bpf_convert_filter()
Ddev.c2941 if (channel > S16_MAX) in netdev_set_sb_channel()
/kernel/linux/linux-5.10/drivers/md/
Dmd.c3557 sector - rdev->sb_start > S16_MAX) || in ppl_sector_store()