Searched refs:num_reprs (Results 1 – 6 of 6) sorted by relevance
20 unsigned int num_reprs; member21 struct net_device __rcu *reprs[] __counted_by(num_reprs);107 struct nfp_reprs *nfp_reprs_alloc(unsigned int num_reprs);
463 for (i = 0; i < reprs->num_reprs; i++) { in nfp_reprs_clean_and_free()487 for (i = 0; i < reprs->num_reprs; i++) { in nfp_reprs_clean_and_free_by_type()499 struct nfp_reprs *nfp_reprs_alloc(unsigned int num_reprs) in nfp_reprs_alloc() argument503 reprs = kzalloc(struct_size(reprs, reprs, num_reprs), GFP_KERNEL); in nfp_reprs_alloc()506 reprs->num_reprs = num_reprs; in nfp_reprs_alloc()522 for (i = 0; i < reprs->num_reprs; i++) { in nfp_reprs_resync_phys_ports()
161 for (i = 0; i < reprs->num_reprs; i++) { in nfp_app_netdev_feat_change()
264 if (port >= reprs->num_reprs) in nfp_flower_dev_get()282 for (i = 0; i < reprs->num_reprs; i++) { in nfp_flower_reprs_reify()
426 for (i = 0; i < repr_set->num_reprs; i++) { in nfp_flower_stats_rlim_request_all()
70 if (port >= reprs->num_reprs) in nfp_abm_repr_get()