/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00soc.c | 68 int retval; in rt2x00soc_probe() local 91 retval = rt2x00soc_alloc_reg(rt2x00dev); in rt2x00soc_probe() 92 if (retval) in rt2x00soc_probe() 95 retval = rt2x00lib_probe_dev(rt2x00dev); in rt2x00soc_probe() 96 if (retval) in rt2x00soc_probe() 107 return retval; in rt2x00soc_probe()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | rtc.c | 40 int retval = 0; in mach_set_cmos_time() local 44 retval = mc146818_set_time(&tm); in mach_set_cmos_time() 45 if (retval) in mach_set_cmos_time() 47 __func__, retval); in mach_set_cmos_time() 52 retval = -EINVAL; in mach_set_cmos_time() 54 return retval; in mach_set_cmos_time()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_xsk.sh | 143 retval=$? 144 if [ $retval -ne 0 ]; then 145 test_status $retval "${TEST_NAME}" 147 exit $retval 156 retval=$? 157 test_status $retval "${TEST_NAME}"
|
/third_party/glfw/deps/ |
H A D | getopt.c | 165 int retval = -1; in getopt_long() local 199 retval = match->flag ? 0 : match->val; in getopt_long() 214 retval = ':'; in getopt_long() 221 retval = '?'; in getopt_long() 225 retval = '?'; in getopt_long() 229 return retval; in getopt_long()
|
/third_party/mesa3d/src/broadcom/qpu/tests/ |
H A D | qpu_disasm.c | 123 int retval = 0; in main() local 142 retval = 1; in main() 150 retval = 1; in main() 176 retval = 1; in main() 185 retval = 1; in main() 192 return retval; in main()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl18.c | 64 int retval; in main() local 83 retval = fcntl(fd, F_GETLK, (struct flock *)INVAL_FLAG); in main() 106 retval = fcntl(fd, F_GETLK, (struct flock *)INVAL_FLAG); in main() 129 retval = setreuid(-1, pass->pw_uid); in main() 130 if (retval < 0) { in main() 137 retval = fcntl(fd, INVAL_FLAG, &fl); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
H A D | __recvmmsg_time64.c | 36 int retval; in sendsss() local 69 retval = sendmmsg(sockfd, msg, 2, 0); in sendsss() 70 if (retval == -1) in sendsss() 79 int sockfd, retval; in recvsss() local 111 retval = __recvmmsg_time64(sockfd, msgs, VLEN, 0, &timeout); in recvsss() 112 if (retval == -1) { in recvsss()
|
H A D | recvmmsg.c | 34 int retval; in sendsss() local 67 retval = sendmmsg(sockfd, msg, 2, 0); in sendsss() 68 if (retval == -1) in sendsss() 77 int sockfd, retval; in recvsss() local 109 retval = recvmmsg(sockfd, msgs, VLEN, 0, &timeout); in recvsss() 110 if (retval == -1) { in recvsss()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | flow_dissector_load_bytes.c | 8 __u32 duration = 0, retval, size; in test_flow_dissector_load_bytes() local 41 &flow_keys, &size, &retval, &duration); in test_flow_dissector_load_bytes() 42 CHECK(size != sizeof(flow_keys) || err || retval != 1, in test_flow_dissector_load_bytes() 44 "err %d errno %d retval %d duration %d size %u/%zu\n", in test_flow_dissector_load_bytes() 45 err, errno, retval, duration, size, sizeof(flow_keys)); in test_flow_dissector_load_bytes()
|
H A D | spinlock.c | 7 __u32 duration, retval; in spin_lock_thread() local 11 NULL, NULL, &retval, &duration); in spin_lock_thread() 12 CHECK(err || retval, "", in spin_lock_thread() 13 "err %d errno %d retval %d duration %d\n", in spin_lock_thread() 14 err, errno, retval, duration); in spin_lock_thread()
|
/kernel/linux/linux-6.6/tools/verification/dot2/dot2k_templates/ |
H A D | main_per_task.c | 43 int retval; in enable_MODEL_NAME() local 45 retval = da_monitor_init_MODEL_NAME(); in enable_MODEL_NAME() 46 if (retval) in enable_MODEL_NAME() 47 return retval; in enable_MODEL_NAME()
|
H A D | main_per_cpu.c | 43 int retval; in enable_MODEL_NAME() local 45 retval = da_monitor_init_MODEL_NAME(); in enable_MODEL_NAME() 46 if (retval) in enable_MODEL_NAME() 47 return retval; in enable_MODEL_NAME()
|
H A D | main_global.c | 43 int retval; in enable_MODEL_NAME() local 45 retval = da_monitor_init_MODEL_NAME(); in enable_MODEL_NAME() 46 if (retval) in enable_MODEL_NAME() 47 return retval; in enable_MODEL_NAME()
|
/base/web/webview/ohos_interface/ohos_glue/scripts/ |
H A D | file_parser.py | 152 oldretval = old['retval'].replace('struct _', '') 154 newretval = new['retval'].replace('struct _', '') 177 '\n // WAS: '+old['retval']+ \ 178 '\n // NOW: '+new['retval'] 458 for retval, argval, vfmod, body in list: 459 if retval.find(ident) < 0: 464 retval = retval.replace(ident, '') 465 retval = retval [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ehci-fsl.c | 53 int retval; in fsl_ehci_drv_probe() local 91 retval = -ENOMEM; in fsl_ehci_drv_probe() 98 retval = PTR_ERR(hcd->regs); in fsl_ehci_drv_probe() 114 retval = -ENODEV; in fsl_ehci_drv_probe() 146 retval = usb_add_hcd(hcd, irq, IRQF_SHARED); in fsl_ehci_drv_probe() 147 if (retval != 0) in fsl_ehci_drv_probe() 160 retval = otg_set_host(hcd->usb_phy->otg, in fsl_ehci_drv_probe() 162 if (retval) { in fsl_ehci_drv_probe() 168 retval = -ENODEV; in fsl_ehci_drv_probe() 175 return retval; in fsl_ehci_drv_probe() 378 int retval; ehci_fsl_setup() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | usb.c | 1073 int retval; in usb_init() local 1083 retval = bus_register(&usb_bus_type); in usb_init() 1084 if (retval) in usb_init() 1086 retval = bus_register_notifier(&usb_bus_type, &usb_bus_nb); in usb_init() 1087 if (retval) in usb_init() 1089 retval = usb_major_init(); in usb_init() 1090 if (retval) in usb_init() 1092 retval = class_register(&usbmisc_class); in usb_init() 1093 if (retval) in usb_init() 1095 retval in usb_init() [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ehci-fsl.c | 53 int retval; in fsl_ehci_drv_probe() local 86 retval = -ENOMEM; in fsl_ehci_drv_probe() 92 retval = PTR_ERR(hcd->regs); in fsl_ehci_drv_probe() 108 retval = -ENODEV; in fsl_ehci_drv_probe() 140 retval = usb_add_hcd(hcd, irq, IRQF_SHARED); in fsl_ehci_drv_probe() 141 if (retval != 0) in fsl_ehci_drv_probe() 154 retval = otg_set_host(hcd->usb_phy->otg, in fsl_ehci_drv_probe() 156 if (retval) { in fsl_ehci_drv_probe() 162 retval = -ENODEV; in fsl_ehci_drv_probe() 169 return retval; in fsl_ehci_drv_probe() 372 int retval; ehci_fsl_setup() local [all...] |
/third_party/ltp/testcases/kernel/syscalls/sendmsg/ |
H A D | sendmsg01.c | 97 int retval; /* syscall return value */ member 116 .retval = -1, 133 .retval = -1, 150 .retval = -1, 167 .retval = 0, 184 .retval = -1, 201 .retval = -1, 217 .retval = -1, 233 .retval = -1, 250 .retval [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | fork.c | 653 int retval; in dup_mmap() local 661 retval = -EINTR; in dup_mmap() 679 retval = ksm_fork(mm, oldmm); in dup_mmap() 680 if (retval) in dup_mmap() 684 retval = vma_iter_bulk_alloc(&vmi, oldmm->map_count); in dup_mmap() 685 if (retval) in dup_mmap() 703 retval = -EINTR; in dup_mmap() 716 retval = vma_dup_policy(mpnt, tmp); in dup_mmap() 717 if (retval) in dup_mmap() 720 retval in dup_mmap() 2260 int pidfd = -1, retval; copy_process() local [all...] |
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | tail_conversion.c | 44 int retval; in direct2indirect() local 83 retval = in direct2indirect() 88 retval = reiserfs_paste_into_item(th, path, &end_key, inode, in direct2indirect() 92 if (retval) { in direct2indirect() 93 return retval; in direct2indirect() 139 retval = reiserfs_delete_item(th, path, &end_key, inode, in direct2indirect() 142 total_tail += retval; in direct2indirect() 145 if (tail_size == retval) in direct2indirect()
|
/kernel/linux/linux-5.10/drivers/media/usb/hdpvr/ |
H A D | hdpvr-i2c.c | 114 int retval = 0, addr; in hdpvr_transfer() local 122 retval = hdpvr_i2c_read(dev, 1, addr, NULL, 0, in hdpvr_transfer() 125 retval = hdpvr_i2c_write(dev, 1, addr, msgs[0].buf, in hdpvr_transfer() 130 retval = -EINVAL; in hdpvr_transfer() 138 retval = -EINVAL; in hdpvr_transfer() 146 retval = hdpvr_i2c_read(dev, 1, addr, msgs[0].buf, msgs[0].len, in hdpvr_transfer() 155 return retval ? retval : num; in hdpvr_transfer()
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | usb.c | 165 int retval; in gb_usb_probe() local 175 retval = PTR_ERR(connection); in gb_usb_probe() 187 retval = gb_connection_enable(connection); in gb_usb_probe() 188 if (retval) in gb_usb_probe() 199 retval = -EPROTONOSUPPORT; in gb_usb_probe() 203 retval = usb_add_hcd(hcd, 0, 0); in gb_usb_probe() 204 if (retval) in gb_usb_probe() 216 return retval; in gb_usb_probe()
|
/kernel/linux/linux-6.6/drivers/media/usb/hdpvr/ |
H A D | hdpvr-i2c.c | 114 int retval = 0, addr; in hdpvr_transfer() local 122 retval = hdpvr_i2c_read(dev, 1, addr, NULL, 0, in hdpvr_transfer() 125 retval = hdpvr_i2c_write(dev, 1, addr, msgs[0].buf, in hdpvr_transfer() 130 retval = -EINVAL; in hdpvr_transfer() 138 retval = -EINVAL; in hdpvr_transfer() 146 retval = hdpvr_i2c_read(dev, 1, addr, msgs[0].buf, msgs[0].len, in hdpvr_transfer() 155 return retval ? retval : num; in hdpvr_transfer()
|
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A D | tail_conversion.c | 44 int retval; in direct2indirect() local 83 retval = in direct2indirect() 88 retval = reiserfs_paste_into_item(th, path, &end_key, inode, in direct2indirect() 92 if (retval) { in direct2indirect() 93 return retval; in direct2indirect() 139 retval = reiserfs_delete_item(th, path, &end_key, inode, in direct2indirect() 142 total_tail += retval; in direct2indirect() 145 if (tail_size == retval) in direct2indirect()
|
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H A D | usb.c | 165 int retval; in gb_usb_probe() local 175 retval = PTR_ERR(connection); in gb_usb_probe() 187 retval = gb_connection_enable(connection); in gb_usb_probe() 188 if (retval) in gb_usb_probe() 199 retval = -EPROTONOSUPPORT; in gb_usb_probe() 203 retval = usb_add_hcd(hcd, 0, 0); in gb_usb_probe() 204 if (retval) in gb_usb_probe() 216 return retval; in gb_usb_probe()
|