Searched refs:ret (Results 51 - 75 of 1408) sorted by relevance

1234567891011>>

/arch/s390/include/asm/
H A Dfutex.h16 int oldval, ret; local
25 ret = uaccess.futex_atomic_op(op, uaddr, oparg, &oldval);
28 if (!ret) {
30 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break;
31 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break;
32 case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break;
33 case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break;
34 case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break;
35 case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break;
36 default: ret
[all...]
/arch/avr32/boards/mimc200/
H A Dfram.c27 int ret; local
29 ret = remap_pfn_range(vma,
35 if (ret != 0)
58 int ret; local
60 ret = misc_register(&fram_dev);
61 if (ret) {
64 return ret;
/arch/x86/include/asm/
H A Duaccess_32.h47 unsigned long ret; local
52 1, ret, 1);
53 return ret;
56 2, ret, 2);
57 return ret;
60 4, ret, 4);
61 return ret;
97 unsigned long ret; local
101 __get_user_size(*(u8 *)to, from, 1, ret, 1);
102 return ret;
141 unsigned long ret; local
163 unsigned long ret; local
[all...]
H A Dtsc.h24 unsigned long long ret = 0; local
30 rdtscll(ret);
32 return ret;
H A Dword-at-a-time.h55 unsigned long ret, dummy; local
72 :"=&r" (ret),"=&c" (dummy)
76 return ret;
/arch/x86/platform/uv/
H A Duv_sysfs.c49 unsigned long ret; local
61 ret = sysfs_create_file(sgi_uv_kobj, &partition_id_attr.attr);
62 if (ret) {
64 return ret;
67 ret = sysfs_create_file(sgi_uv_kobj, &coherence_id_attr.attr);
68 if (ret) {
70 return ret;
/arch/arm/mach-pnx4008/
H A Dgpio.c55 int ret = -EFAULT; local
63 ret = (val & bit) ? 1 : 0;
66 return ret;
72 int ret = -EFAULT; local
82 ret = 0;
85 return ret;
122 int ret = -EBUSY; /* Already in use */ local
152 ret = 0;
156 return ret;
164 int ret local
201 unsigned long ret = -EFAULT; local
230 int ret = -EFAULT; local
257 int ret = -EFAULT; local
273 int ret = -EFAULT; local
290 int ret = -EFAULT; local
314 int ret = -EFAULT; local
[all...]
/arch/mips/cavium-octeon/
H A Docteon-platform.c31 int ret = 0; local
45 return ret;
102 ret = -ENOMEM;
107 ret = platform_device_add_resources(pd, cf_resources, num_resources);
108 if (ret)
111 ret = platform_device_add(pd);
112 if (ret)
115 return ret;
119 return ret;
127 int ret local
186 int ret = 0; local
253 int ret = 0; local
283 int ret = 0; local
346 int ret = 0; local
395 int ret = 0; local
[all...]
/arch/cris/include/asm/
H A Duaccess.h225 unsigned long ret = 0; local
229 __asm_copy_from_user_1(to, from, ret);
231 __asm_copy_from_user_2(to, from, ret);
233 __asm_copy_from_user_3(to, from, ret);
235 __asm_copy_from_user_4(to, from, ret);
237 __asm_copy_from_user_5(to, from, ret);
239 __asm_copy_from_user_6(to, from, ret);
241 __asm_copy_from_user_7(to, from, ret);
243 __asm_copy_from_user_8(to, from, ret);
245 __asm_copy_from_user_9(to, from, ret);
275 unsigned long ret = 0; local
325 unsigned long ret = 0; local
[all...]
/arch/powerpc/platforms/cell/spufs/
H A Drun.c83 int ret; local
91 ret = -ENODEV;
114 ret = -EIO;
136 ret = 0;
143 ret = -EIO;
154 ret = -EACCES;
162 ret = -EINVAL;
172 return ret;
178 int ret; local
188 ret
246 int ret = 0; local
275 int ret; local
314 int ret; local
354 int ret; local
[all...]
/arch/openrisc/kernel/
H A Dptrace.c57 int ret; local
60 ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, 0, 4);
62 if (!ret)
63 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
65 if (!ret)
66 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
68 if (!ret)
69 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
71 if (!ret)
72 ret
87 int ret; local
162 int ret; local
179 long ret = 0; local
[all...]
/arch/arm/plat-samsung/
H A Dpd.c49 int ret = 0; local
52 ret = pdata->disable(dev);
55 return ret;
61 int ret = 0; local
64 ret = pdata->enable(dev);
67 return ret;
87 int ret; local
89 ret = platform_driver_register(&samsung_pd_driver);
90 if (ret)
93 return ret;
[all...]
/arch/cris/arch-v32/mach-a3/
H A Dvcs_hook.c33 unsigned ret; local
39 ret = *hook_base;
49 ret = VHOOK_DATA(1);
51 return ret;
58 unsigned ret; local
69 ret = hook_trig(id);
71 return ret;
77 unsigned ret; local
88 ret = hook_trig(id);
90 return ret;
[all...]
/arch/powerpc/platforms/pseries/
H A Dkexec.c28 int ret; local
33 ret = unregister_dtl(hwcpu);
34 if (ret) {
37 cpu, hwcpu, ret);
41 ret = unregister_slb_shadow(hwcpu);
42 if (ret) {
45 cpu, hwcpu, ret);
48 ret = unregister_vpa(hwcpu);
49 if (ret) {
51 "(hw %d) failed with %d\n", cpu, hwcpu, ret);
[all...]
/arch/xtensa/kernel/
H A Dpci-dma.c35 unsigned long ret; local
44 ret = (unsigned long)__get_free_pages(flag, get_order(size));
46 if (ret == 0)
51 if (ret < XCHAL_KSEG_CACHED_VADDR
52 || ret >= XCHAL_KSEG_CACHED_VADDR + XCHAL_KSEG_SIZE)
56 if (ret != 0) {
57 memset((void*) ret, 0, size);
58 uncached = ret+XCHAL_KSEG_BYPASS_VADDR-XCHAL_KSEG_CACHED_VADDR;
59 *handle = virt_to_bus((void*)ret);
60 __flush_invalidate_dcache_range(ret, siz
[all...]
/arch/arm/mach-davinci/
H A Dboard-da830-evm.c108 int ret; local
144 ret = davinci_cfg_reg(DA830_USB0_DRVVBUS);
145 if (ret)
147 __func__, ret);
153 ret = da8xx_register_usb20(1000, 3);
154 if (ret)
156 __func__, ret);
159 ret = davinci_cfg_reg_list(da830_evm_usb11_pins);
160 if (ret) {
162 __func__, ret);
254 int ret; local
411 int ret; local
438 int ret; local
601 int ret; local
[all...]
H A Dboard-omapl138-hawk.c43 int ret; local
49 ret = davinci_cfg_reg_list(omapl138_hawk_mii_pins);
50 if (ret) {
52 __func__, ret);
62 ret = da8xx_register_emac();
63 if (ret)
65 __func__, ret);
146 int ret; local
148 ret = davinci_cfg_reg_list(hawk_mmcsd0_pins);
149 if (ret) {
248 int ret; local
302 int ret; local
[all...]
/arch/arm/mach-sa1100/
H A Djornada720_ssp.c61 u16 ret; local
71 ret = jornada_ssp_reverse(byte) << 8;
73 ssp_write_word(ret);
74 ssp_read_word(&ret);
76 return jornada_ssp_reverse(ret);
88 int ret, i; local
92 ret = jornada_ssp_byte(byte);
94 if (ret != TXDUMMY) {
101 ret = jornada_ssp_byte(TXDUMMY);
103 return ret;
134 int ret; local
[all...]
/arch/mn10300/kernel/
H A Dkgdb.c161 int ret; local
163 ret = probe_kernel_read(&cur, pc, 1);
164 if (ret < 0)
165 return ret;
176 ret = probe_kernel_read(&arg, pc + 1, 1);
177 if (ret < 0)
178 return ret;
202 ret = probe_kernel_read(&arg, pc + 1, 2);
203 if (ret < 0)
204 return ret;
453 int ret; local
[all...]
/arch/x86/um/vdso/
H A Dum_vdso.c21 long ret; local
23 asm("syscall" : "=a" (ret) :
26 return ret;
33 long ret; local
35 asm("syscall" : "=a" (ret) :
38 return ret;
/arch/ia64/oprofile/
H A Dinit.c21 int ret = -ENODEV; local
25 ret = perfmon_init(ops);
29 return ret;
/arch/sparc/include/asm/
H A Dupa.h29 unsigned char ret; local
32 : "=r" (ret)
35 return ret;
40 unsigned short ret; local
43 : "=r" (ret)
46 return ret;
51 unsigned int ret; local
54 : "=r" (ret)
57 return ret;
62 unsigned long ret; local
[all...]
/arch/arm/mach-exynos/
H A Dsetup-fimc.c19 int ret; local
39 ret = s3c_gpio_cfgall_range(gpio8, 8, sfn, S3C_GPIO_PULL_UP);
40 if (ret)
41 return ret;
/arch/arm/mach-omap2/
H A Dclock2xxx.c60 int ret; local
65 ret = omap2_clk_switch_mpurate_at_boot("virt_prcm_set");
66 if (!ret)
69 return ret;
/arch/arm/mach-s5pv210/
H A Dsetup-fimc.c18 int ret; local
36 ret = s3c_gpio_cfgall_range(gpio8, 8, S3C_GPIO_SFN(2),
38 if (ret)
39 return ret;

Completed in 651 milliseconds

1234567891011>>