Home
last modified time | relevance | path

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

1234567891011

/linux-6.12.1/tools/testing/selftests/arm64/abi/
Dtpidr2.c98 pid_t newpid, waiting, oldpid; in write_fork_read() local
130 waiting = waitpid(newpid, &status, 0); in write_fork_read()
132 if (waiting < 0) { in write_fork_read()
140 if (waiting != newpid) { in write_fork_read()
180 pid_t parent, waiting; in write_clone_read() local
215 waiting = wait4(ret, &status, __WCLONE, NULL); in write_clone_read()
217 if (waiting < 0) { in write_clone_read()
225 if (waiting != ret) { in write_clone_read()
227 putnum(waiting); in write_clone_read()
/linux-6.12.1/tools/testing/selftests/arm64/fp/
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-6.12.1/tools/lib/subcmd/
Drun-command.c175 pid_t waiting = waitpid(cmd->pid, &status, block ? 0 : WNOHANG); in wait_or_whine() local
177 if (!block && waiting == 0) in wait_or_whine()
180 if (waiting < 0 && errno == EINTR) in wait_or_whine()
184 if (waiting < 0) { in wait_or_whine()
190 } else if (waiting != cmd->pid) { in wait_or_whine()
/linux-6.12.1/Documentation/ABI/testing/
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
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
Dsysfs-bus-iio-distance-srf088 This setting limits the time the driver is waiting for a
/linux-6.12.1/Documentation/scheduler/
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-6.12.1/drivers/scsi/
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()
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-6.12.1/drivers/parport/
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-6.12.1/drivers/md/dm-vdo/
Dvio.c28 struct vdo_wait_queue waiting; member
366 VDO_ASSERT_LOG_ONLY(!vdo_waitq_has_waiters(&pool->waiting), in free_vio_pool()
410 vdo_waitq_enqueue_waiter(&pool->waiting, waiter); in acquire_vio_from_pool()
432 if (vdo_waitq_has_waiters(&pool->waiting)) { in return_vio_to_pool()
433 vdo_waitq_notify_next_waiter(&pool->waiting, NULL, vio); in return_vio_to_pool()
Dblock-map.c408 result = VDO_ASSERT(!vdo_waitq_has_waiters(&info->waiting), in reset_page_info()
578 vdo_waitq_notify_all_waiters(&info->waiting, in set_persistent_error()
678 vdo_waitq_notify_all_waiters(&info->waiting, complete_waiter_with_error, &result); in handle_load_error()
721 distribute_page_over_waitq(info, &info->waiting); in page_is_loaded()
918 &pbn, &info->waiting); in allocate_free_page()
919 cache->waiter_count -= vdo_waitq_num_waiters(&info->waiting); in allocate_free_page()
923 vdo_waitq_notify_all_waiters(&info->waiting, in allocate_free_page()
1068 reclaimed = (!was_discard || (info->busy > 0) || vdo_waitq_has_waiters(&info->waiting)); in page_is_written_out()
1072 reclamations = distribute_page_over_waitq(info, &info->waiting); in page_is_written_out()
1186 vdo_waitq_enqueue_waiter(&info->waiting, &vdo_page_comp->waiter); in load_page_for_completion()
[all …]
/linux-6.12.1/arch/arm/include/debug/
Dsamsung.S63 @ busy waiting for non fifo
87 @ idle waiting for non fifo
/linux-6.12.1/drivers/sbus/char/
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()
Dbbc_i2c.h62 volatile int waiting; member
/linux-6.12.1/Documentation/accounting/
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-6.12.1/fs/bcachefs/
Drebalance_types.h9 x(waiting) \
/linux-6.12.1/Documentation/locking/
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
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-6.12.1/Documentation/block/
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-6.12.1/drivers/block/drbd/
Ddrbd_interval.h14 unsigned int waiting:1; /* someone is waiting for completion */ member
/linux-6.12.1/tools/perf/tests/shell/
Dtest_data_symbol.sh9 . "${shelldir}"/lib/waiting.sh
/linux-6.12.1/arch/x86/platform/uv/
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-6.12.1/arch/arm/mach-pxa/
Dsleep.S34 20: b 20b @ waiting for sleep
172 20: b 20b @ loop waiting for sleep
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/
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