/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_tcam.c | 125 struct mlxsw_sp_acl_tcam_vchunk *current_vchunk; /* vchunk being 130 * a vchunk being 135 * a vchunk being 163 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member 190 struct list_head list; /* Member of a TCAM vchunk */ 191 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member 340 struct mlxsw_sp_acl_tcam_vchunk *vchunk; in mlxsw_sp_acl_tcam_vregion_prio() local 344 /* As a priority of a vregion, return priority of the first vchunk */ in mlxsw_sp_acl_tcam_vregion_prio() 345 vchunk = list_first_entry(&vregion->vchunk_list, in mlxsw_sp_acl_tcam_vregion_prio() 346 typeof(*vchunk), lis in mlxsw_sp_acl_tcam_vregion_prio() 353 struct mlxsw_sp_acl_tcam_vchunk *vchunk; mlxsw_sp_acl_tcam_vregion_max_prio() local 727 mlxsw_sp_acl_tcam_rehash_ctx_vchunk_changed(struct mlxsw_sp_acl_tcam_vchunk *vchunk) mlxsw_sp_acl_tcam_rehash_ctx_vchunk_changed() argument 914 mlxsw_sp_acl_tcam_chunk_create(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vchunk *vchunk, struct mlxsw_sp_acl_tcam_region *region) mlxsw_sp_acl_tcam_chunk_create() argument 947 struct mlxsw_sp_acl_tcam_vchunk *vchunk, *vchunk2; mlxsw_sp_acl_tcam_vchunk_create() local 1011 mlxsw_sp_acl_tcam_vchunk_destroy(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vchunk *vchunk) mlxsw_sp_acl_tcam_vchunk_destroy() argument 1037 struct mlxsw_sp_acl_tcam_vchunk *vchunk; mlxsw_sp_acl_tcam_vchunk_get() local 1053 mlxsw_sp_acl_tcam_vchunk_put(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vchunk *vchunk) mlxsw_sp_acl_tcam_vchunk_put() argument 1127 struct mlxsw_sp_acl_tcam_vchunk *vchunk; mlxsw_sp_acl_tcam_ventry_add() local 1162 struct mlxsw_sp_acl_tcam_vchunk *vchunk = ventry->vchunk; mlxsw_sp_acl_tcam_ventry_del() local 1178 struct mlxsw_sp_acl_tcam_vchunk *vchunk = ventry->vchunk; mlxsw_sp_acl_tcam_ventry_action_replace() local 1218 mlxsw_sp_acl_tcam_vchunk_migrate_start(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vchunk *vchunk, struct mlxsw_sp_acl_tcam_region *region, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx) mlxsw_sp_acl_tcam_vchunk_migrate_start() argument 1237 mlxsw_sp_acl_tcam_vchunk_migrate_end(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vchunk *vchunk, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx) mlxsw_sp_acl_tcam_vchunk_migrate_end() argument 1247 mlxsw_sp_acl_tcam_vchunk_migrate_one(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vchunk *vchunk, struct mlxsw_sp_acl_tcam_region *region, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx, int *credits) mlxsw_sp_acl_tcam_vchunk_migrate_one() argument 1325 struct mlxsw_sp_acl_tcam_vchunk *vchunk; mlxsw_sp_acl_tcam_vchunk_migrate_all() local 1719 struct mlxsw_sp_acl_tcam_vchunk *vchunk; global() member [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_tcam.c | 126 struct mlxsw_sp_acl_tcam_vchunk *current_vchunk; /* vchunk being 131 * a vchunk being 136 * a vchunk being 164 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member 191 struct list_head list; /* Member of a TCAM vchunk */ 192 struct mlxsw_sp_acl_tcam_vchunk *vchunk; member 341 struct mlxsw_sp_acl_tcam_vchunk *vchunk; in mlxsw_sp_acl_tcam_vregion_prio() local 345 /* As a priority of a vregion, return priority of the first vchunk */ in mlxsw_sp_acl_tcam_vregion_prio() 346 vchunk = list_first_entry(&vregion->vchunk_list, in mlxsw_sp_acl_tcam_vregion_prio() 347 typeof(*vchunk), lis in mlxsw_sp_acl_tcam_vregion_prio() 354 struct mlxsw_sp_acl_tcam_vchunk *vchunk; mlxsw_sp_acl_tcam_vregion_max_prio() local 728 mlxsw_sp_acl_tcam_rehash_ctx_vchunk_changed(struct mlxsw_sp_acl_tcam_vchunk *vchunk) mlxsw_sp_acl_tcam_rehash_ctx_vchunk_changed() argument 880 mlxsw_sp_acl_tcam_chunk_create(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vchunk *vchunk, struct mlxsw_sp_acl_tcam_region *region) mlxsw_sp_acl_tcam_chunk_create() argument 913 struct mlxsw_sp_acl_tcam_vchunk *vchunk, *vchunk2; mlxsw_sp_acl_tcam_vchunk_create() local 977 mlxsw_sp_acl_tcam_vchunk_destroy(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vchunk *vchunk) mlxsw_sp_acl_tcam_vchunk_destroy() argument 1003 struct mlxsw_sp_acl_tcam_vchunk *vchunk; mlxsw_sp_acl_tcam_vchunk_get() local 1019 mlxsw_sp_acl_tcam_vchunk_put(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vchunk *vchunk) mlxsw_sp_acl_tcam_vchunk_put() argument 1093 struct mlxsw_sp_acl_tcam_vchunk *vchunk; mlxsw_sp_acl_tcam_ventry_add() local 1128 struct mlxsw_sp_acl_tcam_vchunk *vchunk = ventry->vchunk; mlxsw_sp_acl_tcam_ventry_del() local 1144 struct mlxsw_sp_acl_tcam_vchunk *vchunk = ventry->vchunk; mlxsw_sp_acl_tcam_ventry_action_replace() local 1184 mlxsw_sp_acl_tcam_vchunk_migrate_start(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vchunk *vchunk, struct mlxsw_sp_acl_tcam_region *region, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx) mlxsw_sp_acl_tcam_vchunk_migrate_start() argument 1203 mlxsw_sp_acl_tcam_vchunk_migrate_end(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vchunk *vchunk, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx) mlxsw_sp_acl_tcam_vchunk_migrate_end() argument 1213 mlxsw_sp_acl_tcam_vchunk_migrate_one(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vchunk *vchunk, struct mlxsw_sp_acl_tcam_region *region, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx, int *credits) mlxsw_sp_acl_tcam_vchunk_migrate_one() argument 1291 struct mlxsw_sp_acl_tcam_vchunk *vchunk; mlxsw_sp_acl_tcam_vchunk_migrate_all() local 1767 struct mlxsw_sp_acl_tcam_vchunk *vchunk; global() member [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid10.c | 641 sector_t offset, chunk, vchunk; in raid10_find_virt() local 679 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()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | raid10.c | 667 sector_t offset, chunk, vchunk; in raid10_find_virt() local 705 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()
|