Searched refs:attr_nr (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | genl_magic_struct.h | 70 #define __flg_field(attr_nr, attr_flag, name) \ argument 73 #define __u8_field(attr_nr, attr_flag, name) \ argument 76 #define __u16_field(attr_nr, attr_flag, name) \ argument 79 #define __u32_field(attr_nr, attr_flag, name) \ argument 82 #define __s32_field(attr_nr, attr_flag, name) \ argument 97 __flg_field(attr_nr, attr_flag, name) 99 __u32_field(attr_nr, attr_flag, name) 101 __s32_field(attr_nr, attr_flag, name) 103 __str_field(attr_nr, attr_flag, name, maxlen) 230 case attr_nr: [all …]
|
H A D | genl_magic_func.h | 37 #define __field(attr_nr, attr_flag, name, nla_type, _type, __get, \ argument 39 [attr_nr] = { .type = nla_type }, 44 [attr_nr] = { .type = nla_type, \ 171 nla = ntb[attr_nr]; \ 189 __assign(attr_nr, attr_flag, name, nla_type, type, \ 198 __assign(attr_nr, attr_flag, name, nla_type, type, \ 357 if (__put(skb, attr_nr, s->name)) \ 366 if (__put(skb, attr_nr, min_t(int, maxlen, \ 384 #define __u32_field_def(attr_nr, attr_flag, name, default) \ argument 387 #define __s32_field_def(attr_nr, attr_flag, name, default) \ argument [all …]
|