Searched defs:attr (Results 1 - 3 of 3) sorted by relevance
/lxc/src/lxc/ |
H A D | genl.c | 38 struct nlattr *attr; local 90 attr = (struct nlattr *)GENLMSG_DATA(reply); 91 attr = (struct nlattr *)((char *)attr + NLA_ALIGN(attr->nla_len)); 94 if (attr->nla_type != CTRL_ATTR_FAMILY_ID) 97 ret = *(__u16 *) NLA_DATA(attr);
|
H A D | nl.c | 51 static int nla_put(struct nlmsg *nlmsg, int attr, argument 62 rta->rta_type = attr; 69 extern int nla_put_buffer(struct nlmsg *nlmsg, int attr, argument 72 return nla_put(nlmsg, attr, data, size); 75 extern int nla_put_string(struct nlmsg *nlmsg, int attr, const char *string) argument 77 return nla_put(nlmsg, attr, string, strlen(string) + 1); 80 extern int nla_put_u32(struct nlmsg *nlmsg, int attr, int value) argument 82 return nla_put(nlmsg, attr, &value, sizeof(value)); 85 extern int nla_put_u16(struct nlmsg *nlmsg, int attr, unsigned short value) argument 87 return nla_put(nlmsg, attr, 90 nla_put_attr(struct nlmsg *nlmsg, int attr) argument 95 nla_begin_nested(struct nlmsg *nlmsg, int attr) argument 105 nla_end_nested(struct nlmsg *nlmsg, struct rtattr *attr) argument [all...] |
/lxc/src/tests/ |
H A D | concurrent.c | 148 pthread_attr_t attr; local 155 pthread_attr_init(&attr); 227 if (pthread_create(&threads[j], &attr, concurrent, (void *) &args[j]) != 0) { 253 pthread_attr_destroy(&attr);
|
Completed in 815 milliseconds