Searched refs:vchunk (Results 1 – 2 of 2) sorted by relevance
224 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member252 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member401 struct mlxsw_sp_acl_tcam_vchunk *vchunk; in mlxsw_sp_acl_tcam_vregion_prio() local406 vchunk = list_first_entry(&vregion->vchunk_list, in mlxsw_sp_acl_tcam_vregion_prio()407 typeof(*vchunk), list); in mlxsw_sp_acl_tcam_vregion_prio()408 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_prio()414 struct mlxsw_sp_acl_tcam_vchunk *vchunk; in mlxsw_sp_acl_tcam_vregion_max_prio() local418 vchunk = list_last_entry(&vregion->vchunk_list, in mlxsw_sp_acl_tcam_vregion_max_prio()419 typeof(*vchunk), list); in mlxsw_sp_acl_tcam_vregion_max_prio()420 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_max_prio()[all …]
669 sector_t offset, chunk, vchunk; in raid10_find_virt() local707 vchunk = chunk * geo->raid_disks + dev; in raid10_find_virt()708 sector_div(vchunk, geo->near_copies); in raid10_find_virt()709 return (vchunk << geo->chunk_shift) + offset; in raid10_find_virt()