/linux-master/drivers/char/tpm/ |
H A D | xen-tpmfront.c | 255 int rv; local 257 rv = xenbus_setup_ring(dev, GFP_KERNEL, (void **)&priv->shr, 1, 259 if (rv < 0) 260 return rv; 262 rv = xenbus_alloc_evtchn(dev, &priv->evtchn); 263 if (rv) 264 return rv; 266 rv = bind_evtchn_to_irqhandler(priv->evtchn, tpmif_interrupt, 0, 268 if (rv <= 0) { 269 xenbus_dev_fatal(dev, rv, "allocatin 338 int rv; local [all...] |
/linux-master/tools/testing/selftests/kvm/s390x/ |
H A D | sync_regs_test.c | 79 int rv; local 83 rv = _vcpu_run(vcpu); 84 TEST_ASSERT(rv < 0 && errno == EINVAL, 86 rv); 90 rv = _vcpu_run(vcpu); 91 TEST_ASSERT(rv < 0 && errno == EINVAL, 93 rv); 100 int rv; local 104 rv = _vcpu_run(vcpu); 105 TEST_ASSERT(rv < 123 int rv; local 149 int rv; local 186 int rv; local [all...] |
/linux-master/arch/x86/mm/ |
H A D | pf_in.c | 122 rv = type; \ 133 enum reason_type rv = OTHERS; local 144 return rv; 238 unsigned char *rv = NULL; local 242 rv = (unsigned char *)®s->ax; 245 rv = (unsigned char *)®s->bx; 248 rv = (unsigned char *)®s->cx; 251 rv = (unsigned char *)®s->dx; 255 rv = (unsigned char *)®s->r8; 258 rv 334 unsigned long *rv = NULL; local [all...] |
/linux-master/arch/arm/include/debug/ |
H A D | exynos.S | 20 .macro addruart, rp, rv, tmp 30 ldr \rv, =S3C_VA_UART 33 add \rv, \rv, #(0x10000 * CONFIG_DEBUG_S3C_UART)
|
H A D | vexpress.S | 22 .macro addruart,rp,rv,tmp 31 movw \rv, #0xc091 32 movt \rv, #0x410f 33 cmp \rp, \rv 37 orreq \rv, \rp, #DEBUG_LL_VIRT_BASE 42 orrne \rv, \rp, #DEBUG_LL_VIRT_BASE
|
H A D | omap2plus.S | 27 .macro addruart, rp, rv, tmp 31 ldr \rv, [\rp] @ get absolute addr of 99f 32 sub \rv, \rv, \rp @ offset between the two 34 sub \tmp, \rp, \rv @ make it effective 36 ldr \rv, [\tmp, #4] @ omap_uart_virt 38 cmpne \rv, #0 60 add \rv, \rv, \tmp
|
/linux-master/tools/testing/selftests/proc/ |
H A D | thread-self.c | 31 ssize_t rv; local 37 rv = readlink("/proc/thread-self", buf2, sizeof(buf2)); 38 assert(rv == strlen(buf1)); 39 buf2[rv] = '\0';
|
H A D | proc-self-syscall.c | 35 ssize_t rv; local 49 rv = sys_read(fd, buf2, sizeof(buf2)); 50 if (rv < 0) 52 if (rv < strlen(buf1))
|
H A D | proc-uptime.h | 41 ssize_t rv; local 45 rv = pread(fd, buf, sizeof(buf), 0); 46 assert(0 <= rv && rv <= sizeof(buf));
|
/linux-master/samples/bpf/ |
H A D | tcp_synrto_kern.c | 27 int rv = -1; local 56 rv = 10; 59 bpf_printk("Returning %d\n", rv); 61 skops->reply = rv;
|
H A D | tcp_rwnd_kern.c | 27 int rv = -1; local 56 rv = 40; 59 bpf_printk("Returning %d\n", rv); 61 skops->reply = rv;
|
/linux-master/tools/verification/dot2/dot2k_templates/ |
H A D | main_per_task.c | 7 #include <linux/rv.h> 8 #include <rv/instrumentation.h> 9 #include <rv/da_monitor.h> 17 #include <trace/events/rv.h> 28 * The rv monitor reference is needed for the monitor declaration.
|
H A D | main_per_cpu.c | 7 #include <linux/rv.h> 8 #include <rv/instrumentation.h> 9 #include <rv/da_monitor.h> 17 #include <trace/events/rv.h> 28 * The rv monitor reference is needed for the monitor declaration.
|
H A D | main_global.c | 7 #include <linux/rv.h> 8 #include <rv/instrumentation.h> 9 #include <rv/da_monitor.h> 17 #include <trace/events/rv.h> 28 * The rv monitor reference is needed for the monitor declaration.
|
/linux-master/drivers/leds/ |
H A D | leds-max77650.c | 69 int rv, num_leds; local 90 rv = fwnode_property_read_u32(child, "reg", ®); 91 if (rv || reg >= MAX77650_LED_NUM_LEDS) { 92 rv = -EINVAL; 108 rv = devm_led_classdev_register_ext(dev, &led->cdev, 110 if (rv) 113 rv = regmap_write(map, led->regA, MAX77650_LED_A_DEFAULT); 114 if (rv) 117 rv = regmap_write(map, led->regB, MAX77650_LED_B_DEFAULT); 118 if (rv) [all...] |
/linux-master/fs/dlm/ |
H A D | recoverd.c | 51 static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv) argument 56 log_rinfo(ls, "dlm_recover %llu", (unsigned long long)rv->seq); 79 error = dlm_recover_members(ls, rv, &neg); 93 error = dlm_recover_members_wait(ls, rv->seq); 106 error = dlm_recover_directory(ls, rv->seq); 114 error = dlm_recover_directory_wait(ls, rv->seq); 148 error = dlm_recover_masters(ls, rv->seq); 158 error = dlm_recover_locks(ls, rv->seq); 166 error = dlm_recover_locks_wait(ls, rv->seq); 190 error = dlm_recover_locks_wait(ls, rv 259 struct dlm_recover *rv = NULL; local [all...] |
H A D | plock.c | 103 int rv; local 116 rv = op->info.rv; 119 return rv; 128 int rv; local 136 rv = -ENOMEM; 154 rv = -ENOMEM; 167 rv = FILE_LOCK_DEFERRED; 174 rv = wait_event_interruptible(recv_wq, (op->done != 0)); 175 if (rv 245 int rv = 0; local 293 int rv; local 365 int rv; local 427 int rv; local 616 int rv; local [all...] |
/linux-master/drivers/char/ipmi/ |
H A D | ipmi_plat_data.c | 19 int rv; local 98 rv = platform_device_add_resources(pdev, r, num_r); 99 if (rv) { 101 "Unable to add hard-code resources: %d\n", rv); 105 rv = device_create_managed_software_node(&pdev->dev, pr, NULL); 106 if (rv) { 108 "Unable to add hard-code properties: %d\n", rv); 112 rv = platform_device_add(pdev); 113 if (rv) { 115 "Unable to add hard-code device: %d\n", rv); [all...] |
H A D | ipmi_watchdog.c | 181 int rv = 0; local 191 rv = ipmi_set_timeout(IPMI_SET_TIMEOUT_HB_IF_NECESSARY); 193 return rv; 212 int rv = 0; local 220 rv = fn(s, NULL); 221 if (rv) 226 rv = ipmi_set_timeout(IPMI_SET_TIMEOUT_HB_IF_NECESSARY); 229 return rv; 235 int rv, len; local 237 rv 251 int rv = param_set_int(val, kp); local 366 int rv; local 427 int rv; local 454 int rv; local 483 int rv; local 527 int rv; local 550 int rv; local 628 int rv; local 654 int rv; local 756 int rv; local 786 int rv = 0; local 982 int rv = -EBUSY; local 1068 int rv; local 1263 int rv; local 1290 int rv; local [all...] |
H A D | ipmi_devintf.c | 90 int rv; local 97 rv = ipmi_create_user(if_num, 101 if (rv) { 119 return rv; 125 int rv; local 128 rv = ipmi_destroy_user(priv->user); 129 if (rv) 130 return rv; 145 int rv; local 165 rv 207 int rv = 0, rv2 = 0; local 298 int rv = -EINVAL; local 858 int rv; local [all...] |
/linux-master/tools/testing/selftests/x86/ |
H A D | nx_stack.c | 168 int rv = sigaction(SIGSEGV, &act, NULL); local 169 assert(rv == 0); 176 int rv = sigaction(SIGTRAP, &act, NULL); local 177 assert(rv == 0); 181 int rv = getrlimit(RLIMIT_STACK, &rlim); local 182 assert(rv == 0); 188 rv = setrlimit(RLIMIT_STACK, &rlim); 189 assert(rv == 0); 203 int rv = sigaltstack(&ss, NULL); local 204 assert(rv [all...] |
/linux-master/drivers/comedi/drivers/ |
H A D | ni_routes.c | 55 const u8 *rv = NULL; local 60 rv = &ni_all_route_values[i]->register_values[0][0]; 64 return rv; 98 const u8 *rv; local 101 rv = ni_find_route_values(device_family); 108 tables->route_values = rv; 111 if (!rv || !dr) 161 const u8 *rv = tables->route_values; local 163 if (RVi(rv, B(src), B(dest))) 167 (RVi(rv, 216 const u8 *rv = tables->route_values; local 469 const u8 *rv; local [all...] |
/linux-master/drivers/infiniband/sw/siw/ |
H A D | siw_verbs.c | 60 int rv = -EINVAL; local 77 rv = remap_vmalloc_range(vma, entry->address, 0); 78 if (rv) 83 return rv; 91 int rv; local 94 rv = -ENOMEM; 102 rv = -EINVAL; 105 rv = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); 106 if (rv) 116 siw_dbg(base_ctx->device, "failure %d. now %d context(s)\n", rv, 175 int rv; local 209 int rv = siw_query_port(base_dev, port, &attr); local 270 int rv; local 312 int num_sqe, num_rqe, rv = 0; local 546 int rv = 0; local 678 int rv = 0; local 732 int rv = 0; local 763 int rv = 0; local 1001 int rv = 0; local 1135 int rv, size = attr->cqe; local 1323 int rv; local 1402 int rv; local 1471 int i, rv; local 1534 int rv; local 1584 int rv; local 1670 int rv = 0; local 1758 int rv = 0; local [all...] |
/linux-master/drivers/usb/class/ |
H A D | cdc-wdm.c | 249 int rv = 0; local 313 rv = usb_submit_urb(desc->response, GFP_ATOMIC); 314 dev_dbg(&desc->intf->dev, "submit response URB %d\n", rv); 317 if (rv < 0) { 319 if (rv == -EPERM) 321 if (rv == -ENOMEM) { 323 rv = schedule_work(&desc->rxwork); 324 if (rv) 330 rv = usb_submit_urb(urb, GFP_ATOMIC); 331 if (rv) 379 int rv = -EMSGSIZE, r, we; local 487 int rv = 0; local 522 int rv, cntr; local 631 long rv; /* Use long here because (int) MAX_SCHEDULE_TIMEOUT < 0. */ local 711 int rv = -ENODEV; local 794 int rv = 0; local 881 int rv; local 979 int rv = 0; local 1021 int rv = -ENOMEM; local 1134 int rv = usb_autopm_get_interface(intf); local 1144 int rv = -EINVAL; local 1197 int rv; local 1250 int rv = 0; local 1287 int rv = 0; local 1302 int rv; local 1341 int rv; local [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | tcpbpf_user.c | 52 int i, rv; local 70 rv = send(cli_fd, buf, 1000, 0); 71 if (!ASSERT_EQ(rv, 1000, "send(cli_fd)")) 74 rv = recv(accept_fd, buf, 1000, 0); 75 if (!ASSERT_EQ(rv, 1000, "recv(accept_fd)")) 82 rv = send(accept_fd, buf, 500, 0); 83 if (!ASSERT_EQ(rv, 500, "send(accept_fd)")) 86 rv = recv(cli_fd, buf, 500, 0); 87 if (!ASSERT_EQ(rv, 500, "recv(cli_fd)"))
|