Home
last modified time | relevance | path

Searched refs:attr_nr (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/include/linux/
Dgenl_magic_struct.h72 #define __flg_field(attr_nr, attr_flag, name) \ argument
73 __field(attr_nr, attr_flag, name, NLA_U8, char, \
75 #define __u8_field(attr_nr, attr_flag, name) \ argument
76 __field(attr_nr, attr_flag, name, NLA_U8, unsigned char, \
78 #define __u16_field(attr_nr, attr_flag, name) \ argument
79 __field(attr_nr, attr_flag, name, NLA_U16, __u16, \
81 #define __u32_field(attr_nr, attr_flag, name) \ argument
82 __field(attr_nr, attr_flag, name, NLA_U32, __u32, \
84 #define __s32_field(attr_nr, attr_flag, name) \ argument
85 __field(attr_nr, attr_flag, name, NLA_U32, __s32, \
[all …]
Dgenl_magic_func.h36 #define __field(attr_nr, attr_flag, name, nla_type, _type, __get, \ argument
38 [attr_nr] = { .type = nla_type },
41 #define __array(attr_nr, attr_flag, name, nla_type, _type, maxlen, \ argument
43 [attr_nr] = { .type = nla_type, \
169 #define __assign(attr_nr, attr_flag, name, nla_type, type, assignment...) \ argument
170 nla = ntb[attr_nr]; \
186 #define __field(attr_nr, attr_flag, name, nla_type, type, __get, __put, \ argument
188 __assign(attr_nr, attr_flag, name, nla_type, type, \
195 #define __array(attr_nr, attr_flag, name, nla_type, type, maxlen, \ argument
197 __assign(attr_nr, attr_flag, name, nla_type, type, \
[all …]