Lines Matching refs:grp
49 struct genl_family_grp *grp, *t_grp; in family_free_data() local
59 nl_list_for_each_entry_safe(grp, t_grp, &family->gf_mc_grps, list) { in family_free_data()
60 nl_list_del(&grp->list); in family_free_data()
61 free(grp); in family_free_data()
71 struct genl_family_grp *grp; in family_clone() local
80 nl_list_for_each_entry(grp, &src->gf_mc_grps, list) { in family_clone()
81 err = genl_family_add_grp(dst, grp->id, grp->name); in family_clone()
112 struct genl_family_grp *grp; in family_dump_details() local
139 nl_list_for_each_entry(grp, &family->gf_mc_grps, list) { in family_dump_details()
140 nl_dump_line(p, " grp %s (0x%02x)\n", grp->name, grp->id); in family_dump_details()
369 struct genl_family_grp *grp; in genl_family_add_grp() local
371 grp = calloc(1, sizeof(*grp)); in genl_family_add_grp()
372 if (grp == NULL) in genl_family_add_grp()
375 grp->id = id; in genl_family_add_grp()
376 strncpy(grp->name, name, GENL_NAMSIZ - 1); in genl_family_add_grp()
378 nl_list_add_tail(&grp->list, &family->gf_mc_grps); in genl_family_add_grp()