Home
last modified time | relevance | path

Searched refs:entries_count (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/net/dsa/microchip/
Dksz9477_acl.c951 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() local
997 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 …]
Dksz9477_tc_flower.c79 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()
Dksz9477.h82 int entries_count; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c33 int entries_count; member
34 struct mlxsw_sp_span_entry entries[] __counted_by(entries_count);
84 int i, entries_count, err; in mlxsw_sp_span_init() local
89 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 …]
/linux-6.12.1/drivers/md/
Draid5-ppl.c140 unsigned int entries_count; /* number of entries in ppl_header */ member
281 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()
/linux-6.12.1/include/uapi/linux/raid/
Dmd_p.h424 __le32 entries_count; /* number of entries in entry array */ member