Lines Matching refs:grp
52 struct genl_family_grp *grp, *t_grp; in family_free_data() local
62 nl_list_for_each_entry_safe(grp, t_grp, &family->gf_mc_grps, list) { in family_free_data()
63 nl_list_del(&grp->list); in family_free_data()
64 free(grp); in family_free_data()
74 struct genl_family_grp *grp; in family_clone() local
83 nl_list_for_each_entry(grp, &src->gf_mc_grps, list) { in family_clone()
84 err = genl_family_add_grp(dst, grp->id, grp->name); in family_clone()
115 struct genl_family_grp *grp; in family_dump_details() local
142 nl_list_for_each_entry(grp, &family->gf_mc_grps, list) { in family_dump_details()
143 nl_dump_line(p, " grp %s (0x%02x)\n", grp->name, grp->id); in family_dump_details()
372 struct genl_family_grp *grp; in genl_family_add_grp() local
378 grp = calloc(1, sizeof(*grp)); in genl_family_add_grp()
379 if (grp == NULL) in genl_family_add_grp()
382 grp->id = id; in genl_family_add_grp()
383 _nl_strncpy(grp->name, name, GENL_NAMSIZ); in genl_family_add_grp()
385 nl_list_add_tail(&grp->list, &family->gf_mc_grps); in genl_family_add_grp()