| /linux/drivers/mailbox/ |
| H A D | riscv-sbi-mpxy-mbox.c | 133 struct sbiret sret; in mpxy_get_channel_count() local 143 sret = sbi_ecall(SBI_EXT_MPXY, SBI_EXT_MPXY_GET_CHANNEL_IDS, in mpxy_get_channel_count() 145 if (sret.error) in mpxy_get_channel_count() 154 return sbi_err_map_linux_errno(sret.error); in mpxy_get_channel_count() 162 struct sbiret sret; in mpxy_get_channel_ids() local 172 sret = sbi_ecall(SBI_EXT_MPXY, SBI_EXT_MPXY_GET_CHANNEL_IDS, in mpxy_get_channel_ids() 174 if (sret.error) in mpxy_get_channel_ids() 188 return sbi_err_map_linux_errno(sret.error); in mpxy_get_channel_ids() 195 struct sbiret sret; in mpxy_read_attrs() local 204 sret = sbi_ecall(SBI_EXT_MPXY, SBI_EXT_MPXY_READ_ATTRS, in mpxy_read_attrs() [all …]
|
| /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 | 116 int sret; 122 sret = syscall(__NR_pkey_mprotect, ptr, size, orig_prot, pkey); 124 dprintf2("SYS_mprotect_key sret: %d\n", sret); 130 return sret; 26 int sret; sys_mprotect_pkey() local
|
| 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 95 int sret; sys_madvise() local 105 void *sret; sys_mremap() local [all...] |
| H A D | protection_keys.c | 1578 int sret; in test_ptrace_modifies_pkru() 1585 sret = syscall(__NR_pkey_mprotect, ptr, size, PROT_READ, pkey); in test_ptrace_modifies_pkru() 1586 pkey_assert(sret < 0); in test_ptrace_modifies_pkru() 1684 int sret; test_mprotect_pkey_on_unsupported_cpu() local
|
| /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 | 298 ssize_t sret; in perf_pmu__parse_scale() local 316 sret = read(fd, scale, sizeof(scale)-1); in perf_pmu__parse_scale() 317 if (sret <= 0) in perf_pmu__parse_scale() 320 if (scale[sret - 1] == '\n') in perf_pmu__parse_scale() 321 scale[sret - 1] = '\0'; in perf_pmu__parse_scale() 323 scale[sret] = '\0'; in perf_pmu__parse_scale() 335 ssize_t sret; in perf_pmu__parse_unit() local 348 sret = read(fd, alias->unit, UNIT_MAX_LEN); in perf_pmu__parse_unit() 349 if (sret <= 0) in perf_pmu__parse_unit() 354 if (alias->unit[sret in perf_pmu__parse_unit() [all...] |
| /linux/tools/testing/selftests/kvm/lib/riscv/ |
| H A D | handlers.S | 104 sret
|
| /linux/arch/riscv/kernel/ |
| H A D | entry.S | 88 sret 320 sret
|
| /linux/sound/soc/codecs/ |
| H A D | lpass-va-macro.c | 1740 int ret, sret; in va_macro_runtime_resume() local 1755 sret = pm_clk_suspend(dev); in va_macro_runtime_resume() 1756 if (sret) in va_macro_runtime_resume() 1759 sret); in va_macro_runtime_resume()
|
| H A D | lpass-wsa-macro.c | 2855 int ret, sret; in wsa_macro_runtime_resume() local 2869 sret = pm_clk_suspend(dev); in wsa_macro_runtime_resume() 2870 if (sret) in wsa_macro_runtime_resume() 2873 sret); in wsa_macro_runtime_resume()
|
| /linux/arch/x86/kernel/ |
| H A D | uprobes.c | 766 unsigned long ip, sp, sret; in SYSCALL_DEFINE0() local 793 err = shstk_pop((u64 *)&sret); in SYSCALL_DEFINE0() 794 if (err == -EFAULT || (!err && sret != args.retaddr)) in SYSCALL_DEFINE0()
|
| /linux/kernel/trace/ |
| H A D | trace.c | 5398 ssize_t sret; in tracing_read_pipe() local 5408 sret = trace_seq_to_user(&iter->seq, ubuf, cnt); in tracing_read_pipe() 5409 if (sret != -EBUSY) in tracing_read_pipe() 5410 return sret; in tracing_read_pipe() 5415 sret = iter->trace->read(iter, filp, ubuf, cnt, ppos); in tracing_read_pipe() 5416 if (sret) in tracing_read_pipe() 5417 return sret; in tracing_read_pipe() 5424 sret = tracing_wait_pipe(filp); in tracing_read_pipe() 5425 if (sret <= 0) in tracing_read_pipe() 5426 return sret; in tracing_read_pipe() [all …]
|
| /linux/fs/btrfs/ |
| H A D | ctree.c | 4626 int sret; in btrfs_search_forward() local 4649 sret = btrfs_bin_search(cur, 0, min_key, &slot); in btrfs_search_forward() 4650 if (sret < 0) { in btrfs_search_forward() 4651 ret = sret; in btrfs_search_forward() 4665 if (sret && slot > 0) in btrfs_search_forward() 4688 sret = btrfs_find_next_key(root, path, min_key, level, in btrfs_search_forward() 4690 if (sret == 0) { in btrfs_search_forward()
|
| /linux/arch/riscv/include/asm/ |
| H A D | insn.h | 263 __RISCV_INSN_FUNCS(sret, RVG_MASK_SRET, RVG_MATCH_SRET)
|