Lines Matching refs:cmd
98 struct genl_cmd *cmd;
106 cmd = &ops->co_genl->o_cmds[i];
107 if (cmd->c_id == ghdr->cmd)
115 if (cmd->c_msg_parser == NULL)
118 struct nlattr *tb[cmd->c_maxattr + 1];
127 err = nlmsg_parse(nlh, ops->co_hdrsize, tb, cmd->c_maxattr,
128 cmd->c_attr_policy);
132 err = cmd->c_msg_parser(ops, cmd, &info, pp);