Home
last modified time | relevance | path

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

12345678910>>...63

/linux/drivers/acpi/acpica/
H A 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 …]
H A Devxface.c50 * type of notify (System/Device). Device/Thermal/Processor objects
51 * may have one device notify handler, and multiple system notify
84 * Registering a notify handler on the root object indicates that the in acpi_install_notify_handler()
86 * only one global handler can be registered per notify type. in acpi_install_notify_handler()
102 goto unlock_and_exit; /* Global notify handler installed, all done */ in acpi_install_notify_handler()
147 if (handler_obj->notify.handler == handler) { in acpi_install_notify_handler()
152 handler_obj = handler_obj->notify.next[i]; in acpi_install_notify_handler()
157 /* Create and populate a new notify handler object */ in acpi_install_notify_handler()
165 handler_obj->notify.node = node; in acpi_install_notify_handler()
166 handler_obj->notify.handler_type = handler_type; in acpi_install_notify_handler()
[all …]
/linux/fs/xfs/
H A Dxfs_notify_failure.c43 const struct xfs_failure_info *notify) in xfs_failure_pgoff() argument
47 if (notify->startblock > rec->rm_startblock) in xfs_failure_pgoff()
49 notify->startblock - rec->rm_startblock); in xfs_failure_pgoff()
57 const struct xfs_failure_info *notify) in xfs_failure_pgcnt() argument
64 start_cross = max(rec->rm_startblock, notify->startblock); in xfs_failure_pgcnt()
67 end_notify = notify->startblock + notify->blockcount; in xfs_failure_pgcnt()
81 struct xfs_failure_info *notify = data; in xfs_dax_failure_fn() local
90 if (notify->mf_flags & MF_MEM_PRE_REMOVE) in xfs_dax_failure_fn()
92 notify->want_shutdown = true; in xfs_dax_failure_fn()
103 notify->want_shutdown = true; in xfs_dax_failure_fn()
[all …]
/linux/tools/testing/selftests/bpf/benchs/
H A 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
249 pthread_barrier_t *notify; htab_mem_producer() local
[all...]
/linux/sound/aoa/core/
H A Dgpio-pmf.c78 if (notif->notify) in pmf_handle_notify()
79 notif->notify(notif->data); in pmf_handle_notify()
130 notify_func_t notify, in pmf_set_notify() argument
158 old = notif->notify; in pmf_set_notify()
160 if (!old && !notify) in pmf_set_notify()
163 if (old && notify) { in pmf_set_notify()
164 if (old == notify && notif->data == data) in pmf_set_notify()
169 if (old && !notify) { in pmf_set_notify()
175 if (!old && notify) { in pmf_set_notify()
193 notif->notify = notify; in pmf_set_notify()
/linux/drivers/firmware/tegra/
H A 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/tools/testing/selftests/bpf/prog_tests/
H A Dfree_timer.c13 pthread_barrier_t notify; member
62 pthread_barrier_wait(&ctx->notify); in overwrite_timer_fn()
71 /* Notify start thread to start timers */ in overwrite_timer_fn()
72 pthread_barrier_wait(&ctx->notify); in overwrite_timer_fn()
107 /* Notify overwrite thread to do overwrite */ in start_timer_fn()
108 pthread_barrier_wait(&ctx->notify); in start_timer_fn()
111 pthread_barrier_wait(&ctx->notify); in start_timer_fn()
146 pthread_barrier_init(&ctx.notify, NULL, 2); in test_free_timer()
/linux/drivers/md/dm-vdo/
H A Dadmin-state.c194 * Will notify the operation waiter if there is one. This method should be used for operations
222 * @waiter: A completion to notify when the operation is complete; may be NULL.
269 * @waiter: A completion to notify when the operation is complete; may be NULL.
287 * @waiter: The completion to notify of the error; may be NULL.
289 * If the result failed, log an invalid state error and, if there is a waiter, notify it.
326 * @waiter: The completion to notify when the drain is complete.
359 * Return: true if the state was draining; will notify the waiter if so.
371 * Return: true if the state was draining; will notify the waiter if so.
395 * @waiter: The completion to notify when the load is complete; may be NULL.
412 * Return: true if the state was loading; will notify the waiter if so.
[all …]
H A Dwait-queue.c73 * vdo_waitq_notify_all_waiters() - Notify all the entries waiting in a waitq.
74 * @waitq: The vdo_wait_queue containing the waiters to notify.
75 * @callback: The function to call to notify each waiter, or NULL to invoke the callback field
181 * vdo_waitq_notify_next_waiter() - Notify the next entry waiting in a waitq.
182 * @waitq: The vdo_wait_queue containing the waiter to notify.
183 * @callback: The function to call to notify the waiter, or NULL to invoke the callback field
/linux/lib/
H A 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/drivers/gpu/drm/nouveau/nvkm/engine/sw/
H A 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()
H A Dgf100.c39 gf100_sw_chan_vblsem_release(struct nvkm_event_ntfy *notify, u32 bits) in gf100_sw_chan_vblsem_release() argument
42 container_of(notify, typeof(*chan), vblank.notify[notify->id]); in gf100_sw_chan_vblsem_release()
76 nvkm_event_ntfy_allow(&chan->vblank.notify[data]); in gf100_sw_chan_mthd()
124 gf100_sw_chan_vblsem_release, &chan->vblank.notify[i]); in gf100_sw_chan_new()
/linux/drivers/net/ethernet/qlogic/qede/
H A 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/drivers/usb/gadget/function/
H A Df_acm.c57 struct usb_ep *notify; member
432 if (acm->notify->enabled) { in acm_set_alt()
435 usb_ep_disable(acm->notify); in acm_set_alt()
438 if (!acm->notify->desc) in acm_set_alt()
439 if (config_ep_by_speed(cdev->gadget, f, acm->notify)) in acm_set_alt()
442 usb_ep_enable(acm->notify); in acm_set_alt()
445 if (acm->notify->enabled) { in acm_set_alt()
477 usb_ep_disable(acm->notify); in acm_disable()
499 struct usb_ep *ep = acm->notify; in acm_cdc_notify()
501 struct usb_cdc_notification *notify; in acm_cdc_notify() local
[all …]
H A Df_ecm.c45 ECM_NOTIFY_NONE, /* don't notify */
56 struct usb_ep *notify; member
394 DBG(cdev, "notify connect %s\n", str_true_false(ecm->is_open)); in ecm_do_notify()
409 DBG(cdev, "notify speed %d\n", gether_bitrate(cdev->gadget)); in ecm_do_notify()
417 status = usb_ep_queue(ecm->notify, req, GFP_ATOMIC); in ecm_do_notify()
420 DBG(cdev, "notify --> %d\n", status); in ecm_do_notify()
536 usb_ep_disable(ecm->notify); in ecm_set_alt()
537 if (!(ecm->notify->desc)) { in ecm_set_alt()
539 if (config_ep_by_speed(cdev->gadget, f, ecm->notify)) in ecm_set_alt()
542 usb_ep_enable(ecm->notify); in ecm_set_alt()
[all …]
H A Df_rndis.c79 struct usb_ep *notify; member
393 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC); in rndis_response_available()
396 DBG(cdev, "notify/0 --> %d\n", status); in rndis_response_available()
422 if (ep != rndis->notify) in rndis_response_complete()
430 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC); in rndis_response_complete()
433 DBG(cdev, "notify/1 --> %d\n", status); in rndis_response_complete()
537 usb_ep_disable(rndis->notify); in rndis_set_alt()
539 if (!rndis->notify->desc) { in rndis_set_alt()
541 if (config_ep_by_speed(cdev->gadget, f, rndis->notify)) in rndis_set_alt()
544 usb_ep_enable(rndis->notify); in rndis_set_alt()
[all …]
/linux/net/wireless/
H A 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/include/linux/
H A 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.
150 * kmsan_vunmap_kernel_range_noflush() - Notify KMSAN about a vunmap.
160 * kmsan_ioremap_page_range() - Notify KMSAN about a ioremap_page_range() call.
[all …]
/linux/drivers/xen/
H A 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 …]
H A Dpvcalls-front.c275 int notify, req_id, ret; in pvcalls_front_socket() local
328 RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&bedata->ring, notify); in pvcalls_front_socket()
330 if (notify) in pvcalls_front_socket()
429 int notify, req_id, ret; in pvcalls_front_connect() local
474 RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&bedata->ring, notify); in pvcalls_front_connect()
477 if (notify) in pvcalls_front_connect()
679 int notify, req_id, ret; in pvcalls_front_bind() local
709 RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&bedata->ring, notify); in pvcalls_front_bind()
711 if (notify) in pvcalls_front_bind()
733 int notify, req_id, ret; in pvcalls_front_listen() local
[all …]
/linux/net/vmw_vsock/
H A 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/fs/notify/
H A DKconfig5 source "fs/notify/dnotify/Kconfig"
6 source "fs/notify/inotify/Kconfig"
7 source "fs/notify/fanotify/Kconfig"
/linux/drivers/net/ipa/
H A 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
/linux/Documentation/mm/
H A Dmmu_notifier.rst1 When do you need to notify inside page table lock ?
4 When clearing a pte/pmd we are given a choice to notify the event through
5 (notify version of \*_clear_flush call mmu_notifier_invalidate_range) under
10 process virtual address space). There is only 2 cases when you need to notify
24 - clear page table entry and notify ([pmd/pte]p_huge_clear_flush_notify())
27 If clearing the page table entry is not followed by a notify before setting
/linux/include/net/
H A Dbonding.h386 int slave_state, bool notify) in bond_set_slave_state() argument
392 if (notify) { in bond_set_slave_state()
571 bool notify) in bond_set_slave_inactive_flags() argument
574 bond_set_slave_state(slave, BOND_STATE_BACKUP, notify); in bond_set_slave_inactive_flags()
582 bool notify) in bond_set_slave_tx_disabled_flags() argument
584 bond_set_slave_state(slave, BOND_STATE_BACKUP, notify); in bond_set_slave_tx_disabled_flags()
588 bool notify) in bond_set_slave_active_flags() argument
590 bond_set_slave_state(slave, BOND_STATE_ACTIVE, notify); in bond_set_slave_active_flags()
597 bool notify) in bond_set_slave_rx_enabled_flags() argument
617 static inline void bond_commit_link_state(struct slave *slave, bool notify) in bond_commit_link_state() argument
[all …]

12345678910>>...63