ste 96 arch/microblaze/include/asm/page.h typedef struct { unsigned long ste[64]; } pmd_t; ste 109 arch/microblaze/include/asm/page.h # define pmd_val(x) ((x).ste[0]) ste 728 arch/s390/kvm/gaccess.c union segment_table_entry ste; ste 732 arch/s390/kvm/gaccess.c if (deref_table(vcpu->kvm, ptr, &ste.val)) ste 734 arch/s390/kvm/gaccess.c if (ste.i) ste 736 arch/s390/kvm/gaccess.c if (ste.tt != TABLE_TYPE_SEGMENT) ste 738 arch/s390/kvm/gaccess.c if (ste.cs && asce.p) ste 740 arch/s390/kvm/gaccess.c if (ste.fc && edat1) { ste 741 arch/s390/kvm/gaccess.c dat_protection |= ste.fc1.p; ste 742 arch/s390/kvm/gaccess.c iep_protection = ste.fc1.iep; ste 743 arch/s390/kvm/gaccess.c raddr.sfaa = ste.fc1.sfaa; ste 746 arch/s390/kvm/gaccess.c dat_protection |= ste.fc0.p; ste 747 arch/s390/kvm/gaccess.c ptr = ste.fc0.pto * (PAGE_SIZE / 2) + vaddr.px * 8; ste 1116 arch/s390/kvm/gaccess.c union segment_table_entry ste; ste 1120 arch/s390/kvm/gaccess.c ste.val = ptr; ste 1123 arch/s390/kvm/gaccess.c rc = gmap_read_table(parent, ptr + vaddr.sx * 8, &ste.val); ste 1126 arch/s390/kvm/gaccess.c if (ste.i) ste 1128 arch/s390/kvm/gaccess.c if (ste.tt != TABLE_TYPE_SEGMENT) ste 1130 arch/s390/kvm/gaccess.c if (ste.cs && asce.p) ste 1132 arch/s390/kvm/gaccess.c *dat_protection |= ste.fc0.p; ste 1133 arch/s390/kvm/gaccess.c if (ste.fc && sg->edat_level >= 1) { ste 1135 arch/s390/kvm/gaccess.c ptr = ste.fc1.sfaa * _SEGMENT_SIZE; ste 1136 arch/s390/kvm/gaccess.c ste.val = ptr; ste 1139 arch/s390/kvm/gaccess.c ptr = ste.fc0.pto * (PAGE_SIZE / 2); ste 1141 arch/s390/kvm/gaccess.c ste.fc0.p |= *dat_protection; ste 1142 arch/s390/kvm/gaccess.c rc = gmap_shadow_pgt(sg, saddr, ste.val, *fake); ste 1325 arch/s390/mm/gmap.c unsigned long sto, *ste, *pgt; ste 1329 arch/s390/mm/gmap.c ste = gmap_table_walk(sg, raddr, 1); /* get segment pointer */ ste 1330 arch/s390/mm/gmap.c if (!ste || !(*ste & _SEGMENT_ENTRY_ORIGIN)) ste 1333 arch/s390/mm/gmap.c sto = (unsigned long) (ste - ((raddr & _SEGMENT_INDEX) >> _SEGMENT_SHIFT)); ste 1335 arch/s390/mm/gmap.c pgt = (unsigned long *)(*ste & _SEGMENT_ENTRY_ORIGIN); ste 1336 arch/s390/mm/gmap.c *ste = _SEGMENT_ENTRY_EMPTY; ste 410 arch/s390/mm/pgalloc.c unsigned long *ste, next, table; ste 413 arch/s390/mm/pgalloc.c ste = (unsigned long *) origin; ste 414 arch/s390/mm/pgalloc.c ste += (addr & _SEGMENT_INDEX) >> _SEGMENT_SHIFT; ste 417 arch/s390/mm/pgalloc.c if (*ste & _SEGMENT_ENTRY_INVALID) { ste 423 arch/s390/mm/pgalloc.c *ste = table | _SEGMENT_ENTRY; ste 425 arch/s390/mm/pgalloc.c table = *ste & _SEGMENT_ENTRY_ORIGIN; ste 432 arch/s390/mm/pgalloc.c } while (ste++, addr = next, addr < end); ste 46 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c struct mlx5dr_ste *ste; ste 59 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste = new_htbl->ste_arr; ste 63 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c return ste; ste 72 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c struct mlx5dr_ste *ste; ste 74 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); ste 75 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c if (!ste) { ste 80 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste->ste_chain_location = orig_ste->ste_chain_location; ste 83 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste->htbl->miss_list = mlx5dr_ste_get_miss_list(orig_ste); ste 86 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c if (mlx5dr_ste_create_next_htbl(matcher, nic_matcher, ste, hw_ste, ste 92 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c return ste; ste 95 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c mlx5dr_ste_free(ste, matcher, nic_matcher); ste 106 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ret = mlx5dr_send_postsend_ste(dmn, ste_info->ste, ste_info->data, ste 113 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c memcpy(ste_info->ste->hw_ste, ste_info->data, DR_STE_SIZE_REDUCED); ste 151 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c struct mlx5dr_ste *ste; ste 157 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c list_for_each_entry(ste, miss_list, miss_list_node) { ste 158 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c if (mlx5dr_ste_equal_tag(ste->hw_ste, hw_ste)) ste 159 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c return ste; ste 494 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c struct mlx5dr_ste *ste, ste 506 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c new_ste = dr_rule_create_collision_entry(matcher, nic_matcher, hw_ste, ste); ste 518 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste->htbl->ctrl.num_of_collisions++; ste 519 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste->htbl->ctrl.num_of_valid_entries++; ste 572 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c void mlx5dr_rule_update_rule_member(struct mlx5dr_ste *ste, ste 577 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c if (!list_empty(&ste->rule_list)) ste 578 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c list_for_each_entry(rule_mem, &ste->rule_list, use_ste_list) ste 579 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c rule_mem->ste = new_ste; ste 593 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c mlx5dr_ste_put(rule_mem->ste, rule->matcher, nic_rule->nic_matcher); ste 633 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c struct mlx5dr_ste *ste) ste 644 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c rule_mem->ste = ste; ste 647 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c list_add_tail(&rule_mem->use_ste_list, &ste->rule_list); ste 720 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c struct mlx5dr_ste *ste, ste 732 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c list_add_tail(&ste->miss_list_node, miss_list); ste 736 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste->ste_chain_location = ste_location; ste 744 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste, ste 753 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c mlx5dr_send_fill_and_append_ste_send_info(ste, DR_STE_SIZE, 0, hw_ste, ste 761 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c list_del_init(&ste->miss_list_node); ste 784 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c struct mlx5dr_ste *ste; ste 793 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste = &cur_htbl->ste_arr[index]; ste 795 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c if (mlx5dr_ste_not_used_ste(ste)) { ste 797 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste, ste_location, ste 837 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste = dr_rule_handle_collision(matcher, ste 839 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste, ste 843 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c if (!ste) { ste 850 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c return ste; ste 1028 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c struct mlx5dr_ste *ste = NULL; ste 1076 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste = dr_rule_handle_ste_branch(rule, ste 1083 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c if (!ste) { ste 1089 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c cur_htbl = ste->next_htbl; ste 1092 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ret = dr_rule_add_member(nic_rule, ste); ste 1098 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c mlx5dr_ste_get(ste); ste 1103 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste, hw_ste_arr, new_hw_ste_arr_sz); ste 1122 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c mlx5dr_ste_put(ste, matcher, nic_matcher); ste 285 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c void mlx5dr_send_fill_and_append_ste_send_info(struct mlx5dr_ste *ste, u16 size, ste 292 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c ste_info->ste = ste; ste 426 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c int mlx5dr_send_postsend_ste(struct mlx5dr_domain *dmn, struct mlx5dr_ste *ste, ste 434 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c send_info.remote_addr = mlx5dr_ste_get_mr_addr(ste) + offset; ste 435 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c send_info.rkey = ste->htbl->chunk->rkey; ste 284 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u64 mlx5dr_ste_get_icm_addr(struct mlx5dr_ste *ste) ste 286 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u32 index = ste - ste->htbl->ste_arr; ste 288 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c return ste->htbl->chunk->icm_addr + DR_STE_SIZE * index; ste 291 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u64 mlx5dr_ste_get_mr_addr(struct mlx5dr_ste *ste) ste 293 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u32 index = ste - ste->htbl->ste_arr; ste 295 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c return ste->htbl->chunk->mr_addr + DR_STE_SIZE * index; ste 298 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct list_head *mlx5dr_ste_get_miss_list(struct mlx5dr_ste *ste) ste 300 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u32 index = ste - ste->htbl->ste_arr; ste 302 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c return &ste->htbl->miss_list[index]; ste 305 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c static void dr_ste_always_hit_htbl(struct mlx5dr_ste *ste, ste 309 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u8 *hw_ste = ste->hw_ste; ste 315 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_set_always_hit((struct dr_hw_ste_format *)ste->hw_ste); ste 351 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_remove_head_ste(struct mlx5dr_ste *ste, ste 366 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c memcpy(tmp_ste.hw_ste, ste->hw_ste, DR_STE_SIZE_REDUCED); ste 369 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c memcpy(ste->hw_ste, tmp_ste.hw_ste, DR_STE_SIZE_REDUCED); ste 371 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c list_del_init(&ste->miss_list_node); ste 374 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c mlx5dr_send_fill_and_append_ste_send_info(ste, DR_STE_SIZE, ste 387 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_replace_head_ste(struct mlx5dr_ste *ste, struct mlx5dr_ste *next_ste, ste 401 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c mlx5dr_rule_update_rule_member(next_ste, ste); ste 404 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_replace(ste, next_ste); ste 411 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c mlx5dr_send_fill_and_append_ste_send_info(ste, DR_STE_SIZE_REDUCED, ste 412 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c 0, ste->hw_ste, ste 424 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c static void dr_ste_remove_middle_ste(struct mlx5dr_ste *ste, ste 432 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c prev_ste = list_prev_entry(ste, miss_list_node); ste 436 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c miss_addr = mlx5dr_ste_get_miss_addr(ste->hw_ste); ste 443 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c list_del_init(&ste->miss_list_node); ste 449 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c void mlx5dr_ste_free(struct mlx5dr_ste *ste, ste 461 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c first_ste = list_first_entry(mlx5dr_ste_get_miss_list(ste), ste 471 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c if (first_ste == ste) { /* Ste is the head */ ste 474 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c last_ste = list_last_entry(mlx5dr_ste_get_miss_list(ste), ste 479 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c next_ste = list_next_entry(ste, miss_list_node); ste 483 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_remove_head_ste(ste, nic_matcher, ste 489 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_replace_head_ste(ste, next_ste, &ste_info_head, ste 494 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_remove_middle_ste(ste, &ste_info_head, &send_ste_list, stats_tbl); ste 501 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c mlx5dr_send_postsend_ste(dmn, cur_ste_info->ste, ste 507 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c mlx5dr_htbl_put(ste->htbl); ste 535 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c void mlx5dr_ste_always_miss_addr(struct mlx5dr_ste *ste, u64 miss_addr) ste 537 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u8 *hw_ste = ste->hw_ste; ste 541 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_set_always_miss((struct dr_hw_ste_format *)ste->hw_ste); ste 558 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c bool mlx5dr_ste_not_used_ste(struct mlx5dr_ste *ste) ste 560 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c return !ste->refcount; ste 570 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct mlx5dr_ste ste = {}; ste 573 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c ste.hw_ste = formatted_ste; ste 576 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_always_hit_htbl(&ste, connect_info->hit_next_htbl); ste 578 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c mlx5dr_ste_always_miss_addr(&ste, connect_info->miss_icm_addr); ste 600 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct mlx5dr_ste *ste, ste 610 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c if (!mlx5dr_ste_is_last_in_rule(nic_matcher, ste->ste_chain_location)) { ste 636 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c ste->next_htbl = next_htbl; ste 637 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c next_htbl->pointing_ste = ste; ste 687 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct mlx5dr_ste *ste = &htbl->ste_arr[i]; ste 689 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c ste->hw_ste = htbl->hw_ste_arr + i * DR_STE_SIZE_REDUCED; ste 690 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c ste->htbl = htbl; ste 691 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c ste->refcount = 0; ste 692 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c INIT_LIST_HEAD(&ste->miss_list_node); ste 694 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c INIT_LIST_HEAD(&ste->rule_list); ste 166 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h struct mlx5dr_ste *ste; ste 174 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h void mlx5dr_send_fill_and_append_ste_send_info(struct mlx5dr_ste *ste, u16 size, ste 216 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h void mlx5dr_ste_always_hit_htbl(struct mlx5dr_ste *ste, ste 222 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h void mlx5dr_ste_always_miss_addr(struct mlx5dr_ste *ste, u64 miss_addr); ste 224 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h bool mlx5dr_ste_not_used_ste(struct mlx5dr_ste *ste); ste 241 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h u64 mlx5dr_ste_get_icm_addr(struct mlx5dr_ste *ste); ste 242 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h u64 mlx5dr_ste_get_mr_addr(struct mlx5dr_ste *ste); ste 243 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h struct list_head *mlx5dr_ste_get_miss_list(struct mlx5dr_ste *ste); ste 245 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h void mlx5dr_ste_free(struct mlx5dr_ste *ste, ste 248 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h static inline void mlx5dr_ste_put(struct mlx5dr_ste *ste, ste 252 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h ste->refcount--; ste 253 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h if (!ste->refcount) ste 254 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h mlx5dr_ste_free(ste, matcher, nic_matcher); ste 258 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h static inline void mlx5dr_ste_get(struct mlx5dr_ste *ste) ste 260 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h ste->refcount++; ste 268 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h struct mlx5dr_ste *ste, ste 706 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h struct mlx5dr_ste *ste; ste 786 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h struct mlx5dr_ste *ste); ste 1035 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h struct mlx5dr_ste *ste, ste 2749 drivers/scsi/ipr.c const struct ipr_ses_table_entry *ste = ipr_ses_table; ste 2751 drivers/scsi/ipr.c for (i = 0; i < ARRAY_SIZE(ipr_ses_table); i++, ste++) { ste 2753 drivers/scsi/ipr.c if (ste->compare_product_id_byte[j] == 'X') { ste 2755 drivers/scsi/ipr.c if (vpids->product_id[j] == ste->product_id[j]) ste 2764 drivers/scsi/ipr.c return ste; ste 2785 drivers/scsi/ipr.c const struct ipr_ses_table_entry *ste; ste 2796 drivers/scsi/ipr.c if (!(ste = ipr_find_ses_entry(res))) ste 2799 drivers/scsi/ipr.c max_xfer_rate = (ste->max_bus_speed_limit * 10) / (bus_width / 8);