| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/ |
| D | notify.c | 24 #include <core/notify.h> 28 nvkm_notify_put_locked(struct nvkm_notify *notify) in nvkm_notify_put_locked() argument 30 if (notify->block++ == 0) in nvkm_notify_put_locked() 31 nvkm_event_put(notify->event, notify->types, notify->index); in nvkm_notify_put_locked() 35 nvkm_notify_put(struct nvkm_notify *notify) in nvkm_notify_put() argument 37 struct nvkm_event *event = notify->event; in nvkm_notify_put() 40 test_and_clear_bit(NVKM_NOTIFY_USER, ¬ify->flags)) { in nvkm_notify_put() 42 nvkm_notify_put_locked(notify); in nvkm_notify_put() 44 if (test_bit(NVKM_NOTIFY_WORK, ¬ify->flags)) in nvkm_notify_put() 45 flush_work(¬ify->work); in nvkm_notify_put() [all …]
|
| D | client.c | 26 #include <core/notify.h> 84 struct nvkm_client_notify *notify = container_of(n, typeof(*notify), n); in nvkm_client_notify() local 85 struct nvkm_client *client = notify->client; in nvkm_client_notify() 86 return client->ntfy(¬ify->rep, notify->size, n->data, n->size); in nvkm_client_notify() 92 if (index < ARRAY_SIZE(client->notify)) { in nvkm_client_notify_put() 93 if (client->notify[index]) { in nvkm_client_notify_put() 94 nvkm_notify_put(&client->notify[index]->n); in nvkm_client_notify_put() 104 if (index < ARRAY_SIZE(client->notify)) { in nvkm_client_notify_get() 105 if (client->notify[index]) { in nvkm_client_notify_get() 106 nvkm_notify_get(&client->notify[index]->n); in nvkm_client_notify_get() [all …]
|
| D | event.c | 23 #include <core/notify.h> 55 struct nvkm_notify *notify; in nvkm_event_send() local 62 list_for_each_entry(notify, &event->list, head) { in nvkm_event_send() 63 if (notify->index == index && (notify->types & types)) { in nvkm_event_send() 65 event->func->send(data, size, notify); in nvkm_event_send() 68 nvkm_notify_send(notify, data, size); in nvkm_event_send()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/ |
| D | notify.c | 27 #include <nvif/notify.h> 33 nvif_notify_put_(struct nvif_notify *notify) in nvif_notify_put_() argument 35 struct nvif_object *object = notify->object; in nvif_notify_put_() 41 .ntfy.index = notify->index, in nvif_notify_put_() 44 if (atomic_inc_return(¬ify->putcnt) != 1) in nvif_notify_put_() 51 nvif_notify_put(struct nvif_notify *notify) in nvif_notify_put() argument 53 if (likely(notify->object) && in nvif_notify_put() 54 test_and_clear_bit(NVIF_NOTIFY_USER, ¬ify->flags)) { in nvif_notify_put() 55 int ret = nvif_notify_put_(notify); in nvif_notify_put() 56 if (test_bit(NVIF_NOTIFY_WORK, ¬ify->flags)) in nvif_notify_put() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/netdevsim/ |
| D | fib_notifications.sh | 84 local notify=$1; shift 89 ip netns exec testns1 sysctl -qw net.$ip.fib_notify_on_flag_change=$notify 114 local notify=0 117 route_addition_check $ip $notify $route $expected_num_notifications 120 notify=1 122 route_addition_check $ip $notify $route $expected_num_notifications 124 # notify=2 means emit notifications only for failed route installation, 127 notify=2 129 route_addition_check $ip $notify $route $expected_num_notifications 137 local notify=$1; shift [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dmub/src/ |
| D | dmub_srv_stat.c | 42 * @notify: dmub notification structure to be filled up 47 struct dmub_notification *notify) in dmub_srv_stat_get_notification() argument 57 notify->type = DMUB_NOTIFICATION_NO_DATA; in dmub_srv_stat_get_notification() 58 notify->pending_notification = false; in dmub_srv_stat_get_notification() 66 notify->type = DMUB_NOTIFICATION_NO_DATA; in dmub_srv_stat_get_notification() 67 notify->pending_notification = false; in dmub_srv_stat_get_notification() 73 notify->type = DMUB_NOTIFICATION_AUX_REPLY; in dmub_srv_stat_get_notification() 74 notify->link_index = cmd.dp_aux_reply.control.instance; in dmub_srv_stat_get_notification() 75 notify->result = cmd.dp_aux_reply.control.result; in dmub_srv_stat_get_notification() 76 dmub_memcpy((void *)¬ify->aux_reply, in dmub_srv_stat_get_notification() [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/acpica/ |
| D | evmisc.c | 58 * notify_value - Value from the Notify() request 84 /* Get the correct notify list type (System or Device) */ in acpi_ev_queue_notify_request() 92 /* Get the notify object attached to the namespace Node */ in acpi_ev_queue_notify_request() 104 * If there is no notify handler (Global or Local) in acpi_ev_queue_notify_request() 105 * for this object, just ignore the notify in acpi_ev_queue_notify_request() 110 "No notify handler for Notify, ignoring (%4.4s, %X) node %p\n", in acpi_ev_queue_notify_request() 117 /* Setup notify info and schedule the notify dispatcher */ in acpi_ev_queue_notify_request() 126 info->notify.node = node; in acpi_ev_queue_notify_request() 127 info->notify.value = (u16)notify_value; in acpi_ev_queue_notify_request() 128 info->notify.handler_list_id = handler_list_id; in acpi_ev_queue_notify_request() [all …]
|
| /kernel/linux/linux-6.6/drivers/acpi/acpica/ |
| D | evmisc.c | 58 * notify_value - Value from the Notify() request 84 /* Get the correct notify list type (System or Device) */ in acpi_ev_queue_notify_request() 92 /* Get the notify object attached to the namespace Node */ in acpi_ev_queue_notify_request() 104 * If there is no notify handler (Global or Local) in acpi_ev_queue_notify_request() 105 * for this object, just ignore the notify in acpi_ev_queue_notify_request() 110 "No notify handler for Notify, ignoring (%4.4s, %X) node %p\n", in acpi_ev_queue_notify_request() 117 /* Setup notify info and schedule the notify dispatcher */ in acpi_ev_queue_notify_request() 126 info->notify.node = node; in acpi_ev_queue_notify_request() 127 info->notify.value = (u16)notify_value; in acpi_ev_queue_notify_request() 128 info->notify.handler_list_id = handler_list_id; in acpi_ev_queue_notify_request() [all …]
|
| /kernel/linux/linux-6.6/fs/xfs/ |
| D | xfs_notify_failure.c | 37 const struct xfs_failure_info *notify) in xfs_failure_pgoff() argument 41 if (notify->startblock > rec->rm_startblock) in xfs_failure_pgoff() 43 notify->startblock - rec->rm_startblock); in xfs_failure_pgoff() 51 const struct xfs_failure_info *notify) in xfs_failure_pgcnt() argument 58 start_cross = max(rec->rm_startblock, notify->startblock); in xfs_failure_pgcnt() 61 end_notify = notify->startblock + notify->blockcount; in xfs_failure_pgcnt() 75 struct xfs_failure_info *notify = data; in xfs_dax_failure_fn() local 80 notify->want_shutdown = true; in xfs_dax_failure_fn() 91 notify->want_shutdown = true; in xfs_dax_failure_fn() 96 xfs_failure_pgoff(mp, rec, notify), in xfs_dax_failure_fn() [all …]
|
| /kernel/linux/linux-5.10/net/netfilter/ |
| D | nf_conntrack_ecache.c | 138 struct nf_ct_event_notifier *notify; in nf_conntrack_eventmask_report() local 142 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in nf_conntrack_eventmask_report() 143 if (!notify) in nf_conntrack_eventmask_report() 162 ret = notify->fcn(eventmask | missed, &item); in nf_conntrack_eventmask_report() 195 struct nf_ct_event_notifier *notify; in nf_ct_deliver_cached_events() local 201 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in nf_ct_deliver_cached_events() 202 if (notify == NULL) in nf_ct_deliver_cached_events() 226 ret = notify->fcn(events | missed, &item); in nf_ct_deliver_cached_events() 249 struct nf_exp_event_notifier *notify; in nf_ct_expect_event_report() local 253 notify = rcu_dereference(net->ct.nf_expect_event_cb); in nf_ct_expect_event_report() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/ |
| D | bench_htab_mem.c | 26 pthread_barrier_t *notify; member 121 ctx.notify = barriers; in htab_mem_bench_init_barriers() 129 if (!ctx.notify) in htab_mem_bench_exit_barriers() 134 pthread_barrier_destroy(&ctx.notify[i]); in htab_mem_bench_exit_barriers() 135 free(ctx.notify); in htab_mem_bench_exit_barriers() 223 static void htab_mem_add_fn(pthread_barrier_t *notify) in htab_mem_add_fn() argument 228 /* Notify deletion thread to do deletion */ in htab_mem_add_fn() 229 pthread_barrier_wait(notify); in htab_mem_add_fn() 231 pthread_barrier_wait(notify); in htab_mem_add_fn() 235 static void htab_mem_delete_fn(pthread_barrier_t *notify) in htab_mem_delete_fn() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
| D | dc_stat.c | 43 * @notify: dmub notification structure 48 void dc_stat_get_dmub_notification(const struct dc *dc, struct dmub_notification *notify) in dc_stat_get_dmub_notification() argument 58 status = dmub_srv_stat_get_notification(dmub, notify); in dc_stat_get_dmub_notification() 62 if (notify->type == DMUB_NOTIFICATION_HPD || in dc_stat_get_dmub_notification() 63 notify->type == DMUB_NOTIFICATION_HPD_IRQ || in dc_stat_get_dmub_notification() 64 notify->type == DMUB_NOTIFICATION_DPIA_NOTIFICATION || in dc_stat_get_dmub_notification() 65 notify->type == DMUB_NOTIFICATION_SET_CONFIG_REPLY) { in dc_stat_get_dmub_notification() 66 notify->link_index = in dc_stat_get_dmub_notification() 67 get_link_index_from_dpia_port_index(dc, notify->link_index); in dc_stat_get_dmub_notification()
|
| /kernel/linux/linux-6.6/net/wireless/ |
| D | ap.c | 16 bool notify) in ___cfg80211_stop_ap() argument 41 if (notify) in ___cfg80211_stop_ap() 57 bool notify) in __cfg80211_stop_ap() argument 63 return ___cfg80211_stop_ap(rdev, dev, link_id, notify); in __cfg80211_stop_ap() 66 int ret1 = ___cfg80211_stop_ap(rdev, dev, link, notify); in __cfg80211_stop_ap() 78 bool notify) in cfg80211_stop_ap() argument 84 err = __cfg80211_stop_ap(rdev, dev, link_id, notify); in cfg80211_stop_ap()
|
| /kernel/linux/linux-5.10/sound/aoa/core/ |
| D | gpio-pmf.c | 78 if (notif->notify) in pmf_handle_notify() 79 notif->notify(notif->data); in pmf_handle_notify() 131 notify_func_t notify, in pmf_set_notify() argument 159 old = notif->notify; in pmf_set_notify() 161 if (!old && !notify) { in pmf_set_notify() 166 if (old && notify) { in pmf_set_notify() 167 if (old == notify && notif->data == data) in pmf_set_notify() 172 if (old && !notify) { in pmf_set_notify() 178 if (!old && notify) { in pmf_set_notify() 199 notif->notify = notify; in pmf_set_notify()
|
| /kernel/linux/linux-6.6/sound/aoa/core/ |
| D | gpio-pmf.c | 78 if (notif->notify) in pmf_handle_notify() 79 notif->notify(notif->data); in pmf_handle_notify() 131 notify_func_t notify, in pmf_set_notify() argument 159 old = notif->notify; in pmf_set_notify() 161 if (!old && !notify) { in pmf_set_notify() 166 if (old && notify) { in pmf_set_notify() 167 if (old == notify && notif->data == data) in pmf_set_notify() 172 if (old && !notify) { in pmf_set_notify() 178 if (!old && notify) { in pmf_set_notify() 199 notif->notify = notify; in pmf_set_notify()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| D | base.c | 29 #include <core/notify.h> 130 struct nvkm_notify *notify) in nvkm_fifo_kevent_ctor() argument 134 notify->size = 0; in nvkm_fifo_kevent_ctor() 135 notify->types = 1; in nvkm_fifo_kevent_ctor() 136 notify->index = chan->chid; in nvkm_fifo_kevent_ctor() 149 struct nvkm_notify *notify) in nvkm_fifo_cevent_ctor() argument 152 notify->size = 0; in nvkm_fifo_cevent_ctor() 153 notify->types = 1; in nvkm_fifo_cevent_ctor() 154 notify->index = 0; in nvkm_fifo_cevent_ctor() 187 struct nvkm_notify *notify) in nvkm_fifo_uevent_ctor() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/firmware/tegra/ |
| D | ivc.c | 329 * Notify only upon transition from full to non-full. The available in tegra_ivc_read_advance() 336 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_read_advance() 385 * Notify only upon transition from empty to non-empty. The available in tegra_ivc_write_advance() 392 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_write_advance() 404 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_reset() 416 * SYNC ACK reset counters; move to EST; notify 417 * SYNC SYNC reset counters; move to ACK; notify 418 * ACK EST move to EST; notify 419 * ACK ACK move to EST; notify 420 * ACK SYNC reset counters; move to ACK; notify [all …]
|
| /kernel/linux/linux-5.10/drivers/firmware/tegra/ |
| D | ivc.c | 317 * Notify only upon transition from full to non-full. The available in tegra_ivc_read_advance() 324 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_read_advance() 373 * Notify only upon transition from empty to non-empty. The available in tegra_ivc_write_advance() 380 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_write_advance() 392 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_reset() 404 * SYNC ACK reset counters; move to EST; notify 405 * SYNC SYNC reset counters; move to ACK; notify 406 * ACK EST move to EST; notify 407 * ACK ACK move to EST; notify 408 * ACK SYNC reset counters; move to ACK; notify [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | cpu_rmap.c | 214 struct irq_affinity_notify notify; member 236 irq_set_affinity_notifier(glue->notify.irq, NULL); in free_irq_cpu_rmap() 245 * @notify: struct irq_affinity_notify passed by irq/manage.c 251 irq_cpu_rmap_notify(struct irq_affinity_notify *notify, const cpumask_t *mask) in irq_cpu_rmap_notify() argument 254 container_of(notify, struct irq_glue, notify); in irq_cpu_rmap_notify() 269 container_of(ref, struct irq_glue, notify.kref); in irq_cpu_rmap_release() 294 glue->notify.notify = irq_cpu_rmap_notify; in irq_cpu_rmap_add() 295 glue->notify.release = irq_cpu_rmap_release; in irq_cpu_rmap_add() 299 rc = irq_set_affinity_notifier(irq, &glue->notify); in irq_cpu_rmap_add()
|
| /kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
| D | f_acm.c | 53 struct usb_ep *notify; member 428 if (acm->notify->enabled) { in acm_set_alt() 431 usb_ep_disable(acm->notify); in acm_set_alt() 434 if (!acm->notify->desc) in acm_set_alt() 435 if (config_ep_by_speed(cdev->gadget, f, acm->notify)) in acm_set_alt() 438 usb_ep_enable(acm->notify); in acm_set_alt() 441 if (acm->notify->enabled) { in acm_set_alt() 473 usb_ep_disable(acm->notify); in acm_disable() 495 struct usb_ep *ep = acm->notify; in acm_cdc_notify() 497 struct usb_cdc_notification *notify; in acm_cdc_notify() local [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
| D | f_acm.c | 53 struct usb_ep *notify; member 428 if (acm->notify->enabled) { in acm_set_alt() 431 usb_ep_disable(acm->notify); in acm_set_alt() 434 if (!acm->notify->desc) in acm_set_alt() 435 if (config_ep_by_speed(cdev->gadget, f, acm->notify)) in acm_set_alt() 438 usb_ep_enable(acm->notify); in acm_set_alt() 441 if (acm->notify->enabled) { in acm_set_alt() 473 usb_ep_disable(acm->notify); in acm_disable() 495 struct usb_ep *ep = acm->notify; in acm_cdc_notify() 497 struct usb_cdc_notification *notify; in acm_cdc_notify() local [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | kmsan.h | 32 * kmsan_task_exit() - Notify KMSAN that a task has exited. 61 * kmsan_alloc_page() - Notify KMSAN about an alloc_pages() call. 72 * kmsan_free_page() - Notify KMSAN about a free_pages() call. 92 * kmsan_slab_alloc() - Notify KMSAN about a slab allocation. 103 * kmsan_slab_free() - Notify KMSAN about a slab deallocation. 112 * kmsan_kmalloc_large() - Notify KMSAN about a large slab allocation. 122 * kmsan_kfree_large() - Notify KMSAN about a large slab deallocation. 130 * kmsan_map_kernel_range_noflush() - Notify KMSAN about a vmap. 148 * kmsan_vunmap_kernel_range_noflush() - Notify KMSAN about a vunmap. 158 * kmsan_ioremap_page_range() - Notify KMSAN about a ioremap_page_range() call. [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | cpu_rmap.c | 226 struct irq_affinity_notify notify; member 248 irq_set_affinity_notifier(glue->notify.irq, NULL); in free_irq_cpu_rmap() 257 * @notify: struct irq_affinity_notify passed by irq/manage.c 263 irq_cpu_rmap_notify(struct irq_affinity_notify *notify, const cpumask_t *mask) in irq_cpu_rmap_notify() argument 266 container_of(notify, struct irq_glue, notify); in irq_cpu_rmap_notify() 281 container_of(ref, struct irq_glue, notify.kref); in irq_cpu_rmap_release() 317 glue->notify.notify = irq_cpu_rmap_notify; in irq_cpu_rmap_add() 318 glue->notify.release = irq_cpu_rmap_release; in irq_cpu_rmap_add() 326 rc = irq_set_affinity_notifier(irq, &glue->notify); in irq_cpu_rmap_add()
|
| /kernel/linux/linux-6.6/net/netfilter/ |
| D | nf_conntrack_ecache.c | 133 struct nf_ct_event_notifier *notify; in __nf_conntrack_eventmask_report() local 142 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in __nf_conntrack_eventmask_report() 143 if (!notify) { in __nf_conntrack_eventmask_report() 148 ret = notify->ct_event(events | missed, item); in __nf_conntrack_eventmask_report() 237 struct nf_ct_event_notifier *notify; in nf_ct_expect_event_report() local 241 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in nf_ct_expect_event_report() 242 if (!notify) in nf_ct_expect_event_report() 255 notify->exp_event(1 << event, &item); in nf_ct_expect_event_report() 264 struct nf_ct_event_notifier *notify; in nf_conntrack_register_notifier() local 267 notify = rcu_dereference_protected(net->ct.nf_conntrack_event_cb, in nf_conntrack_register_notifier() [all …]
|
| /kernel/linux/linux-6.6/kernel/ |
| D | task_work.c | 22 * @notify: how to notify the targeted task 24 * Queue @work for task_work_run() below and notify the @task if @notify 55 enum task_work_notify_mode notify) in task_work_add() argument 58 int flags = notify & TWA_FLAGS; in task_work_add() 60 notify &= ~TWA_FLAGS; in task_work_add() 61 if (notify == TWA_NMI_CURRENT) { in task_work_add() 87 switch (notify) { in task_work_add()
|