_method_id 52 include/rdma/uverbs_named_ioctl.h #define DECLARE_UVERBS_NAMED_METHOD(_method_id, ...) \ _method_id 54 include/rdma/uverbs_named_ioctl.h _method_id)[] = { __VA_ARGS__ }; \ _method_id 55 include/rdma/uverbs_named_ioctl.h static const struct uverbs_method_def UVERBS_METHOD(_method_id) = { \ _method_id 56 include/rdma/uverbs_named_ioctl.h .id = _method_id, \ _method_id 57 include/rdma/uverbs_named_ioctl.h .handler = UVERBS_HANDLER(_method_id), \ _method_id 58 include/rdma/uverbs_named_ioctl.h .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \ _method_id 59 include/rdma/uverbs_named_ioctl.h .attrs = &UVERBS_METHOD_ATTRS(_method_id), \ _method_id 66 include/rdma/uverbs_named_ioctl.h #define DECLARE_UVERBS_NAMED_METHOD_DESTROY(_method_id, _handle_attr) \ _method_id 68 include/rdma/uverbs_named_ioctl.h _method_id)[] = { _handle_attr }; \ _method_id 69 include/rdma/uverbs_named_ioctl.h static const struct uverbs_method_def UVERBS_METHOD(_method_id) = { \ _method_id 70 include/rdma/uverbs_named_ioctl.h .id = _method_id, \ _method_id 72 include/rdma/uverbs_named_ioctl.h .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \ _method_id 73 include/rdma/uverbs_named_ioctl.h .attrs = &UVERBS_METHOD_ATTRS(_method_id), \ _method_id 114 include/rdma/uverbs_named_ioctl.h #define ADD_UVERBS_ATTRIBUTES_SIMPLE(_name, _object_id, _method_id, ...) \ _method_id 116 include/rdma/uverbs_named_ioctl.h _method_id)[] = { __VA_ARGS__ }; \ _method_id 117 include/rdma/uverbs_named_ioctl.h static const struct uverbs_method_def UVERBS_METHOD(_method_id) = { \ _method_id 118 include/rdma/uverbs_named_ioctl.h .id = _method_id, \ _method_id 119 include/rdma/uverbs_named_ioctl.h .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \ _method_id 120 include/rdma/uverbs_named_ioctl.h .attrs = &UVERBS_METHOD_ATTRS(_method_id), \ _method_id 122 include/rdma/uverbs_named_ioctl.h ADD_UVERBS_METHODS(_name, _object_id, &UVERBS_METHOD(_method_id))