Home
last modified time | relevance | path

Searched refs:mid_idx (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/fs/ntfs3/
Drun.c36 size_t min_idx, max_idx, mid_idx; in run_lookup() local
71 mid_idx = min_idx + ((max_idx - min_idx) >> 1); in run_lookup()
72 r = run->runs + mid_idx; in run_lookup()
75 max_idx = mid_idx - 1; in run_lookup()
76 if (!mid_idx) in run_lookup()
79 min_idx = mid_idx + 1; in run_lookup()
81 *index = mid_idx; in run_lookup()
Dindex.c676 int min_idx = 0, mid_idx, max_idx = 0; in hdr_find_e() local
711 min_idx = mid_idx + 1; in hdr_find_e()
723 max_idx = mid_idx - 1; in hdr_find_e()
738 mid_idx = (min_idx + max_idx) >> 1; in hdr_find_e()
739 e = Add2Ptr(hdr, offs[mid_idx]); in hdr_find_e()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c880 u16 mid_idx, bool add) in mlxsw_sp_smid_router_port_set() argument
889 mlxsw_reg_smid2_pack(smid2_pl, mid_idx, in mlxsw_sp_smid_router_port_set()
1550 u16 fid, u16 mid_idx, bool adding) in mlxsw_sp_port_mdb_op() argument
1562 MLXSW_REG_SFD_REC_ACTION_NOP, mid_idx); in mlxsw_sp_port_mdb_op()
1576 static int mlxsw_sp_port_smid_full_entry(struct mlxsw_sp *mlxsw_sp, u16 mid_idx, in mlxsw_sp_port_smid_full_entry() argument
1587 mlxsw_reg_smid2_pack(smid2_pl, mid_idx, 0, false); in mlxsw_sp_port_smid_full_entry()
1608 u16 mid_idx, bool add) in mlxsw_sp_port_smid_set() argument
1618 mlxsw_reg_smid2_pack(smid2_pl, mid_idx, mlxsw_sp_port->local_port, add); in mlxsw_sp_port_smid_set()
1686 u16 mid_idx; in mlxsw_sp_mc_write_mdb_entry() local
1689 mid_idx = find_first_zero_bit(mlxsw_sp->bridge->mids_bitmap, in mlxsw_sp_mc_write_mdb_entry()
[all …]