Home
last modified time | relevance | path

Searched refs:retval (Results 701 - 725 of 3215) sorted by relevance

1...<<21222324252627282930>>...129

/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00soc.c68 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 Drtc.c40 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 Dtest_xsk.sh143 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 Dgetopt.c165 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 Dqpu_disasm.c123 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 Dfcntl18.c64 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.c36 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 Drecvmmsg.c34 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 Dflow_dissector_load_bytes.c8 __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 Dspinlock.c7 __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 Dmain_per_task.c43 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 Dmain_per_cpu.c43 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 Dmain_global.c43 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 Dfile_parser.py152 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 Dehci-fsl.c53 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 Dusb.c1073 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 Dehci-fsl.c53 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 Dsendmsg01.c97 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 Dfork.c653 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 Dtail_conversion.c44 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 Dhdpvr-i2c.c114 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 Dusb.c165 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 Dhdpvr-i2c.c114 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 Dtail_conversion.c44 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 Dusb.c165 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()

Completed in 13 milliseconds

1...<<21222324252627282930>>...129