Home
last modified time | relevance | path

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

/linux-5.19.10/include/vdso/
Dlimits.h6 #define SHRT_MAX ((short)(USHRT_MAX >> 1)) macro
7 #define SHRT_MIN ((short)(-SHRT_MAX - 1))
/linux-5.19.10/tools/testing/selftests/bpf/verifier/
Dstack_ptr.c130 BPF_ST_MEM(BPF_B, BPF_REG_1, SHRT_MAX, 42),
131 BPF_LDX_MEM(BPF_B, BPF_REG_0, BPF_REG_1, SHRT_MAX),
144 BPF_ST_MEM(BPF_B, BPF_REG_1, SHRT_MAX, 42),
145 BPF_LDX_MEM(BPF_B, BPF_REG_0, BPF_REG_1, SHRT_MAX),
/linux-5.19.10/fs/afs/
Dvl_rotate.c24 vc->ac.error = SHRT_MAX; in afs_begin_vlserver_operation()
106 case SHRT_MAX: in afs_select_vlserver()
Dfs_operation.c44 op->ac.error = SHRT_MAX; in afs_alloc_operation()
Drotate.c132 case SHRT_MAX: in afs_select_fileserver()
/linux-5.19.10/drivers/media/i2c/
Dccs-pll.c299 u16 best_pix_div = SHRT_MAX >> 1, best_div; in __ccs_pll_calculate_vt_tree()
359 if (best_pix_div == SHRT_MAX >> 1) in __ccs_pll_calculate_vt_tree()
446 u16 best_pix_div = SHRT_MAX >> 1; in ccs_pll_calculate_vt()
558 if (best_pix_div < SHRT_MAX >> 1) in ccs_pll_calculate_vt()
/linux-5.19.10/drivers/hwmon/
Dina2xx.c351 return clamp_val(val, SHRT_MIN, SHRT_MAX); in ina226_alert_to_reg()
356 return clamp_val(val, 0, SHRT_MAX); in ina226_alert_to_reg()
/linux-5.19.10/drivers/usb/serial/
Dcyberjack.c276 if (old_rdtodo > SHRT_MAX - size) { in cyberjack_read_int_callback()
/linux-5.19.10/drivers/clk/imx/
Dclk-pll14xx.c33 #define KDIV_MAX SHRT_MAX
/linux-5.19.10/net/sched/
Dsch_sfq.c645 if (scaled <= 0 || scaled > SHRT_MAX) in sfq_change()
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c66 if (resp < SHRT_MAX) { in hclge_gen_resp_to_vf()
/linux-5.19.10/tools/lib/bpf/
Drelo_core.c976 if (new_val > SHRT_MAX) { in bpf_core_patch_insn()
/linux-5.19.10/drivers/xen/events/
Devents_base.c1617 if (info->refcnt <= 0 || info->refcnt == SHRT_MAX) in evtchn_get()
/linux-5.19.10/include/linux/
Dkvm_host.h663 #define KVM_MEM_SLOTS_NUM SHRT_MAX
/linux-5.19.10/lib/
Dvsprintf.c3505 field_width = SHRT_MAX; in vsscanf()
/linux-5.19.10/drivers/md/bcache/
Dbtree.c1798 bch_btree_op_init(&op, SHRT_MAX); in bch_btree_gc()
/linux-5.19.10/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c2102 (sme->bg_scan_period <= SHRT_MAX)) in qtnf_cmd_send_connect()
/linux-5.19.10/virt/kvm/
Dkvm_main.c1109 BUILD_BUG_ON(KVM_MEM_SLOTS_NUM > SHRT_MAX); in kvm_create_vm()