Home
last modified time | relevance | path

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

/Linux-v5.15/include/rdma/
Duverbs_ioctl.h881 size_t idx, s64 lower_bound, u64 upper_bound,
885 size_t idx, u64 upper_bound, u64 *def_val);
918 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const() argument
932 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const_signed() argument
940 size_t idx, u64 upper_bound, u64 *def_val) in _uverbs_get_const_unsigned() argument
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt76x2/
Deeprom.h38 int upper_bound; /* J */ member
Dpci_phy.c272 db_diff = min(db_diff, t.upper_bound); in mt76x2_phy_temp_compensate()
Deeprom.c489 t->upper_bound = (bounds >> 4) & 0xf; in mt76x2_get_temp_comp()
/Linux-v5.15/drivers/infiniband/core/
Duverbs_ioctl.c757 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const_signed() argument
772 if (*to < lower_bound || (*to > 0 && (u64)*to > upper_bound)) in _uverbs_get_const_signed()
781 size_t idx, u64 upper_bound, u64 *def_val) in _uverbs_get_const_unsigned() argument
795 if (*to > upper_bound) in _uverbs_get_const_unsigned()
/Linux-v5.15/arch/x86/include/asm/fpu/
Dtypes.h175 u64 upper_bound; member
/Linux-v5.15/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppevvmath.h150 fInt upper_bound = Divide(8, 1000); in fNaturalLog() local
158 while (GreaterThan(fAdd(value, fNegativeOne), upper_bound)) { in fNaturalLog()
/Linux-v5.15/arch/mips/net/
Debpf_jit.c425 int upper_bound, lower_bound; in gen_imm_insn() local
434 upper_bound = S16_MAX; in gen_imm_insn()
438 upper_bound = -(int)S16_MIN; in gen_imm_insn()
444 upper_bound = 0xffff; in gen_imm_insn()
451 upper_bound = S32_MAX; in gen_imm_insn()
473 if (insn->imm >= lower_bound && insn->imm <= upper_bound) { in gen_imm_insn()
/Linux-v5.15/net/ipv4/
Dnexthop.c1163 if (hash > atomic_read(&nhge->hthr.upper_bound)) in nexthop_select_path_hthr()
1645 int upper_bound; in nh_res_group_rebalance() local
1648 upper_bound = DIV_ROUND_CLOSEST(res_table->num_nh_buckets * w, in nh_res_group_rebalance()
1650 nhge->res.wants_buckets = upper_bound - prev_upper_bound; in nh_res_group_rebalance()
1651 prev_upper_bound = upper_bound; in nh_res_group_rebalance()
1724 int upper_bound; in nh_hthr_group_rebalance() local
1727 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, total) - 1; in nh_hthr_group_rebalance()
1728 atomic_set(&nhge->hthr.upper_bound, upper_bound); in nh_hthr_group_rebalance()
Dfib_semantics.c787 int upper_bound; in fib_rebalance() local
790 upper_bound = -1; in fib_rebalance()
793 upper_bound = -1; in fib_rebalance()
796 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, in fib_rebalance()
800 atomic_set(&nexthop_nh->fib_nh_upper_bound, upper_bound); in fib_rebalance()
/Linux-v5.15/include/net/
Dnexthop.h104 atomic_t upper_bound; member
/Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_init.h391 pdata->fair_vars.upper_bound = r_param * tFair * FAIR_MEM; in bnx2x_init_min()
Dbnx2x_hsi.h4950 u32 upper_bound; member
/Linux-v5.15/drivers/net/ethernet/qlogic/qed/
Dqed_init_fw_funcs.c431 u32 upper_bound = QM_VP_RL_UPPER_BOUND(QM_MAX_LINK_SPEED) | in qed_global_rl_rt_init() local
445 upper_bound); in qed_global_rl_rt_init()
/Linux-v5.15/drivers/net/wireless/realtek/rtw88/
Dphy.c423 u8 upper_bound, lower_bound; in rtw_phy_dig() local
461 rtw_phy_dig_get_boundary(rtwdev, dm_info, &upper_bound, &lower_bound, in rtw_phy_dig()
463 cur_igi = clamp_t(u8, cur_igi, lower_bound, upper_bound); in rtw_phy_dig()
/Linux-v5.15/drivers/md/persistent-data/
Ddm-btree.c66 static int upper_bound(struct btree_node *n, uint64_t key) in upper_bound() function
451 i = upper_bound(n, key); in dm_btree_lookup_next_single()
/Linux-v5.15/net/ipv6/
Droute.c4702 int upper_bound = -1; in rt6_upper_bound_set() local
4706 upper_bound = DIV_ROUND_CLOSEST_ULL((u64) (*weight) << 31, in rt6_upper_bound_set()
4709 atomic_set(&rt->fib6_nh->fib_nh_upper_bound, upper_bound); in rt6_upper_bound_set()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3705 int upper_bound; in mlxsw_sp_nexthop_group_rebalance() local
3710 upper_bound = DIV_ROUND_CLOSEST(ecmp_size * weight, total); in mlxsw_sp_nexthop_group_rebalance()
3711 nh->num_adj_entries = upper_bound - lower_bound; in mlxsw_sp_nexthop_group_rebalance()
3712 lower_bound = upper_bound; in mlxsw_sp_nexthop_group_rebalance()