Searched refs:vchunk (Results 1 – 2 of 2) sorted by relevance
227 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member255 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member404 struct mlxsw_sp_acl_tcam_vchunk *vchunk; in mlxsw_sp_acl_tcam_vregion_prio() local409 vchunk = list_first_entry(&vregion->vchunk_list, in mlxsw_sp_acl_tcam_vregion_prio()410 typeof(*vchunk), list); in mlxsw_sp_acl_tcam_vregion_prio()411 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_prio()417 struct mlxsw_sp_acl_tcam_vchunk *vchunk; in mlxsw_sp_acl_tcam_vregion_max_prio() local421 vchunk = list_last_entry(&vregion->vchunk_list, in mlxsw_sp_acl_tcam_vregion_max_prio()422 typeof(*vchunk), list); in mlxsw_sp_acl_tcam_vregion_max_prio()423 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_max_prio()[all …]
641 sector_t offset, chunk, vchunk; in raid10_find_virt() local679 vchunk = chunk * geo->raid_disks + dev; in raid10_find_virt()680 sector_div(vchunk, geo->near_copies); in raid10_find_virt()681 return (vchunk << geo->chunk_shift) + offset; in raid10_find_virt()