Lines Matching refs:_method_id
52 #define DECLARE_UVERBS_NAMED_METHOD(_method_id, ...) \ argument
54 _method_id)[] = { __VA_ARGS__ }; \
55 static const struct uverbs_method_def UVERBS_METHOD(_method_id) = { \
56 .id = _method_id, \
57 .handler = UVERBS_HANDLER(_method_id), \
58 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \
59 .attrs = &UVERBS_METHOD_ATTRS(_method_id), \
66 #define DECLARE_UVERBS_NAMED_METHOD_DESTROY(_method_id, _handle_attr) \ argument
68 _method_id)[] = { _handle_attr }; \
69 static const struct uverbs_method_def UVERBS_METHOD(_method_id) = { \
70 .id = _method_id, \
72 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \
73 .attrs = &UVERBS_METHOD_ATTRS(_method_id), \
121 #define ADD_UVERBS_ATTRIBUTES_SIMPLE(_name, _object_id, _method_id, ...) \ argument
123 _method_id)[] = { __VA_ARGS__ }; \
124 static const struct uverbs_method_def UVERBS_METHOD(_method_id) = { \
125 .id = _method_id, \
126 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \
127 .attrs = &UVERBS_METHOD_ATTRS(_method_id), \
129 ADD_UVERBS_METHODS(_name, _object_id, &UVERBS_METHOD(_method_id))