| /linux/tools/perf/jvmti/ |
| H A D | jvmti_agent.c | 57 ssize_t sret; in get_e_machine() local 69 sret = read(fd, id, sizeof(id)); in get_e_machine() 70 if (sret != sizeof(id)) in get_e_machine() 77 sret = read(fd, &info, sizeof(info)); in get_e_machine() 78 if (sret != sizeof(info)) in get_e_machine() 422 size_t sret, len, size, flen = 0; in jvmti_write_debug_info() local 465 sret = fwrite_unlocked(&rec, sizeof(rec), 1, fp); in jvmti_write_debug_info() 466 if (sret != 1) in jvmti_write_debug_info() 473 sret = fwrite_unlocked(&addr, len, 1, fp); in jvmti_write_debug_info() 474 if (sret != 1) in jvmti_write_debug_info() [all …]
|
| /linux/tools/power/cpupower/utils/helpers/ |
| H A D | bitmask.c | 99 static int scan_was_ok(int sret, char nextc, const char *ok_next_chars) in scan_was_ok() argument 101 return sret == 1 || in scan_was_ok() 102 (sret == 2 && strchr(ok_next_chars, nextc) != NULL); in scan_was_ok() 205 int sret; /* sscanf return (number of matches) */ in bitmask_parselist() local 207 sret = sscanf(p, "%u%c", &a, &nextc); in bitmask_parselist() 208 if (!scan_was_ok(sret, nextc, ",-")) in bitmask_parselist() 215 sret = sscanf(c1, "%u%c", &b, &nextc); in bitmask_parselist() 216 if (!scan_was_ok(sret, nextc, ",:")) in bitmask_parselist() 220 sret = sscanf(c1, "%u%c", &s, &nextc); in bitmask_parselist() 221 if (!scan_was_ok(sret, nextc, ",")) in bitmask_parselist()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | pkey_util.c | 26 int sret; in sys_mprotect_pkey() local 32 sret = syscall(__NR_pkey_mprotect, ptr, size, orig_prot, pkey); in sys_mprotect_pkey() 34 dprintf2("SYS_mprotect_key sret: %d\n", sret); in sys_mprotect_pkey() 40 return sret; in sys_mprotect_pkey()
|
| H A D | mseal_test.c | 58 int sret; in sys_mseal() local 61 sret = syscall(__NR_mseal, start, len, 0); in sys_mseal() 62 return sret; in sys_mseal() 67 int sret; in sys_mprotect() local 70 sret = syscall(__NR_mprotect, ptr, size, prot); in sys_mprotect() 71 return sret; in sys_mprotect() 77 int sret; in sys_mprotect_pkey() local 80 sret = syscall(__NR_pkey_mprotect, ptr, size, orig_prot, pkey); in sys_mprotect_pkey() 81 return sret; in sys_mprotect_pkey() 86 int sret; in sys_munmap() local [all …]
|
| H A D | protection_keys.c | 1684 int sret; in test_mprotect_pkey_on_unsupported_cpu() local 1691 sret = syscall(__NR_pkey_mprotect, ptr, size, PROT_READ, pkey); in test_mprotect_pkey_on_unsupported_cpu() 1692 pkey_assert(sret < 0); in test_mprotect_pkey_on_unsupported_cpu()
|
| /linux/tools/perf/util/ |
| H A D | cputopo.c | 41 ssize_t sret; in build_cpu_topology() local 55 sret = getline(&buf, &len, fp); in build_cpu_topology() 57 if (sret <= 0) in build_cpu_topology() 86 sret = getline(&buf, &len, fp); in build_cpu_topology() 88 if (sret <= 0) in build_cpu_topology()
|
| H A D | pmu.c | 323 ssize_t sret; in perf_pmu__parse_scale() local 341 sret = read(fd, scale, sizeof(scale)-1); in perf_pmu__parse_scale() 342 if (sret < 0) in perf_pmu__parse_scale() 345 if (scale[sret - 1] == '\n') in perf_pmu__parse_scale() 346 scale[sret - 1] = '\0'; in perf_pmu__parse_scale() 348 scale[sret] = '\0'; in perf_pmu__parse_scale() 360 ssize_t sret; in perf_pmu__parse_unit() local 373 sret = read(fd, alias->unit, UNIT_MAX_LEN); in perf_pmu__parse_unit() 374 if (sret < 0) in perf_pmu__parse_unit() 379 if (alias->unit[sret - 1] == '\n') in perf_pmu__parse_unit() [all …]
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-diolan-u2c.c | 345 int ret, sret; in diolan_usb_xfer() local 401 sret = diolan_i2c_stop(dev); in diolan_usb_xfer() 402 if (sret < 0 && ret >= 0) in diolan_usb_xfer() 403 ret = sret; in diolan_usb_xfer()
|
| /linux/arch/riscv/kernel/ |
| H A D | entry.S | 85 sret 280 sret
|
| /linux/tools/testing/selftests/kvm/lib/riscv/ |
| H A D | handlers.S | 104 sret
|
| /linux/drivers/usb/host/ |
| H A D | xhci-hub.c | 1877 int sret; in xhci_bus_resume() local 1965 sret = xhci_handshake(&ports[port_index]->port_reg->portsc, PORT_PLC, in xhci_bus_resume() 1967 if (sret) { in xhci_bus_resume()
|
| /linux/kernel/trace/ |
| H A D | trace.c | 6719 ssize_t sret; in tracing_read_pipe() local 6729 sret = trace_seq_to_user(&iter->seq, ubuf, cnt); in tracing_read_pipe() 6730 if (sret != -EBUSY) in tracing_read_pipe() 6731 return sret; in tracing_read_pipe() 6736 sret = iter->trace->read(iter, filp, ubuf, cnt, ppos); in tracing_read_pipe() 6737 if (sret) in tracing_read_pipe() 6738 return sret; in tracing_read_pipe() 6745 sret = tracing_wait_pipe(filp); in tracing_read_pipe() 6746 if (sret <= 0) in tracing_read_pipe() 6747 return sret; in tracing_read_pipe() [all...] |
| /linux/arch/riscv/include/asm/ |
| H A D | insn.h | 263 __RISCV_INSN_FUNCS(sret, RVG_MASK_SRET, RVG_MATCH_SRET)
|