Lines Matching refs:op
103 struct genl_family_op *op;
106 nl_list_for_each_entry(op, &family->gf_ops, o_list) {
107 ops_flags2str(op->o_flags, buf, sizeof(buf));
109 genl_op2name(family->gf_id, op->o_id, buf, sizeof(buf));
111 nl_dump_line(p, " op %s (0x%02x)", buf, op->o_id);
113 if (op->o_flags)
115 ops_flags2str(op->o_flags, buf,
243 struct genl_family_op *op;
245 op = calloc(1, sizeof(*op));
246 if (op == NULL)
249 op->o_id = id;
250 op->o_flags = flags;
252 nl_list_add_tail(&op->o_list, &family->gf_ops);