Home
last modified time | relevance | path

Searched refs:EINTR (Results 1 – 25 of 552) sorted by relevance

12345678910>>...23

/linux/tools/perf/ui/tui/
H A Dsetup.c79 if (errno == EINTR) in ui__getch()
131 while (tcgetattr(SLang_TT_Read_FD, &tty) == -1 && errno == EINTR) in ui__sigcont()
133 while (write(SLang_TT_Read_FD, PERF_COLOR_RESET, sizeof(PERF_COLOR_RESET) - 1) == -1 && errno == EINTR) in ui__sigcont()
137 while (tcsetattr(SLang_TT_Read_FD, TCSADRAIN, &tty) == -1 && errno == EINTR) in ui__sigcont()
/linux/drivers/i2c/algos/
H A Di2c-algo-pcf.c130 return -EINTR; in wait_for_pin()
218 if (timeout == -EINTR) in pcf_sendbytes()
219 return -EINTR; /* arbitration lost */ in pcf_sendbytes()
250 if (wfp == -EINTR) in pcf_readbytes()
251 return -EINTR; /* arbitration lost */ in pcf_readbytes()
332 if (timeout == -EINTR) { in pcf_xfer()
334 i = -EINTR; in pcf_xfer()
/linux/lib/kunit/
H A Dtry-catch.c29 try_catch->try_result = -EINTR; in kunit_generic_run_threadfn_adapter()
31 if (try_catch->try_result == -EINTR) in kunit_generic_run_threadfn_adapter()
78 else if (exit_code == -EINTR) { in kunit_try_catch_run()
/linux/drivers/ptp/
H A Dptp_vclock.c52 return -EINTR; in ptp_vclock_adjfine()
65 return -EINTR; in ptp_vclock_adjtime()
79 return -EINTR; in ptp_vclock_gettime()
102 return -EINTR; in ptp_vclock_gettimex()
118 return -EINTR; in ptp_vclock_settime()
138 return -EINTR; in ptp_vclock_getcrosststamp()
/linux/arch/um/kernel/skas/
H A Dstub.c126 } while (res == -EINTR); in stub_signal_interrupt()
131 } while (res == -EINTR || d->futex == FUTEX_IN_KERN); in stub_signal_interrupt()
140 } while (res == -EINTR); in stub_signal_interrupt()
/linux/tools/testing/vsock/
H A Dcontrol.c121 } while (ret < 0 && errno == EINTR); in control_writeln()
131 } while (ret < 0 && errno == EINTR); in control_writeln()
202 } while (ret < 0 && errno == EINTR); in control_readln()
/linux/tools/lib/perf/
H A Dlib.c20 if (ret < 0 && errno == EINTR) in ion()
48 if (ret < 0 && errno == EINTR) in preadn()
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_dma_buf.c71 if (ret != -EINTR && ret != -ERESTARTSYS) in check_residency()
86 if (ret != -EINTR && ret != -ERESTARTSYS) in check_residency()
168 else if (err && err != -EINTR && err != -ERESTARTSYS) in xe_test_dmabuf_import_same_driver()
169 KUNIT_EXPECT_TRUE(test, !err || err == -EINTR || in xe_test_dmabuf_import_same_driver()
/linux/tools/testing/selftests/kvm/lib/
H A Dio.c15 * + Interrupted system call (EINTR)
58 TEST_ASSERT(errno == EAGAIN || errno == EINTR, in test_write()
87 * + Interrupted system call (EINTR)
135 TEST_ASSERT(errno == EAGAIN || errno == EINTR, in test_read()
/linux/kernel/locking/
H A Drwbase_rt.c245 return -EINTR; in rwbase_write_lock()
264 trace_contention_end(rwb, -EINTR); in rwbase_write_lock()
265 return -EINTR; in rwbase_write_lock()
H A Drwsem.c1103 trace_contention_end(sem, -EINTR); in rwsem_down_read_slowpath()
1104 return ERR_PTR(-EINTR); in rwsem_down_read_slowpath()
1206 trace_contention_end(sem, -EINTR); in rwsem_down_write_slowpath()
1207 return ERR_PTR(-EINTR); in rwsem_down_write_slowpath()
1262 ret = -EINTR; in __down_read_common()
1318 ret = -EINTR; in __down_write_common()
1550 return -EINTR; in down_read_interruptible()
1564 return -EINTR; in down_read_killable()
1606 return -EINTR; in down_write_killable()
1674 return -EINTR; in down_read_killable_nested()
[all...]
/linux/tools/testing/selftests/pidfd/
H A Dpidfd.h220 if (errno == EINTR) in wait_for_pid()
276 } while (ret < 0 && errno == EINTR); in read_nointr()
287 } while (ret < 0 && errno == EINTR); in write_nointr()
/linux/arch/um/kernel/
H A Dsignal.c65 PT_REGS_SYSCALL_RET(regs) = -EINTR; in handle_signal()
70 PT_REGS_SYSCALL_RET(regs) = -EINTR; in handle_signal()
/linux/drivers/media/usb/dvb-usb/
H A Ddib0700_core.c29 return -EINTR; in dib0700_get_version()
115 return -EINTR; in dib0700_set_gpio()
136 return -EINTR; in dib0700_set_usb_xfer_len()
175 return -EINTR; in dib0700_i2c_xfer_new()
234 result = -EINTR; in dib0700_i2c_xfer_new()
290 return -EINTR; in dib0700_i2c_xfer_legacy()
294 return -EINTR; in dib0700_i2c_xfer_legacy()
409 return -EINTR; in dib0700_set_clock()
441 return -EINTR; in dib0700_set_i2c_speed()
646 return -EINTR; in dib0700_change_protocol()
[all...]
/linux/drivers/virt/coco/tdx-guest/
H A Dtdx-guest.c55 scoped_cond_guard(mutex_intr, return -EINTR, &mr_lock) { in tdx_do_report()
76 scoped_cond_guard(mutex_intr, return -EINTR, &mr_lock) { in tdx_do_extend()
259 return -EINTR; in wait_for_quote_completion()
324 scoped_cond_guard(mutex_intr, return -EINTR, &quote_lock) in tdx_report_new()
/linux/tools/testing/selftests/uevent/
H A Duevent_filtering.c36 if (ret < 0 && errno == EINTR) in read_nointr()
48 if (ret < 0 && errno == EINTR) in write_nointr()
61 if (errno == EINTR) in wait_for_pid()
324 if (errno == EINTR) in do_test()
/linux/arch/powerpc/kernel/
H A Dsignal.c233 regs->result = -EINTR; in check_syscall_restart()
234 regs->gpr[3] = -EINTR; in check_syscall_restart()
236 regs->result = -EINTR; in check_syscall_restart()
237 regs->gpr[3] = EINTR; in check_syscall_restart()
/linux/drivers/usb/core/
H A Dsysfs.c36 return -EINTR; \
62 return -EINTR; in bMaxPower_show()
81 return -EINTR; in configuration_show()
104 return -EINTR; in bConfigurationValue_store()
134 return -EINTR; \
283 return -EINTR; in avoid_reset_quirk_store()
338 return -EINTR; in persist_store()
464 return -EINTR; in level_store()
506 return -EINTR; in usb2_hardware_lpm_store()
583 return -EINTR; in usb3_hardware_lpm_u1_show()
[all...]
/linux/drivers/platform/x86/intel/ifs/
H A Dsysfs.c75 return -EINTR; in run_test_store()
99 return -EINTR; in current_batch_store()
/linux/drivers/dma-buf/
H A Dselftest.c98 return -EINTR; in __subtests()
106 if (err && err != -EINTR) { in __subtests()
/linux/tools/testing/selftests/arm64/abi/
H A Dtpidr2.c97 if (errno == EINTR) in write_fork_read()
188 if (errno == EINTR) in write_clone_read()
/linux/tools/testing/selftests/arm64/gcs/
H A Dgcs-stress.c158 if (errno == EINTR) in child_output_read()
248 if (ret == -1 && errno == EINTR) in child_cleanup()
336 if (errno == EINTR) in drain_output()
465 if (errno == EINTR) in main()
/linux/tools/testing/selftests/net/netfilter/
H A Daudit_logread.c37 } while (ret < 0 && errno == EINTR); in audit_recv()
72 } while (ret < 0 && errno == EINTR); in audit_send()
/linux/kernel/time/
H A Dsleep_timeout.c208 return -EINTR; in schedule_hrtimeout_range_clock()
223 return !t.task ? 0 : -EINTR; in schedule_hrtimeout_range_clock()
258 * by an explicit wakeup, it returns -EINTR.
/linux/arch/riscv/kernel/
H A Dvdso.c160 return -EINTR; in compat_arch_setup_additional_pages()
176 return -EINTR; in arch_setup_additional_pages()

12345678910>>...23