/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | iowait.h | 52 #include <linux/wait.h> 98 * @list: used to add/insert into QP/PQ wait lists 104 * @lock: lock protected head of wait queue 106 * @wait_dma: wait for sdma_busy == 0 107 * @wait_pio: wait for pio_busy == 0 112 * @flags: wait flags (one per QP) 113 * @wait: SE array for multiple legs 143 struct iowait_work *wait, 148 void (*wakeup)(struct iowait *wait, int reason); 149 void (*sdma_drained)(struct iowait *wait); 162 struct iowait_work wait[IOWAIT_SES]; global() member 189 iowait_schedule(struct iowait *wait, struct workqueue_struct *wq, int cpu) iowait_schedule() argument 201 iowait_tid_schedule(struct iowait *wait, struct workqueue_struct *wq, int cpu) iowait_tid_schedule() argument 215 iowait_sdma_drain(struct iowait *wait) iowait_sdma_drain() argument 226 iowait_sdma_pending(struct iowait *wait) iowait_sdma_pending() argument 235 iowait_sdma_inc(struct iowait *wait) iowait_sdma_inc() argument 244 iowait_sdma_add(struct iowait *wait, int count) iowait_sdma_add() argument 253 iowait_sdma_dec(struct iowait *wait) iowait_sdma_dec() argument 268 iowait_pio_drain(struct iowait *wait) iowait_pio_drain() argument 281 iowait_pio_pending(struct iowait *wait) iowait_pio_pending() argument 290 iowait_pio_inc(struct iowait *wait) iowait_pio_inc() argument 299 iowait_pio_dec(struct iowait *wait) iowait_pio_dec() argument 313 iowait_drain_wakeup(struct iowait *wait) iowait_drain_wakeup() argument 326 iowait_get_txhead(struct iowait_work *wait) iowait_get_txhead() argument 448 iowait_packet_queued(struct iowait_work *wait) iowait_packet_queued() argument [all...] |
H A D | iowait.c | 12 void iowait_set_flag(struct iowait *wait, u32 flag) in iowait_set_flag() argument 14 trace_hfi1_iowait_set(wait, flag); in iowait_set_flag() 15 set_bit(flag, &wait->flags); in iowait_set_flag() 18 bool iowait_flag_set(struct iowait *wait, u32 flag) in iowait_flag_set() argument 20 return test_bit(flag, &wait->flags); in iowait_flag_set() 23 inline void iowait_clear_flag(struct iowait *wait, u32 flag) in iowait_clear_flag() argument 25 trace_hfi1_iowait_clear(wait, flag); in iowait_clear_flag() 26 clear_bit(flag, &wait->flags); in iowait_clear_flag() 30 * iowait_init() - initialize wait structure 31 * @wait 41 iowait_init(struct iowait *wait, u32 tx_limit, void (*func)(struct work_struct *work), void (*tidfunc)(struct work_struct *work), int (*sleep)(struct sdma_engine *sde, struct iowait_work *wait, struct sdma_txreq *tx, uint seq, bool pkts_sent), void (*wakeup)(struct iowait *wait, int reason), void (*sdma_drained)(struct iowait *wait), void (*init_priority)(struct iowait *wait)) iowait_init() argument [all...] |
H A D | trace_iowait.h | 17 TP_PROTO(struct iowait *wait, u32 flag), 18 TP_ARGS(wait, flag), 26 __entry->addr = (unsigned long)wait; 27 __entry->flags = wait->flags; 29 __entry->qpn = iowait_to_qp(wait)->ibqp.qp_num; 41 TP_PROTO(struct iowait *wait, u32 flag), 42 TP_ARGS(wait, flag)); 45 TP_PROTO(struct iowait *wait, u32 flag), 46 TP_ARGS(wait, flag));
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | iowait.h | 11 #include <linux/wait.h> 57 * @list: used to add/insert into QP/PQ wait lists 63 * @lock: lock protected head of wait queue 65 * @wait_dma: wait for sdma_busy == 0 66 * @wait_pio: wait for pio_busy == 0 71 * @flags: wait flags (one per QP) 72 * @wait: SE array for multiple legs 102 struct iowait_work *wait, 107 void (*wakeup)(struct iowait *wait, int reason); 108 void (*sdma_drained)(struct iowait *wait); 121 struct iowait_work wait[IOWAIT_SES]; global() member 148 iowait_schedule(struct iowait *wait, struct workqueue_struct *wq, int cpu) iowait_schedule() argument 160 iowait_tid_schedule(struct iowait *wait, struct workqueue_struct *wq, int cpu) iowait_tid_schedule() argument 174 iowait_sdma_drain(struct iowait *wait) iowait_sdma_drain() argument 185 iowait_sdma_pending(struct iowait *wait) iowait_sdma_pending() argument 194 iowait_sdma_inc(struct iowait *wait) iowait_sdma_inc() argument 203 iowait_sdma_add(struct iowait *wait, int count) iowait_sdma_add() argument 212 iowait_sdma_dec(struct iowait *wait) iowait_sdma_dec() argument 227 iowait_pio_drain(struct iowait *wait) iowait_pio_drain() argument 240 iowait_pio_pending(struct iowait *wait) iowait_pio_pending() argument 249 iowait_pio_inc(struct iowait *wait) iowait_pio_inc() argument 258 iowait_pio_dec(struct iowait *wait) iowait_pio_dec() argument 272 iowait_drain_wakeup(struct iowait *wait) iowait_drain_wakeup() argument 285 iowait_get_txhead(struct iowait_work *wait) iowait_get_txhead() argument 407 iowait_packet_queued(struct iowait_work *wait) iowait_packet_queued() argument [all...] |
H A D | iowait.c | 12 void iowait_set_flag(struct iowait *wait, u32 flag) in iowait_set_flag() argument 14 trace_hfi1_iowait_set(wait, flag); in iowait_set_flag() 15 set_bit(flag, &wait->flags); in iowait_set_flag() 18 bool iowait_flag_set(struct iowait *wait, u32 flag) in iowait_flag_set() argument 20 return test_bit(flag, &wait->flags); in iowait_flag_set() 23 inline void iowait_clear_flag(struct iowait *wait, u32 flag) in iowait_clear_flag() argument 25 trace_hfi1_iowait_clear(wait, flag); in iowait_clear_flag() 26 clear_bit(flag, &wait->flags); in iowait_clear_flag() 30 * iowait_init() - initialize wait structure 31 * @wait 41 iowait_init(struct iowait *wait, u32 tx_limit, void (*func)(struct work_struct *work), void (*tidfunc)(struct work_struct *work), int (*sleep)(struct sdma_engine *sde, struct iowait_work *wait, struct sdma_txreq *tx, uint seq, bool pkts_sent), void (*wakeup)(struct iowait *wait, int reason), void (*sdma_drained)(struct iowait *wait), void (*init_priority)(struct iowait *wait)) iowait_init() argument [all...] |
H A D | trace_iowait.h | 17 TP_PROTO(struct iowait *wait, u32 flag), 18 TP_ARGS(wait, flag), 26 __entry->addr = (unsigned long)wait; 27 __entry->flags = wait->flags; 29 __entry->qpn = iowait_to_qp(wait)->ibqp.qp_num; 41 TP_PROTO(struct iowait *wait, u32 flag), 42 TP_ARGS(wait, flag)); 45 TP_PROTO(struct iowait *wait, u32 flag), 46 TP_ARGS(wait, flag));
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_display_rps.c | 15 struct wait_queue_entry wait; member 24 struct wait_rps_boost *wait = container_of(_wait, typeof(*wait), wait); in do_rps_boost() local 25 struct i915_request *rq = wait->request; in do_rps_boost() 36 drm_crtc_vblank_put(wait->crtc); in do_rps_boost() 38 list_del(&wait->wait.entry); in do_rps_boost() 39 kfree(wait); in do_rps_boost() 46 struct wait_rps_boost *wait; in intel_display_rps_boost_after_vblank() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/ |
H A D | timer.c | 26 nvif_timer_wait_test(struct nvif_timer_wait *wait) in nvif_timer_wait_test() argument 28 u64 time = nvif_device_time(wait->device); in nvif_timer_wait_test() 30 if (wait->reads == 0) { in nvif_timer_wait_test() 31 wait->time0 = time; in nvif_timer_wait_test() 32 wait->time1 = time; in nvif_timer_wait_test() 35 if (wait->time1 == time) { in nvif_timer_wait_test() 36 if (WARN_ON(wait->reads++ == 16)) in nvif_timer_wait_test() 39 wait->time1 = time; in nvif_timer_wait_test() 40 wait->reads = 1; in nvif_timer_wait_test() 43 if (wait in nvif_timer_wait_test() 50 nvif_timer_wait_init(struct nvif_device *device, u64 nsec, struct nvif_timer_wait *wait) nvif_timer_wait_init() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvif/ |
H A D | timer.c | 26 nvif_timer_wait_test(struct nvif_timer_wait *wait) in nvif_timer_wait_test() argument 28 u64 time = nvif_device_time(wait->device); in nvif_timer_wait_test() 30 if (wait->reads == 0) { in nvif_timer_wait_test() 31 wait->time0 = time; in nvif_timer_wait_test() 32 wait->time1 = time; in nvif_timer_wait_test() 35 if (wait->time1 == time) { in nvif_timer_wait_test() 36 if (WARN_ON(wait->reads++ == 16)) in nvif_timer_wait_test() 39 wait->time1 = time; in nvif_timer_wait_test() 40 wait->reads = 1; in nvif_timer_wait_test() 43 if (wait in nvif_timer_wait_test() 50 nvif_timer_wait_init(struct nvif_device *device, u64 nsec, struct nvif_timer_wait *wait) nvif_timer_wait_init() argument [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | fs_pin.c | 16 spin_lock_irq(&pin->wait.lock); in pin_remove() 18 wake_up_locked(&pin->wait); in pin_remove() 19 spin_unlock_irq(&pin->wait.lock); in pin_remove() 32 wait_queue_entry_t wait; in pin_kill() local 38 init_wait(&wait); in pin_kill() 39 spin_lock_irq(&p->wait.lock); in pin_kill() 42 spin_unlock_irq(&p->wait.lock); in pin_kill() 48 spin_unlock_irq(&p->wait.lock); in pin_kill() 52 __add_wait_queue(&p->wait, &wait); in pin_kill() [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | fs_pin.c | 16 spin_lock_irq(&pin->wait.lock); in pin_remove() 18 wake_up_locked(&pin->wait); in pin_remove() 19 spin_unlock_irq(&pin->wait.lock); in pin_remove() 32 wait_queue_entry_t wait; in pin_kill() local 38 init_wait(&wait); in pin_kill() 39 spin_lock_irq(&p->wait.lock); in pin_kill() 42 spin_unlock_irq(&p->wait.lock); in pin_kill() 48 spin_unlock_irq(&p->wait.lock); in pin_kill() 52 __add_wait_queue(&p->wait, &wait); in pin_kill() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | base.c | 27 nvkm_timer_wait_test(struct nvkm_timer_wait *wait) in nvkm_timer_wait_test() argument 29 struct nvkm_subdev *subdev = &wait->tmr->subdev; in nvkm_timer_wait_test() 30 u64 time = nvkm_timer_read(wait->tmr); in nvkm_timer_wait_test() 32 if (wait->reads == 0) { in nvkm_timer_wait_test() 33 wait->time0 = time; in nvkm_timer_wait_test() 34 wait->time1 = time; in nvkm_timer_wait_test() 37 if (wait->time1 == time) { in nvkm_timer_wait_test() 38 if (wait->reads++ == 16) { in nvkm_timer_wait_test() 43 wait->time1 = time; in nvkm_timer_wait_test() 44 wait in nvkm_timer_wait_test() 54 nvkm_timer_wait_init(struct nvkm_device *device, u64 nsec, struct nvkm_timer_wait *wait) nvkm_timer_wait_init() argument [all...] |
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | completion.c | 3 * Generic wait-for-completion handler; 32 raw_spin_lock_irqsave(&x->wait.lock, flags); in complete() 36 swake_up_locked(&x->wait); in complete() 37 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in complete() 63 raw_spin_lock_irqsave(&x->wait.lock, flags); in complete_all() 65 swake_up_all_locked(&x->wait); in complete_all() 66 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in complete_all() 75 DECLARE_SWAITQUEUE(wait); in do_wait_for_common() 82 __prepare_to_swait(&x->wait, &wait); in do_wait_for_common() [all...] |
H A D | swait.c | 3 * <linux/swait.h> (simple wait queues ) implementation: 85 void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait) in __prepare_to_swait() argument 87 wait->task = current; in __prepare_to_swait() 88 if (list_empty(&wait->task_list)) in __prepare_to_swait() 89 list_add_tail(&wait->task_list, &q->task_list); in __prepare_to_swait() 92 void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_exclusive() argument 97 __prepare_to_swait(q, wait); in prepare_to_swait_exclusive() 103 long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_event() argument 114 list_del_init(&wait->task_list); in prepare_to_swait_event() 117 __prepare_to_swait(q, wait); in prepare_to_swait_event() 126 __finish_swait(struct swait_queue_head *q, struct swait_queue *wait) __finish_swait() argument 133 finish_swait(struct swait_queue_head *q, struct swait_queue *wait) finish_swait() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | base.c | 27 nvkm_timer_wait_test(struct nvkm_timer_wait *wait) in nvkm_timer_wait_test() argument 29 struct nvkm_subdev *subdev = &wait->tmr->subdev; in nvkm_timer_wait_test() 30 u64 time = nvkm_timer_read(wait->tmr); in nvkm_timer_wait_test() 32 if (wait->reads == 0) { in nvkm_timer_wait_test() 33 wait->time0 = time; in nvkm_timer_wait_test() 34 wait->time1 = time; in nvkm_timer_wait_test() 37 if (wait->time1 == time) { in nvkm_timer_wait_test() 38 if (wait->reads++ == 16) { in nvkm_timer_wait_test() 43 wait->time1 = time; in nvkm_timer_wait_test() 44 wait in nvkm_timer_wait_test() 54 nvkm_timer_wait_init(struct nvkm_device *device, u64 nsec, struct nvkm_timer_wait *wait) nvkm_timer_wait_init() argument [all...] |
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | completion.c | 4 * Generic wait-for-completion handler; 20 raw_spin_lock_irqsave(&x->wait.lock, flags); in complete_with_flags() 24 swake_up_locked(&x->wait, wake_flags); in complete_with_flags() 25 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in complete_with_flags() 73 raw_spin_lock_irqsave(&x->wait.lock, flags); in complete_all() 75 swake_up_all_locked(&x->wait); in complete_all() 76 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in complete_all() 85 DECLARE_SWAITQUEUE(wait); in do_wait_for_common() 92 __prepare_to_swait(&x->wait, &wait); in do_wait_for_common() [all...] |
H A D | swait.c | 3 * <linux/swait.h> (simple wait queues ) implementation: 84 void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait) in __prepare_to_swait() argument 86 wait->task = current; in __prepare_to_swait() 87 if (list_empty(&wait->task_list)) in __prepare_to_swait() 88 list_add_tail(&wait->task_list, &q->task_list); in __prepare_to_swait() 91 void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_exclusive() argument 96 __prepare_to_swait(q, wait); in prepare_to_swait_exclusive() 102 long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_event() argument 113 list_del_init(&wait->task_list); in prepare_to_swait_event() 116 __prepare_to_swait(q, wait); in prepare_to_swait_event() 125 __finish_swait(struct swait_queue_head *q, struct swait_queue *wait) __finish_swait() argument 132 finish_swait(struct swait_queue_head *q, struct swait_queue *wait) finish_swait() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_dev.c | 230 int wait) in _vnic_dev_cmd() 259 for (delay = 0; delay < wait; delay++) { in _vnic_dev_cmd() 298 int wait) in _vnic_dev_cmd2() 349 for (delay = 0; delay < wait; delay++) { in _vnic_dev_cmd2() 457 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_proxy() 469 err = vdev->devcmd_rtn(vdev, proxy_cmd, wait); in vnic_dev_cmd_proxy() 490 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_no_proxy() 497 err = vdev->devcmd_rtn(vdev, cmd, wait); in vnic_dev_cmd_no_proxy() 518 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd() 525 a0, a1, wait); in vnic_dev_cmd() 229 _vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, int wait) _vnic_dev_cmd() argument 297 _vnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, int wait) _vnic_dev_cmd2() argument 455 vnic_dev_cmd_proxy(struct vnic_dev *vdev, enum vnic_devcmd_cmd proxy_cmd, enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) vnic_dev_cmd_proxy() argument 489 vnic_dev_cmd_no_proxy(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) vnic_dev_cmd_no_proxy() argument 517 vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) vnic_dev_cmd() argument 538 int wait = 1000; vnic_dev_capable() local 550 int wait = 1000; vnic_dev_fw_info() local 581 int wait = 1000; vnic_dev_spec() local 603 int wait = 1000; vnic_dev_stats_dump() local 623 int wait = 1000; vnic_dev_close() local 630 int wait = 1000; vnic_dev_enable_wait() local 641 int wait = 1000; vnic_dev_disable() local 648 int wait = 1000; vnic_dev_open() local 655 int wait = 1000; vnic_dev_open_done() local 672 int wait = 1000; vnic_dev_soft_reset() local 679 int wait = 1000; vnic_dev_soft_reset_done() local 696 int wait = 1000; vnic_dev_hang_reset() local 713 int wait = 1000; vnic_dev_hang_reset_done() local 735 int wait = 1000; vnic_dev_hang_notify() local 742 int wait = 1000; vnic_dev_get_mac_addr() local 762 int wait = 1000; vnic_dev_packet_filter() local 781 int wait = 1000; vnic_dev_add_addr() local 798 int wait = 1000; vnic_dev_del_addr() local 816 int wait = 1000; vnic_dev_set_ig_vlan_rewrite_mode() local 829 int wait = 1000; vnic_dev_notify_setcmd() local 868 int wait = 1000; vnic_dev_notify_unsetcmd() local 918 int wait = 1000; vnic_dev_init() local 939 int wait = 1000; vnic_dev_deinit() local 955 int wait = 1000; vnic_dev_intr_coal_timer_info() local 1124 int wait = 1000; vnic_dev_init_prov2() local 1147 int wait = 1000; vnic_dev_enable2() local 1158 int wait = 1000; vnic_dev_cmd_status() local 1181 int wait = 1000; vnic_dev_set_mac_addr() local 1208 int wait = 1000; vnic_dev_classifier() local 1256 int wait = 1000; vnic_dev_overlay_offload_ctrl() local 1266 int wait = 1000; vnic_dev_overlay_offload_cfg() local 1275 int wait = 1000; vnic_dev_get_supported_feature_ver() local 1288 int wait = 1000; vnic_dev_capable_rss_hash_type() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_dev.c | 217 int wait) in _vnic_dev_cmd() 246 for (delay = 0; delay < wait; delay++) { in _vnic_dev_cmd() 285 int wait) in _vnic_dev_cmd2() 336 for (delay = 0; delay < wait; delay++) { in _vnic_dev_cmd2() 444 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_proxy() 456 err = vdev->devcmd_rtn(vdev, proxy_cmd, wait); in vnic_dev_cmd_proxy() 477 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_no_proxy() 484 err = vdev->devcmd_rtn(vdev, cmd, wait); in vnic_dev_cmd_no_proxy() 505 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd() 512 a0, a1, wait); in vnic_dev_cmd() 216 _vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, int wait) _vnic_dev_cmd() argument 284 _vnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, int wait) _vnic_dev_cmd2() argument 442 vnic_dev_cmd_proxy(struct vnic_dev *vdev, enum vnic_devcmd_cmd proxy_cmd, enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) vnic_dev_cmd_proxy() argument 476 vnic_dev_cmd_no_proxy(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) vnic_dev_cmd_no_proxy() argument 504 vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) vnic_dev_cmd() argument 525 int wait = 1000; vnic_dev_capable() local 537 int wait = 1000; vnic_dev_fw_info() local 568 int wait = 1000; vnic_dev_spec() local 590 int wait = 1000; vnic_dev_stats_dump() local 610 int wait = 1000; vnic_dev_close() local 617 int wait = 1000; vnic_dev_enable_wait() local 628 int wait = 1000; vnic_dev_disable() local 635 int wait = 1000; vnic_dev_open() local 642 int wait = 1000; vnic_dev_open_done() local 659 int wait = 1000; vnic_dev_soft_reset() local 666 int wait = 1000; vnic_dev_soft_reset_done() local 683 int wait = 1000; vnic_dev_hang_reset() local 700 int wait = 1000; vnic_dev_hang_reset_done() local 722 int wait = 1000; vnic_dev_hang_notify() local 729 int wait = 1000; vnic_dev_get_mac_addr() local 749 int wait = 1000; vnic_dev_packet_filter() local 768 int wait = 1000; vnic_dev_add_addr() local 785 int wait = 1000; vnic_dev_del_addr() local 803 int wait = 1000; vnic_dev_set_ig_vlan_rewrite_mode() local 816 int wait = 1000; vnic_dev_notify_setcmd() local 855 int wait = 1000; vnic_dev_notify_unsetcmd() local 905 int wait = 1000; vnic_dev_init() local 926 int wait = 1000; vnic_dev_deinit() local 942 int wait = 1000; vnic_dev_intr_coal_timer_info() local 1111 int wait = 1000; vnic_dev_init_prov2() local 1134 int wait = 1000; vnic_dev_enable2() local 1145 int wait = 1000; vnic_dev_cmd_status() local 1168 int wait = 1000; vnic_dev_set_mac_addr() local 1195 int wait = 1000; vnic_dev_classifier() local 1243 int wait = 1000; vnic_dev_overlay_offload_ctrl() local 1253 int wait = 1000; vnic_dev_overlay_offload_cfg() local 1262 int wait = 1000; vnic_dev_get_supported_feature_ver() local 1275 int wait = 1000; vnic_dev_capable_rss_hash_type() local [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | smp.h | 51 int wait); 54 void *info, bool wait, const struct cpumask *mask); 69 static inline void on_each_cpu(smp_call_func_t func, void *info, int wait) in on_each_cpu() argument 71 on_each_cpu_cond_mask(NULL, func, info, wait, cpu_online_mask); in on_each_cpu() 80 * @wait: If true, wait (atomically) until function has completed 83 * If @wait is true, then returns once @func has returned. 91 smp_call_func_t func, void *info, bool wait) in on_each_cpu_mask() 93 on_each_cpu_cond_mask(NULL, func, info, wait, mask); in on_each_cpu_mask() 103 smp_call_func_t func, void *info, bool wait) in on_each_cpu_cond() 90 on_each_cpu_mask(const struct cpumask *mask, smp_call_func_t func, void *info, bool wait) on_each_cpu_mask() argument 102 on_each_cpu_cond(smp_cond_func_t cond_func, smp_call_func_t func, void *info, bool wait) on_each_cpu_cond() argument 212 smp_call_function_any(const struct cpumask *mask, smp_call_func_t func, void *info, int wait) smp_call_function_any() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
H A D | omap_irq.c | 22 struct omap_irq_wait *wait; in omap_irq_update() local 27 list_for_each_entry(wait, &priv->wait_list, node) in omap_irq_update() 28 irqmask |= wait->irqmask; in omap_irq_update() 35 static void omap_irq_wait_handler(struct omap_irq_wait *wait) in omap_irq_wait_handler() argument 37 wait->count--; in omap_irq_wait_handler() 38 wake_up(&wait->wq); in omap_irq_wait_handler() 45 struct omap_irq_wait *wait = kzalloc(sizeof(*wait), GFP_KERNEL); in omap_irq_wait_init() local 48 init_waitqueue_head(&wait->wq); in omap_irq_wait_init() 49 wait in omap_irq_wait_init() 60 omap_irq_wait(struct drm_device *dev, struct omap_irq_wait *wait, unsigned long timeout) omap_irq_wait() argument 211 struct omap_irq_wait *wait, *n; omap_irq_handler() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/ |
H A D | omap_irq.c | 22 struct omap_irq_wait *wait; in omap_irq_update() local 27 list_for_each_entry(wait, &priv->wait_list, node) in omap_irq_update() 28 irqmask |= wait->irqmask; in omap_irq_update() 35 static void omap_irq_wait_handler(struct omap_irq_wait *wait) in omap_irq_wait_handler() argument 37 wait->count--; in omap_irq_wait_handler() 38 wake_up(&wait->wq); in omap_irq_wait_handler() 45 struct omap_irq_wait *wait = kzalloc(sizeof(*wait), GFP_KERNEL); in omap_irq_wait_init() local 48 init_waitqueue_head(&wait->wq); in omap_irq_wait_init() 49 wait in omap_irq_wait_init() 60 omap_irq_wait(struct drm_device *dev, struct omap_irq_wait *wait, unsigned long timeout) omap_irq_wait() argument 209 struct omap_irq_wait *wait, *n; omap_irq_handler() local [all...] |
/kernel/linux/linux-5.10/net/core/ |
H A D | stream.c | 21 #include <linux/wait.h> 41 wake_up_interruptible_poll(&wq->wait, EPOLLOUT | in sk_stream_write_space() 51 * @sk: sock to wait on 52 * @timeo_p: for how long to wait 58 DEFINE_WAIT_FUNC(wait, woken_wake_function); in sk_stream_wait_connect() 73 add_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_connect() 78 ~(TCPF_ESTABLISHED | TCPF_CLOSE_WAIT)), &wait); in sk_stream_wait_connect() 79 remove_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_connect() local 99 DEFINE_WAIT_FUNC(wait, woken_wake_function); in sk_stream_wait_close() 101 add_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_close() local 108 remove_wait_queue(sk_sleep(sk), &wait); sk_stream_wait_close() local 128 add_wait_queue(sk_sleep(sk), &wait); sk_stream_wait_memory() local 163 remove_wait_queue(sk_sleep(sk), &wait); sk_stream_wait_memory() local [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | stream.c | 21 #include <linux/wait.h> 41 wake_up_interruptible_poll(&wq->wait, EPOLLOUT | in sk_stream_write_space() 51 * @sk: sock to wait on 52 * @timeo_p: for how long to wait 58 DEFINE_WAIT_FUNC(wait, woken_wake_function); in sk_stream_wait_connect() 73 add_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_connect() 78 ~(TCPF_ESTABLISHED | TCPF_CLOSE_WAIT)), &wait); in sk_stream_wait_connect() 79 remove_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_connect() local 99 DEFINE_WAIT_FUNC(wait, woken_wake_function); in sk_stream_wait_close() 101 add_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_close() local 108 remove_wait_queue(sk_sleep(sk), &wait); sk_stream_wait_close() local 128 add_wait_queue(sk_sleep(sk), &wait); sk_stream_wait_memory() local 165 remove_wait_queue(sk_sleep(sk), &wait); sk_stream_wait_memory() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
H A D | vnic_dev.c | 74 int wait); 257 static int vnic_dev_cmd1(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, int wait) in vnic_dev_cmd1() argument 291 for (delay = 0; delay < wait; delay++) { in vnic_dev_cmd1() 320 int wait) in vnic_dev_cmd2() 387 for (delay = 0; delay < wait; delay++) { in vnic_dev_cmd2() 509 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_no_proxy() 516 err = (*vdev->devcmd_rtn)(vdev, cmd, wait); in vnic_dev_cmd_no_proxy() 526 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd() 533 return vnic_dev_cmd_no_proxy(vdev, cmd, a0, a1, wait); in vnic_dev_cmd() 542 int wait in vnic_dev_fw_info() local 319 vnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, int wait) vnic_dev_cmd2() argument 508 vnic_dev_cmd_no_proxy(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) vnic_dev_cmd_no_proxy() argument 525 vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) vnic_dev_cmd() argument 567 int wait = 1000; vnic_dev_spec() local 599 int wait = 1000; vnic_dev_stats_clear() local 606 int wait = 1000; vnic_dev_stats_dump() local 625 int wait = 1000; vnic_dev_close() local 632 int wait = 1000; vnic_dev_enable() local 639 int wait = 1000; vnic_dev_disable() local 646 int wait = 1000; vnic_dev_open() local 653 int wait = 1000; vnic_dev_open_done() local 670 int wait = 1000; vnic_dev_soft_reset() local 677 int wait = 1000; vnic_dev_soft_reset_done() local 694 int wait = 1000; vnic_dev_hang_notify() local 701 int wait = 1000; vnic_dev_mac_addr() local 721 int wait = 1000; vnic_dev_packet_filter() local 738 int wait = 1000; vnic_dev_add_addr() local 753 int wait = 1000; vnic_dev_del_addr() local 768 int wait = 1000; vnic_dev_notify_set() local 788 int wait = 1000; vnic_dev_notify_unset() local 822 int wait = 1000; vnic_dev_init() local 829 int wait = 1000; vnic_dev_set_default_vlan() local [all...] |