/linux/tools/perf/jvmti/ |
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 466 if (sret != 1) in jvmti_write_debug_info() 474 if (sret != 1) in jvmti_write_debug_info() 479 if (sret != 1) in jvmti_write_debug_info() 484 if (sret != 1) in jvmti_write_debug_info() [all …]
|
/linux/tools/power/cpupower/utils/helpers/ |
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/perf/util/ |
A D | cputopo.c | 40 ssize_t sret; in build_cpu_topology() local 54 sret = getline(&buf, &len, fp); in build_cpu_topology() 56 if (sret <= 0) in build_cpu_topology() 85 sret = getline(&buf, &len, fp); in build_cpu_topology() 87 if (sret <= 0) in build_cpu_topology()
|
A D | pmu.c | 150 ssize_t sret; in perf_pmu__parse_scale() local 164 sret = read(fd, scale, sizeof(scale)-1); in perf_pmu__parse_scale() 165 if (sret < 0) in perf_pmu__parse_scale() 168 if (scale[sret - 1] == '\n') in perf_pmu__parse_scale() 169 scale[sret - 1] = '\0'; in perf_pmu__parse_scale() 171 scale[sret] = '\0'; in perf_pmu__parse_scale() 182 ssize_t sret; in perf_pmu__parse_unit() local 192 if (sret < 0) in perf_pmu__parse_unit() 197 if (alias->unit[sret - 1] == '\n') in perf_pmu__parse_unit() 198 alias->unit[sret - 1] = '\0'; in perf_pmu__parse_unit() [all …]
|
A D | genelf.c | 108 ssize_t sret; in gen_build_id() local 114 sret = read(fd, note->build_id, sz); in gen_build_id() 118 if (sret != (ssize_t)sz) in gen_build_id()
|
/linux/drivers/i2c/busses/ |
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/tools/testing/selftests/vm/ |
A D | protection_keys.c | 472 int sret; in sys_mprotect_pkey() local 478 sret = syscall(SYS_mprotect_key, ptr, size, orig_prot, pkey); in sys_mprotect_pkey() 480 dprintf2("SYS_mprotect_key sret: %d\n", sret); in sys_mprotect_pkey() 486 return sret; in sys_mprotect_pkey() 1556 int sret; in test_mprotect_pkey_on_unsupported_cpu() local 1563 sret = syscall(SYS_mprotect_key, ptr, size, PROT_READ, pkey); in test_mprotect_pkey_on_unsupported_cpu() 1564 pkey_assert(sret < 0); in test_mprotect_pkey_on_unsupported_cpu()
|
/linux/arch/riscv/kvm/ |
A D | vcpu_switch.S | 108 sret 225 sret
|
/linux/arch/riscv/kernel/ |
A D | kgdb.c | 45 DECLARE_INSN(sret, MATCH_SRET, MASK_SRET) in DECLARE_INSN()
|
A D | entry.S | 339 sret
|
/linux/fs/btrfs/ |
A D | ctree.c | 4227 int sret; in btrfs_search_forward() local 4248 sret = btrfs_bin_search(cur, min_key, &slot); in btrfs_search_forward() 4249 if (sret < 0) { in btrfs_search_forward() 4250 ret = sret; in btrfs_search_forward() 4263 if (sret && slot > 0) in btrfs_search_forward() 4286 sret = btrfs_find_next_key(root, path, min_key, level, in btrfs_search_forward() 4288 if (sret == 0) { in btrfs_search_forward()
|
/linux/drivers/usb/host/ |
A D | xhci-hub.c | 1848 int sret; in xhci_bus_resume() local 1932 sret = xhci_handshake(ports[port_index]->addr, PORT_PLC, in xhci_bus_resume() 1934 if (sret) { in xhci_bus_resume()
|
/linux/kernel/trace/ |
A D | trace.c | 6684 ssize_t sret; in tracing_read_pipe() local 6694 sret = trace_seq_to_user(&iter->seq, ubuf, cnt); in tracing_read_pipe() 6695 if (sret != -EBUSY) in tracing_read_pipe() 6701 sret = iter->trace->read(iter, filp, ubuf, cnt, ppos); in tracing_read_pipe() 6702 if (sret) in tracing_read_pipe() 6707 sret = tracing_wait_pipe(filp); in tracing_read_pipe() 6708 if (sret <= 0) in tracing_read_pipe() 6713 sret = 0; in tracing_read_pipe() 6756 sret = trace_seq_to_user(&iter->seq, ubuf, cnt); in tracing_read_pipe() 6764 if (sret == -EBUSY) in tracing_read_pipe() [all …]
|