Searched refs:entries_count (Results 1 – 6 of 6) sorted by relevance
951 if (i >= acles->entries_count && in ksz9477_acl_write_list()963 if (i >= acles->entries_count && in ksz9477_acl_write_list()971 if (!acles->entries_count) in ksz9477_acl_write_list()993 int entries_count = acles->entries_count; in ksz9477_acl_remove_entries() local997 if (!entries_count) in ksz9477_acl_remove_entries()1001 for (i = 0; i < entries_count; i++) { in ksz9477_acl_remove_entries()1020 entries_count - src_count); in ksz9477_acl_remove_entries()1030 for (i = entries_count - src_count; i < entries_count; i++) { in ksz9477_acl_remove_entries()1041 acles->entries_count -= src_count; in ksz9477_acl_remove_entries()1375 entry = &acles->entries[acles->entries_count]; in ksz9477_acl_get_init_entry()[all …]
79 if (acles->entries_count + required_entries > KSZ9477_ACL_MAX_ENTRIES) { in ksz9477_flower_parse_key_l2()235 action_entry_idx = acl->acles.entries_count; in ksz9477_cls_flower_add()
82 int entries_count; member
33 int entries_count; member34 struct mlxsw_sp_span_entry entries[] __counted_by(entries_count);84 int i, entries_count, err; in mlxsw_sp_span_init() local89 entries_count = MLXSW_CORE_RES_GET(mlxsw_sp->core, MAX_SPAN); in mlxsw_sp_span_init()90 span = kzalloc(struct_size(span, entries, entries_count), GFP_KERNEL); in mlxsw_sp_span_init()94 span->entries_count = entries_count; in mlxsw_sp_span_init()102 for (i = 0; i < mlxsw_sp->span->entries_count; i++) in mlxsw_sp_span_init()825 policer_id >= span->policer_id_base + span->entries_count) in mlxsw_sp_span_policer_id_base_set()861 for (i = 0; i < mlxsw_sp->span->entries_count; i++) { in mlxsw_sp_span_entry_create()903 for (i = 0; i < mlxsw_sp->span->entries_count; i++) { in mlxsw_sp_span_entry_find_by_port()[all …]
140 unsigned int entries_count; /* number of entries in ppl_header */ member281 io->entries_count == PPL_HDR_MAX_ENTRIES)) { in ppl_log_stripe()315 if (io->entries_count > 0) { in ppl_log_stripe()317 &pplhdr->entries[io->entries_count - 1]; in ppl_log_stripe()337 e = &pplhdr->entries[io->entries_count++]; in ppl_log_stripe()444 for (i = 0; i < io->entries_count; i++) { in ppl_submit_iounit()456 pplhdr->entries_count = cpu_to_le32(io->entries_count); in ppl_submit_iounit()976 for (i = 0; i < le32_to_cpu(pplhdr->entries_count); i++) { in ppl_recover()1151 for (i = 0; i < le32_to_cpu(pplhdr->entries_count); i++) in ppl_load_distributed()
424 __le32 entries_count; /* number of entries in entry array */ member