• Home
  • Raw
  • Download

Lines Matching refs:na

38 #define NLA_DATA(na)		((void *)((char*)(na) + NLA_HDRLEN))  argument
122 struct nlattr *na; in send_cmd() local
136 na = (struct nlattr *) GENLMSG_DATA(&msg); in send_cmd()
137 na->nla_type = nla_type; in send_cmd()
138 na->nla_len = nla_len + 1 + NLA_HDRLEN; in send_cmd()
139 memcpy(NLA_DATA(na), nla_data, nla_len); in send_cmd()
140 msg.n.nlmsg_len += NLMSG_ALIGN(na->nla_len); in send_cmd()
171 struct nlattr *na; in get_family_id() local
186 na = (struct nlattr *) GENLMSG_DATA(&ans); in get_family_id()
187 na = (struct nlattr *) ((char *) na + NLA_ALIGN(na->nla_len)); in get_family_id()
188 if (na->nla_type == CTRL_ATTR_FAMILY_ID) { in get_family_id()
189 id = *(__u16 *) NLA_DATA(na); in get_family_id()
262 struct nlattr *na; in main() local
467 na = (struct nlattr *) GENLMSG_DATA(&msg); in main()
470 len += NLA_ALIGN(na->nla_len); in main()
471 switch (na->nla_type) { in main()
475 aggr_len = NLA_PAYLOAD(na->nla_len); in main()
478 na = (struct nlattr *) NLA_DATA(na); in main()
481 switch (na->nla_type) { in main()
483 rtid = *(int *) NLA_DATA(na); in main()
488 rtid = *(int *) NLA_DATA(na); in main()
495 print_delayacct((struct taskstats *) NLA_DATA(na)); in main()
497 print_ioacct((struct taskstats *) NLA_DATA(na)); in main()
499 task_context_switch_counts((struct taskstats *) NLA_DATA(na)); in main()
501 if (write(fd, NLA_DATA(na), na->nla_len) < 0) { in main()
513 na->nla_type); in main()
516 len2 += NLA_ALIGN(na->nla_len); in main()
517 na = (struct nlattr *)((char *)na + in main()
518 NLA_ALIGN(na->nla_len)); in main()
523 print_cgroupstats(NLA_DATA(na)); in main()
527 na->nla_type); in main()
531 na = (struct nlattr *) (GENLMSG_DATA(&msg) + len); in main()