/linux/lib/ |
A D | test_overflow.c | 146 {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}, 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}, 161 {S16_MAX, 1, S16_MIN, S16_MAX-1, S16_MAX, true, false, false}, [all …]
|
A D | nlattr.c | 233 range->max = S16_MAX; in nla_get_range_signed()
|
A D | test_bpf.c | 483 int len = S16_MAX + 5; in __bpf_fill_max_jmp() 492 insns[i++] = BPF_JMP_IMM(jmp, R0, imm, S16_MAX); in __bpf_fill_max_jmp()
|
/linux/include/linux/ |
A D | limits.h | 16 #define S16_MAX ((s16)(U16_MAX >> 1)) macro 17 #define S16_MIN ((s16)(-S16_MAX - 1))
|
/linux/net/ethtool/ |
A D | bitset.h | 6 #define ETHNL_MAX_BITSET_SIZE S16_MAX
|
/linux/drivers/iio/temperature/ |
A D | tmp117.c | 91 off = clamp_t(int, val, S16_MIN, S16_MAX); in tmp117_write_raw()
|
A D | mlx90632.c | 422 if (read > S16_MAX || read < S16_MIN) in mlx90632_read_object_raw_extended()
|
/linux/arch/arm64/kernel/ |
A D | module.c | 118 if (sval < S16_MIN || sval > S16_MAX) in reloc_data()
|
/linux/sound/soc/atmel/ |
A D | atmel-pdmic.c | 47 #define PDMIC_OFFSET_MAX_VAL S16_MAX
|
/linux/drivers/iio/accel/ |
A D | adxl355_core.c | 531 calibbias = clamp_t(int, val, S16_MIN, S16_MAX); in adxl355_write_raw()
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_migrate.c | 499 GEM_BUG_ON(size >> PAGE_SHIFT > S16_MAX); in emit_clear()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | tt.c | 681 if ((temp / 1000) > S16_MAX) { in iwl_mvm_tzone_set_trip_temp()
|
/linux/drivers/net/ethernet/google/gve/ |
A 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()
|
A 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/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A D | clock.c | 283 if (delta < S16_MIN || delta > S16_MAX) { in mlx5_ptp_adjtime_real_time()
|
/linux/kernel/bpf/ |
A D | core.c | 360 const s32 off_min = S16_MIN, off_max = S16_MAX; in bpf_adj_delta_to_off() 446 const u32 cnt_max = S16_MAX; in bpf_patch_insn_single()
|
/linux/drivers/hwmon/pmbus/ |
A D | pmbus_core.c | 832 return (u16)clamp_val(val, S16_MIN, S16_MAX); in pmbus_data2reg_direct()
|
/linux/drivers/hid/ |
A D | wacom_sys.c | 276 field->logical_maximum = S16_MAX; in wacom_hid_usage_quirk()
|
/linux/net/core/ |
A D | filter.c | 483 bool ldx_off_ok = offset <= S16_MAX; in convert_bpf_ld_abs() 688 const s32 off_min = S16_MIN, off_max = S16_MAX; \ in bpf_convert_filter()
|
A D | dev.c | 2895 if (channel > S16_MAX) in netdev_set_sb_channel()
|
/linux/drivers/md/ |
A D | md.c | 3544 sector - rdev->sb_start > S16_MAX) || in ppl_sector_store()
|