| /linux/drivers/gpu/drm/amd/display/dmub/src/ |
| H A D | dmub_srv_stat.c | 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->instance = 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 *)¬ify->aux_reply, in dmub_srv_stat_get_notification() 81 notify->type = DMUB_NOTIFICATION_HPD; in dmub_srv_stat_get_notification() [all …]
|
| /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 …]
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_stat.c | 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->instance); in dc_stat_get_dmub_notification()
|
| /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() [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/sound/aoa/core/ |
| H A D | gpio-pmf.c | 78 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() 194 notif->notify = notify; in pmf_set_notify()
|
| H A D | gpio-feature.c | 216 if (notif->notify) in ftr_handle_notify() 217 notif->notify(notif->data); in ftr_handle_notify() 286 if (rt->headphone_notify.notify) in ftr_gpio_exit() 311 notify_func_t notify, in ftr_set_notify() argument 345 old = notif->notify; in ftr_set_notify() 347 if (!old && !notify) in ftr_set_notify() 350 if (old && notify) { in ftr_set_notify() 351 if (old == notify && notif->data == data) in ftr_set_notify() 356 if (old && !notify) in ftr_set_notify() 359 if (!old && notify) { in ftr_set_notify() [all …]
|
| /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/net/netfilter/ |
| H A D | nf_conntrack_ecache.c | 133 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 251 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in nf_ct_expect_event_report() 252 if (!notify) in nf_ct_expect_event_report() 265 notify->exp_event(1 << event, &item); in nf_ct_expect_event_report() 274 struct nf_ct_event_notifier *notify; in nf_conntrack_register_notifier() local 277 notify = rcu_dereference_protected(net->ct.nf_conntrack_event_cb, in nf_conntrack_register_notifier() [all …]
|
| /linux/net/openvswitch/ |
| H A D | dp_notify.c | 16 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/drivers/usb/gadget/function/ |
| H A D | f_acm.c | 57 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 …]
|
| /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/sound/virtio/ |
| H A D | virtio_ctl_msg.c | 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 153 notify = virtqueue_kick_prepare(queue->vqueue); in virtsnd_ctl_msg_send() 172 if (notify) in virtsnd_ctl_msg_send() 178 rc = wait_for_completion_interruptible_timeout(&msg->notify, js); in virtsnd_ctl_msg_send() 221 complete(&msg->notify); in virtsnd_ctl_msg_complete()
|
| /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/include/net/ |
| H A D | bonding.h | 385 int slave_state, bool notify) in bond_set_slave_state() argument 391 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/include/linux/ |
| H A D | virtio_ring.h | 77 bool (*notify)(struct virtqueue *vq), 92 bool (*notify)(struct virtqueue *vq), 108 bool (*notify)(struct virtqueue *vq),
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | affinity.c | 779 static void hfi1_irq_notifier_notify(struct irq_affinity_notify *notify, in hfi1_irq_notifier_notify() argument 783 struct hfi1_msix_entry *msix = container_of(notify, in hfi1_irq_notifier_notify() 785 notify); in hfi1_irq_notifier_notify() 801 struct irq_affinity_notify *notify = &msix->notify; in hfi1_setup_sdma_notifier() local 803 notify->irq = msix->irq; in hfi1_setup_sdma_notifier() 804 notify->notify = hfi1_irq_notifier_notify; in hfi1_setup_sdma_notifier() 805 notify->release = hfi1_irq_notifier_release; in hfi1_setup_sdma_notifier() 807 if (irq_set_affinity_notifier(notify->irq, notify)) in hfi1_setup_sdma_notifier() 809 notify->irq); in hfi1_setup_sdma_notifier() 814 struct irq_affinity_notify *notify = &msix->notify; in hfi1_cleanup_sdma_notifier() local [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()
|