/openbmc/linux/tools/testing/selftests/kvm/s390x/ |
H A D | memop.c | 735 int rv; \ 737 rv = ERR_MOP(__VA_ARGS__); \ 951 int rv; in _test_errors_common() local 958 rv = ERR_MOP(info, target, WRITE, mem1, 0, GADDR_V(mem1)); in _test_errors_common() 974 TEST_ASSERT(rv == -1 && errno == EFAULT, in _test_errors_common() 985 int rv; in test_errors() local 1010 TEST_ASSERT(rv == -1 && errno == EINVAL, in test_errors() 1013 TEST_ASSERT(rv == -1 && errno == EINVAL, in test_errors() 1023 int rv, i, power = 1; in test_errors_cmpxchg() local 1034 TEST_ASSERT(rv == -1 && errno == EINVAL, in test_errors_cmpxchg() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_tcpnotify_user.c | 77 int prog_fd, rv, cg_fd = -1; in main() local 99 rv = bpf_prog_attach(prog_fd, cg_fd, BPF_CGROUP_SOCK_OPS, 0); in main() 100 if (rv) { in main() 146 rv = bpf_map_lookup_elem(bpf_map__fd(global_map), &key, &g); in main() 147 if (rv != 0) { in main() 148 printf("FAILED: bpf_map_lookup_elem returns %d\n", rv); in main()
|
/openbmc/linux/drivers/dma/bestcomm/ |
H A D | sram.c | 39 int rv; in bcom_sram_init() local 59 rv = of_address_to_resource(sram_node, 0, &res); in bcom_sram_init() 60 if (rv) { in bcom_sram_init() 73 rv = -EBUSY; in bcom_sram_init() 85 rv = -ENOMEM; in bcom_sram_init() 125 return rv; in bcom_sram_init()
|
/openbmc/linux/fs/isofs/ |
H A D | export.c | 52 struct dentry *rv = NULL; in isofs_export_get_parent() local 58 rv = ERR_PTR(-EACCES); in isofs_export_get_parent() 68 rv = ERR_PTR(-EACCES); in isofs_export_get_parent() 80 rv = ERR_PTR(-EACCES); in isofs_export_get_parent() 95 rv = ERR_PTR(-EACCES); in isofs_export_get_parent() 102 rv = d_obtain_alias(isofs_iget(child_inode->i_sb, parent_block, in isofs_export_get_parent() 107 return rv; in isofs_export_get_parent()
|
/openbmc/linux/lib/ |
H A D | test-kstrtox.c | 33 int rv; \ 36 rv = fn(t->str, t->base, &tmp); \ 37 if (rv >= 0) { \ 39 t->str, t->base, rv, tmp); \ 52 int rv; \ 54 rv = fn(t->str, t->base, &res); \ 55 if (rv != 0) { \ 57 t->str, t->base, t->expected_res, rv); \
|
H A D | test_vmalloc.c | 175 int rv = -1; in long_busy_list_alloc_test() local 180 return rv; in long_busy_list_alloc_test() 204 rv = 0; in long_busy_list_alloc_test() 211 return rv; in long_busy_list_alloc_test() 226 return rv; in full_fit_alloc_test() 231 return rv; in full_fit_alloc_test() 253 rv = 0; in full_fit_alloc_test() 262 return rv; in full_fit_alloc_test() 290 int rv = 0; in pcpu_alloc_test() local 310 rv = -1; in pcpu_alloc_test() [all …]
|
/openbmc/linux/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 | vf.S | 16 .macro addruart, rp, rv, tmp 18 and \rv, \rp, #0xffffff @ offset within 16MB section 19 add \rv, \rv, #VF_UART_VIRTUAL_BASE
|
/openbmc/linux/tools/testing/selftests/proc/ |
H A D | proc-uptime.h | 41 ssize_t rv; in proc_uptime() local 45 rv = pread(fd, buf, sizeof(buf), 0); in proc_uptime() 46 assert(0 <= rv && rv <= sizeof(buf)); in proc_uptime()
|
H A D | thread-self.c | 31 ssize_t rv; in f() local 37 rv = readlink("/proc/thread-self", buf2, sizeof(buf2)); in f() 38 assert(rv == strlen(buf1)); in f() 39 buf2[rv] = '\0'; in f()
|
H A D | fd-001-lookup.c | 36 ssize_t rv; in test_lookup_pass() local 39 rv = lstat(pathname, &st); in test_lookup_pass() 40 assert(rv == 0); in test_lookup_pass() 47 ssize_t rv; in test_lookup_fail() local 49 rv = lstat(pathname, &st); in test_lookup_fail() 50 assert(rv == -1 && errno == ENOENT); in test_lookup_fail()
|
H A D | setns-sysvipc.c | 112 ssize_t rv; in main() local 122 rv = read(fd, buf, sizeof(buf)); in main() 123 if (rv == strlen(S32)) { in main() 125 } else if (rv == strlen(S64)) { in main()
|
/openbmc/linux/arch/riscv/boot/dts/allwinner/ |
H A D | Makefile | 3 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
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_req.h | 289 int rv; in _req_mod() local 292 rv = __req_mod(req, what, peer_device, &m); in _req_mod() 296 return rv; in _req_mod() 310 int rv; in req_mod() local 313 rv = __req_mod(req, what, peer_device, &m); in req_mod() 319 return rv; in req_mod()
|
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | pmbus_core.c | 166 int rv; in pmbus_set_page() local 200 if (rv) in pmbus_set_page() 211 int rv; in pmbus_write_byte() local 242 int rv; in pmbus_write_word_data() local 258 int rv; in pmbus_write_virt_reg() local 337 int rv; in pmbus_update_fan() local 360 int rv; in pmbus_read_word_data() local 372 int rv; in pmbus_read_virt_reg() local 419 int rv; in pmbus_read_byte_data() local 431 int rv; in pmbus_write_byte_data() local [all …]
|
/openbmc/linux/sound/soc/qcom/ |
H A D | lpass-platform.c | 933 int rv; in lpass_dma_interrupt_handler() local 973 if (rv) { in lpass_dma_interrupt_handler() 984 if (rv) { in lpass_dma_interrupt_handler() 997 if (rv) { in lpass_dma_interrupt_handler() 1009 if (rv) { in lpass_dma_interrupt_handler() 1025 int rv, chan; in lpass_platform_lpaif_irq() local 1029 if (rv) { in lpass_platform_lpaif_irq() 1041 return rv; in lpass_platform_lpaif_irq() 1053 int rv, chan; in lpass_platform_hdmiif_irq() local 1057 if (rv) { in lpass_platform_hdmiif_irq() [all …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_hw.c | 745 int rv, i; in netxen_config_intr_coalesce() local 765 return rv; in netxen_config_intr_coalesce() 792 return rv; in netxen_config_hw_lro() 822 return rv; in netxen_config_bridged_mode() 832 int i, rv; in netxen_config_rss() local 872 return rv; in netxen_config_rss() 879 int rv; in netxen_config_ipaddr() local 903 int rv; in netxen_linkevent_request() local 925 int rv; in netxen_send_lro_cleanup() local 1223 int rv; in netxen_nic_hw_write_wx_2M() local [all …]
|
/openbmc/linux/fs/dlm/ |
H A D | member.c | 543 return &rv->nodes[i]; in find_config_node() 591 node = &rv->nodes[i]; in dlm_recover_members() 610 error = ping_members(ls, rv->seq); in dlm_recover_members() 705 struct dlm_recover *rv, *rv_old; in dlm_ls_start() local 709 rv = kzalloc(sizeof(*rv), GFP_NOFS); in dlm_ls_start() 710 if (!rv) in dlm_ls_start() 728 rv->nodes = nodes; in dlm_ls_start() 729 rv->nodes_count = count; in dlm_ls_start() 730 rv->seq = ++ls->ls_recover_seq; in dlm_ls_start() 732 ls->ls_recover_args = rv; in dlm_ls_start() [all …]
|
/openbmc/linux/tools/build/feature/ |
H A D | test-libtraceevent.c | 6 int rv = 0; in main() local 9 rv += !(s.state == TRACE_SEQ__GOOD); in main() 11 return rv; in main()
|
/openbmc/linux/arch/um/drivers/ |
H A D | vde_user.c | 99 int rv; in vde_user_read() local 104 rv = vde_recv(vconn, buf, len, 0); in vde_user_read() 105 if (rv < 0) { in vde_user_read() 110 else if (rv == 0) in vde_user_read() 113 return rv; in vde_user_read()
|
/openbmc/u-boot/board/compulab/cm_t43/ |
H A D | cm_t43.c | 152 int rv; in board_eth_init() local 158 rv = cpsw_register(&cpsw_data); in board_eth_init() 159 if (rv < 0) in board_eth_init() 160 printf("Error %d registering CPSW switch\n", rv); in board_eth_init() 162 return rv; in board_eth_init()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | asus-laptop.c | 920 if (rv < 0) in sysfs_acpi_set() 921 return rv; in sysfs_acpi_set() 946 if (rv < 0) in ledd_store() 947 return rv; in ledd_store() 1121 if (rv < 0) in display_store() 1122 return rv; in display_store() 1165 if (rv < 0) in ls_switch_store() 1166 return rv; in ls_switch_store() 1195 if (rv < 0) in ls_level_store() 1196 return rv; in ls_level_store() [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | ov7640.c | 31 const struct reg_val *rv, int len) in write_regs() argument 34 if (i2c_smbus_write_byte_data(client, rv->reg, rv->val) < 0) in write_regs() 36 rv++; in write_regs()
|
/openbmc/linux/fs/proc/ |
H A D | fd.c | 339 int rv; in proc_fd_permission() local 341 rv = generic_permission(&nop_mnt_idmap, inode, mask); in proc_fd_permission() 342 if (rv == 0) in proc_fd_permission() 343 return rv; in proc_fd_permission() 348 rv = 0; in proc_fd_permission() 351 return rv; in proc_fd_permission() 359 int rv = 0; in proc_fd_getattr() local 365 rv = proc_readfd_count(inode, &stat->size); in proc_fd_getattr() 366 if (rv < 0) in proc_fd_getattr() 367 return rv; in proc_fd_getattr() [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | hbm_kern.h | 165 int rv = ALLOW_PKT; in hbm_update_stats() local 198 rv = DROP_PKT; in hbm_update_stats() 200 rv |= 2; in hbm_update_stats() 201 if (rv == DROP_PKT) in hbm_update_stats() 204 else if (rv == ALLOW_PKT) in hbm_update_stats() 207 else if (rv == 2) in hbm_update_stats() 210 else if (rv == 3) in hbm_update_stats()
|