Home
last modified time | relevance | path

Searched refs:upper_bound (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dint-attributes.c46 in_val > integer_data->upper_bound) in validate_integer_input()
77 ATTRIBUTE_N_PROPERTY_SHOW(upper_bound, integer);
79 __ATTR_RO(upper_bound);
255 integer_data->upper_bound = int_value; in hp_populate_integer_elements_from_package()
349 &integer_data->upper_bound); in hp_populate_integer_elements_from_buffer()
H A Dbioscfg.h147 u32 upper_bound; member
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_init_fw_funcs.c520 u32 upper_bound = QM_GLOBAL_RL_UPPER_BOUND(QM_MAX_LINK_SPEED) | in qed_global_rl_rt_init() local
534 upper_bound); in qed_global_rl_rt_init()
577 u32 upper_bound, inc_val; in qed_vport_rl_rt_init() local
579 upper_bound = in qed_vport_rl_rt_init()
587 if (inc_val > upper_bound) { in qed_vport_rl_rt_init()
596 upper_bound | (u32)QM_RL_CRD_REG_SIGN_BIT); in qed_vport_rl_rt_init()
1106 u32 inc_val, upper_bound; in qed_init_global_rl() local
1108 upper_bound = in qed_init_global_rl()
1113 if (inc_val > upper_bound) { in qed_init_global_rl()
1123 upper_bound | (u32)QM_RL_CRD_REG_SIGN_BIT); in qed_init_global_rl()
/linux/include/rdma/
H A Duverbs_ioctl.h891 size_t idx, s64 lower_bound, u64 upper_bound,
895 size_t idx, u64 upper_bound, u64 *def_val);
928 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const() argument
942 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const_signed() argument
950 size_t idx, u64 upper_bound, u64 *def_val) in _uverbs_get_const_unsigned() argument
/linux/drivers/infiniband/core/
H A Duverbs_ioctl.c777 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const_signed() argument
792 if (*to < lower_bound || (*to > 0 && (u64)*to > upper_bound)) in _uverbs_get_const_signed()
801 size_t idx, u64 upper_bound, u64 *def_val) in _uverbs_get_const_unsigned() argument
815 if (*to > upper_bound) in _uverbs_get_const_unsigned()
/linux/arch/x86/include/asm/fpu/
H A Dtypes.h196 u64 upper_bound; member
/linux/net/ipv4/
H A Dnexthop.c1417 if (hash > atomic_read(&nhge->hthr.upper_bound)) in nexthop_select_path_fdb()
1448 if (hash > atomic_read(&nhge->hthr.upper_bound)) in nexthop_select_path_hthr()
1916 u16 upper_bound; in nh_res_group_rebalance() local
1921 upper_bound = DIV_ROUND_CLOSEST_ULL(btw, total); in nh_res_group_rebalance()
1922 nhge->res.wants_buckets = upper_bound - prev_upper_bound; in nh_res_group_rebalance()
1923 prev_upper_bound = upper_bound; in nh_res_group_rebalance()
1996 u32 upper_bound; in nh_hthr_group_rebalance() local
1999 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, total) - 1; in nh_hthr_group_rebalance()
2000 atomic_set(&nhge->hthr.upper_bound, upper_bound); in nh_hthr_group_rebalance()
H A Dfib_semantics.c847 int upper_bound; in fib_rebalance() local
850 upper_bound = -1; in fib_rebalance()
853 upper_bound = -1; in fib_rebalance()
856 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, in fib_rebalance()
860 atomic_set(&nexthop_nh->fib_nh_upper_bound, upper_bound); in fib_rebalance()
/linux/include/net/
H A Dnexthop.h112 atomic_t upper_bound; member
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_init.h391 pdata->fair_vars.upper_bound = r_param * tFair * FAIR_MEM; in bnx2x_init_min()
H A Dbnx2x_hsi.h4951 u32 upper_bound; member
/linux/drivers/net/wireless/realtek/rtw89/
H A Dcore.c2620 u16 lower_bound, upper_bound, outlier_count = 0; in rtw89_bcn_calc_distribution() local
2649 upper_bound = (q3 + tmp) / RTW89_BCN_TRACK_SCALE_FACTOR; in rtw89_bcn_calc_distribution()
2662 if (drift[i] < lower_bound || drift[i] > upper_bound) in rtw89_bcn_calc_distribution()
2668 bcn_dist->upper_bound = upper_bound; in rtw89_bcn_calc_distribution()
2781 bcn_timeout = (bcn_dist->max + bcn_dist->upper_bound) / 2; in rtw89_bcn_calc_timeout()
2783 bcn_timeout = bcn_dist->upper_bound + in rtw89_bcn_calc_timeout()
2795 u16 upper_bound; in rtw89_bcn_calc_timeout() local
2797 upper_bound = in rtw89_bcn_calc_timeout()
2800 _rtw89_bcn_calc_drift(upper_bound, offset_tu, beacon_int); in rtw89_bcn_calc_timeout()
H A Ddebug.c4834 p += scnprintf(p, end - p, "upper bound: %u\n", bcn_dist->upper_bound); in rtw89_debug_priv_beacon_info_get()
/linux/drivers/md/persistent-data/
H A Ddm-btree.c69 static int upper_bound(struct btree_node *n, uint64_t key) in upper_bound() function
456 i = upper_bound(n, key); in dm_btree_lookup_next_single()
/linux/net/ipv6/
H A Droute.c4827 int upper_bound = -1; in rt6_upper_bound_set() local
4831 upper_bound = DIV_ROUND_CLOSEST_ULL((u64) (*weight) << 31, in rt6_upper_bound_set()
4834 atomic_set(&rt->fib6_nh->fib_nh_upper_bound, upper_bound); in rt6_upper_bound_set()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c4028 int upper_bound; in mlxsw_sp_nexthop_group_rebalance() local
4033 upper_bound = DIV_ROUND_CLOSEST(ecmp_size * weight, total); in mlxsw_sp_nexthop_group_rebalance()
4034 nh->num_adj_entries = upper_bound - lower_bound; in mlxsw_sp_nexthop_group_rebalance()
4035 lower_bound = upper_bound; in mlxsw_sp_nexthop_group_rebalance()