Searched refs:rv (Results 1 - 25 of 405) sorted by relevance

1234567891011>>

/linux-master/arch/x86/lib/
H A Dmsr-smp.c10 struct msr_info *rv = info; local
13 if (rv->msrs)
14 reg = this_cpu_ptr(rv->msrs);
16 reg = &rv->reg;
18 rdmsr(rv->msr_no, reg->l, reg->h);
23 struct msr_info *rv = info; local
26 if (rv->msrs)
27 reg = this_cpu_ptr(rv->msrs);
29 reg = &rv->reg;
31 wrmsr(rv
37 struct msr_info rv; local
53 struct msr_info rv; local
68 struct msr_info rv; local
84 struct msr_info rv; local
101 struct msr_info rv; local
154 struct msr_info_completion *rv = info; local
162 struct msr_info *rv = info; local
169 struct msr_info_completion rv; local
194 struct msr_info rv; local
210 struct msr_info rv; local
241 struct msr_regs_info *rv = info; local
248 struct msr_regs_info *rv = info; local
256 struct msr_regs_info rv; local
269 struct msr_regs_info rv; local
[all...]
/linux-master/tools/build/feature/
H A Dtest-libtraceevent.c6 int rv = 0; local
9 rv += !(s.state == TRACE_SEQ__GOOD);
11 return rv;
/linux-master/drivers/char/ipmi/
H A Dipmi_si_hotmod.c107 int rv; local
111 rv = parse_str(hotmod_ops, &ival, "operation", &curr);
112 if (rv)
113 return rv;
116 rv = parse_str(hotmod_si, &ival, "interface type", &curr);
117 if (rv)
118 return rv;
121 rv = parse_str(hotmod_as, &ival, "address space", &curr);
122 if (rv)
123 return rv;
187 int rv; local
[all...]
H A Dipmi_poweroff.c52 int rv = param_set_int(val, kp); local
53 if (rv)
54 return rv;
122 int rv; local
127 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, &comp,
129 if (rv)
130 return rv;
142 int rv; local
145 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, NULL,
147 if (rv) {
184 int rv; local
211 int rv; local
246 int rv; local
317 int rv; local
468 int rv; local
556 int rv; local
669 int rv; local
702 int rv; local
[all...]
/linux-master/tools/testing/selftests/proc/
H A Dself.c28 ssize_t rv; local
33 rv = readlink("/proc/self", buf2, sizeof(buf2));
34 assert(rv == strlen(buf1));
35 buf2[rv] = '\0';
H A Dproc-loadavg-001.c42 ssize_t rv; local
47 rv = read(fd, buf, sizeof(buf));
48 if (rv < 3)
50 p = buf + rv;
65 rv = read(fd, buf, sizeof(buf));
66 if (rv < 3)
68 p = buf + rv;
H A Dread.c42 ssize_t rv; local
50 rv = read(fd, buf, sizeof(buf));
51 assert((0 <= rv && rv <= sizeof(buf)) || rv == -1);
58 ssize_t rv; local
63 rv = write(fd, buf, len);
64 assert((0 <= rv && rv <= len) || rv
71 ssize_t rv; local
[all...]
H A Dproc-empty-vm.c71 long rv = syscall(SYS_pkey_alloc, 0, 0); local
72 if (rv > 0) {
73 syscall(SYS_pkey_free, (int)rv);
75 } else if (rv == -1 && errno == ENOSYS) {
77 } else if (rv == -1 && errno == EINVAL) {
81 fprintf(stderr, "%s: error: rv %ld, errno %d\n", __func__, rv, errno);
225 ssize_t rv = read(fd, buf, sizeof(buf)); local
228 assert(rv == 0);
231 assert(rv
254 ssize_t rv = read(fd, buf, sizeof(buf)); local
277 ssize_t rv = read(fd, buf, sizeof(buf)); local
341 ssize_t rv = read(fd, buf, sizeof(buf)); local
349 parse_u64(const char *p, const char *const end, uint64_t *rv) argument
379 ssize_t rv = read(fd, buf, sizeof(buf)); local
440 int rv = EXIT_SUCCESS; local
[all...]
H A Dfd-002-posix-eq.c30 int rv; local
43 rv = fstat(fd0, &st0);
44 assert(rv == 0);
45 rv = fstat(fd1, &st1);
46 assert(rv == 0);
47 rv = fstat(fd2, &st2);
48 assert(rv == 0);
/linux-master/arch/arm/include/debug/
H A Ds5pv210.S19 .macro addruart, rp, rv, tmp
21 ldr \rv, =S3C_VA_UART
24 add \rv, \rv, #(0x400 * CONFIG_DEBUG_S3C_UART)
H A Dbrcmstb.S37 #define checkuart(rp, rv, family_id, family) \
41 cmp rp, rv ; \
47 .macro addruart, rp, rv, tmp
49 ldr \rv, [\rp] @ linked addr is stored there
50 sub \rv, \rv, \rp @ offset between the two
52 sub \tmp, \rp, \rv @ actual brcmstb_uart_config
56 mov \rv, #0 @ yes; record init is done
57 str \rv, [\tmp]
60 mrc p15, 0, \rv, c
[all...]
H A Dtegra.S45 #define checkuart(rp, rv, lhu, bit, uart) \
67 .macro addruart, rp, rv, tmp
69 ldr \rv, [\rp] @ linked addr is stored there
70 sub \rv, \rv, \rp @ offset between the two
72 sub \tmp, \rp, \rv @ actual tegra_uart_config
76 mov \rv, #0 @ yes; record init is done
77 str \rv, [\tmp]
83 lsr \rv, \rp, #18 @ 19:18 are console type
84 and \rv, \r
[all...]
/linux-master/lib/
H A Dkstrtox.c56 unsigned int rv; local
59 rv = 0;
80 rv |= KSTRTOX_OVERFLOW;
83 rv++;
87 return rv;
99 unsigned int rv; local
102 rv = _parse_integer(s, base, &_res);
103 if (rv & KSTRTOX_OVERFLOW)
105 if (rv == 0)
107 s += rv;
159 int rv; local
184 int rv; local
200 int rv; local
231 int rv; local
262 int rv; local
278 int rv; local
294 int rv; local
310 int rv; local
326 int rv; local
[all...]
/linux-master/samples/bpf/
H A Dtcp_clamp_kern.c31 int rv = 0; local
58 rv = to_init;
62 rv = bpf_setsockopt(skops, SOL_SOCKET, SO_SNDBUF,
64 rv += bpf_setsockopt(skops, SOL_SOCKET,
69 rv = bpf_setsockopt(skops, SOL_TCP,
75 rv = bpf_setsockopt(skops, SOL_TCP,
78 rv += bpf_setsockopt(skops, SOL_SOCKET,
81 rv += bpf_setsockopt(skops, SOL_SOCKET,
86 rv = -1;
89 rv
[all...]
H A Dtcp_bufs_kern.c30 int rv = 0; local
45 bpf_printk("Returning %d\n", rv);
53 rv = rwnd_init;
57 rv = bpf_setsockopt(skops, SOL_SOCKET, SO_SNDBUF, &bufsize,
59 rv += bpf_setsockopt(skops, SOL_SOCKET, SO_RCVBUF,
67 rv = bpf_setsockopt(skops, SOL_SOCKET, SO_SNDBUF, &bufsize,
69 rv += bpf_setsockopt(skops, SOL_SOCKET, SO_RCVBUF,
73 rv = -1;
76 bpf_printk("Returning %d\n", rv);
78 skops->reply = rv;
[all...]
H A Dtcp_iw_kern.c31 int rv = 0; local
54 rv = rwnd_init;
58 rv = bpf_setsockopt(skops, SOL_SOCKET, SO_SNDBUF, &bufsize,
60 rv += bpf_setsockopt(skops, SOL_SOCKET, SO_RCVBUF,
64 rv = bpf_setsockopt(skops, SOL_TCP, TCP_BPF_IW, &iw,
69 rv = bpf_setsockopt(skops, SOL_SOCKET, SO_SNDBUF, &bufsize,
71 rv += bpf_setsockopt(skops, SOL_SOCKET, SO_RCVBUF,
75 rv = -1;
78 bpf_printk("Returning %d\n", rv);
80 skops->reply = rv;
[all...]
H A Dtcp_cong_kern.c28 int rv = 0; local
56 rv = 1;
59 rv = bpf_setsockopt(skops, SOL_TCP, TCP_CONGESTION,
63 rv = bpf_setsockopt(skops, SOL_TCP, TCP_CONGESTION,
67 rv = -1;
70 rv = -1;
73 bpf_printk("Returning %d\n", rv);
75 skops->reply = rv;
H A Dtcp_tos_reflect_kern.c32 int rv = 0; local
42 rv = bpf_setsockopt(skops, SOL_TCP, TCP_SAVE_SYN,
50 rv = bpf_getsockopt(skops, SOL_TCP, TCP_SAVED_SYN,
52 if (!rv) {
68 rv = 0;
72 rv = -1;
75 bpf_printk("Returning %d\n", rv);
77 skops->reply = rv;
H A Dtcp_basertt_kern.c29 int rv = 0, n; local
52 rv = 80;
54 rv = n;
56 rv = -1;
60 rv = -1;
63 rv = -1;
66 bpf_printk("Returning %d\n", rv);
68 skops->reply = rv;
/linux-master/drivers/power/supply/
H A Dmax77650-charger.c91 int i, rv; local
95 rv = regmap_update_bits(chg->map,
99 if (rv)
100 return rv;
112 int i, rv; local
116 rv = regmap_update_bits(chg->map,
120 if (rv)
121 return rv;
132 int rv; local
134 rv
146 int rv; local
159 int rv, reg; local
193 int rv, reg; local
283 int rv, chg_irq, chgin_irq; local
[all...]
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-resched-dscr.c40 uint64_t rv, dscr1 = 1, dscr2, texasr; local
53 "li %[rv], 1;"
72 "li %[rv], 0;"
74 : [rv]"=r"(rv), [dscr2]"=m"(dscr2), [texasr]"=m"(texasr)
79 assert(rv); /* make sure the transaction aborted */
/linux-master/drivers/hwmon/pmbus/
H A Dfsp-3y.c76 int rv; local
87 rv = i2c_smbus_write_byte_data(client, PMBUS_PAGE, page_real);
88 if (rv < 0)
89 return rv;
110 int rv; local
118 rv = set_page(client, page);
119 if (rv < 0)
120 return rv;
129 int rv; local
155 rv
205 int rv; local
235 int rv; local
[all...]
/linux-master/arch/riscv/boot/dts/allwinner/
H A DMakefile3 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-86-panel-480p.dtb
4 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-86-panel-720p.dtb
5 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-dock.dtb
6 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv.dtb
/linux-master/scripts/dtc/include-prefixes/riscv/allwinner/
H A DMakefile3 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-86-panel-480p.dtb
4 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-86-panel-720p.dtb
5 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-dock.dtb
6 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv.dtb
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_global_func16.c21 const int rv = foo(&array); local
23 return rv ? 1 : 0;

Completed in 353 milliseconds

1234567891011>>