/openbmc/linux/mm/ |
H A D | mmu_notifier.c | 169 * @interval_sub: The interval subscription 173 * subscription. If the mm invokes invalidation during the critical section 194 * If the subscription has a different seq value under the user_lock in mmu_interval_read_begin() 197 * If the subscription currently has the same seq value as the in mmu_interval_read_begin() 302 struct mmu_notifier *subscription; in mn_hlist_release() local 310 hlist_for_each_entry_rcu(subscription, &subscriptions->list, hlist, in mn_hlist_release() 318 if (subscription->ops->release) in mn_hlist_release() 319 subscription->ops->release(subscription, mm); in mn_hlist_release() 323 subscription = hlist_entry(subscriptions->list.first, in mn_hlist_release() 331 hlist_del_init_rcu(&subscription->hlist); in mn_hlist_release() [all …]
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | subscription.hpp | 44 class Subscription : public std::enable_shared_from_this<Subscription> class 47 Subscription(const Subscription&) = delete; 48 Subscription& operator=(const Subscription&) = delete; 49 Subscription(Subscription&&) = delete; 50 Subscription& operator=(Subscription&&) = delete; 52 Subscription(std::shared_ptr<persistent_data::UserSubscription> userSubIn, 56 explicit Subscription(crow::sse_socket::Connection& connIn); 58 ~Subscription() = default; 60 // callback for subscription sendData 61 void resHandler(const std::shared_ptr<Subscription>& /*self*/, [all …]
|
H A D | event_service_manager.hpp | 19 #include "subscription.hpp" 63 boost::container::flat_map<std::string, std::shared_ptr<Subscription>> 121 std::shared_ptr<Subscription> subValue = in initConfig() 122 std::make_shared<Subscription>(newSub, *url, getIoContext()); in initConfig() 239 Subscription& entry = *it.second; in setEventServiceConfig() 251 std::shared_ptr<Subscription> entry = it.second; in updateNoOfSubscribersCount() 300 std::shared_ptr<Subscription> getSubscription(const std::string& id) in getSubscription() 305 BMCWEB_LOG_ERROR("No subscription exist with ID:{}", id); in getSubscription() 308 std::shared_ptr<Subscription> subValue = obj->second; in getSubscription() 313 const std::shared_ptr<Subscription>& subValue) in addSubscriptionInternal() [all …]
|
/openbmc/bmcweb/redfish-core/src/ |
H A D | subscription.cpp | 4 #include "subscription.hpp" 49 Subscription::Subscription( in Subscription() function in redfish::Subscription 57 // Subscription constructor 61 Subscription::Subscription(crow::sse_socket::Connection& connIn) : in Subscription() function in redfish::Subscription 66 // callback for subscription sendData 67 void Subscription::resHandler(const std::shared_ptr<Subscription>& /*self*/, in resHandler() argument 88 BMCWEB_LOG_INFO("Subscription {} is deleted after MaxRetryAttempts", in resHandler() 95 void Subscription::sendHeartbeatEvent() in sendHeartbeatEvent() 115 // Note, eventId here is always zero, because this is a a per subscription in sendHeartbeatEvent() 121 void Subscription::scheduleNextHeartbeatEvent() in scheduleNextHeartbeatEvent() [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | event_notification_utils.robot | 3 Documentation Resource file for event notification subscription. 12 FOR ${subscription} IN @{subscriptions} 13 Redfish.Delete ${subscription['@odata.id']} 16 Get Event Subscription IDs 17 [Documentation] Get event subscription IDs. 22 FOR ${subscription} IN @{subscriptions} 24 ... ${subscription['@odata.id'].split("/redfish/v1/EventService/Subscriptions/")[-1]} 31 ${subscription_ids}= Get Event Subscription IDs 42 Delete Event Subscription Of Unpingable Destination IPs 43 [Documentation] Delete event subscription with non-pinging destination IPs. [all …]
|
/openbmc/bmcweb/include/ |
H A D | persistent_data.hpp | 197 "Problem reading subscription from persistent store"); in readData() 202 BMCWEB_LOG_DEBUG("Restored subscription: {} {}", id, in readData() 338 BMCWEB_LOG_DEBUG("The subscription type is SSE, so skipping."); in writeData() 353 nlohmann::json::object_t subscription; in writeData() local 355 subscription["Id"] = subValue.id; in writeData() 356 subscription["Context"] = subValue.customText; in writeData() 357 subscription["DeliveryRetryPolicy"] = subValue.retryPolicy; in writeData() 358 subscription["SendHeartbeat"] = subValue.sendHeartbeat; in writeData() 359 subscription["HeartbeatIntervalMinutes"] = in writeData() 361 subscription["Destination"] = subValue.destinationUrl; in writeData() [all …]
|
/openbmc/linux/net/tipc/ |
H A D | subscr.h | 51 * struct tipc_subscription - TIPC network topology subscription object 52 * @s: host-endian copy of the user subscription 53 * @evt: template for events generated by subscription 54 * @kref: reference count for this subscription 55 * @net: network namespace associated with subscription 56 * @timer: timer governing subscription duration (optional) 57 * @service_list: adjacent subscriptions in name sequence's subscription list 58 * @sub_list: adjacent subscriptions in subscriber's subscription list 60 * @inactive: true if this subscription is inactive 87 void tipc_sub_put(struct tipc_subscription *subscription); [all …]
|
H A D | subscr.c | 67 * tipc_sub_check_overlap - test for subscription overlap with the given values 121 void tipc_sub_put(struct tipc_subscription *subscription) in tipc_sub_put() argument 123 kref_put(&subscription->kref, tipc_sub_kref_release); in tipc_sub_put() 126 void tipc_sub_get(struct tipc_subscription *subscription) in tipc_sub_get() argument 128 kref_get(&subscription->kref); in tipc_sub_get() 143 pr_warn("Subscription rejected, illegal request\n"); in tipc_sub_subscribe() 148 pr_warn("Subscription rejected, no memory\n"); in tipc_sub_subscribe()
|
/openbmc/docs/designs/ |
H A D | redfish-eventservice.md | 50 subscription details. 54 The service may terminate a subscription if the number of delivery error's 56 - For Push style event subscription creation, BMC shall respond to a successful 57 subscription with HTTP status 201 and set the HTTP Location header to the 58 address of a new subscription resource. Subscriptions are persistent and shall 60 - For Push style event subscription creation, BMC shall respond to client with 65 in EventService schema with 201(created) along with subscription information. 67 subscription is valid. BMC shall respond with https code 400, if filter 69 Also SSE subscription data cannot be persistent across service resets/reboots. 70 - Clients shall terminate a subscription by sending an DELETE message to the URI [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | EventDestination.v1_15_1.json | 49 …"RetryForever": "The subscription is not suspended or terminated, and attempts at delivery of futu… 50 …"RetryForeverWithBackoff": "The subscription is not suspended or terminated, and attempts at deliv… 51 … "SuspendRetries": "The subscription is suspended after the maximum number of retries is reached.", 52 …"TerminateAfterRetries": "The subscription is terminated after the maximum number of retries is re… 55 …"RetryForever": "This value shall indicate the subscription is not suspended or terminated, and at… 56 …"RetryForeverWithBackoff": "This value shall indicate the subscription is not suspended or termina… 57 …subscription is suspended after the maximum number of retries is reached, specified by the `Delive… 58 …subscription is terminated after the maximum number of retries is reached, specified by the `Deliv… 67 …ption": "The `EventDestination` schema defines the target of an event subscription, including the … 68 …"longDescription": "This resource shall represent the target of an event subscription, including t… [all …]
|
H A D | EventService.v1_11_0.json | 77 …subscription terminates or is suspended. This retry occurs at the service level, which means that… 78 …subscription terminates or is suspended. This retry occurs at the service level, which means that… 84 …erval, in seconds, between the retry attempts for any event sent to the subscription destination.", 166 …r the `RegistryPrefixes` or `ExcludeRegistryPrefixes` properties on a subscription. If this prope… 173 …e prefixes of the message registries that shall be allowed or excluded for an event subscription.", 179 …schema names, that can be specified in the `ResourceTypes` array in a subscription. If this prope… 186 …ll specify an array of the valid `@odata.type` values that can be used for an event subscription.", 231 …tion": "The list of severities that can be specified in the `Severities` array in a subscription.", 242 …fy an array of the allowable severities that can be used for an event subscription. If this prope…
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | EventDestination.v1_15_1.json | 49 …"RetryForever": "The subscription is not suspended or terminated, and attempts at delivery of futu… 50 …"RetryForeverWithBackoff": "The subscription is not suspended or terminated, and attempts at deliv… 51 … "SuspendRetries": "The subscription is suspended after the maximum number of retries is reached.", 52 …"TerminateAfterRetries": "The subscription is terminated after the maximum number of retries is re… 55 …"RetryForever": "This value shall indicate the subscription is not suspended or terminated, and at… 56 …"RetryForeverWithBackoff": "This value shall indicate the subscription is not suspended or termina… 57 …subscription is suspended after the maximum number of retries is reached, specified by the `Delive… 58 …subscription is terminated after the maximum number of retries is reached, specified by the `Deliv… 67 …ption": "The `EventDestination` schema defines the target of an event subscription, including the … 68 …"longDescription": "This resource shall represent the target of an event subscription, including t… [all …]
|
H A D | EventService.v1_11_0.json | 77 …subscription terminates or is suspended. This retry occurs at the service level, which means that… 78 …subscription terminates or is suspended. This retry occurs at the service level, which means that… 84 …erval, in seconds, between the retry attempts for any event sent to the subscription destination.", 166 …r the `RegistryPrefixes` or `ExcludeRegistryPrefixes` properties on a subscription. If this prope… 173 …e prefixes of the message registries that shall be allowed or excluded for an event subscription.", 179 …schema names, that can be specified in the `ResourceTypes` array in a subscription. If this prope… 186 …ll specify an array of the valid `@odata.type` values that can be used for an event subscription.", 231 …tion": "The list of severities that can be specified in the `Severities` array in a subscription.", 242 …fy an array of the allowable severities that can be used for an event subscription. If this prope…
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | smsm.c | 22 * holding the state bits and the second holding a matrix of subscription bits. 28 * The subscription matrix consists of N bitmaps per entry, denoting interest 30 * each host's subscription bitmap should be queried and the remote system 33 * The subscription matrix is laid out in entry-major order: 41 * the subscription matrix. 64 * @local_host: column in the subscription matrix representing this system 65 * @num_hosts: number of columns in the subscription matrix 66 * @num_entries: number of entries in the state map and rows in the subscription 69 * @subscription: pointer to local processor's row in subscription matrix 84 u32 *subscription; member [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | eventservice_sse.hpp | 11 #include "subscription.hpp" 55 std::shared_ptr<Subscription> subValue = in createSubscription() 56 std::make_shared<Subscription>(conn); in createSubscription() 60 BMCWEB_LOG_ERROR("Subscription data is null"); in createSubscription() 87 // subscription, because functionally, that's the operation being done in requestRoutesEventServiceSse()
|
/openbmc/linux/include/linux/ |
H A D | mmu_notifier.h | 88 void (*release)(struct mmu_notifier *subscription, 100 int (*clear_flush_young)(struct mmu_notifier *subscription, 110 int (*clear_young)(struct mmu_notifier *subscription, 121 int (*test_young)(struct mmu_notifier *subscription, 129 void (*change_pte)(struct mmu_notifier *subscription, 184 int (*invalidate_range_start)(struct mmu_notifier *subscription, 186 void (*invalidate_range_end)(struct mmu_notifier *subscription, 207 struct mmu_notifier *subscription, 223 void (*free_notifier)(struct mmu_notifier *subscription); 297 void mmu_notifier_put(struct mmu_notifier *subscription); [all …]
|
/openbmc/linux/sound/core/seq/ |
H A D | seq_ports.h | 18 If a port supports SUBSCRIPTION, that port can send events to all 21 recipients that are registered in the subscription list. A typical 22 application for these SUBSCRIPTION events is handling of incoming MIDI 115 /* add subscriber to subscription list */ 121 /* remove subscriber from subscription list */
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | EventDestination_v1.xml | 45 … String="The `EventDestination` schema defines the target of an event subscription, including the … 46 …ription" String="This resource shall represent the target of an event subscription, including the … 72 <Annotation Term="OData.Description" String="This action suspends an event subscription."/> 73 …subscription. No events shall be sent to the event destination until invocation of the `ResumeSub… 86 …<Annotation Term="OData.Description" String="This action resumes a suspended event subscription."/> 87 … a suspended event subscription, which affects the subscription status. The service may deliver b… 90 …ing="The maximum age of buffered events that should be delivered when resuming the subscription."/> 91 …red events that shall be delivered to this event destination when the subscription is resumed. Th… 113 …<Annotation Term="OData.Description" String="The subscription destination receives an event payloa… 114 …<Annotation Term="OData.LongDescription" String="The subscription destination shall receive an eve… [all …]
|
H A D | EventService_v1.xml | 173 …subscription terminates or is suspended. This retry occurs at the service level, which means that… 174 …subscription terminates or is suspended. This retry occurs at the service level, which means that… 180 …rval, in seconds, between the retry attempts for any event sent to the subscription destination."/> 327 … String="Updated the description for `DeliveryRetryAttempts` to include subscription suspension."/> 407 … String="Updated the description for `DeliveryRetryAttempts` to include subscription suspension."/> 418 …r the `RegistryPrefixes` or `ExcludeRegistryPrefixes` properties on a subscription. If this prope… 419 … prefixes of the message registries that shall be allowed or excluded for an event subscription."/> 423 …schema names, that can be specified in the `ResourceTypes` array in a subscription. If this prope… 424 …l specify an array of the valid `@odata.type` values that can be used for an event subscription."/> 555 … String="Updated the description for `DeliveryRetryAttempts` to include subscription suspension."/> [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | tipc.h | 108 * TIPC topology subscription service definitions 113 #define TIPC_SUB_CANCEL 0x04 /* filter: cancel a subscription */ 115 #define TIPC_WAIT_FOREVER (~0) /* timeout for permanent subscription */ 119 __u32 timeout; /* subscription duration (in ms) */ 126 #define TIPC_SUBSCR_TIMEOUT 3 /* subscription timeout event */ 133 struct tipc_subscr s; /* associated subscription */
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | EventDestination_v1.xml | 45 <Annotation Term="OData.Description" String="The `EventDestination` schema defines the target of an event subscription, including the event types and context to provide to the target in the event payload."/> 46 <Annotation Term="OData.LongDescription" String="This resource shall represent the target of an event subscription, including the event types and context to provide to the target in the event payload."/> 72 <Annotation Term="OData.Description" String="This action suspends an event subscription."/> 73 <Annotation Term="OData.LongDescription" String="This action shall suspend an event subscription. No events shall be sent to the event destination until invocation of the `ResumeSubscription` action. The value of the `State` property within `Status` shall contain `Disabled` for a suspended subscription. The service may buffer events while the subscription is suspended."/> 86 <Annotation Term="OData.Description" String="This action resumes a suspended event subscription."/> 87 <Annotation Term="OData.LongDescription" String="This action shall resume a suspended event subscription, which affects the subscription status. The service may deliver buffered events when the subscription i [all...] |
/openbmc/linux/include/uapi/linux/can/ |
H A D | bcm.h | 82 RX_SETUP, /* create RX content filter subscription */ 83 RX_DELETE, /* remove RX content filter subscription */ 84 RX_READ, /* read properties of RX content filter subscription */
|
/openbmc/linux/drivers/misc/vmw_vmci/ |
H A D | vmci_event.c | 127 * @subscription_id: ID used to track subscription. Used with 144 pr_devel("%s: Invalid subscription (NULL)\n", __func__); in vmci_event_subscribe() 198 * @sub_id: A subscription ID as provided by vmci_event_subscribe()
|
/openbmc/linux/kernel/ |
H A D | groups.c | 114 * set_groups - Change a group subscription in a set of credentials 128 * set_current_groups - Change current's group subscription 131 * Validate a group subscription and, if valid, impose it upon current's task
|
/openbmc/linux/Documentation/process/ |
H A D | embargoed-hardware-issues.rst | 300 Subscription to incident specific lists 303 Subscription is handled by the response teams. Disclosed parties who want 305 the response team so the response team can validate subscription requests. 307 Each subscriber needs to send a subscription request to the response team 314 the subscriber to the list. After subscription the subscriber will receive
|