Home
last modified time | relevance | path

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

/linux-6.6.21/include/vdso/ !
Dlimits.h6 #define SHRT_MAX ((short)(USHRT_MAX >> 1)) macro
7 #define SHRT_MIN ((short)(-SHRT_MAX - 1))
/linux-6.6.21/tools/testing/selftests/bpf/progs/ !
Dverifier_stack_ptr.c197 __imm_const(shrt_max, SHRT_MAX) in to_stack_check_high_6()
217 __imm_const(shrt_max, SHRT_MAX) in to_stack_check_high_7()
/linux-6.6.21/fs/afs/ !
Dvl_rotate.c24 vc->ac.error = SHRT_MAX; in afs_begin_vlserver_operation()
112 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-6.6.21/drivers/media/i2c/ !
Dccs-pll.c299 u16 best_pix_div = SHRT_MAX >> 1, best_div = lim_bk->max_sys_clk_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-6.6.21/drivers/hwmon/ !
Dina2xx.c350 return clamp_val(val, SHRT_MIN, SHRT_MAX); in ina226_alert_to_reg()
355 return clamp_val(val, 0, SHRT_MAX); in ina226_alert_to_reg()
/linux-6.6.21/drivers/usb/serial/ !
Dcyberjack.c276 if (old_rdtodo > SHRT_MAX - size) { in cyberjack_read_int_callback()
/linux-6.6.21/drivers/gpu/drm/msm/adreno/ !
Dadreno_gpu.h130 #define ADRENO_SPEEDBINS(tbl...) (struct adreno_speedbin[]) { tbl {SHRT_MAX, 0} }
Da6xx_gpu.c2208 for (int i = 0; info->speedbins[i].fuse != SHRT_MAX; i++) in fuse_to_supp_hw()
/linux-6.6.21/drivers/clk/imx/ !
Dclk-pll14xx.c33 #define KDIV_MAX SHRT_MAX
/linux-6.6.21/net/sched/ !
Dsch_sfq.c648 if (scaled <= 0 || scaled > SHRT_MAX) in sfq_change()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/ !
Dhclge_mbx.c66 if (resp < SHRT_MAX) { in hclge_gen_resp_to_vf()
/linux-6.6.21/tools/lib/bpf/ !
Drelo_core.c1074 if (new_val > SHRT_MAX) { in bpf_core_patch_insn()
/linux-6.6.21/drivers/xen/events/ !
Devents_base.c1608 if (info->refcnt <= 0 || info->refcnt == SHRT_MAX) in evtchn_get()
/linux-6.6.21/include/linux/ !
Dkvm_host.h677 #define KVM_MEM_SLOTS_NUM SHRT_MAX
/linux-6.6.21/drivers/md/bcache/ !
Dbtree.c1830 bch_btree_op_init(&op, SHRT_MAX); in bch_btree_gc()
/linux-6.6.21/lib/ !
Dvsprintf.c3546 field_width = SHRT_MAX; in vsscanf()
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/ !
Dcommands.c2106 (sme->bg_scan_period <= SHRT_MAX)) in qtnf_cmd_send_connect()
/linux-6.6.21/virt/kvm/ !
Dkvm_main.c1181 BUILD_BUG_ON(KVM_MEM_SLOTS_NUM > SHRT_MAX); in kvm_create_vm()