| /linux/tools/testing/selftests/arm64/abi/ |
| H A D | tpidr2.c | 65 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() 145 pid_t parent, waiting; in write_clone_read() local 185 waiting = waitpid(ret, &status, __WCLONE); in write_clone_read() 187 if (waiting < 0) { in write_clone_read() 193 if (waiting != ret) { in write_clone_read() 195 waiting); in write_clone_read() [all...] |
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | za-fork.c | 26 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 D | sysfs-devices-waiting_for_supplier | 10 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 D | sysfs-class-scsi_tape | 16 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 D | sysfs-bus-iio-distance-srf08 | 8 This setting limits the time the driver is waiting for a
|
| /linux/tools/lib/subcmd/ |
| H A D | run-command.c | 177 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 D | completion.rst | 22 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/parport/ |
| H A D | share.c | 732 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/scsi/ |
| H A D | imm.c | 48 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/md/dm-vdo/ |
| H A D | vio.c | 28 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 D | block-map.c | 413 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/arch/arm/include/debug/ |
| H A D | samsung.S | 63 @ busy waiting for non fifo 87 @ idle waiting for non fifo
|
| /linux/Documentation/trace/rv/ |
| H A D | monitor_rtapp.rst | 19 - 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/drivers/sbus/char/ |
| H A D | bbc_i2c.c | 130 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()
|
| H A D | bbc_i2c.h | 62 volatile int waiting; member
|
| /linux/Documentation/locking/ |
| H A D | robust-futex-ABI.rst | 24 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 D | futex-requeue-pi.rst | 17 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
|
| H A D | lockdep-design.rst | 150 could lead to the two contexts waiting for each other permanently. The 480 is not a deadlock for recursive read locks, as while the task B is waiting for 509 Task A is waiting for task B to read_unlock() Y and task B is waiting for task 634 waiting scenario and nobody can get progress, therefore a deadlock. 642 waiting scenario, means there are N CPU/tasks, where CPU/task P1 is waiting for 643 a lock held by P2, and P2 is waiting for a lock held by P3, ... and Pn is waiting 644 for a lock held by P1. Let's name the lock Px is waiting as Lx, so since P1 is waiting 654 the dependency Lx -> Lx+1, and since Px is waiting for Px+1 to release Lx,
|
| /linux/Documentation/filesystems/fuse/ |
| H A D | fuse-io-uring.rst | 39 pending requests waiting the request will be immediately submitted 62 | | [waiting for CQEs]
|
| /linux/Documentation/block/ |
| H A D | stat.rst | 79 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/drivers/block/drbd/ |
| H A D | drbd_interval.h | 14 unsigned int waiting:1; /* someone is waiting for completion */ member
|
| /linux/arch/x86/platform/uv/ |
| H A D | uv_nmi.c | 622 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/arch/arm/mach-pxa/ |
| H A D | sleep.S | 34 20: b 20b @ waiting for sleep 172 20: b 20b @ loop waiting for sleep
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | octeon_console.c | 426 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()
|
| /linux/Documentation/process/ |
| H A D | volatile-considered-harmful.rst | 37 want to play with that data will be waiting on the lock. The spinlock 62 when the processor is busy-waiting on the value of a variable. The right 71 waiting is generally an anti-social act to begin with.
|