Home
last modified time | relevance | path

Searched refs:sret (Results 1 – 13 of 13) sorted by relevance

/linux/tools/perf/jvmti/
H A Djvmti_agent.c57 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 Dbitmask.c99 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 Dseal_elf.c
H A Dmseal_test.c58 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
95 int sret; sys_madvise() local
105 void *sret; sys_mremap() local
[all...]
H A Dprotection_keys.c1686 int sret; in test_mprotect_pkey_on_unsupported_cpu() local
1693 sret = syscall(__NR_pkey_mprotect, ptr, size, PROT_READ, pkey); in test_mprotect_pkey_on_unsupported_cpu()
1694 pkey_assert(sret < 0); in test_mprotect_pkey_on_unsupported_cpu()
/linux/tools/perf/util/
H A Dcputopo.c41 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()
/linux/drivers/i2c/busses/
H A Di2c-diolan-u2c.c345 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 Dentry.S84 sret
279 sret
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Dhandlers.S101 sret
/linux/arch/riscv/include/asm/
H A Dinsn.h262 __RISCV_INSN_FUNCS(sret, RVG_MASK_SRET, RVG_MATCH_SRET)
/linux/drivers/usb/host/
H A Dxhci-hub.c1879 int sret; in xhci_bus_resume() local
1963 sret = xhci_handshake(ports[port_index]->addr, PORT_PLC, in xhci_bus_resume()
1965 if (sret) { in xhci_bus_resume()
/linux/kernel/trace/
H A Dtrace.c6480 ssize_t sret; in tracing_read_pipe() local
6490 sret = trace_seq_to_user(&iter->seq, ubuf, cnt); in tracing_read_pipe()
6491 if (sret != -EBUSY) in tracing_read_pipe()
6492 return sret; in tracing_read_pipe()
6497 sret = iter->trace->read(iter, filp, ubuf, cnt, ppos); in tracing_read_pipe()
6498 if (sret) in tracing_read_pipe()
6499 return sret; in tracing_read_pipe()
6503 sret = tracing_wait_pipe(filp); in tracing_read_pipe()
6504 if (sret <= 0) in tracing_read_pipe()
6505 return sret; in tracing_read_pipe()
[all …]
/linux/fs/btrfs/
H A Dctree.c4613 int sret; in btrfs_search_forward() local
4635 sret = btrfs_bin_search(cur, 0, min_key, &slot); in btrfs_search_forward()
4636 if (sret < 0) { in btrfs_search_forward()
4637 ret = sret; in btrfs_search_forward()
4650 if (sret && slot > 0) in btrfs_search_forward()
4673 sret = btrfs_find_next_key(root, path, min_key, level, in btrfs_search_forward()
4675 if (sret == 0) { in btrfs_search_forward()