Lines Matching refs:family
58 struct genl_family *family; in ctrl_msg_parser() local
62 family = genl_family_alloc(); in ctrl_msg_parser()
63 if (family == NULL) { in ctrl_msg_parser()
78 family->ce_msgtype = info->nlh->nlmsg_type; in ctrl_msg_parser()
79 genl_family_set_id(family, in ctrl_msg_parser()
81 genl_family_set_name(family, in ctrl_msg_parser()
86 genl_family_set_version(family, version); in ctrl_msg_parser()
91 genl_family_set_hdrsize(family, hdrsize); in ctrl_msg_parser()
96 genl_family_set_maxattr(family, maxattr); in ctrl_msg_parser()
123 err = genl_family_add_op(family, id, flags); in ctrl_msg_parser()
130 err = pp->pp_cb((struct nl_object *) family, pp); in ctrl_msg_parser()
132 genl_family_put(family); in ctrl_msg_parser()
225 struct genl_family *family; in genl_ctrl_resolve() local
231 family = genl_ctrl_search_by_name(cache, name); in genl_ctrl_resolve()
232 if (family == NULL) { in genl_ctrl_resolve()
237 err = genl_family_get_id(family); in genl_ctrl_resolve()
238 genl_family_put(family); in genl_ctrl_resolve()