Home
last modified time | relevance | path

Searched refs:USHRT_MAX (Results 1 – 25 of 113) sorted by relevance

12345

/linux-6.6.21/include/vdso/
Dlimits.h5 #define USHRT_MAX ((unsigned short)~0U) macro
6 #define SHRT_MAX ((short)(USHRT_MAX >> 1))
/linux-6.6.21/include/net/
Dipv6_frag.h13 __IP6_DEFRAG_CONNTRACK_IN = IP6_DEFRAG_CONNTRACK_IN + USHRT_MAX,
15 __IP6_DEFRAG_CONNTRACK_OUT = IP6_DEFRAG_CONNTRACK_OUT + USHRT_MAX,
17 __IP6_DEFRAG_CONNTRACK_BRIDGE_IN = IP6_DEFRAG_CONNTRACK_BRIDGE_IN + USHRT_MAX,
Dip.h693 __IP_DEFRAG_CONNTRACK_IN_END = IP_DEFRAG_CONNTRACK_IN + USHRT_MAX,
695 __IP_DEFRAG_CONNTRACK_OUT_END = IP_DEFRAG_CONNTRACK_OUT + USHRT_MAX,
697 __IP_DEFRAG_CONNTRACK_BRIDGE_IN = IP_DEFRAG_CONNTRACK_BRIDGE_IN + USHRT_MAX,
/linux-6.6.21/arch/arm/mach-omap1/
Dgpio15xx.c34 .revision = USHRT_MAX,
75 .revision = USHRT_MAX,
Dgpio16xx.c41 .revision = USHRT_MAX,
/linux-6.6.21/drivers/staging/media/atomisp/pci/hive_isp_css_include/
Dplatform_support.h28 #define UINT16_MAX USHRT_MAX
/linux-6.6.21/arch/arm64/kvm/hyp/include/nvhe/
Dgfp.h10 #define HYP_NO_ORDER USHRT_MAX
Dmemory.h54 BUG_ON(p->refcount == USHRT_MAX); in hyp_page_ref_inc()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmacsec_fs.h10 #define MLX5_MACEC_RX_FS_ID_MAX USHRT_MAX /* Must be power of two */
/linux-6.6.21/arch/nios2/kernel/
Dtime.c299 timer_writew(&nios2_cs.timer, USHRT_MAX, ALTERA_TIMER_PERIODL_REG); in nios2_clocksource_init()
300 timer_writew(&nios2_cs.timer, USHRT_MAX, ALTERA_TIMER_PERIODH_REG); in nios2_clocksource_init()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Di9xx_wm.c885 return USHRT_MAX; in g4x_compute_wm()
926 return min_t(unsigned int, wm, USHRT_MAX); in g4x_compute_wm()
1010 wm = USHRT_MAX; in g4x_raw_plane_wm_compute()
1017 dirty |= g4x_raw_plane_wm_set(crtc_state, level, plane_id, USHRT_MAX); in g4x_raw_plane_wm_compute()
1020 dirty |= g4x_raw_fbc_wm_set(crtc_state, level, USHRT_MAX); in g4x_raw_plane_wm_compute()
1070 wm_state->wm.plane[plane_id] = USHRT_MAX; in g4x_invalidate_wms()
1075 wm_state->sr.cursor = USHRT_MAX; in g4x_invalidate_wms()
1076 wm_state->sr.plane = USHRT_MAX; in g4x_invalidate_wms()
1077 wm_state->sr.fbc = USHRT_MAX; in g4x_invalidate_wms()
1082 wm_state->hpll.cursor = USHRT_MAX; in g4x_invalidate_wms()
[all …]
/linux-6.6.21/ipc/
Dmsg.c338 if (in->msg_cbytes > USHRT_MAX) in copy_msqid_to_user()
339 out.msg_cbytes = USHRT_MAX; in copy_msqid_to_user()
344 if (in->msg_qnum > USHRT_MAX) in copy_msqid_to_user()
345 out.msg_qnum = USHRT_MAX; in copy_msqid_to_user()
349 if (in->msg_qbytes > USHRT_MAX) in copy_msqid_to_user()
350 out.msg_qbytes = USHRT_MAX; in copy_msqid_to_user()
/linux-6.6.21/fs/ocfs2/
Dblockcheck.c364 BUG_ON(ecc > USHRT_MAX); in ocfs2_block_check_compute()
470 BUG_ON(ecc > USHRT_MAX); in ocfs2_block_check_compute_bhs()
/linux-6.6.21/drivers/md/bcache/
Dextents.c599 if (KEY_SIZE(l) + KEY_SIZE(r) > USHRT_MAX) { in bch_extent_merge()
600 SET_KEY_OFFSET(l, KEY_OFFSET(l) + USHRT_MAX - KEY_SIZE(l)); in bch_extent_merge()
601 SET_KEY_SIZE(l, USHRT_MAX); in bch_extent_merge()
/linux-6.6.21/sound/soc/meson/
Daiu-fifo-spdif.c41 .period_bytes_max = AIU_FIFO_SPDIF_BLOCK * USHRT_MAX,
Daiu-fifo-i2s.c39 .period_bytes_max = AIU_FIFO_I2S_BLOCK * USHRT_MAX,
/linux-6.6.21/drivers/net/wireless/mediatek/mt7601u/
Dusb.c131 WARN_ONCE(offset > USHRT_MAX, "read high off:%08x", offset); in __mt7601u_rr()
183 WARN_ONCE(offset > USHRT_MAX, "write high off:%08x", offset); in mt7601u_wr()
/linux-6.6.21/drivers/net/caif/
Dcaif_virtio.c267 if (cfv->ctx.head != USHRT_MAX) { in cfv_rx_poll()
271 cfv->ctx.head = USHRT_MAX; in cfv_rx_poll()
716 cfv->ctx.head = USHRT_MAX; in cfv_probe()
/linux-6.6.21/include/linux/
Drcupdate.h38 #define USHORT_CMP_GE(a, b) (USHRT_MAX / 2 >= (unsigned short)((a) - (b)))
39 #define USHORT_CMP_LT(a, b) (USHRT_MAX / 2 < (unsigned short)((a) - (b)))
/linux-6.6.21/net/openvswitch/
Ddatapath.h23 #define DP_MAX_PORTS USHRT_MAX
/linux-6.6.21/tools/testing/selftests/net/
Dipv6_flowlabel_mgr.c136 if (setuid(USHRT_MAX)) in run_tests()
/linux-6.6.21/drivers/net/
Dbareudp.c319 bareudp->sport_min, USHRT_MAX, in bareudp_xmit_skb()
381 bareudp->sport_min, USHRT_MAX, in bareudp6_xmit_skb()
512 USHRT_MAX, true); in bareudp_fill_metadata_dst()
/linux-6.6.21/net/core/
Dnetprio_cgroup.c32 #define NETPRIO_ID_MAX USHRT_MAX
/linux-6.6.21/net/netfilter/
Dnf_nat_helper.c208 range = USHRT_MAX - port; in nf_nat_exp_find_port()
/linux-6.6.21/net/hsr/
Dhsr_main.h31 #define HSR_SEQNR_START (USHRT_MAX - 1024)

12345