Home
last modified time | relevance | path

Searched refs:retval (Results 726 - 750 of 3211) sorted by relevance

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

/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()
/third_party/ffmpeg/libavcodec/
H A Dpcm-bluray.c131 int num_source_channels, channel, retval; in pcm_bluray_decode_frame() local
141 if ((retval = pcm_bluray_parse_header(avctx, src))) in pcm_bluray_decode_frame()
142 return retval; in pcm_bluray_decode_frame()
156 if ((retval = ff_get_buffer(avctx, frame, 0)) < 0) in pcm_bluray_decode_frame()
157 return retval; in pcm_bluray_decode_frame()
295 retval = bytestream2_tell(&gb); in pcm_bluray_decode_frame()
298 retval, buf_size); in pcm_bluray_decode_frame()
299 return retval + 4; in pcm_bluray_decode_frame()
/third_party/ltp/testcases/kernel/syscalls/send/
H A Dsend01.c62 int retval; member
85 .retval = -1,
97 .retval = -1,
111 .retval = -1,
124 .retval = -1,
136 .retval = -1,
150 .retval = -1,
282 TEST_RETURN, tdat[testno].retval, in main()
/kernel/linux/linux-5.10/drivers/usb/phy/
H A Dphy-mv-usb.c240 int retval = 0; in mv_otg_enable_internal() local
249 retval = mvotg->pdata->phy_init(mvotg->phy_regs); in mv_otg_enable_internal()
250 if (retval) { in mv_otg_enable_internal()
252 "init phy error %d\n", retval); in mv_otg_enable_internal()
254 return retval; in mv_otg_enable_internal()
669 int retval = 0, i; in mv_otg_probe() local
721 retval = -ENODEV; in mv_otg_probe()
728 retval = -EFAULT; in mv_otg_probe()
736 retval = -ENODEV; in mv_otg_probe()
743 retval in mv_otg_probe()
[all...]
/kernel/linux/linux-5.10/fs/
H A Ddirect-io.c1135 ssize_t retval = -EINVAL; in do_blockdev_direct_IO() local
1173 retval = 0; in do_blockdev_direct_IO()
1188 retval = filemap_write_and_wait_range(mapping, offset, end - 1); in do_blockdev_direct_IO()
1189 if (retval) in do_blockdev_direct_IO()
1223 retval = 0; in do_blockdev_direct_IO()
1225 retval = dio_set_defer_completion(dio); in do_blockdev_direct_IO()
1232 retval = sb_init_dio_done_wq(dio->inode->i_sb); in do_blockdev_direct_IO()
1234 if (retval) in do_blockdev_direct_IO()
1243 retval = 0; in do_blockdev_direct_IO()
1274 retval in do_blockdev_direct_IO()
[all...]
/kernel/linux/linux-6.6/fs/
H A Ddirect-io.c1112 ssize_t retval = -EINVAL; in __blockdev_direct_IO() local
1151 retval = 0; in __blockdev_direct_IO()
1166 retval = filemap_write_and_wait_range(mapping, offset, end - 1); in __blockdev_direct_IO()
1167 if (retval) in __blockdev_direct_IO()
1198 retval = 0; in __blockdev_direct_IO()
1200 retval = dio_set_defer_completion(dio); in __blockdev_direct_IO()
1207 retval = sb_init_dio_done_wq(dio->inode->i_sb); in __blockdev_direct_IO()
1209 if (retval) in __blockdev_direct_IO()
1218 retval = 0; in __blockdev_direct_IO()
1248 retval in __blockdev_direct_IO()
[all...]
H A Dbinfmt_elf.c470 int retval = -1; in load_elf_phdrs() local
491 retval = elf_read(elf_file, elf_phdata, size, elf_ex->e_phoff); in load_elf_phdrs()
494 if (retval) { in load_elf_phdrs()
833 int retval, i; in load_elf_binary() local
846 retval = -ENOEXEC; in load_elf_binary()
880 retval = -ENOEXEC; in load_elf_binary()
884 retval = -ENOMEM; in load_elf_binary()
889 retval = elf_read(bprm->file, elf_interpreter, elf_ppnt->p_filesz, in load_elf_binary()
891 if (retval < 0) in load_elf_binary()
894 retval in load_elf_binary()
1373 int retval, error, i, j; load_elf_library() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/phy/
H A Dphy-mv-usb.c240 int retval = 0; in mv_otg_enable_internal() local
249 retval = mvotg->pdata->phy_init(mvotg->phy_regs); in mv_otg_enable_internal()
250 if (retval) { in mv_otg_enable_internal()
252 "init phy error %d\n", retval); in mv_otg_enable_internal()
254 return retval; in mv_otg_enable_internal()
665 int retval = 0, i; in mv_otg_probe() local
717 retval = -ENODEV; in mv_otg_probe()
724 retval = -EFAULT; in mv_otg_probe()
732 retval = -ENODEV; in mv_otg_probe()
739 retval in mv_otg_probe()
[all...]
/third_party/FreeBSD/sbin/fsck_msdosfs/
H A Dfat.c224 cl_t retval; in fat_get_fat12_next() local
227 retval = le16dec(p); in fat_get_fat12_next()
230 retval >>= 4; in fat_get_fat12_next()
231 retval &= CLUST12_MASK; in fat_get_fat12_next()
233 if (retval >= (CLUST_BAD & CLUST12_MASK)) in fat_get_fat12_next()
234 retval |= ~CLUST12_MASK; in fat_get_fat12_next()
236 return (retval); in fat_get_fat12_next()
281 cl_t retval; in fat_get_fat16_next() local
284 retval = le16dec(p) & CLUST16_MASK; in fat_get_fat16_next()
286 if (retval > in fat_get_fat16_next()
320 cl_t retval; fat_get_fat32_next() local
462 cl_t retval; fat_get_fat32_cached_next() local
[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/kernel/cgroup/
H A Dcpuset.c1566 int retval; in update_cpumask() local
1582 retval = cpulist_parse(buf, trialcs->cpus_requested); in update_cpumask()
1583 if (retval < 0) in update_cpumask()
1584 return retval; in update_cpumask()
1597 retval = validate_change(cs, trialcs); in update_cpumask()
1598 if (retval < 0) in update_cpumask()
1599 return retval; in update_cpumask()
1856 int retval; in update_nodemask() local
1863 retval = -EACCES; in update_nodemask()
1876 retval in update_nodemask()
2393 int retval = 0; cpuset_write_u64() local
2442 int retval = -ENODEV; cpuset_write_s64() local
2471 int retval = -ENODEV; cpuset_write_resmask() local
2640 int retval = -ENODEV; sched_partition_write() local
3739 int retval; proc_cpuset_show() local
[all...]
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dia64-acpi-cpufreq.c50 s64 retval; in processor_set_pstate() local
54 retval = ia64_pal_set_pstate((u64)value); in processor_set_pstate()
56 if (retval) { in processor_set_pstate()
58 value, retval); in processor_set_pstate()
61 return (int)retval; in processor_set_pstate()
70 s64 retval; in processor_get_pstate() local
74 retval = ia64_pal_get_pstate(&pstate_index, in processor_get_pstate()
78 if (retval) in processor_get_pstate()
80 "error 0x%lx, idx 0x%x\n", retval, *value); in processor_get_pstate()
82 return (int)retval; in processor_get_pstate()
[all...]
/kernel/linux/linux-5.10/drivers/input/serio/
H A Dlibps2.c88 int retval; in ps2_sendbyte() local
92 retval = ps2_do_sendbyte(ps2dev, byte, timeout, 1); in ps2_sendbyte()
97 return retval; in ps2_sendbyte()
350 int retval; in ps2_sliced_command() local
354 retval = __ps2_command(ps2dev, NULL, PS2_CMD_SETSCALE11); in ps2_sliced_command()
355 if (retval) in ps2_sliced_command()
360 retval = __ps2_command(ps2dev, &d, PS2_CMD_SETRES); in ps2_sliced_command()
361 if (retval) in ps2_sliced_command()
366 dev_dbg(&ps2dev->serio->dev, "%02x - %d\n", command, retval); in ps2_sliced_command()
368 return retval; in ps2_sliced_command()
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dehci-pci.c65 int retval; in ehci_pci_reinit() local
72 retval = pci_set_mwi(pdev); in ehci_pci_reinit()
73 if (!retval) in ehci_pci_reinit()
95 int retval; in ehci_pci_setup() local
159 retval = -EIO; in ehci_pci_setup()
256 retval = ehci_setup(hcd); in ehci_pci_setup()
257 if (retval) in ehci_pci_setup()
258 return retval; in ehci_pci_setup()
335 retval = ehci_pci_reinit(ehci, pdev); in ehci_pci_setup()
337 return retval; in ehci_pci_setup()
[all...]
/kernel/linux/linux-5.10/sound/soc/intel/atom/
H A Dsst-mfld-platform-compress.c100 int retval; in sst_platform_compr_set_params() local
110 retval = sst_fill_stream_params(cstream, ctx, &str_params, true); in sst_platform_compr_set_params()
111 pr_debug("compr_set_params: fill stream params ret_val = 0x%x\n", retval); in sst_platform_compr_set_params()
112 if (retval < 0) in sst_platform_compr_set_params()
113 return retval; in sst_platform_compr_set_params()
159 retval = stream->compr_ops->open(sst->dev, &str_params, &cb); in sst_platform_compr_set_params()
160 if (retval < 0) { in sst_platform_compr_set_params()
161 pr_err("stream allocation failed %d\n", retval); in sst_platform_compr_set_params()
162 return retval; in sst_platform_compr_set_params()
165 stream->id = retval; in sst_platform_compr_set_params()
[all...]
/kernel/linux/linux-5.10/fs/f2fs/
H A Dacl.c173 int retval; in __f2fs_get_acl() local
178 retval = f2fs_getxattr(inode, name_index, "", NULL, 0, dpage); in __f2fs_get_acl()
179 if (retval > 0) { in __f2fs_get_acl()
180 value = f2fs_kmalloc(F2FS_I_SB(inode), retval, GFP_F2FS_ZERO); in __f2fs_get_acl()
183 retval = f2fs_getxattr(inode, name_index, "", value, in __f2fs_get_acl()
184 retval, dpage); in __f2fs_get_acl()
187 if (retval > 0) in __f2fs_get_acl()
188 acl = f2fs_acl_from_disk(value, retval); in __f2fs_get_acl()
189 else if (retval == -ENODATA) in __f2fs_get_acl()
192 acl = ERR_PTR(retval); in __f2fs_get_acl()
[all...]
/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dpciehp_core.c54 int retval; in init_slot() local
80 retval = pci_hp_initialize(&ctrl->hotplug_slot, in init_slot()
82 if (retval) { in init_slot()
83 ctrl_err(ctrl, "pci_hp_initialize failed: error %d\n", retval); in init_slot()
86 return retval; in init_slot()
358 int retval = 0; in pcie_hp_init() local
360 retval = pcie_port_service_register(&hpdriver_portdrv); in pcie_hp_init()
361 pr_debug("pcie_port_service_register = %d\n", retval); in pcie_hp_init()
362 if (retval) in pcie_hp_init()
365 return retval; in pcie_hp_init()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/sis/
H A Dsis_mm.c90 int retval = 0, user_key; in sis_drm_alloc() local
107 retval = -ENOMEM; in sis_drm_alloc()
113 retval = drm_mm_insert_node(&dev_priv->agp_mm, in sis_drm_alloc()
122 retval = -ENOMEM; in sis_drm_alloc()
125 retval = drm_mm_insert_node(&dev_priv->vram_mm, in sis_drm_alloc()
131 if (retval) in sis_drm_alloc()
134 retval = idr_alloc(&dev_priv->object_idr, item, 1, 0, GFP_KERNEL); in sis_drm_alloc()
135 if (retval < 0) in sis_drm_alloc()
137 user_key = retval; in sis_drm_alloc()
163 return retval; in sis_drm_alloc()
[all...]
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-ds2404.c210 int retval = -EBUSY; in rtc_probe() local
220 retval = ds2404_gpio_map(chip, pdev, pdata); in rtc_probe()
221 if (retval) in rtc_probe()
222 return retval; in rtc_probe()
224 retval = devm_add_action_or_reset(&pdev->dev, ds2404_gpio_unmap, chip); in rtc_probe()
225 if (retval) in rtc_probe()
226 return retval; in rtc_probe()
237 retval = rtc_register_device(chip->rtc); in rtc_probe()
238 if (retval) in rtc_probe()
239 return retval; in rtc_probe()
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dehci-pci.c65 int retval; in ehci_pci_reinit() local
72 retval = pci_set_mwi(pdev); in ehci_pci_reinit()
73 if (!retval) in ehci_pci_reinit()
95 int retval; in ehci_pci_setup() local
159 retval = -EIO; in ehci_pci_setup()
260 retval = ehci_setup(hcd); in ehci_pci_setup()
261 if (retval) in ehci_pci_setup()
262 return retval; in ehci_pci_setup()
339 retval = ehci_pci_reinit(ehci, pdev); in ehci_pci_setup()
341 return retval; in ehci_pci_setup()
[all...]

Completed in 22 milliseconds

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