Home
last modified time | relevance | path

Searched refs:waiting (Results 1 – 25 of 262) sorted by relevance

1234567891011

/linux/tools/testing/selftests/arm64/abi/
H A Dtpidr2.c65 pid_t newpid, waiting, oldpid; in write_fork_read() local
94 waiting = waitpid(newpid, &status, 0); in write_fork_read()
96 if (waiting < 0) { in write_fork_read()
102 if (waiting != newpid) { in write_fork_read()
104 waiting, newpid); in write_fork_read()
144 pid_t parent, waiting; in write_clone_read() local
184 waiting = waitpid(ret, &status, __WCLONE); in write_clone_read()
186 if (waiting < 0) { in write_clone_read()
192 if (waiting != ret) { in write_clone_read()
194 waiting); in write_clone_read()
/linux/tools/testing/selftests/arm64/fp/
H A Dza-fork.c26 pid_t newpid, waiting; in fork_test_c() local
50 waiting = waitpid(newpid, &child_status, 0); in fork_test_c()
52 if (waiting < 0) { in fork_test_c()
58 if (waiting != newpid) { in fork_test_c()
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-waiting_for_supplier10 or 1) reflects whether the device is waiting for one or more
14 A value of 0 means the device is not waiting for any suppliers
16 is waiting for one or more suppliers to be added before it can
H A Dsysfs-class-scsi_tape16 Shows the total amount of time spent waiting for all I/O
23 To determine the amount of time spent waiting for other I/O
64 Shows the total amount of time in nanoseconds waiting for
95 Shows the total amount of time in nanoseconds waiting for
H A Dsysfs-bus-iio-distance-srf088 This setting limits the time the driver is waiting for a
/linux/tools/lib/subcmd/
H A Drun-command.c177 pid_t waiting = waitpid(cmd->pid, &status, block ? 0 : WNOHANG); in wait_or_whine() local
179 if (!block && waiting == 0) in wait_or_whine()
182 if (waiting < 0 && errno == EINTR) in wait_or_whine()
186 if (waiting < 0) { in wait_or_whine()
192 } else if (waiting != cmd->pid) { in wait_or_whine()
/linux/Documentation/scheduler/
H A Dcompletion.rst22 until the result is actually needed, and both the waiting and the signalling
26 the Linux scheduler. The event the threads on the waitqueue are waiting for
39 - the waiting part through a call to one of the variants of wait_for_completion(),
43 Note that while initialization must happen first, the waiting and signaling
57 This provides the ->wait waitqueue to place tasks on for waiting (if any), and
122 must not return to a calling context until all activities (such as waiting
125 To emphasise this again: in particular when using some of the waiting API variants
164 to wait_for_completion() then the waiting side simply will continue
181 time depending on the nature of the activity they are waiting for, so in
206 This function marks the task TASK_INTERRUPTIBLE while it is waiting.
[all …]
/linux/drivers/scsi/
H A Dppa.c41 wait_queue_head_t *waiting; member
71 wake_up(dev->waiting); in got_it()
1038 DECLARE_WAIT_QUEUE_HEAD_ONSTACK(waiting); in __ppa_attach()
1051 init_waitqueue_head(&waiting); in __ppa_attach()
1069 dev->waiting = &waiting; in __ppa_attach()
1070 prepare_to_wait(&waiting, &wait, TASK_UNINTERRUPTIBLE); in __ppa_attach()
1078 dev->waiting = NULL; in __ppa_attach()
1079 finish_wait(&waiting, &wait); in __ppa_attach()
1082 dev->waiting = NULL; in __ppa_attach()
1083 finish_wait(&waiting, &wait); in __ppa_attach()
H A Dimm.c48 wait_queue_head_t *waiting; member
76 wake_up(dev->waiting); in got_it()
1153 DECLARE_WAIT_QUEUE_HEAD_ONSTACK(waiting); in __imm_attach()
1159 init_waitqueue_head(&waiting); in __imm_attach()
1187 dev->waiting = &waiting; in __imm_attach()
1188 prepare_to_wait(&waiting, &wait, TASK_UNINTERRUPTIBLE); in __imm_attach()
1196 dev->waiting = NULL; in __imm_attach()
1197 finish_wait(&waiting, &wait); in __imm_attach()
1200 dev->waiting = NULL; in __imm_attach()
1201 finish_wait(&waiting, &wait); in __imm_attach()
/linux/drivers/parport/
H A Dshare.c732 par_dev->waiting = 0; in parport_register_dev_model()
991 if (dev->waiting & 1) { in parport_claim()
992 dev->waiting = 0; in parport_claim()
1041 if (dev->waiting & 2 || dev->wakeup) { in parport_claim()
1043 if (test_and_set_bit(0, &dev->waiting) == 0) { in parport_claim()
1078 dev->waiting = 2; in parport_claim_or_block()
1100 if (dev->waiting) { in parport_claim_or_block()
1102 !dev->waiting); in parport_claim_or_block()
1121 dev->waiting = 0; in parport_claim_or_block()
1176 if (pd->waiting & 2) { /* sleeping in claim_or_block */ in parport_release()
/linux/drivers/md/dm-vdo/
H A Dvio.c28 struct vdo_wait_queue waiting; member
378 VDO_ASSERT_LOG_ONLY(!vdo_waitq_has_waiters(&pool->waiting), in free_vio_pool()
423 vdo_waitq_enqueue_waiter(&pool->waiting, waiter); in acquire_vio_from_pool()
446 if (vdo_waitq_has_waiters(&pool->waiting)) { in return_vio_to_pool()
447 vdo_waitq_notify_next_waiter(&pool->waiting, NULL, vio); in return_vio_to_pool()
H A Dblock-map.c413 result = VDO_ASSERT(!vdo_waitq_has_waiters(&info->waiting), in reset_page_info()
590 vdo_waitq_notify_all_waiters(&info->waiting, in set_persistent_error()
691 vdo_waitq_notify_all_waiters(&info->waiting, complete_waiter_with_error, &result); in handle_load_error()
734 distribute_page_over_waitq(info, &info->waiting); in page_is_loaded()
937 &pbn, &info->waiting); in allocate_free_page()
938 cache->waiter_count -= vdo_waitq_num_waiters(&info->waiting); in allocate_free_page()
942 vdo_waitq_notify_all_waiters(&info->waiting, in allocate_free_page()
1084 reclaimed = (!was_discard || (info->busy > 0) || vdo_waitq_has_waiters(&info->waiting)); in page_is_written_out()
1088 reclamations = distribute_page_over_waitq(info, &info->waiting); in page_is_written_out()
1199 vdo_waitq_enqueue_waiter(&info->waiting, &vdo_page_comp->waiter); in load_page_for_completion()
[all …]
/linux/Documentation/trace/rv/
H A Dmonitor_rtapp.rst19 - Priority inversion: A real-time thread blocks waiting for a lower-priority
54 - Cyclic work: real-time thread sleeps waiting for the next cycle. For this
58 waiting for timerfd can be woken by softirq which provides no real-time
60 - Real-time thread waiting for something to happen (e.g. another thread
124 thread by waking it and waiting for it to exit (`kthread_stop()`). This
/linux/arch/arm/include/debug/
H A Dsamsung.S63 @ busy waiting for non fifo
87 @ idle waiting for non fifo
/linux/drivers/sbus/char/
H A Dbbc_i2c.c130 bp->waiting = 1; in wait_for_pin()
146 bp->waiting = 0; in wait_for_pin()
279 if (bp->waiting && in bbc_i2c_interrupt()
318 bp->waiting = 0; in attach_one_i2c()
/linux/Documentation/accounting/
H A Dtaskstats-struct.rst112 /* Delay waiting for cpu, while runnable
120 /* Delay waiting for synchronous block I/O to complete
126 /* Delay waiting for page fault I/O (swap in only) */
193 /* Delay waiting for memory reclaim */
/linux/Documentation/locking/
H A Drobust-futex-ABI.rst24 call, and handles contested locking by maintaining a list of waiting
26 waiting on a particular futex, and waking up the next waiter on a
34 waiting on the same locks.
82 waiting for a lock on a threads exit if that next thread used the futex
90 indicating their holder died, and wakeup the next thread waiting for
168 they were waiting, and bit 30 is set by the kernel to indicate that the
H A Dfutex-requeue-pi.rst17 pthread_cond_broadcast() must resort to waking all the tasks waiting
90 is necessary for both the requeue code, as well as the waiting code,
113 possibly wake the waiting tasks. Internally, this system call is
/linux/Documentation/block/
H A Dstat.rst79 waited on this block device. If there are multiple I/O requests waiting,
101 on this block device. If there are multiple I/O requests waiting, this
103 number of requests waiting (see "read ticks" above for an example).
/linux/Documentation/filesystems/fuse/
H A Dfuse-io-uring.rst39 pending requests waiting the request will be immediately submitted
62 | | [waiting for CQEs]
/linux/arch/x86/platform/uv/
H A Duv_nmi.c622 int last_k = 0, waiting = 0; in uv_nmi_wait_cpus() local
655 waiting = 0; in uv_nmi_wait_cpus()
656 } else if (++waiting > uv_nmi_wait_count) in uv_nmi_wait_cpus()
660 if (waiting && (n - k) == 1 && in uv_nmi_wait_cpus()
/linux/Documentation/userspace-api/
H A Dntsync.rst25 can be acquired without contention, or will wake up a waiting thread)
165 waiting on this semaphore will be woken and the semaphore's count
186 unowned and signaled, and eligible threads waiting on it will be
204 Wake threads waiting on an event object while leaving it in an
209 performed as a single atomic operation. If two threads are waiting on
211 threads are waiting a manual-reset event which is pulsed, both will
265 Eligible threads waiting on the mutex will be woken as appropriate
/linux/drivers/block/drbd/
H A Ddrbd_interval.h14 unsigned int waiting:1; /* someone is waiting for completion */ member
/linux/arch/arm/mach-pxa/
H A Dsleep.S34 20: b 20b @ waiting for sleep
172 20: b 20b @ loop waiting for sleep
/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_console.c426 console->waiting = 0; in octeon_console_handle_result()
501 if (console->waiting) in check_console()
617 if (console->waiting) in octeon_get_uboot_version()
668 console->waiting = 0; in octeon_add_console()

1234567891011