Searched refs:vchunk (Results 1 – 2 of 2) sorted by relevance
985 chunk->vchunk = vchunk; in mlxsw_sp_acl_tcam_chunk_create()1016 vchunk = kzalloc(sizeof(*vchunk), GFP_KERNEL); in mlxsw_sp_acl_tcam_vchunk_create()1017 if (!vchunk) in mlxsw_sp_acl_tcam_vchunk_create()1059 return vchunk; in mlxsw_sp_acl_tcam_vchunk_create()1067 kfree(vchunk); in mlxsw_sp_acl_tcam_vchunk_create()1102 if (vchunk) { in mlxsw_sp_acl_tcam_vchunk_get()1196 ventry->vchunk = vchunk; in mlxsw_sp_acl_tcam_ventry_add()1223 struct mlxsw_sp_acl_tcam_vchunk *vchunk = ventry->vchunk; in mlxsw_sp_acl_tcam_ventry_del() local1239 struct mlxsw_sp_acl_tcam_vchunk *vchunk = ventry->vchunk; in mlxsw_sp_acl_tcam_ventry_action_replace() local1289 vchunk->chunk2 = vchunk->chunk; in mlxsw_sp_acl_tcam_vchunk_migrate_start()[all …]
642 sector_t offset, chunk, vchunk; in raid10_find_virt() local680 vchunk = chunk * geo->raid_disks + dev; in raid10_find_virt()681 sector_div(vchunk, geo->near_copies); in raid10_find_virt()682 return (vchunk << geo->chunk_shift) + offset; in raid10_find_virt()
Completed in 50 milliseconds