/linux-5.19.10/lib/ |
D | overflow_kunit.c | 150 {0, S16_MAX, S16_MAX, -S16_MAX, 0, false, false, false}, 151 {S16_MAX, 0, S16_MAX, S16_MAX, 0, false, false, false}, 155 {-1, S16_MIN, S16_MAX, S16_MAX, S16_MIN, true, false, true}, 156 {S16_MIN, -1, S16_MAX, -S16_MAX, S16_MIN, true, false, true}, 157 {-1, S16_MAX, S16_MAX-1, S16_MIN, -S16_MAX, false, false, false}, 158 {S16_MAX, -1, S16_MAX-1, S16_MIN, -S16_MAX, false, true, false}, 159 {-1, -S16_MAX, S16_MIN, S16_MAX-1, S16_MAX, false, false, false}, 160 {-S16_MAX, -1, S16_MIN, S16_MIN+2, S16_MAX, false, false, false}, 162 {1, S16_MIN, -S16_MAX, -S16_MAX, S16_MIN, false, true, false}, 163 {S16_MIN, 1, -S16_MAX, S16_MAX, S16_MIN, false, true, false}, [all …]
|
D | nlattr.c | 233 range->max = S16_MAX; in nla_get_range_signed()
|
D | test_bpf.c | 484 int len = S16_MAX + 5; in __bpf_fill_max_jmp() 493 insns[i++] = BPF_JMP_IMM(jmp, R0, imm, S16_MAX); in __bpf_fill_max_jmp()
|
/linux-5.19.10/include/linux/ |
D | limits.h | 16 #define S16_MAX ((s16)(U16_MAX >> 1)) macro 17 #define S16_MIN ((s16)(-S16_MAX - 1))
|
/linux-5.19.10/net/ethtool/ |
D | bitset.h | 6 #define ETHNL_MAX_BITSET_SIZE S16_MAX
|
/linux-5.19.10/drivers/hwmon/ |
D | ina238.c | 230 regval = clamp_val(regval, S16_MIN, S16_MAX); in ina238_write_in() 246 regval = clamp_val(regval, 0, S16_MAX); in ina238_write_in() 401 regval = clamp_val(regval, S16_MIN, S16_MAX) & 0xfff0; in ina238_write_temp()
|
/linux-5.19.10/drivers/iio/temperature/ |
D | tmp117.c | 91 off = clamp_t(int, val, S16_MIN, S16_MAX); in tmp117_write_raw()
|
D | mlx90632.c | 422 if (read > S16_MAX || read < S16_MIN) in mlx90632_read_object_raw_extended()
|
/linux-5.19.10/arch/arm64/kernel/ |
D | module.c | 119 if (sval < S16_MIN || sval > S16_MAX) in reloc_data()
|
/linux-5.19.10/drivers/iio/accel/ |
D | adxl355_core.c | 530 calibbias = clamp_t(int, val, S16_MIN, S16_MAX); in adxl355_write_raw()
|
/linux-5.19.10/sound/soc/atmel/ |
D | atmel-pdmic.c | 47 #define PDMIC_OFFSET_MAX_VAL S16_MAX
|
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tt.c | 686 if ((temp / 1000) > S16_MAX) { in iwl_mvm_tzone_set_trip_temp()
|
/linux-5.19.10/drivers/net/ethernet/google/gve/ |
D | gve_rx_dqo.c | 246 rx->dqo.num_buf_states = min_t(s16, S16_MAX, buffer_queue_slots * 4); in gve_rx_alloc_ring_dqo()
|
D | gve_tx_dqo.c | 178 tx->dqo.num_pending_packets = min_t(int, num_pending_packets, S16_MAX); in gve_tx_alloc_ring_dqo()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 283 if (delta < S16_MIN || delta > S16_MAX) { in mlx5_ptp_adjtime_real_time()
|
/linux-5.19.10/drivers/gpu/drm/i915/gt/ |
D | intel_migrate.c | 918 GEM_BUG_ON(size >> PAGE_SHIFT > S16_MAX); in emit_clear()
|
/linux-5.19.10/kernel/bpf/ |
D | core.c | 364 const s32 off_min = S16_MIN, off_max = S16_MAX; in bpf_adj_delta_to_off() 450 const u32 cnt_max = S16_MAX; in bpf_patch_insn_single()
|
/linux-5.19.10/drivers/hid/ |
D | wacom_sys.c | 276 field->logical_maximum = S16_MAX; in wacom_hid_usage_quirk()
|
/linux-5.19.10/drivers/hwmon/pmbus/ |
D | pmbus_core.c | 852 return (u16)clamp_val(val, S16_MIN, S16_MAX); in pmbus_data2reg_direct()
|
/linux-5.19.10/net/core/ |
D | filter.c | 484 bool ldx_off_ok = offset <= S16_MAX; in convert_bpf_ld_abs() 689 const s32 off_min = S16_MIN, off_max = S16_MAX; \ in bpf_convert_filter()
|
D | dev.c | 2866 if (channel > S16_MAX) in netdev_set_sb_channel()
|
/linux-5.19.10/drivers/md/ |
D | md.c | 3540 sector - rdev->sb_start > S16_MAX) || in ppl_sector_store()
|