/linux-6.6.21/lib/ |
D | overflow_kunit.c | 83 {0, 1, 1, U16_MAX, 0, false, true, false}, 85 {0, U16_MAX, U16_MAX, 1, 0, false, true, false}, 86 {U16_MAX, 0, U16_MAX, U16_MAX, 0, false, false, false}, 87 {1, U16_MAX, 0, 2, U16_MAX, true, true, false}, 88 {U16_MAX, 1, 0, U16_MAX-1, U16_MAX, true, false, false}, 89 {U16_MAX, U16_MAX, U16_MAX-1, 0, 1, true, false, true}, 91 {U16_MAX, U16_MAX-1, U16_MAX-2, 1, 2, true, false, true}, 92 {U16_MAX-1, U16_MAX, U16_MAX-2, U16_MAX, 2, true, true, true}, 788 TEST_OVERFLOWS_TYPE(u16, u8, U16_MAX, true); in overflows_type_test() 791 TEST_OVERFLOWS_TYPE(u16, s8, U16_MAX, true); in overflows_type_test() [all …]
|
/linux-6.6.21/include/net/netfilter/ |
D | nf_tables_ipv6.h | 16 if (protohdr < 0 || thoff > U16_MAX) { in nft_set_pktinfo_ipv6() 50 if (protohdr < 0 || thoff > U16_MAX) in __nft_set_pktinfo_ipv6_validate() 96 if (protohdr < 0 || thoff > U16_MAX) in nft_set_pktinfo_ipv6_ingress()
|
/linux-6.6.21/include/linux/ |
D | limits.h | 18 #define U16_MAX ((u16)~0U) macro 19 #define S16_MAX ((s16)(U16_MAX >> 1))
|
D | greybus.h | 54 #define CPORT_ID_BAD U16_MAX
|
D | bpf_local_storage.h | 106 (U16_MAX - sizeof(struct bpf_local_storage_elem)))
|
/linux-6.6.21/drivers/net/dsa/sja1105/ |
D | sja1105_flower.c | 204 u16 vid = U16_MAX; in sja1105_flower_parse_key() 205 u16 pcp = U16_MAX; in sja1105_flower_parse_key() 277 if (is_bcast_dmac && vid == U16_MAX && pcp == U16_MAX) { in sja1105_flower_parse_key() 281 if (dmac == U64_MAX && vid == U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key() 286 if (dmac != U64_MAX && vid != U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key()
|
/linux-6.6.21/drivers/net/ethernet/intel/iavf/ |
D | iavf_fdir.c | 40 if (fltr->eth_mask.etype && fltr->eth_mask.etype != htons(U16_MAX)) in iavf_validate_fdir_fltr_masks() 74 if (fltr->ip_mask.src_port && fltr->ip_mask.src_port != htons(U16_MAX)) in iavf_validate_fdir_fltr_masks() 77 if (fltr->ip_mask.dst_port && fltr->ip_mask.dst_port != htons(U16_MAX)) in iavf_validate_fdir_fltr_masks() 402 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_tcp_hdr() 407 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { in iavf_fill_fdir_tcp_hdr() 431 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_udp_hdr() 436 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { in iavf_fill_fdir_udp_hdr() 463 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_sctp_hdr() 468 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { in iavf_fill_fdir_sctp_hdr() 573 if (fltr->eth_mask.etype == htons(U16_MAX)) { in iavf_fill_fdir_eth_hdr()
|
/linux-6.6.21/drivers/counter/ |
D | i8254.c | 135 *ceiling = (priv->preset[count->id] == 0) ? U16_MAX : priv->preset[count->id]; in i8254_count_ceiling_read() 142 *ceiling = U16_MAX - 1; in i8254_count_ceiling_read() 147 *ceiling = U16_MAX; in i8254_count_ceiling_read() 275 if (preset > U16_MAX) in i8254_count_preset_write()
|
/linux-6.6.21/drivers/virt/nitro_enclaves/ |
D | ne_misc_dev.h | 93 NE_STATE_STOPPED = U16_MAX,
|
/linux-6.6.21/include/uapi/linux/ |
D | ioam6.h | 15 #define IOAM6_U16_UNAVAILABLE U16_MAX
|
/linux-6.6.21/drivers/iio/gyro/ |
D | mpu3050-core.c | 318 *val2 = U16_MAX; in mpu3050_read_raw() 389 U16_MAX); in mpu3050_write_raw() 392 U16_MAX); in mpu3050_write_raw() 395 U16_MAX); in mpu3050_write_raw() 398 U16_MAX); in mpu3050_write_raw()
|
/linux-6.6.21/drivers/gpu/drm/vmwgfx/device_include/ |
D | vm_basic_types.h | 50 #define MAX_UINT16 U16_MAX
|
/linux-6.6.21/drivers/net/ipa/ |
D | ipa_cmd.c | 523 WARN_ON(size > U16_MAX); in ipa_cmd_dma_shared_mem_add() 524 WARN_ON(offset > U16_MAX || ipa->mem_offset > U16_MAX - offset); in ipa_cmd_dma_shared_mem_add()
|
/linux-6.6.21/drivers/input/misc/ |
D | iqs7222.c | 513 .sldr_res = U16_MAX, 570 .sldr_res = U16_MAX, 2189 if (val > U16_MAX) { in iqs7222_parse_chan() 2381 reg_offset = dev_desc->sldr_res < U16_MAX ? 0 : 1; in iqs7222_parse_sldr() 2439 if (val > (reg_offset ? U16_MAX : U8_MAX * 4)) { in iqs7222_parse_sldr() 2682 if (prop->max_x >= U16_MAX || prop->max_y >= U16_MAX) { in iqs7222_parse_tpad() 2747 sys_setup[dev_desc->allow_offset] = U16_MAX; in iqs7222_parse_all() 2871 if (dev_desc->sldr_res == U16_MAX) in iqs7222_report() 2903 tpad_pos_x < U16_MAX); in iqs7222_report() 2905 if (tpad_pos_x < U16_MAX) in iqs7222_report()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/ |
D | ccm.h | 99 DECLARE_BITMAP(tag_allocator, U16_MAX + 1);
|
/linux-6.6.21/drivers/net/wireless/ath/ath9k/ |
D | rng.c | 107 (atomic_inc_return(&serial) - 1) & U16_MAX); in ath9k_rng_start()
|
/linux-6.6.21/drivers/iio/light/ |
D | as73211.c | 615 scan.chan[1] = cpu_to_le16(U16_MAX); in as73211_trigger_handler() 616 scan.chan[2] = cpu_to_le16(U16_MAX); in as73211_trigger_handler() 617 scan.chan[3] = cpu_to_le16(U16_MAX); in as73211_trigger_handler()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/ |
D | tunnel_conf.c | 417 ext->vlan_tpid = cpu_to_be16(U16_MAX); in nfp_tun_cleanup_nn_entries() 418 ext->vlan_tci = cpu_to_be16(U16_MAX); in nfp_tun_cleanup_nn_entries() 452 ext->vlan_tpid = cpu_to_be16(U16_MAX); in nfp_tun_unlink_and_update_nn_entries() 453 ext->vlan_tci = cpu_to_be16(U16_MAX); in nfp_tun_unlink_and_update_nn_entries() 530 ext->vlan_tpid = cpu_to_be16(U16_MAX); in nfp_tun_write_neigh() 531 ext->vlan_tci = cpu_to_be16(U16_MAX); in nfp_tun_write_neigh()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_fixed.h | 29 WARN_ON(val > U16_MAX); in u32_to_fixed16()
|
/linux-6.6.21/drivers/net/can/dev/ |
D | dev.c | 486 if (term > U16_MAX) { in can_get_termination() 488 term, U16_MAX); in can_get_termination()
|
/linux-6.6.21/include/linux/greybus/ |
D | operation.h | 45 #define GB_OPERATION_MESSAGE_SIZE_MAX U16_MAX
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/abm/ |
D | ctrl.c | 396 abm->num_bands > U16_MAX || abm->num_prios > U16_MAX || in nfp_abm_ctrl_find_addrs()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | module.c | 198 if (sval < 0 || sval > U16_MAX) in reloc_data() 276 if (imm > U16_MAX) in reloc_insn_movw()
|
/linux-6.6.21/drivers/hid/ |
D | hid-microsoft.c | 319 ms->strong = ((u32) effect->u.rumble.strong_magnitude * 100) / U16_MAX; in ms_play_effect() 320 ms->weak = ((u32) effect->u.rumble.weak_magnitude * 100) / U16_MAX; in ms_play_effect()
|
/linux-6.6.21/drivers/crypto/ |
D | sa2ul.h | 166 #define SA_MAX_DATA_SZ U16_MAX
|