/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | ldt.c | 446 int retval = 0; in ldt_dup_context() local 457 retval = -ENOMEM; in ldt_dup_context() 465 retval = map_ldt_struct(mm, new_ldt, 0); in ldt_dup_context() 466 if (retval) { in ldt_dup_context() 475 return retval; in ldt_dup_context() 498 int retval; in read_ldt() local 503 retval = 0; in read_ldt() 515 retval = -EFAULT; in read_ldt() 522 retval = -EFAULT; in read_ldt() 526 retval in read_ldt() [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
H A D | ivtv-i2c.c | 582 int retval; in ivtv_xfer() local 586 for (i = retval = 0; retval == 0 && i < num; i++) { in ivtv_xfer() 588 retval = ivtv_read(itv, msgs[i].addr, msgs[i].buf, msgs[i].len); in ivtv_xfer() 593 retval = ivtv_write(itv, msgs[i].addr, msgs[i].buf, msgs[i].len, stop); in ivtv_xfer() 597 return retval ? retval : num; in ivtv_xfer() 687 int retval; in init_ivtv_i2c() local 721 retval = i2c_add_adapter(&itv->i2c_adap); in init_ivtv_i2c() 723 retval in init_ivtv_i2c() [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ohci-omap.c | 296 int retval, irq; in ohci_hcd_omap_probe() local 324 retval = PTR_ERR(priv->power); in ohci_hcd_omap_probe() 338 retval = PTR_ERR(priv->overcurrent); in ohci_hcd_omap_probe() 346 retval = PTR_ERR(priv->usb_host_ck); in ohci_hcd_omap_probe() 356 retval = PTR_ERR(priv->usb_dc_ck); in ohci_hcd_omap_probe() 362 retval = -EBUSY; in ohci_hcd_omap_probe() 369 retval = -ENOMEM; in ohci_hcd_omap_probe() 375 retval = -ENXIO; in ohci_hcd_omap_probe() 378 retval = usb_add_hcd(hcd, irq, 0); in ohci_hcd_omap_probe() 379 if (retval) in ohci_hcd_omap_probe() [all...] |
H A D | ehci-tegra.c | 110 int retval = 0; in tegra_ehci_internal_port_reset() local 147 retval = -ETIMEDOUT; in tegra_ehci_internal_port_reset() 165 return retval; in tegra_ehci_internal_port_reset() 182 int retval = 0; in tegra_ehci_hub_control() local 200 retval = -EPIPE; in tegra_ehci_hub_control() 238 retval = -EPIPE; in tegra_ehci_hub_control() 279 return retval; in tegra_ehci_hub_control() 545 int retval; in tegra_ehci_reset() local 548 retval = ehci_setup(hcd); in tegra_ehci_reset() 549 if (retval) in tegra_ehci_reset() [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | acl.c | 121 int retval; in ocfs2_get_acl_nolock() local 134 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0); in ocfs2_get_acl_nolock() 135 if (retval > 0) { in ocfs2_get_acl_nolock() 136 value = kmalloc(retval, GFP_NOFS); in ocfs2_get_acl_nolock() 139 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, in ocfs2_get_acl_nolock() 140 "", value, retval); in ocfs2_get_acl_nolock() 143 if (retval > 0) in ocfs2_get_acl_nolock() 144 acl = ocfs2_acl_from_xattr(value, retval); in ocfs2_get_acl_nolock() 145 else if (retval == -ENODATA || retval in ocfs2_get_acl_nolock() [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/hdpvr/ |
H A D | hdpvr-core.c | 114 int ret, retval = -ENOMEM; in device_authorization() local 191 retval = ret != 8; in device_authorization() 194 return retval; in device_authorization() 276 int retval = -ENOMEM; in hdpvr_probe() local 359 retval = hdpvr_register_i2c_adapter(dev); in hdpvr_probe() 360 if (retval < 0) { in hdpvr_probe() 368 retval = PTR_ERR(client); in hdpvr_probe() 378 retval = -ENODEV; in hdpvr_probe() 382 retval = hdpvr_register_videodev(dev, &interface->dev, in hdpvr_probe() 384 if (retval < in hdpvr_probe() [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/hdpvr/ |
H A D | hdpvr-core.c | 114 int ret, retval = -ENOMEM; in device_authorization() local 191 retval = ret != 8; in device_authorization() 194 return retval; in device_authorization() 276 int retval = -ENOMEM; in hdpvr_probe() local 359 retval = hdpvr_register_i2c_adapter(dev); in hdpvr_probe() 360 if (retval < 0) { in hdpvr_probe() 368 retval = PTR_ERR(client); in hdpvr_probe() 378 retval = -ENODEV; in hdpvr_probe() 382 retval = hdpvr_register_videodev(dev, &interface->dev, in hdpvr_probe() 384 if (retval < in hdpvr_probe() [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | acl.c | 119 int retval; in ocfs2_get_acl_nolock() local 132 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0); in ocfs2_get_acl_nolock() 133 if (retval > 0) { in ocfs2_get_acl_nolock() 134 value = kmalloc(retval, GFP_NOFS); in ocfs2_get_acl_nolock() 137 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, in ocfs2_get_acl_nolock() 138 "", value, retval); in ocfs2_get_acl_nolock() 141 if (retval > 0) in ocfs2_get_acl_nolock() 142 acl = ocfs2_acl_from_xattr(value, retval); in ocfs2_get_acl_nolock() 143 else if (retval == -ENODATA || retval in ocfs2_get_acl_nolock() [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | uaccess.h | 308 #define __get_user_asm_u64(x, ptr, retval) \ 321 : [errout] "=r" (retval), \ 325 "0" (retval)); \ 329 #define __get_user_asm_u64(x, ptr, retval) \ 330 __get_user_asm(x, ptr, retval, "q") 333 #define __get_user_size(x, ptr, size, retval) \ 337 retval = 0; \ 341 __get_user_asm(x_u8__, ptr, retval, "b"); \ 345 __get_user_asm(x, ptr, retval, "w"); \ 348 __get_user_asm(x, ptr, retval, " [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
H A D | ivtv-i2c.c | 588 int retval; in ivtv_xfer() local 592 for (i = retval = 0; retval == 0 && i < num; i++) { in ivtv_xfer() 594 retval = ivtv_read(itv, msgs[i].addr, msgs[i].buf, msgs[i].len); in ivtv_xfer() 599 retval = ivtv_write(itv, msgs[i].addr, msgs[i].buf, msgs[i].len, stop); in ivtv_xfer() 603 return retval ? retval : num; in ivtv_xfer() 693 int retval; in init_ivtv_i2c() local 727 retval = i2c_add_adapter(&itv->i2c_adap); in init_ivtv_i2c() 729 retval in init_ivtv_i2c() [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | ldt.c | 454 int retval = 0; in ldt_dup_context() local 465 retval = -ENOMEM; in ldt_dup_context() 473 retval = map_ldt_struct(mm, new_ldt, 0); in ldt_dup_context() 474 if (retval) { in ldt_dup_context() 483 return retval; in ldt_dup_context() 506 int retval; in read_ldt() local 511 retval = 0; in read_ldt() 523 retval = -EFAULT; in read_ldt() 530 retval = -EFAULT; in read_ldt() 534 retval in read_ldt() [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_mirred.c | 227 int retval) in tcf_mirred_to_dev() 252 tcf_mirred_can_reinsert(retval); in tcf_mirred_to_dev() 285 retval = TC_ACT_CONSUMED; in tcf_mirred_to_dev() 296 return retval; in tcf_mirred_to_dev() 300 retval = TC_ACT_SHOT; in tcf_mirred_to_dev() 302 return retval; in tcf_mirred_to_dev() 310 int retval = READ_ONCE(m->tcf_action); in tcf_mirred_act() local 320 retval = TC_ACT_SHOT; in tcf_mirred_act() 337 retval = tcf_mirred_to_dev(skb, m, dev, m_mac_header_xmit, m_eaction, in tcf_mirred_act() 338 retval); in tcf_mirred_act() 224 tcf_mirred_to_dev(struct sk_buff *skb, struct tcf_mirred *m, struct net_device *dev, const bool m_mac_header_xmit, int m_eaction, int retval) tcf_mirred_to_dev() argument [all...] |
/kernel/linux/linux-6.6/tools/power/x86/turbostat/ |
H A D | turbostat.c | 597 int retval, pkg_no, core_no, thread_no, node_no; in for_all_cpus() local 615 retval = func(t, c, p); in for_all_cpus() 616 if (retval) in for_all_cpus() 617 return retval; in for_all_cpus() 692 ssize_t retval; in get_msr() local 694 retval = pread(get_msr_fd(cpu), msr, sizeof(*msr), offset); in get_msr() 696 if (retval != sizeof *msr) in get_msr() 763 unsigned long long retval = 0; in bic_lookup() local 775 retval |= (1ULL << i); in bic_lookup() 779 retval | in bic_lookup() 1626 int retval = 0; delta_cpu() local 1931 int retval; snapshot_sysfs_counter() local 2989 int retval, pkg_no, node_no, core_no, thread_no; for_all_cpus_2() local 3030 int retval; for_all_proc_cpus() local 3114 int column, retval; snapshot_proc_interrupts() local 3178 int retval; snapshot_gfx_rc6_ms() local 3202 int retval; snapshot_gfx_mhz() local 3229 int retval; snapshot_gfx_act_mhz() local 3254 int retval; snapshot_cpu_lpi_us() local 3279 int retval; snapshot_sys_lpi_us() local 3360 int retval; do_sleep() local 3508 int retval; set_my_sched_priority() local 3530 int retval; turbostat_loop() local 4122 int retval = -1; read_sysfs_int() local 5475 int retval; print_dev_latency() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/core/ |
H A D | driver.c | 53 int retval = 0; in usb_store_new_id() local 70 retval = -EINVAL; in usb_store_new_id() 82 retval = -ENODEV; in usb_store_new_id() 93 retval = -ENODEV; in usb_store_new_id() 102 retval = driver_attach(driver); in usb_store_new_id() 104 if (retval) in usb_store_new_id() 105 return retval; in usb_store_new_id() 110 return retval; in usb_store_new_id() 543 int retval = 0; in usb_driver_claim_interface() local 578 retval in usb_driver_claim_interface() 981 int retval = 0; usb_register_device_driver() local 1049 int retval = 0; usb_register_driver() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | driver.c | 53 int retval = 0; in usb_store_new_id() local 70 retval = -EINVAL; in usb_store_new_id() 82 retval = -ENODEV; in usb_store_new_id() 93 retval = -ENODEV; in usb_store_new_id() 102 retval = driver_attach(driver); in usb_store_new_id() 104 if (retval) in usb_store_new_id() 105 return retval; in usb_store_new_id() 110 return retval; in usb_store_new_id() 539 int retval = 0; in usb_driver_claim_interface() local 574 retval in usb_driver_claim_interface() 978 int retval = 0; usb_register_device_driver() local 1046 int retval = 0; usb_register_driver() local [all...] |
/kernel/linux/linux-5.10/kernel/irq/ |
H A D | manage.c | 2047 int retval; in request_threaded_irq() local 2095 retval = irq_chip_pm_get(&desc->irq_data); in request_threaded_irq() 2096 if (retval < 0) { in request_threaded_irq() 2098 return retval; in request_threaded_irq() 2101 retval = __setup_irq(irq, desc, action); in request_threaded_irq() 2103 if (retval) { in request_threaded_irq() 2110 if (!retval && (irqflags & IRQF_SHARED)) { in request_threaded_irq() 2128 return retval; in request_threaded_irq() 2205 int retval; in request_nmi() local 2238 retval in request_nmi() 2461 int retval; setup_percpu_irq() local 2501 int retval; __request_percpu_irq() local 2567 int retval; request_percpu_nmi() local [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
H A D | cx231xx-cards.c | 1402 int retval = -ENOMEM; in cx231xx_init_dev() local 1426 retval = initialize_cx231xx(dev); in cx231xx_init_dev() 1427 if (retval < 0) { in cx231xx_init_dev() 1429 return retval; in cx231xx_init_dev() 1442 retval = cx231xx_config(dev); in cx231xx_init_dev() 1443 if (retval) { in cx231xx_init_dev() 1452 retval = cx231xx_dev_init(dev); in cx231xx_init_dev() 1453 if (retval) { in cx231xx_init_dev() 1456 __func__, retval); in cx231xx_init_dev() 1475 retval in cx231xx_init_dev() 1694 int retval = -ENODEV; cx231xx_usb_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/cx231xx/ |
H A D | cx231xx-cards.c | 1402 int retval = -ENOMEM; in cx231xx_init_dev() local 1426 retval = initialize_cx231xx(dev); in cx231xx_init_dev() 1427 if (retval < 0) { in cx231xx_init_dev() 1429 return retval; in cx231xx_init_dev() 1442 retval = cx231xx_config(dev); in cx231xx_init_dev() 1443 if (retval) { in cx231xx_init_dev() 1452 retval = cx231xx_dev_init(dev); in cx231xx_init_dev() 1453 if (retval) { in cx231xx_init_dev() 1456 __func__, retval); in cx231xx_init_dev() 1475 retval in cx231xx_init_dev() 1694 int retval = -ENODEV; cx231xx_usb_probe() local [all...] |
/kernel/linux/linux-6.6/kernel/irq/ |
H A D | manage.c | 2152 int retval; in request_threaded_irq() local 2200 retval = irq_chip_pm_get(&desc->irq_data); in request_threaded_irq() 2201 if (retval < 0) { in request_threaded_irq() 2203 return retval; in request_threaded_irq() 2206 retval = __setup_irq(irq, desc, action); in request_threaded_irq() 2208 if (retval) { in request_threaded_irq() 2215 if (!retval && (irqflags & IRQF_SHARED)) { in request_threaded_irq() 2233 return retval; in request_threaded_irq() 2310 int retval; in request_nmi() local 2343 retval in request_nmi() 2566 int retval; setup_percpu_irq() local 2606 int retval; __request_percpu_irq() local 2672 int retval; request_percpu_nmi() local [all...] |
/kernel/linux/linux-6.6/net/bpf/ |
H A D | test_run.c | 393 u32 *retval, u32 *time, bool xdp) in bpf_test_run() 421 *retval = bpf_prog_run_xdp(prog, ctx); in bpf_test_run() 423 *retval = bpf_prog_run(prog, ctx); in bpf_test_run() 438 u32 retval, u32 duration) in bpf_test_finish() 491 if (copy_to_user(&uattr->test.retval, &retval, sizeof(retval))) in bpf_test_finish() 658 u32 retval = 0; in bpf_prog_test_run_tracing() local 674 bpf_fentry_test9(&retval) != 0) in bpf_prog_test_run_tracing() 690 retval in bpf_prog_test_run_tracing() 392 bpf_test_run(struct bpf_prog *prog, void *ctx, u32 repeat, u32 *retval, u32 *time, bool xdp) bpf_test_run() argument 435 bpf_test_finish(const union bpf_attr *kattr, union bpf_attr __user *uattr, const void *data, struct skb_shared_info *sinfo, u32 size, u32 retval, u32 duration) bpf_test_finish() argument 703 u32 retval; global() member 953 u32 retval, duration; bpf_prog_test_run_skb() local 1144 u32 retval = 0, duration, max_data_sz; bpf_prog_test_run_xdp() local 1312 u32 retval, duration; bpf_prog_test_run_flow_dissector() local 1377 u32 retval, duration; bpf_prog_test_run_sk_lookup() local 1476 u32 retval; bpf_prog_test_run_syscall() local 1583 u32 retval, duration; bpf_prog_test_run_nf() local [all...] |
/kernel/linux/linux-5.10/drivers/accessibility/speakup/ |
H A D | kobjects.c | 120 ssize_t retval = count; in chars_chartab_store() local 180 retval = -ENOMEM; in chars_chartab_store() 223 return retval; in chars_chartab_store() 759 ssize_t retval = count; in message_store_helper() local 821 retval = msg_stored; in message_store_helper() 836 return retval; in message_store_helper() 842 ssize_t retval = 0; in message_show() local 850 retval = message_show_helper(buf, group->start, group->end); in message_show() 852 return retval; in message_show() 1006 int retval; in speakup_kobj_init() local [all...] |
/kernel/linux/linux-6.6/drivers/accessibility/speakup/ |
H A D | kobjects.c | 120 ssize_t retval = count; in chars_chartab_store() local 180 retval = -ENOMEM; in chars_chartab_store() 223 return retval; in chars_chartab_store() 759 ssize_t retval = count; in message_store_helper() local 821 retval = msg_stored; in message_store_helper() 836 return retval; in message_store_helper() 842 ssize_t retval = 0; in message_show() local 850 retval = message_show_helper(buf, group->start, group->end); in message_show() 852 return retval; in message_show() 1009 int retval; in speakup_kobj_init() local [all...] |
/third_party/libsnd/src/ |
H A D | file_io.c | 137 { int retval ; in psf_fclose() local 147 if ((retval = psf_close_fd (psf->file.filedes)) == -1) in psf_fclose() 152 return retval ; in psf_fclose() 450 { int retval ; in psf_close_fd() local 455 while ((retval = close (fd)) == -1 && errno == EINTR) in psf_close_fd() 458 return retval ; in psf_close_fd() 527 { int retval ; in psf_ftruncate() local 536 retval = ftruncate (psf->file.filedes, len) ; in psf_ftruncate() 538 if (retval == -1) in psf_ftruncate() 541 return retval ; in psf_ftruncate() 659 { int retval ; psf_fclose() local 1165 { int retval = 0 ; psf_ftruncate() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | ioapic.c | 203 acpi_status status, retval = AE_OK; in acpi_ioapic_add() local 207 root_handle, (void **)&retval); in acpi_ioapic_add() 209 return ACPI_SUCCESS(status) && ACPI_SUCCESS(retval) ? 0 : -ENODEV; in acpi_ioapic_add() 231 int retval = 0; in acpi_ioapic_remove() local 239 retval = -EBUSY; in acpi_ioapic_remove() 247 return retval; in acpi_ioapic_remove()
|
/kernel/linux/linux-5.10/arch/openrisc/kernel/ |
H A D | signal.c | 232 unsigned long retval = 0; in do_signal() local 238 retval = regs->gpr[11]; in do_signal() 244 switch (retval) { in do_signal() 266 if (retval == -ERESTARTNOHAND || in do_signal() 267 retval == -ERESTART_RESTARTBLOCK in do_signal() 268 || (retval == -ERESTARTSYS in do_signal()
|