Home
last modified time | relevance | path

Searched refs:upper_bound (Results 1 – 14 of 14) 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.h894 size_t idx, s64 lower_bound, u64 upper_bound,
898 size_t idx, u64 upper_bound, u64 *def_val);
935 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const() argument
949 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const_signed() argument
957 size_t idx, u64 upper_bound, u64 *def_val) in _uverbs_get_const_unsigned() argument
/linux/drivers/infiniband/core/
H A Duverbs_ioctl.c744 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const_signed() argument
759 if (*to < lower_bound || (*to > 0 && (u64)*to > upper_bound)) in _uverbs_get_const_signed()
768 size_t idx, u64 upper_bound, u64 *def_val) in _uverbs_get_const_unsigned() argument
782 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 Dinet_hashtables.c1098 u32 upper_bound; in __inet_hash_connect() local
1100 upper_bound = min(range, max_rand_step); in __inet_hash_connect()
1101 scan_step = get_random_u32_inclusive(1, upper_bound); in __inet_hash_connect()
1107 if (unlikely(scan_step > upper_bound)) { in __inet_hash_connect()
H A Dnexthop.c1432 if (hash > atomic_read(&nhge->hthr.upper_bound)) in nexthop_select_path_fdb()
1463 if (hash > atomic_read(&nhge->hthr.upper_bound)) in nexthop_select_path_hthr()
1931 u16 upper_bound; in nh_res_group_rebalance() local
1936 upper_bound = DIV_ROUND_CLOSEST_ULL(btw, total); in nh_res_group_rebalance()
1937 nhge->res.wants_buckets = upper_bound - prev_upper_bound; in nh_res_group_rebalance()
1938 prev_upper_bound = upper_bound; in nh_res_group_rebalance()
2011 u32 upper_bound; in nh_hthr_group_rebalance() local
2014 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, total) - 1; in nh_hthr_group_rebalance()
2015 atomic_set(&nhge->hthr.upper_bound, upper_bound); in nh_hthr_group_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/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.c4836 int upper_bound = -1; in rt6_upper_bound_set() local
4840 upper_bound = DIV_ROUND_CLOSEST_ULL((u64) (*weight) << 31, in rt6_upper_bound_set()
4843 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()