| /linux/drivers/acpi/acpica/ |
| H A 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 …]
|
| H A D | evxface.c | 50 * 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 D | xfs_notify_failure.c | 41 const struct xfs_failure_info *notify) in xfs_failure_pgoff() argument 45 if (notify->startblock > rec->rm_startblock) in xfs_failure_pgoff() 47 notify->startblock - rec->rm_startblock); in xfs_failure_pgoff() 55 const struct xfs_failure_info *notify) in xfs_failure_pgcnt() argument 62 start_cross = max(rec->rm_startblock, notify->startblock); in xfs_failure_pgcnt() 65 end_notify = notify->startblock + notify->blockcount; in xfs_failure_pgcnt() 79 struct xfs_failure_info *notify = data; in xfs_dax_failure_fn() local 88 if (notify->mf_flags & MF_MEM_PRE_REMOVE) in xfs_dax_failure_fn() 90 notify->want_shutdown = true; in xfs_dax_failure_fn() 101 notify->want_shutdown = true; in xfs_dax_failure_fn() [all …]
|
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A 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 249 pthread_barrier_t *notify; htab_mem_producer() local [all...] |
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | free_timer.c | 13 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/firmware/tegra/ |
| H A 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 …]
|
| /linux/drivers/md/dm-vdo/ |
| H A D | admin-state.c | 194 * 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 D | wait-queue.c | 73 * 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 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()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
| H A D | nv50.c | 39 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 D | gf100.c | 39 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 D | qede_rdma.c | 142 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/net/wireless/ |
| H A 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()
|
| /linux/include/linux/ |
| H A 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. 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 D | gntalloc.c | 85 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/net/vmw_vsock/ |
| H A D | vmci_transport_notify.c | 15 #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/drivers/media/platform/mediatek/vpu/ |
| H A D | mtk_vpu.h | 34 * @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/fs/notify/ |
| H A D | Kconfig | 5 source "fs/notify/dnotify/Kconfig" 6 source "fs/notify/inotify/Kconfig" 7 source "fs/notify/fanotify/Kconfig"
|
| /linux/drivers/net/ipa/ |
| H A D | ipa_gsi.h | 19 * 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/drivers/firmware/arm_scmi/ |
| H A D | system.c | 14 #include "notify.h" 58 struct scmi_system_power_state_notify *notify; in scmi_system_request_notify() local 61 sizeof(*notify), 0, &t); in scmi_system_request_notify() 65 notify = t->tx.buf; in scmi_system_request_notify() 66 notify->notify_enable = enable ? cpu_to_le32(BIT(0)) : 0; in scmi_system_request_notify()
|
| /linux/Documentation/mm/ |
| H A D | mmu_notifier.rst | 1 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/drivers/isdn/mISDN/ |
| H A D | stack.c | 207 if (st->notify != NULL) { in mISDNStackd() 208 complete(st->notify); in mISDNStackd() 209 st->notify = NULL; in mISDNStackd() 272 if (st->notify != NULL) { in mISDNStackd() 273 complete(st->notify); in mISDNStackd() 274 st->notify = NULL; in mISDNStackd() 317 if (st->notify != NULL) { in mISDNStackd() 318 complete(st->notify); in mISDNStackd() 319 st->notify = NULL; in mISDNStackd() 401 newst->notify = &done; in create_stack() [all …]
|
| /linux/fs/autofs/ |
| H A D | waitq.c | 205 const struct path *path, enum autofs_notify notify) in validate_request() argument 232 if (notify == NFY_NONE) { in validate_request() 268 if (notify == NFY_MOUNT) { in validate_request() 304 const struct path *path, enum autofs_notify notify) in autofs_wait() argument 369 ret = validate_request(&wq, sbi, &qstr, path, notify); in autofs_wait() 404 if (notify == NFY_MOUNT) in autofs_wait() 409 if (notify == NFY_MOUNT) in autofs_wait() 421 wq->name.name, notify); in autofs_wait() 431 wq->name.name, notify); in autofs_wait()
|
| /linux/drivers/virtio/ |
| H A D | virtio_pci_modern_dev.c | 226 int err, common, isr, notify, device; in vp_modern_probe() local 269 notify = virtio_pci_find_capability(pci_dev, VIRTIO_PCI_CAP_NOTIFY_CFG, in vp_modern_probe() 272 if (!isr || !notify) { in vp_modern_probe() 275 common, isr, notify); in vp_modern_probe() 315 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe() 318 /* Read notify length and offset from config space. */ in vp_modern_probe() 320 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe() 325 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe() 330 * If notify length is small, map it all now. in vp_modern_probe() 334 mdev->notify_base = vp_modern_map_capability(mdev, notify, in vp_modern_probe() [all …]
|
| /linux/samples/acrn/ |
| H A D | vm-sample.c | 51 struct acrn_ioreq_notify __attribute__((aligned(8))) notify; in main() local 120 notify.vmid = vmid; in main() 121 notify.vcpu = vcpu_id; in main() 122 ioctl(hsm_fd, ACRN_IOCTL_NOTIFY_REQUEST_FINISH, ¬ify); in main()
|