Searched refs:vchunk (Results 1 – 2 of 2) sorted by relevance
168 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member196 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member345 struct mlxsw_sp_acl_tcam_vchunk *vchunk; in mlxsw_sp_acl_tcam_vregion_prio() local350 vchunk = list_first_entry(&vregion->vchunk_list, in mlxsw_sp_acl_tcam_vregion_prio()351 typeof(*vchunk), list); in mlxsw_sp_acl_tcam_vregion_prio()352 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_prio()358 struct mlxsw_sp_acl_tcam_vchunk *vchunk; in mlxsw_sp_acl_tcam_vregion_max_prio() local362 vchunk = list_last_entry(&vregion->vchunk_list, in mlxsw_sp_acl_tcam_vregion_max_prio()363 typeof(*vchunk), list); in mlxsw_sp_acl_tcam_vregion_max_prio()364 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_max_prio()[all …]
662 sector_t offset, chunk, vchunk; in raid10_find_virt() local700 vchunk = chunk * geo->raid_disks + dev; in raid10_find_virt()701 sector_div(vchunk, geo->near_copies); in raid10_find_virt()702 return (vchunk << geo->chunk_shift) + offset; in raid10_find_virt()