Home
last modified time | relevance | path

Searched full:notify (Results 1 – 25 of 1898) sorted by relevance

12345678910>>...76

/linux-6.12.1/tools/testing/selftests/drivers/net/netdevsim/
Dfib_notifications.sh84 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 …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_srv_stat.c42 * @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 *)&notify->aux_reply, in dmub_srv_stat_get_notification()
[all …]
/linux-6.12.1/drivers/acpi/acpica/
Devmisc.c58 * 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 …]
/linux-6.12.1/fs/xfs/
Dxfs_notify_failure.c38 const struct xfs_failure_info *notify) in xfs_failure_pgoff() argument
42 if (notify->startblock > rec->rm_startblock) in xfs_failure_pgoff()
44 notify->startblock - rec->rm_startblock); in xfs_failure_pgoff()
52 const struct xfs_failure_info *notify) in xfs_failure_pgcnt() argument
59 start_cross = max(rec->rm_startblock, notify->startblock); in xfs_failure_pgcnt()
62 end_notify = notify->startblock + notify->blockcount; in xfs_failure_pgcnt()
76 struct xfs_failure_info *notify = data; in xfs_dax_failure_fn() local
85 if (notify->mf_flags & MF_MEM_PRE_REMOVE) in xfs_dax_failure_fn()
87 notify->want_shutdown = true; in xfs_dax_failure_fn()
98 notify->want_shutdown = true; in xfs_dax_failure_fn()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_stat.c43 * @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_AUX_REPLY || in dc_stat_get_dmub_notification()
65 notify->type == DMUB_NOTIFICATION_DPIA_NOTIFICATION || in dc_stat_get_dmub_notification()
66 notify->type == DMUB_NOTIFICATION_SET_CONFIG_REPLY) { in dc_stat_get_dmub_notification()
67 notify->link_index = in dc_stat_get_dmub_notification()
68 get_link_index_from_dpia_port_index(dc, notify->link_index); in dc_stat_get_dmub_notification()
/linux-6.12.1/tools/testing/selftests/bpf/benchs/
Dbench_htab_mem.c26 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 …]
/linux-6.12.1/sound/aoa/core/
Dgpio-pmf.c78 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()
Dgpio-feature.c216 if (notif->notify) in ftr_handle_notify()
217 notif->notify(notif->data); in ftr_handle_notify()
287 if (rt->headphone_notify.notify) in ftr_gpio_exit()
312 notify_func_t notify, in ftr_set_notify() argument
346 old = notif->notify; in ftr_set_notify()
348 if (!old && !notify) { in ftr_set_notify()
353 if (old && notify) { in ftr_set_notify()
354 if (old == notify && notif->data == data) in ftr_set_notify()
359 if (old && !notify) in ftr_set_notify()
362 if (!old && notify) { in ftr_set_notify()
[all …]
/linux-6.12.1/drivers/md/dm-vdo/
Dadmin-state.c191 * Will notify the operation waiter if there is one. This method should be used for operations
217 * @waiter A completion to notify when the operation is complete; may be NULL.
262 * @waiter A completion to notify when the operation is complete.
280 * @waiter The completion to notify of the error; may be NULL.
282 * If the result failed, log an invalid state error and, if there is a waiter, notify it.
317 * @waiter The completion to notify when the drain is complete.
349 * Return: true if the state was draining; will notify the waiter if so.
359 * Return: true if the state was draining; will notify the waiter if so.
381 * @waiter The completion to notify when the load is complete (may be NULL).
397 * Return: true if the state was loading; will notify the waiter if so.
[all …]
/linux-6.12.1/drivers/firmware/tegra/
Divc.c329 * 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 …]
/linux-6.12.1/net/netfilter/
Dnf_conntrack_ecache.c133 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 …]
/linux-6.12.1/lib/
Dcpu_rmap.c226 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()
/linux-6.12.1/kernel/
Dtask_work.c22 * @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()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/sw/
Dnv50.c39 nv50_sw_chan_vblsem_release(struct nvkm_event_ntfy *notify, u32 bits) in nv50_sw_chan_vblsem_release() argument
42 container_of(notify, typeof(*chan), vblank.notify[notify->id]); in nv50_sw_chan_vblsem_release()
73 nvkm_event_ntfy_allow(&chan->vblank.notify[data]); in nv50_sw_chan_mthd()
89 for (i = 0; i < ARRAY_SIZE(chan->vblank.notify); i++) in nv50_sw_chan_dtor()
90 nvkm_event_ntfy_del(&chan->vblank.notify[i]); in nv50_sw_chan_dtor()
119 nv50_sw_chan_vblsem_release, &chan->vblank.notify[i]); in nv50_sw_chan_new()
/linux-6.12.1/net/wireless/
Dap.c16 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()
/linux-6.12.1/drivers/usb/gadget/function/
Df_acm.c54 struct usb_ep *notify; member
429 if (acm->notify->enabled) { in acm_set_alt()
432 usb_ep_disable(acm->notify); in acm_set_alt()
435 if (!acm->notify->desc) in acm_set_alt()
436 if (config_ep_by_speed(cdev->gadget, f, acm->notify)) in acm_set_alt()
439 usb_ep_enable(acm->notify); in acm_set_alt()
442 if (acm->notify->enabled) { in acm_set_alt()
474 usb_ep_disable(acm->notify); in acm_disable()
496 struct usb_ep *ep = acm->notify; in acm_cdc_notify()
498 struct usb_cdc_notification *notify; in acm_cdc_notify() local
[all …]
/linux-6.12.1/drivers/net/ethernet/qlogic/qede/
Dqede_rdma.c142 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in _qede_rdma_dev_open()
143 qedr_drv->notify(edev->rdma_info.qedr_dev, QEDE_UP); in _qede_rdma_dev_open()
158 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in _qede_rdma_dev_close()
159 qedr_drv->notify(edev->rdma_info.qedr_dev, QEDE_DOWN); in _qede_rdma_dev_close()
178 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in qede_rdma_dev_shutdown()
179 qedr_drv->notify(edev->rdma_info.qedr_dev, QEDE_CLOSE); in qede_rdma_dev_shutdown()
233 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in qede_rdma_changeaddr()
234 qedr_drv->notify(edev->rdma_info.qedr_dev, QEDE_CHANGE_ADDR); in qede_rdma_changeaddr()
240 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in qede_rdma_change_mtu()
241 qedr_drv->notify(edev->rdma_info.qedr_dev, in qede_rdma_change_mtu()
/linux-6.12.1/net/openvswitch/
Ddp_notify.c16 struct sk_buff *notify; in dp_detach_port_notify() local
20 notify = ovs_vport_cmd_build_info(vport, ovs_dp_get_net(dp), in dp_detach_port_notify()
23 if (IS_ERR(notify)) { in dp_detach_port_notify()
25 0, PTR_ERR(notify)); in dp_detach_port_notify()
30 ovs_dp_get_net(dp), notify, 0, in dp_detach_port_notify()
/linux-6.12.1/include/linux/
Dkmsan.h32 * 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 …]
/linux-6.12.1/drivers/xen/
Dgntalloc.c85 int event; /* Port (event channel) to notify */
96 struct notify_info notify; /* Unmap notification */ member
178 if (gref->notify.flags & UNMAP_NOTIFY_CLEAR_BYTE) { in __del_gref()
180 tmp[gref->notify.pgoff] = 0; in __del_gref()
183 if (gref->notify.flags & UNMAP_NOTIFY_SEND_EVENT) { in __del_gref()
184 notify_remote_via_evtchn(gref->notify.event); in __del_gref()
185 evtchn_put(gref->notify.event); in __del_gref()
188 gref->notify.flags = 0; in __del_gref()
400 * to send the notify before releasing the reference we may already have in gntalloc_ioctl_unmap_notify()
413 if (gref->notify.flags & UNMAP_NOTIFY_SEND_EVENT) in gntalloc_ioctl_unmap_notify()
[all …]
/linux-6.12.1/fs/notify/
DKconfig5 source "fs/notify/dnotify/Kconfig"
6 source "fs/notify/inotify/Kconfig"
7 source "fs/notify/fanotify/Kconfig"
/linux-6.12.1/sound/virtio/
Dvirtio_ctl_msg.c16 * @notify: Request completed notification.
23 struct completion notify; member
102 init_completion(&msg->notify); in virtsnd_ctl_msg_alloc()
133 bool notify = false; in virtsnd_ctl_msg_send() local
154 notify = virtqueue_kick_prepare(queue->vqueue); in virtsnd_ctl_msg_send()
173 if (notify) in virtsnd_ctl_msg_send()
179 rc = wait_for_completion_interruptible_timeout(&msg->notify, js); in virtsnd_ctl_msg_send()
222 complete(&msg->notify); in virtsnd_ctl_msg_complete()
/linux-6.12.1/net/vmw_vsock/
Dvmci_transport_notify.c15 #define PKT_FIELD(vsk, field_name) (vmci_trans(vsk)->notify.pkt.field_name)
55 * space exceeds the notify limit. Note that improving this function in vmci_transport_notify_waiting_write()
63 * write_notify_window then notify An alternate way of expressing this in vmci_transport_notify_waiting_write()
65 * queue: if write_notify_window > bufferReady then notify as in vmci_transport_notify_waiting_write()
73 * Once we notify the peer, we reset the detected flag so the in vmci_transport_notify_waiting_write()
272 /* Notify the peer that we have read, retrying the send on in vmci_transport_send_read_notification()
290 pr_err("%p unable to send read notify to peer\n", sk); in vmci_transport_send_read_notification()
374 * Notify the peer that we are waiting if the queue is full. We in vmci_transport_notify_pkt_poll_out()
410 * we need to notify the sender. If the number of ready in vmci_transport_notify_pkt_recv_init()
434 /* Notify our peer that we are waiting for data to read. */ in vmci_transport_notify_pkt_recv_pre_block()
[all …]
/linux-6.12.1/drivers/media/platform/mediatek/vpu/
Dmtk_vpu.h34 * @IPI_VDEC_H264: The interrupt from vpu is to notify kernel to
38 * @IPI_VDEC_VP8: The interrupt from is to notify kernel to
42 * @IPI_VDEC_VP9: The interrupt from vpu is to notify kernel to
46 * @IPI_VENC_H264: The interrupt from vpu is to notify kernel to
48 * @IPI_VENC_VP8: The interrupt fro vpu is to notify kernel to
50 * @IPI_MDP: The interrupt from vpu is to notify kernel to
/linux-6.12.1/drivers/net/ipa/
Dipa_gsi.h19 * This called from the GSI layer to notify the IPA layer that a
28 * This called from the GSI layer to notify the IPA layer that a
41 * This called from the GSI layer to notify the IPA layer that some
54 * This called from the GSI layer to notify the IPA layer that the hardware

12345678910>>...76