Searched refs:vchunk (Results 1 – 2 of 2) sorted by relevance
164 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member192 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member341 struct mlxsw_sp_acl_tcam_vchunk *vchunk; in mlxsw_sp_acl_tcam_vregion_prio() local346 vchunk = list_first_entry(&vregion->vchunk_list, in mlxsw_sp_acl_tcam_vregion_prio()347 typeof(*vchunk), list); in mlxsw_sp_acl_tcam_vregion_prio()348 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_prio()354 struct mlxsw_sp_acl_tcam_vchunk *vchunk; in mlxsw_sp_acl_tcam_vregion_max_prio() local358 vchunk = list_last_entry(&vregion->vchunk_list, in mlxsw_sp_acl_tcam_vregion_max_prio()359 typeof(*vchunk), list); in mlxsw_sp_acl_tcam_vregion_max_prio()360 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_max_prio()[all …]
667 sector_t offset, chunk, vchunk; in raid10_find_virt() local705 vchunk = chunk * geo->raid_disks + dev; in raid10_find_virt()706 sector_div(vchunk, geo->near_copies); in raid10_find_virt()707 return (vchunk << geo->chunk_shift) + offset; in raid10_find_virt()