Lines Matching refs:_method_id
25 #define DECLARE_UVERBS_NAMED_METHOD(_method_id, ...) \ argument
27 _method_id)[] = { __VA_ARGS__ }; \
28 static const struct uverbs_method_def UVERBS_METHOD(_method_id) = { \
29 .id = _method_id, \
30 .handler = UVERBS_HANDLER(_method_id), \
31 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \
32 .attrs = &UVERBS_METHOD_ATTRS(_method_id), \
39 #define DECLARE_UVERBS_NAMED_METHOD_DESTROY(_method_id, _handle_attr) \ argument
41 _method_id)[] = { _handle_attr }; \
42 static const struct uverbs_method_def UVERBS_METHOD(_method_id) = { \
43 .id = _method_id, \
45 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \
46 .attrs = &UVERBS_METHOD_ATTRS(_method_id), \
87 #define ADD_UVERBS_ATTRIBUTES_SIMPLE(_name, _object_id, _method_id, ...) \ argument
89 _method_id)[] = { __VA_ARGS__ }; \
90 static const struct uverbs_method_def UVERBS_METHOD(_method_id) = { \
91 .id = _method_id, \
92 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \
93 .attrs = &UVERBS_METHOD_ATTRS(_method_id), \
95 ADD_UVERBS_METHODS(_name, _object_id, &UVERBS_METHOD(_method_id))