| /linux/drivers/acpi/acpica/ |
| H A D | evmisc.c | 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() 129 info->notify.handler_list_head = handler_list_head; in acpi_ev_queue_notify_request() 130 info->notify.global = &acpi_gbl_global_notify[handler_list_id]; in acpi_ev_queue_notify_request() 170 if (info->notify.global->handler) { in acpi_ev_notify_dispatch() 171 info->notify.global->handler(info->notify.node, in acpi_ev_notify_dispatch() 172 info->notify.value, in acpi_ev_notify_dispatch() 173 info->notify.global->context); in acpi_ev_notify_dispatch() 178 handler_obj = info->notify.handler_list_head; in acpi_ev_notify_dispatch() [all …]
|
| H A D | evgpeutil.c | 275 struct acpi_gpe_notify_info *notify; in acpi_ev_delete_gpe_handlers() local 309 notify = gpe_event_info->dispatch.notify_list; in acpi_ev_delete_gpe_handlers() 310 while (notify) { in acpi_ev_delete_gpe_handlers() 311 next = notify->next; in acpi_ev_delete_gpe_handlers() 312 ACPI_FREE(notify); in acpi_ev_delete_gpe_handlers() 313 notify = next; in acpi_ev_delete_gpe_handlers()
|
| H A D | evxface.c | 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() 165 handler_obj->notify.node = node; in acpi_install_notify_handler() 166 handler_obj->notify.handler_type = handler_type; in acpi_install_notify_handler() 167 handler_obj->notify.handler = handler; in acpi_install_notify_handler() 168 handler_obj->notify.context = context; in acpi_install_notify_handler() 174 handler_obj->notify.next[i] = in acpi_install_notify_handler() 294 (handler_obj->notify.handler != handler)) { in ACPI_EXPORT_SYMBOL() 296 handler_obj = handler_obj->notify.next[i]; in ACPI_EXPORT_SYMBOL() 307 previous_handler_obj->notify.next[i] = in ACPI_EXPORT_SYMBOL() [all …]
|
| H A D | evgpe.c | 460 struct acpi_gpe_notify_info *notify; in acpi_ev_asynch_execute_gpe_method() local 479 notify = gpe_event_info->dispatch.notify_list; in acpi_ev_asynch_execute_gpe_method() 480 while (ACPI_SUCCESS(status) && notify) { in acpi_ev_asynch_execute_gpe_method() 482 acpi_ev_queue_notify_request(notify->device_node, in acpi_ev_asynch_execute_gpe_method() 485 notify = notify->next; in acpi_ev_asynch_execute_gpe_method()
|
| /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 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 239 pthread_barrier_wait(notify); in htab_mem_delete_fn() 249 pthread_barrier_t *notify; htab_mem_producer() local [all...] |
| /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/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() 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/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/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/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() 72 pthread_barrier_wait(&ctx->notify); in overwrite_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/xen/ |
| H A D | gntalloc.c | 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() 413 if (gref->notify.flags & UNMAP_NOTIFY_SEND_EVENT) in gntalloc_ioctl_unmap_notify() 414 evtchn_put(gref->notify.event); in gntalloc_ioctl_unmap_notify() 416 gref->notify.flags = op.action; in gntalloc_ioctl_unmap_notify() [all …]
|
| /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/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/firmware/tegra/ |
| H A D | ivc.c | 336 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_read_advance() 392 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_write_advance() 404 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_reset() 474 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_notified() 514 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_notified() 538 ivc->notify(ivc, ivc->notify_data); in tegra_ivc_notified() 649 void (*notify)(struct tegra_ivc *ivc, void *data), in tegra_ivc_init() 655 if (WARN_ON(!ivc || !notify)) in tegra_ivc_init() 693 ivc->notify = notify; in tegra_ivc_init()
|
| /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()
|
| /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/drivers/firmware/arm_scmi/ |
| H A D | system.c | 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/sound/usb/ |
| H A D | fcp.c | 86 struct fcp_notify notify; member 826 ret = wait_event_interruptible(private->notify.queue, in fcp_hwdep_read() 827 private->notify.event); in fcp_hwdep_read() 831 scoped_guard(spinlock_irqsave, &private->notify.lock) { in fcp_hwdep_read() 832 event = private->notify.event; in fcp_hwdep_read() 833 private->notify.event = 0; in fcp_hwdep_read() 850 poll_wait(file, &private->notify.queue, wait); in fcp_hwdep_poll() 852 if (private->notify.event) in fcp_hwdep_poll() 945 scoped_guard(spinlock_irqsave, &private->notify.lock) { in fcp_notify() 946 private->notify.event |= data; in fcp_notify() [all …]
|
| /linux/include/linux/remoteproc/ |
| H A D | qcom_rproc.h | 30 int qcom_unregister_ssr_notifier(void *notify, struct notifier_block *nb); 40 static inline int qcom_unregister_ssr_notifier(void *notify, in qcom_unregister_ssr_notifier() argument
|
| /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() 320 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe() 325 notify + offsetof(struct virtio_pci_notify_cap, in vp_modern_probe() 334 mdev->notify_base = vp_modern_map_capability(mdev, notify, in vp_modern_probe() 342 mdev->notify_map_cap = notify; in vp_modern_probe()
|
| H A D | virtio_rtc_driver.c | 324 bool notify; in viortc_alarmq_hdlr() local 362 notify = virtqueue_kick_prepare(vq); in viortc_alarmq_hdlr() 366 if (notify) in viortc_alarmq_hdlr() 421 bool notify; in viortc_msg_xfer() local 443 notify = virtqueue_kick_prepare(vq->vq); in viortc_msg_xfer() 447 if (notify) in viortc_msg_xfer() 1273 bool notify; in viortc_probe() local 1303 notify = virtqueue_kick_prepare(alarm_vq); in viortc_probe() 1306 if (notify && !virtqueue_notify(alarm_vq)) { in viortc_probe() 1353 bool notify = false; in viortc_restore() local [all …]
|
| /linux/drivers/soc/qcom/ |
| H A D | pmic_glink_altmode.c | 317 const struct usbc_notify *notify; in pmic_glink_altmode_sc8280xp_notify() local 324 if (len != sizeof(*notify)) { in pmic_glink_altmode_sc8280xp_notify() 330 notify = data; in pmic_glink_altmode_sc8280xp_notify() 332 port = notify->payload[0]; in pmic_glink_altmode_sc8280xp_notify() 333 orientation = notify->payload[1]; in pmic_glink_altmode_sc8280xp_notify() 334 mode = FIELD_GET(SC8280XP_DPAM_MASK, notify->payload[8]) - DPAM_HPD_A; in pmic_glink_altmode_sc8280xp_notify() 335 hpd_state = FIELD_GET(SC8280XP_HPD_STATE_MASK, notify->payload[8]); in pmic_glink_altmode_sc8280xp_notify() 336 hpd_irq = FIELD_GET(SC8280XP_HPD_IRQ_MASK, notify->payload[8]); in pmic_glink_altmode_sc8280xp_notify()
|