/linux-6.1.9/io_uring/ |
D | notif.c | 12 static void __io_notif_complete_tw(struct io_kiocb *notif, bool *locked) in __io_notif_complete_tw() argument 14 struct io_notif_data *nd = io_notif_to_data(notif); in __io_notif_complete_tw() 15 struct io_ring_ctx *ctx = notif->ctx; in __io_notif_complete_tw() 23 notif->cqe.res |= IORING_NOTIF_USAGE_ZC_COPIED; in __io_notif_complete_tw() 25 io_req_task_complete(notif, locked); in __io_notif_complete_tw() 33 struct io_kiocb *notif = cmd_to_io_kiocb(nd); in io_uring_tx_zerocopy_callback() local 43 notif->io_task_work.func = __io_notif_complete_tw; in io_uring_tx_zerocopy_callback() 44 io_req_task_work_add(notif); in io_uring_tx_zerocopy_callback() 51 struct io_kiocb *notif; in io_alloc_notif() local 56 notif = io_alloc_req(ctx); in io_alloc_notif() [all …]
|
D | notif.h | 21 void io_notif_flush(struct io_kiocb *notif); 24 static inline struct io_notif_data *io_notif_to_data(struct io_kiocb *notif) in io_notif_to_data() argument 26 return io_kiocb_to_cmd(notif, struct io_notif_data); in io_notif_to_data() 29 static inline int io_notif_account_mem(struct io_kiocb *notif, unsigned len) in io_notif_account_mem() argument 31 struct io_ring_ctx *ctx = notif->ctx; in io_notif_account_mem() 32 struct io_notif_data *nd = io_notif_to_data(notif); in io_notif_account_mem()
|
D | net.c | 68 struct io_kiocb *notif; member 932 if (zc->notif) { in io_send_zc_cleanup() 933 io_notif_flush(zc->notif); in io_send_zc_cleanup() 934 zc->notif = NULL; in io_send_zc_cleanup() 942 struct io_kiocb *notif; in io_send_zc_prep() local 955 notif = zc->notif = io_alloc_notif(ctx); in io_send_zc_prep() 956 if (!notif) in io_send_zc_prep() 958 notif->cqe.user_data = req->cqe.user_data; in io_send_zc_prep() 959 notif->cqe.res = 0; in io_send_zc_prep() 960 notif->cqe.flags = IORING_CQE_F_NOTIF; in io_send_zc_prep() [all …]
|
/linux-6.1.9/drivers/tee/optee/ |
D | notif.c | 25 list_for_each_entry(entry, &optee->notif.db, link) in have_key() 38 if (key > optee->notif.max_key) in optee_notif_wait() 47 spin_lock_irqsave(&optee->notif.lock, flags); in optee_notif_wait() 53 if (test_bit(key, optee->notif.bitmap)) { in optee_notif_wait() 54 clear_bit(key, optee->notif.bitmap); in optee_notif_wait() 67 list_add_tail(&entry->link, &optee->notif.db); in optee_notif_wait() 72 spin_unlock_irqrestore(&optee->notif.lock, flags); in optee_notif_wait() 74 spin_lock_irqsave(&optee->notif.lock, flags); in optee_notif_wait() 78 spin_unlock_irqrestore(&optee->notif.lock, flags); in optee_notif_wait() 90 if (key > optee->notif.max_key) in optee_notif_send() [all …]
|
D | Makefile | 5 optee-objs += notif.o
|
/linux-6.1.9/sound/aoa/core/ |
D | gpio-pmf.c | 74 struct gpio_notification *notif = in pmf_handle_notify() local 77 mutex_lock(¬if->mutex); in pmf_handle_notify() 78 if (notif->notify) in pmf_handle_notify() 79 notif->notify(notif->data); in pmf_handle_notify() 80 mutex_unlock(¬if->mutex); in pmf_handle_notify() 124 struct gpio_notification *notif = data; in pmf_handle_notify_irq() local 126 schedule_delayed_work(¬if->work, 0); in pmf_handle_notify_irq() 134 struct gpio_notification *notif; in pmf_set_notify() local 142 notif = &rt->headphone_notify; in pmf_set_notify() 146 notif = &rt->line_in_notify; in pmf_set_notify() [all …]
|
D | gpio-feature.c | 212 struct gpio_notification *notif = in ftr_handle_notify() local 215 mutex_lock(¬if->mutex); in ftr_handle_notify() 216 if (notif->notify) in ftr_handle_notify() 217 notif->notify(notif->data); in ftr_handle_notify() 218 mutex_unlock(¬if->mutex); in ftr_handle_notify() 303 struct gpio_notification *notif = data; in ftr_handle_notify_irq() local 305 schedule_delayed_work(¬if->work, 0); in ftr_handle_notify_irq() 315 struct gpio_notification *notif; in ftr_set_notify() local 323 notif = &rt->headphone_notify; in ftr_set_notify() 328 notif = &rt->line_in_notify; in ftr_set_notify() [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | time-event.c | 196 struct iwl_time_event_notif *notif) in iwl_mvm_te_handle_notify_csa() argument 201 if (!notif->status) in iwl_mvm_te_handle_notify_csa() 206 if (!notif->status) in iwl_mvm_te_handle_notify_csa() 211 if (!notif->status) { in iwl_mvm_te_handle_notify_csa() 231 struct iwl_time_event_notif *notif, in iwl_mvm_te_check_trigger() argument 254 !(trig_action_bitmap & le32_to_cpu(notif->action)) || in iwl_mvm_te_check_trigger() 255 !(trig_status_bitmap & BIT(le32_to_cpu(notif->status)))) in iwl_mvm_te_check_trigger() 261 le32_to_cpu(notif->action), in iwl_mvm_te_check_trigger() 262 le32_to_cpu(notif->status)); in iwl_mvm_te_check_trigger() 288 struct iwl_time_event_notif *notif) in iwl_mvm_te_handle_notif() argument [all …]
|
D | rs-fw.c | 286 struct iwl_tlc_update_notif *notif; in iwl_mvm_tlc_update_notif() local 294 notif = (void *)pkt->data; in iwl_mvm_tlc_update_notif() 295 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_tlc_update_notif() 302 notif->sta_id); in iwl_mvm_tlc_update_notif() 310 notif->sta_id); in iwl_mvm_tlc_update_notif() 314 flags = le32_to_cpu(notif->flags); in iwl_mvm_tlc_update_notif() 325 le32_to_cpu(notif->rate)); in iwl_mvm_tlc_update_notif() 330 iwl_new_rate_from_v1(le32_to_cpu(notif->rate)); in iwl_mvm_tlc_update_notif() 332 lq_sta->last_rate_n_flags = le32_to_cpu(notif->rate); in iwl_mvm_tlc_update_notif() 340 u16 size = le32_to_cpu(notif->amsdu_size); in iwl_mvm_tlc_update_notif() [all …]
|
D | coex.c | 213 struct iwl_bt_coex_profile_notif *notif; member 307 bt_activity_grading = le32_to_cpu(data->notif->bt_activity_grading); in iwl_mvm_bt_notif_iterator() 414 .notif = &mvm->last_bt_notif, in iwl_mvm_bt_coex_notif_handle() 491 struct iwl_bt_coex_profile_notif *notif = (void *)pkt->data; in iwl_mvm_rx_bt_coex_notif() local 494 IWL_DEBUG_COEX(mvm, "\tBT ci compliance %d\n", notif->bt_ci_compliance); in iwl_mvm_rx_bt_coex_notif() 496 le32_to_cpu(notif->primary_ch_lut)); in iwl_mvm_rx_bt_coex_notif() 498 le32_to_cpu(notif->secondary_ch_lut)); in iwl_mvm_rx_bt_coex_notif() 500 le32_to_cpu(notif->bt_activity_grading)); in iwl_mvm_rx_bt_coex_notif() 503 memcpy(&mvm->last_bt_notif, notif, sizeof(mvm->last_bt_notif)); in iwl_mvm_rx_bt_coex_notif()
|
D | mac-ctxt.c | 1494 struct iwl_probe_resp_data_notif *notif = (void *)pkt->data; in iwl_mvm_probe_resp_data_notif() local 1496 u32 id = le32_to_cpu(notif->mac_id); in iwl_mvm_probe_resp_data_notif() 1501 notif->noa_active, notif->csa_counter); in iwl_mvm_probe_resp_data_notif() 1513 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mvm_probe_resp_data_notif() 1517 sizeof(new_data->notif.noa_attr) - 1; in iwl_mvm_probe_resp_data_notif() 1523 if (new_data->notif.noa_attr.len_low == in iwl_mvm_probe_resp_data_notif() 1534 if (notif->csa_counter != IWL_PROBE_RESP_DATA_NO_CSA && in iwl_mvm_probe_resp_data_notif() 1535 notif->csa_counter >= 1) in iwl_mvm_probe_resp_data_notif() 1536 ieee80211_beacon_set_cntdwn(vif, notif->csa_counter); in iwl_mvm_probe_resp_data_notif() 1543 struct iwl_channel_switch_start_notif *notif = (void *)pkt->data; in iwl_mvm_channel_switch_start_notif() local [all …]
|
D | rfi.c | 140 struct iwl_rfi_deactivate_notif *notif = (void *)pkt->data; in iwl_rfi_deactivate_notif_handler() local 142 IWL_INFO(mvm, "RFIm is deactivated, reason = %d\n", notif->reason); in iwl_rfi_deactivate_notif_handler()
|
D | rx.c | 1029 struct iwl_ba_window_status_notif *notif = (void *)pkt->data; in iwl_mvm_window_status_notif() local 1032 BUILD_BUG_ON(ARRAY_SIZE(notif->ra_tid) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 1033 BUILD_BUG_ON(ARRAY_SIZE(notif->mpdu_rx_count) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 1034 BUILD_BUG_ON(ARRAY_SIZE(notif->bitmap) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 1035 BUILD_BUG_ON(ARRAY_SIZE(notif->start_seq_num) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 1046 ratid = le16_to_cpu(notif->ra_tid[i]); in iwl_mvm_window_status_notif() 1051 received_mpdu = le16_to_cpu(notif->mpdu_rx_count[i]); in iwl_mvm_window_status_notif() 1062 bitmap = le64_to_cpu(notif->bitmap[i]); in iwl_mvm_window_status_notif() 1063 ssn = le32_to_cpu(notif->start_seq_num[i]); in iwl_mvm_window_status_notif()
|
D | nvm.c | 557 struct iwl_mcc_chub_notif *notif = (void *)pkt->data; in iwl_mvm_rx_chub_update_mcc() local 565 if (iwl_mvm_is_vif_assoc(mvm) && notif->source_id == MCC_SOURCE_WIFI) { in iwl_mvm_rx_chub_update_mcc() 573 mcc[0] = le16_to_cpu(notif->mcc) >> 8; in iwl_mvm_rx_chub_update_mcc() 574 mcc[1] = le16_to_cpu(notif->mcc) & 0xff; in iwl_mvm_rx_chub_update_mcc() 576 src = notif->source_id; in iwl_mvm_rx_chub_update_mcc()
|
/linux-6.1.9/drivers/power/supply/ |
D | surface_charger.c | 57 struct ssam_event_notifier notif; member 108 ac = container_of(nf, struct spwr_ac_device, notif); in spwr_notify_ac() 182 ac->notif.base.priority = 1; in spwr_ac_init() 183 ac->notif.base.fn = spwr_notify_ac; in spwr_ac_init() 184 ac->notif.event.reg = registry; in spwr_ac_init() 185 ac->notif.event.id.target_category = sdev->uid.category; in spwr_ac_init() 186 ac->notif.event.id.instance = 0; in spwr_ac_init() 187 ac->notif.event.mask = SSAM_EVENT_MASK_NONE; in spwr_ac_init() 188 ac->notif.event.flags = SSAM_EVENT_SEQUENCED; in spwr_ac_init() 219 return ssam_device_notifier_register(ac->sdev, &ac->notif); in spwr_ac_register() [all …]
|
D | surface_battery.c | 128 struct ssam_event_notifier notif; member 345 struct spwr_battery_device *bat = container_of(nf, struct spwr_battery_device, notif); in spwr_notify_bat() 729 bat->notif.base.priority = 1; in spwr_battery_init() 730 bat->notif.base.fn = spwr_notify_bat; in spwr_battery_init() 731 bat->notif.event.reg = registry; in spwr_battery_init() 732 bat->notif.event.id.target_category = sdev->uid.category; in spwr_battery_init() 733 bat->notif.event.id.instance = 0; /* need to register with instance 0 */ in spwr_battery_init() 734 bat->notif.event.mask = SSAM_EVENT_MASK_TARGET; in spwr_battery_init() 735 bat->notif.event.flags = SSAM_EVENT_SEQUENCED; in spwr_battery_init() 805 return ssam_device_notifier_register(bat->sdev, &bat->notif); in spwr_battery_register() [all …]
|
/linux-6.1.9/drivers/platform/surface/ |
D | surface_aggregator_hub.c | 48 struct ssam_event_notifier notif; member 174 hub->notif.base.priority = INT_MAX; /* This notifier should run first. */ in ssam_hub_probe() 175 hub->notif.base.fn = desc->ops.notify; in ssam_hub_probe() 176 hub->notif.event.reg = desc->event.reg; in ssam_hub_probe() 177 hub->notif.event.id = desc->event.id; in ssam_hub_probe() 178 hub->notif.event.mask = desc->event.mask; in ssam_hub_probe() 179 hub->notif.event.flags = SSAM_EVENT_SEQUENCED; in ssam_hub_probe() 188 status = ssam_device_notifier_register(sdev, &hub->notif); in ssam_hub_probe() 200 ssam_device_notifier_unregister(sdev, &hub->notif); in ssam_hub_remove() 246 struct ssam_hub *hub = container_of(nf, struct ssam_hub, notif); in ssam_base_hub_notif() [all …]
|
D | surface_aggregator_tabletsw.c | 37 struct ssam_event_notifier notif; member 158 sw->notif.base.priority = 0; in ssam_tablet_sw_probe() 159 sw->notif.base.fn = desc->ops.notify; in ssam_tablet_sw_probe() 160 sw->notif.event.reg = desc->event.reg; in ssam_tablet_sw_probe() 161 sw->notif.event.id = desc->event.id; in ssam_tablet_sw_probe() 162 sw->notif.event.mask = desc->event.mask; in ssam_tablet_sw_probe() 163 sw->notif.event.flags = SSAM_EVENT_SEQUENCED; in ssam_tablet_sw_probe() 165 status = ssam_device_notifier_register(sdev, &sw->notif); in ssam_tablet_sw_probe() 178 ssam_device_notifier_unregister(sdev, &sw->notif); in ssam_tablet_sw_probe() 189 ssam_device_notifier_unregister(sdev, &sw->notif); in ssam_tablet_sw_remove() [all …]
|
D | surface_dtx.c | 169 struct ssam_event_notifier notif; member 623 struct sdtx_device *ddev = container_of(nf, struct sdtx_device, notif); in sdtx_notifier() 959 ddev->notif.base.priority = 1; in sdtx_device_init() 960 ddev->notif.base.fn = sdtx_notifier; in sdtx_device_init() 961 ddev->notif.event.reg = SSAM_EVENT_REGISTRY_SAM; in sdtx_device_init() 962 ddev->notif.event.id.target_category = SSAM_SSH_TC_BAS; in sdtx_device_init() 963 ddev->notif.event.id.instance = 0; in sdtx_device_init() 964 ddev->notif.event.mask = SSAM_EVENT_MASK_NONE; in sdtx_device_init() 965 ddev->notif.event.flags = SSAM_EVENT_SEQUENCED; in sdtx_device_init() 1019 status = ssam_notifier_register(ddev->ctrl, &ddev->notif); in sdtx_device_init() [all …]
|
/linux-6.1.9/drivers/hid/surface-hid/ |
D | surface_hid.c | 159 struct surface_hid_device *shid = container_of(nf, struct surface_hid_device, notif); in ssam_hid_event_fn() 210 shid->notif.base.priority = 1; in surface_hid_probe() 211 shid->notif.base.fn = ssam_hid_event_fn; in surface_hid_probe() 212 shid->notif.event.reg = SSAM_EVENT_REGISTRY_REG(sdev->uid.target); in surface_hid_probe() 213 shid->notif.event.id.target_category = sdev->uid.category; in surface_hid_probe() 214 shid->notif.event.id.instance = sdev->uid.instance; in surface_hid_probe() 215 shid->notif.event.mask = SSAM_EVENT_MASK_STRICT; in surface_hid_probe() 216 shid->notif.event.flags = 0; in surface_hid_probe()
|
D | surface_kbd.c | 126 struct surface_hid_device *shid = container_of(nf, struct surface_hid_device, notif); in ssam_kbd_event_fn() 257 shid->notif.base.priority = 1; in surface_kbd_probe() 258 shid->notif.base.fn = ssam_kbd_event_fn; in surface_kbd_probe() 259 shid->notif.event.reg = SSAM_EVENT_REGISTRY_SAM; in surface_kbd_probe() 260 shid->notif.event.id.target_category = shid->uid.category; in surface_kbd_probe() 261 shid->notif.event.id.instance = shid->uid.instance; in surface_kbd_probe() 262 shid->notif.event.mask = SSAM_EVENT_MASK_NONE; in surface_kbd_probe() 263 shid->notif.event.flags = 0; in surface_kbd_probe()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | scan.c | 237 struct iwl_scanreq_notification *notif = (void *)pkt->data; in iwl_rx_reply_scan() local 239 IWL_DEBUG_SCAN(priv, "Scan request status = 0x%x\n", notif->status); in iwl_rx_reply_scan() 248 struct iwl_scanstart_notification *notif = (void *)pkt->data; in iwl_rx_scan_start_notif() local 250 priv->scan_start_tsf = le32_to_cpu(notif->tsf_low); in iwl_rx_scan_start_notif() 254 notif->channel, in iwl_rx_scan_start_notif() 255 notif->band ? "bg" : "a", in iwl_rx_scan_start_notif() 256 le32_to_cpu(notif->tsf_high), in iwl_rx_scan_start_notif() 257 le32_to_cpu(notif->tsf_low), in iwl_rx_scan_start_notif() 258 notif->status, notif->beacon_timer); in iwl_rx_scan_start_notif() 267 struct iwl_scanresults_notification *notif = (void *)pkt->data; in iwl_rx_scan_results_notif() local [all …]
|
/linux-6.1.9/kernel/ |
D | seccomp.c | 229 struct notification *notif; member 1053 return filter->notif->next_id++; in seccomp_next_notify_id() 1108 if (!match->notif) in seccomp_do_user_notification() 1116 list_add_tail(&n.list, &match->notif->notifications); in seccomp_do_user_notification() 1119 up(&match->notif->request); in seccomp_do_user_notification() 1177 if (match->notif) in seccomp_do_user_notification() 1391 kfree(filter->notif); in seccomp_notify_free() 1392 filter->notif = NULL; in seccomp_notify_free() 1408 list_for_each_entry(knotif, &filter->notif->notifications, list) { in seccomp_notify_detach() 1445 list_for_each_entry(cur, &filter->notif->notifications, list) { in find_notification() [all …]
|
/linux-6.1.9/drivers/media/v4l2-core/ |
D | v4l2-async.c | 706 __v4l2_async_nf_add_fwnode_remote(struct v4l2_async_notifier *notif, in __v4l2_async_nf_add_fwnode_remote() argument 717 asd = __v4l2_async_nf_add_fwnode(notif, remote, asd_struct_size); in __v4l2_async_nf_add_fwnode_remote() 884 struct v4l2_async_notifier *notif; in pending_subdevs_show() local 889 list_for_each_entry(notif, ¬ifier_list, list) { in pending_subdevs_show() 890 seq_printf(s, "%s:\n", v4l2_async_nf_name(notif)); in pending_subdevs_show() 891 list_for_each_entry(asd, ¬if->waiting, list) in pending_subdevs_show()
|
/linux-6.1.9/drivers/platform/surface/aggregator/ |
D | controller.c | 785 nf = &queue->cplt->event.notif; in ssam_event_queue_work_fn() 839 status = ssam_nf_init(&cplt->event.notif); in ssam_cplt_init() 862 ssam_nf_destroy(&cplt->event.notif); in ssam_cplt_destroy() 2178 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_nf_refcount_enable() 2242 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_nf_refcount_disable_free() 2299 nf = &ctrl->cplt.event.notif; in ssam_notifier_register() 2368 nf = &ctrl->cplt.event.notif; in __ssam_notifier_unregister() 2433 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_controller_event_enable() 2484 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_controller_event_disable() 2529 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_notifier_disable_registered() [all …]
|