Searched refs:vchunk (Results 1 – 2 of 2) sorted by relevance
163 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member191 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member340 struct mlxsw_sp_acl_tcam_vchunk *vchunk; in mlxsw_sp_acl_tcam_vregion_prio() local345 vchunk = list_first_entry(&vregion->vchunk_list, in mlxsw_sp_acl_tcam_vregion_prio()346 typeof(*vchunk), list); in mlxsw_sp_acl_tcam_vregion_prio()347 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_prio()353 struct mlxsw_sp_acl_tcam_vchunk *vchunk; in mlxsw_sp_acl_tcam_vregion_max_prio() local357 vchunk = list_last_entry(&vregion->vchunk_list, in mlxsw_sp_acl_tcam_vregion_max_prio()358 typeof(*vchunk), list); in mlxsw_sp_acl_tcam_vregion_max_prio()359 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()