Home
last modified time | relevance | path

Searched refs:notify (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/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()
234 static void htab_mem_add_fn(pthread_barrier_t *notify)
240 pthread_barrier_wait(notify); in htab_mem_delete_fn()
242 pthread_barrier_wait(notify); in htab_mem_delete_fn()
246 static void htab_mem_delete_fn(pthread_barrier_t *notify)
250 pthread_barrier_wait(notify); in htab_mem_producer()
223 htab_mem_add_fn(pthread_barrier_t * notify) htab_mem_add_fn() argument
235 htab_mem_delete_fn(pthread_barrier_t * notify) htab_mem_delete_fn() argument
249 pthread_barrier_t *notify; htab_mem_producer() local
[all...]
/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/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/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()
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 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/net/netfilter/
H A 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()
247 struct nf_ct_event_notifier *notify; in nf_ct_expect_event_report() local
252 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in nf_ct_expect_event_report()
253 if (!notify) in nf_ct_expect_event_report()
262 notify->exp_event(1 << event, &item); in nf_ct_expect_event_report()
271 struct nf_ct_event_notifier *notify; in nf_conntrack_register_notifier() local
274 notify = rcu_dereference_protected(net->ct.nf_conntrack_event_cb, in nf_conntrack_register_notifier()
[all …]
/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_rndis.c80 struct usb_ep *notify; member
394 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC); in rndis_response_available()
423 if (ep != rndis->notify) in rndis_response_complete()
431 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC); in rndis_response_complete()
538 usb_ep_disable(rndis->notify); in rndis_set_alt()
540 if (!rndis->notify->desc) { in rndis_set_alt()
542 if (config_ep_by_speed(cdev->gadget, f, rndis->notify)) in rndis_set_alt()
545 usb_ep_enable(rndis->notify); in rndis_set_alt()
604 if (!rndis->notify->enabled) in rndis_disable()
612 usb_ep_disable(rndis->notify); in rndis_disable()
[all …]
H A Df_ecm.c56 struct usb_ep *notify; member
417 status = usb_ep_queue(ecm->notify, req, GFP_ATOMIC); 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()
626 usb_ep_disable(ecm->notify); in ecm_disable()
627 ecm->notify->desc = NULL; in ecm_disable()
753 ecm->notify = ep; in ecm_bind()
799 ecm->notify->name); in ecm_bind()
[all …]
/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/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()
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 Dgntalloc.c96 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()
422 if (gref->notify.flags & UNMAP_NOTIFY_SEND_EVENT) in gntalloc_ioctl_unmap_notify()
423 evtchn_put(gref->notify.event); in gntalloc_ioctl_unmap_notify()
425 gref->notify.flags = op.action; in gntalloc_ioctl_unmap_notify()
[all …]
H A Dpvcalls-front.c310 int notify, req_id, ret; in pvcalls_front_socket() local
363 RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&bedata->ring, notify); in pvcalls_front_socket()
365 if (notify) in pvcalls_front_socket()
467 int notify, req_id, ret; in pvcalls_front_connect() local
512 RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&bedata->ring, notify); in pvcalls_front_connect()
515 if (notify) in pvcalls_front_connect()
720 int notify, req_id, ret; in pvcalls_front_bind() local
750 RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&bedata->ring, notify); in pvcalls_front_bind()
752 if (notify) in pvcalls_front_bind()
777 int notify, req_id, ret; in pvcalls_front_listen() local
[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/include/net/
H A Dbonding.h384 int slave_state, bool notify) in bond_set_slave_state() argument
390 if (notify) { in bond_set_slave_state()
569 bool notify) in bond_set_slave_inactive_flags() argument
572 bond_set_slave_state(slave, BOND_STATE_BACKUP, notify); in bond_set_slave_inactive_flags()
580 bool notify) in bond_set_slave_tx_disabled_flags() argument
582 bond_set_slave_state(slave, BOND_STATE_BACKUP, notify); in bond_set_slave_tx_disabled_flags()
586 bool notify) in bond_set_slave_active_flags() argument
588 bond_set_slave_state(slave, BOND_STATE_ACTIVE, notify); in bond_set_slave_active_flags()
595 bool notify) in bond_set_slave_rx_enabled_flags() argument
615 static inline void bond_commit_link_state(struct slave *slave, bool notify) in bond_commit_link_state() argument
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Daffinity.c778 static void hfi1_irq_notifier_notify(struct irq_affinity_notify *notify, in hfi1_irq_notifier_notify() argument
782 struct hfi1_msix_entry *msix = container_of(notify, in hfi1_irq_notifier_notify()
784 notify); in hfi1_irq_notifier_notify()
800 struct irq_affinity_notify *notify = &msix->notify; in hfi1_setup_sdma_notifier() local
802 notify->irq = msix->irq; in hfi1_setup_sdma_notifier()
803 notify->notify = hfi1_irq_notifier_notify; in hfi1_setup_sdma_notifier()
804 notify->release = hfi1_irq_notifier_release; in hfi1_setup_sdma_notifier()
806 if (irq_set_affinity_notifier(notify->irq, notify)) in hfi1_setup_sdma_notifier()
808 notify->irq); in hfi1_setup_sdma_notifier()
813 struct irq_affinity_notify *notify = &msix->notify; in hfi1_cleanup_sdma_notifier() local
[all …]
/linux/drivers/net/ethernet/zte/dinghai/
H A Den_pf.c253 int notify; in zxdh_pf_notify_cfg_init() local
256 notify = zxdh_pf_pci_find_capability(pdev, ZXDH_PCI_CAP_NOTIFY_CFG, in zxdh_pf_notify_cfg_init()
259 if (!notify) { in zxdh_pf_notify_cfg_init()
265 notify + offsetof(struct zxdh_pf_pci_notify_cap, in zxdh_pf_notify_cfg_init()
269 notify + offsetof(struct zxdh_pf_pci_notify_cap, in zxdh_pf_notify_cfg_init()
272 notify + offsetof(struct zxdh_pf_pci_notify_cap, in zxdh_pf_notify_cfg_init()
280 pf_dev->notify_base = zxdh_pf_map_capability(zxdh_dev, notify, in zxdh_pf_notify_cfg_init()
291 pf_dev->notify_map_cap = notify; in zxdh_pf_notify_cfg_init()
/linux/fs/autofs/
H A Dwaitq.c205 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/samples/acrn/
H A Dvm-sample.c51 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, &notify); in main()
/linux/drivers/firmware/tegra/
H A Divc.c336 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/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/linux/remoteproc/
H A Dqcom_rproc.h30 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 Dvirtio_pci_modern_dev.c226 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()

12345678910>>...14