Lines Matching refs:attr_nr
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, \
85 #define __u64_field(attr_nr, attr_flag, name) \ argument
86 __field(attr_nr, attr_flag, name, NLA_U64, __u64, \
88 #define __str_field(attr_nr, attr_flag, name, maxlen) \ argument
89 __array(attr_nr, attr_flag, name, NLA_NUL_STRING, char, maxlen, \
91 #define __bin_field(attr_nr, attr_flag, name, maxlen) \ argument
92 __array(attr_nr, attr_flag, name, NLA_BINARY, char, maxlen, \
96 #define __flg_field_def(attr_nr, attr_flag, name, default) \ argument
97 __flg_field(attr_nr, attr_flag, name)
98 #define __u32_field_def(attr_nr, attr_flag, name, default) \ argument
99 __u32_field(attr_nr, attr_flag, name)
100 #define __s32_field_def(attr_nr, attr_flag, name, default) \ argument
101 __s32_field(attr_nr, attr_flag, name)
102 #define __str_field_def(attr_nr, attr_flag, name, maxlen) \ argument
103 __str_field(attr_nr, attr_flag, name, maxlen)
159 #define __field(attr_nr, attr_flag, name, nla_type, type, \ argument
161 T_ ## name = (__u16)(attr_nr | ((attr_flag) & DRBD_GENLA_F_MANDATORY)),
164 #define __array(attr_nr, attr_flag, name, nla_type, type, \ argument
166 T_ ## name = (__u16)(attr_nr | ((attr_flag) & DRBD_GENLA_F_MANDATORY)),
228 #define __field(attr_nr, attr_flag, name, nla_type, type, __get, __put, \ argument
230 case attr_nr:
233 #define __array(attr_nr, attr_flag, name, nla_type, type, maxlen, \ argument
235 case attr_nr:
252 #define __field(attr_nr, attr_flag, name, nla_type, type, __get, __put, \ argument
257 #define __array(attr_nr, attr_flag, name, nla_type, type, maxlen, \ argument
271 #define __field(attr_nr, attr_flag, name, nla_type, type, __get, __put, \ argument
276 #define __array(attr_nr, attr_flag, name, nla_type, type, maxlen, \ argument