Lines Matching refs:_object_id
49 #define DECLARE_UVERBS_NAMED_OBJECT(_object_id, _type_attrs, ...) \ argument
51 _object_id)[] = { __VA_ARGS__ }; \
52 static const struct uverbs_object_def UVERBS_OBJECT(_object_id) = { \
53 .id = _object_id, \
55 .num_methods = ARRAY_SIZE(UVERBS_OBJECT_METHODS(_object_id)), \
56 .methods = &UVERBS_OBJECT_METHODS(_object_id) \
64 #define DECLARE_UVERBS_GLOBAL_METHODS(_object_id, ...) \ argument
66 _object_id)[] = { __VA_ARGS__ }; \
67 static const struct uverbs_object_def UVERBS_OBJECT(_object_id) = { \
68 .id = _object_id, \
69 .num_methods = ARRAY_SIZE(UVERBS_OBJECT_METHODS(_object_id)), \
70 .methods = &UVERBS_OBJECT_METHODS(_object_id) \
75 #define ADD_UVERBS_METHODS(_name, _object_id, ...) \ argument
77 _object_id)[] = { __VA_ARGS__ }; \
79 .id = _object_id, \
80 .num_methods = ARRAY_SIZE(UVERBS_OBJECT_METHODS(_object_id)), \
81 .methods = &UVERBS_OBJECT_METHODS(_object_id) \
87 #define ADD_UVERBS_ATTRIBUTES_SIMPLE(_name, _object_id, _method_id, ...) \ argument
95 ADD_UVERBS_METHODS(_name, _object_id, &UVERBS_METHOD(_method_id))