Searched refs:pgid_entry (Results 1 – 1 of 1) sorted by relevance
41 struct lan966x_pgid_entry *pgid_entry, *tmp; in lan966x_mdb_purge_pgid_entries() local43 list_for_each_entry_safe(pgid_entry, tmp, &lan966x->pgid_entries, list) { in lan966x_mdb_purge_pgid_entries()44 list_del(&pgid_entry->list); in lan966x_mdb_purge_pgid_entries()45 kfree(pgid_entry); in lan966x_mdb_purge_pgid_entries()185 struct lan966x_pgid_entry *pgid_entry; in lan966x_pgid_entry_add() local187 pgid_entry = kzalloc(sizeof(*pgid_entry), GFP_KERNEL); in lan966x_pgid_entry_add()188 if (!pgid_entry) in lan966x_pgid_entry_add()191 pgid_entry->ports = ports; in lan966x_pgid_entry_add()192 pgid_entry->index = index; in lan966x_pgid_entry_add()193 refcount_set(&pgid_entry->refcount, 1); in lan966x_pgid_entry_add()[all …]