Searched refs:attr_nr (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/include/linux/ |
D | genl_magic_struct.h | 70 #define __flg_field(attr_nr, attr_flag, name) \ argument 71 __field(attr_nr, attr_flag, name, NLA_U8, char, \ 73 #define __u8_field(attr_nr, attr_flag, name) \ argument 74 __field(attr_nr, attr_flag, name, NLA_U8, unsigned char, \ 76 #define __u16_field(attr_nr, attr_flag, name) \ argument 77 __field(attr_nr, attr_flag, name, NLA_U16, __u16, \ 79 #define __u32_field(attr_nr, attr_flag, name) \ argument 80 __field(attr_nr, attr_flag, name, NLA_U32, __u32, \ 82 #define __s32_field(attr_nr, attr_flag, name) \ argument 83 __field(attr_nr, attr_flag, name, NLA_U32, __s32, \ [all …]
|
D | genl_magic_func.h | 37 #define __field(attr_nr, attr_flag, name, nla_type, _type, __get, \ argument 39 [attr_nr] = { .type = nla_type }, 42 #define __array(attr_nr, attr_flag, name, nla_type, _type, maxlen, \ argument 44 [attr_nr] = { .type = nla_type, \ 170 #define __assign(attr_nr, attr_flag, name, nla_type, type, assignment...) \ argument 171 nla = ntb[attr_nr]; \ 187 #define __field(attr_nr, attr_flag, name, nla_type, type, __get, __put, \ argument 189 __assign(attr_nr, attr_flag, name, nla_type, type, \ 196 #define __array(attr_nr, attr_flag, name, nla_type, type, maxlen, \ argument 198 __assign(attr_nr, attr_flag, name, nla_type, type, \ [all …]
|