Searched refs:NLA_DATA (Results 1 – 3 of 3) sorted by relevance
/linux/tools/accounting/ |
H A D | getdelays.c | 39 #define NLA_DATA(na) ((void *)((char*)(na) + NLA_HDRLEN)) macro 139 memcpy(NLA_DATA(na), nla_data, nla_len); in send_cmd() 189 id = *(__u16 *) NLA_DATA(na); in get_family_id() 501 na = (struct nlattr *) NLA_DATA(na); in main() 505 rtid = *(int *) NLA_DATA(na); in main() 510 rtid = *(int *) NLA_DATA(na); in main() 516 print_delayacct((struct taskstats *) NLA_DATA(na)); in main() 518 print_ioacct((struct taskstats *) NLA_DATA(na)); in main() 520 task_context_switch_counts((struct taskstats *) NLA_DATA(na)); in main() 522 if (write(fd, NLA_DATA(na), na->nla_len) < 0) { in main() [all …]
|
H A D | procacct.c | 51 #define NLA_DATA(na) ((void *)((char *)(na) + NLA_HDRLEN)) macro 146 memcpy(NLA_DATA(na), nla_data, nla_len); in send_cmd() 196 id = *(__u16 *) NLA_DATA(na); in get_family_id() 230 na = (struct nlattr *) NLA_DATA(na); in handle_aggr() 234 rtid = *(int *) NLA_DATA(na); in handle_aggr() 238 rtid = *(int *) NLA_DATA(na); in handle_aggr() 243 print_procacct((struct taskstats *) NLA_DATA(na)); in handle_aggr() 245 if (write(fd, NLA_DATA(na), na->nla_len) < 0) in handle_aggr()
|
/linux/tools/testing/selftests/nci/ |
H A D | nci_dev.c | 23 #define NLA_DATA(na) ((void *)((char *)(na) + NLA_HDRLEN)) macro 137 memcpy(NLA_DATA(na), nla_data[cnt], nla_len[cnt]); in send_cmd_mt_nla() 207 id = *(__u16 *)NLA_DATA(na); in get_family_id() 291 return *(char *)NLA_DATA(na); in get_dev_enable_state()
|