Home
last modified time | relevance | path

Searched refs:retval (Results 326 - 350 of 3170) sorted by relevance

1...<<11121314151617181920>>...127

/kernel/linux/linux-5.10/lib/
H A Dkobject_uevent.c315 int retval = 0; in uevent_net_broadcast_untagged() local
325 retval = -ENOMEM; in uevent_net_broadcast_untagged()
331 retval = netlink_broadcast(uevent_sock, skb_get(skb), 0, 1, in uevent_net_broadcast_untagged()
334 if (retval == -ENOBUFS || retval == -ESRCH) in uevent_net_broadcast_untagged()
335 retval = 0; in uevent_net_broadcast_untagged()
339 return retval; in uevent_net_broadcast_untagged()
483 int retval = 0; in kobject_uevent_env() local
546 retval = -ENOENT; in kobject_uevent_env()
551 retval in kobject_uevent_env()
[all...]
/kernel/linux/linux-6.6/lib/
H A Dkobject_uevent.c315 int retval = 0; in uevent_net_broadcast_untagged() local
325 retval = -ENOMEM; in uevent_net_broadcast_untagged()
331 retval = netlink_broadcast(uevent_sock, skb_get(skb), 0, 1, in uevent_net_broadcast_untagged()
334 if (retval == -ENOBUFS || retval == -ESRCH) in uevent_net_broadcast_untagged()
335 retval = 0; in uevent_net_broadcast_untagged()
339 return retval; in uevent_net_broadcast_untagged()
468 int retval = 0; in kobject_uevent_env() local
531 retval = -ENOENT; in kobject_uevent_env()
536 retval in kobject_uevent_env()
[all...]
/kernel/linux/linux-5.10/drivers/tty/
H A Dtty_io.c849 int retval = 0; in iterate_tty_read() local
865 if (retval) in iterate_tty_read()
867 retval = size; in iterate_tty_read()
874 if (retval == -EOVERFLOW) in iterate_tty_read()
891 retval = -EFAULT; in iterate_tty_read()
897 return offset ? offset : retval; in iterate_tty_read()
1346 int retval = 0; in tty_reopen() local
1362 retval = tty_ldisc_lock(tty, 5 * HZ); in tty_reopen()
1363 if (retval) in tty_reopen()
1364 return retval; in tty_reopen()
1405 int retval; tty_init_dev() local
1888 int retval; tty_open_current_tty() local
2030 int retval; tty_open_by_driver() local
2103 int noctty, retval; tty_open() local
2206 int retval = 0; __tty_fasync() local
2240 int retval = -ENOTTY; tty_fasync() local
2467 int retval; send_break() local
2508 int retval = -ENOTTY; tty_tiocmget() local
2534 int retval; tty_tiocmset() local
2563 int retval = -EINVAL; tty_tiocgicount() local
2631 int retval; tty_ioctl() local
2848 int retval = -ENOIOCTLCMD; tty_compat_ioctl() local
3213 int retval; tty_register_device_attr() local
[all...]
/kernel/linux/linux-6.6/drivers/tty/
H A Dtty_io.c852 ssize_t retval = 0; in iterate_tty_read() local
864 if (retval) in iterate_tty_read()
866 retval = size; in iterate_tty_read()
873 if (retval == -EOVERFLOW) in iterate_tty_read()
890 retval = -EFAULT; in iterate_tty_read()
896 return offset ? offset : retval; in iterate_tty_read()
1337 int retval = 0; in tty_reopen() local
1353 retval = tty_ldisc_lock(tty, 5 * HZ); in tty_reopen()
1354 if (retval) in tty_reopen()
1355 return retval; in tty_reopen()
1394 int retval; tty_init_dev() local
1877 int retval; tty_open_current_tty() local
2042 int retval; tty_open_by_driver() local
2114 int noctty, retval; tty_open() local
2215 int retval = 0; __tty_fasync() local
2249 int retval = -ENOTTY; tty_fasync() local
2472 int retval; send_break() local
2512 int retval = -ENOTTY; tty_tiocmget() local
2537 int retval; tty_tiocmset() local
2588 int retval; tty_tiocgicount() local
2660 int retval; tty_ioctl() local
2867 int retval = -ENOIOCTLCMD; tty_compat_ioctl() local
3224 int retval; tty_register_device_attr() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/serial/
H A Dusb-serial.c182 int retval = -ENODEV; in serial_install() local
186 return retval; in serial_install()
192 retval = usb_autopm_get_interface(serial->interface); in serial_install()
193 if (retval) in serial_install()
198 retval = tty_standard_install(driver, tty); in serial_install()
199 if (retval) in serial_install()
210 return retval; in serial_install()
219 return retval; in serial_install()
227 int retval; in serial_port_activate() local
231 retval in serial_port_activate()
327 int retval = -ENODEV; serial_write() local
421 int retval = -ENOIOCTLCMD; serial_ioctl() local
874 int retval; usb_serial_probe() local
1307 int retval; usb_serial_register() local
[all...]
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
H A Duaccess.h110 #define __put_user_size(x, ptr, size, retval) \
112 retval = 0; \
114 case 1: __put_user_asm(x, ptr, retval, "l.sb"); break; \
115 case 2: __put_user_asm(x, ptr, retval, "l.sh"); break; \
116 case 4: __put_user_asm(x, ptr, retval, "l.sw"); break; \
117 case 8: __put_user_asm2(x, ptr, retval); break; \
186 #define __get_user_size(x, ptr, size, retval) \
188 retval = 0; \
190 case 1: __get_user_asm(x, ptr, retval, "l.lbz"); break; \
191 case 2: __get_user_asm(x, ptr, retval, "
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dtrace.h100 TP_PROTO(unsigned long opcode, long retval, unsigned long *retbuf),
102 TP_ARGS(opcode, retval, retbuf),
108 __field(long, retval)
113 __entry->retval = retval;
116 TP_printk("opcode=%lu retval=%ld", __entry->opcode, __entry->retval),
147 TP_PROTO(unsigned long opcode, unsigned long retval),
149 TP_ARGS(opcode, retval),
153 __field(unsigned long, retval)
[all...]
/kernel/linux/linux-6.6/arch/openrisc/include/asm/
H A Duaccess.h73 #define __put_user_size(x, ptr, size, retval) \
75 retval = 0; \
77 case 1: __put_user_asm(x, ptr, retval, "l.sb"); break; \
78 case 2: __put_user_asm(x, ptr, retval, "l.sh"); break; \
79 case 4: __put_user_asm(x, ptr, retval, "l.sw"); break; \
80 case 8: __put_user_asm2(x, ptr, retval); break; \
149 #define __get_user_size(x, ptr, size, retval) \
151 retval = 0; \
153 case 1: __get_user_asm(x, ptr, retval, "l.lbz"); break; \
154 case 2: __get_user_asm(x, ptr, retval, "
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dehci-spear.c63 int irq, retval; in spear_ehci_hcd_drv_probe() local
70 retval = irq; in spear_ehci_hcd_drv_probe()
79 retval = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); in spear_ehci_hcd_drv_probe()
80 if (retval) in spear_ehci_hcd_drv_probe()
86 retval = PTR_ERR(usbh_clk); in spear_ehci_hcd_drv_probe()
92 retval = -ENOMEM; in spear_ehci_hcd_drv_probe()
99 retval = PTR_ERR(hcd->regs); in spear_ehci_hcd_drv_probe()
112 retval = usb_add_hcd(hcd, irq, IRQF_SHARED); in spear_ehci_hcd_drv_probe()
113 if (retval) in spear_ehci_hcd_drv_probe()
117 return retval; in spear_ehci_hcd_drv_probe()
[all...]
H A Dohci-spear.c42 int retval, irq; in spear_ohci_hcd_drv_probe() local
46 retval = irq; in spear_ohci_hcd_drv_probe()
55 retval = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); in spear_ohci_hcd_drv_probe()
56 if (retval) in spear_ohci_hcd_drv_probe()
62 retval = PTR_ERR(usbh_clk); in spear_ohci_hcd_drv_probe()
68 retval = -ENOMEM; in spear_ohci_hcd_drv_probe()
75 retval = PTR_ERR(hcd->regs); in spear_ohci_hcd_drv_probe()
87 retval = usb_add_hcd(hcd, platform_get_irq(pdev, 0), 0); in spear_ohci_hcd_drv_probe()
88 if (retval == 0) { in spear_ohci_hcd_drv_probe()
90 return retval; in spear_ohci_hcd_drv_probe()
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dehci-spear.c61 int irq, retval; in spear_ehci_hcd_drv_probe() local
68 retval = irq; in spear_ehci_hcd_drv_probe()
77 retval = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); in spear_ehci_hcd_drv_probe()
78 if (retval) in spear_ehci_hcd_drv_probe()
84 retval = PTR_ERR(usbh_clk); in spear_ehci_hcd_drv_probe()
90 retval = -ENOMEM; in spear_ehci_hcd_drv_probe()
96 retval = PTR_ERR(hcd->regs); in spear_ehci_hcd_drv_probe()
109 retval = usb_add_hcd(hcd, irq, IRQF_SHARED); in spear_ehci_hcd_drv_probe()
110 if (retval) in spear_ehci_hcd_drv_probe()
114 return retval; in spear_ehci_hcd_drv_probe()
[all...]
H A Dohci-spear.c41 int retval, irq; in spear_ohci_hcd_drv_probe() local
45 retval = irq; in spear_ohci_hcd_drv_probe()
54 retval = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); in spear_ohci_hcd_drv_probe()
55 if (retval) in spear_ohci_hcd_drv_probe()
61 retval = PTR_ERR(usbh_clk); in spear_ohci_hcd_drv_probe()
67 retval = -ENOMEM; in spear_ohci_hcd_drv_probe()
73 retval = PTR_ERR(hcd->regs); in spear_ohci_hcd_drv_probe()
85 retval = usb_add_hcd(hcd, irq, 0); in spear_ohci_hcd_drv_probe()
86 if (retval == 0) { in spear_ohci_hcd_drv_probe()
88 return retval; in spear_ohci_hcd_drv_probe()
[all...]
/kernel/linux/linux-6.6/arch/xtensa/include/asm/
H A Duaccess.h69 #define __put_user_size(x, ptr, size, retval) \
72 retval = 0; \
74 case 1: __put_user_asm(x, ptr, retval, 1, "s8i", __cb); break; \
75 case 2: __put_user_asm(x, ptr, retval, 2, "s16i", __cb); break; \
76 case 4: __put_user_asm(x, ptr, retval, 4, "s32i", __cb); break; \
79 retval = __copy_to_user(ptr, &__v64, 8) ? -EFAULT : 0; \
169 #define __get_user_size(x, ptr, size, retval) \
172 retval = 0; \
174 case 1: __get_user_asm(x, ptr, retval, 1, "l8ui", __cb); break;\
175 case 2: __get_user_asm(x, ptr, retval,
[all...]
/kernel/linux/linux-6.6/drivers/leds/
H A Duleds.c135 ssize_t retval; in uleds_read() local
141 retval = mutex_lock_interruptible(&udev->mutex); in uleds_read()
142 if (retval) in uleds_read()
143 return retval; in uleds_read()
146 retval = -ENODEV; in uleds_read()
148 retval = -EAGAIN; in uleds_read()
150 retval = copy_to_user(buffer, &udev->brightness, in uleds_read()
153 retval = sizeof(udev->brightness); in uleds_read()
158 if (retval) in uleds_read()
162 retval in uleds_read()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device_queue_manager.c289 int retval = 0; in remove_all_queues_mes() local
295 retval = remove_queue_mes(dqm, q, qpd); in remove_all_queues_mes()
296 if (retval) { in remove_all_queues_mes()
301 return retval; in remove_all_queues_mes()
307 return retval; in remove_all_queues_mes()
536 int retval; in create_queue_nocpsch() local
543 retval = -EPERM; in create_queue_nocpsch()
548 retval = allocate_vmid(dqm, qpd, q); in create_queue_nocpsch()
549 if (retval) in create_queue_nocpsch()
566 retval in create_queue_nocpsch()
764 int retval; destroy_queue_nocpsch_locked() local
823 int retval; destroy_queue_nocpsch() local
853 int retval = 0; update_queue() local
1044 int retval, ret = 0; evict_process_queues_nocpsch() local
1093 int retval = 0; evict_process_queues_cpsch() local
1153 int retval, ret = 0; restore_process_queues_nocpsch() local
1231 int retval = 0; restore_process_queues_cpsch() local
1293 int retval; register_process() local
1329 int retval; unregister_process() local
1629 int retval; start_cpsch() local
1782 int retval; create_queue_cpsch() local
1911 int retval; map_queues_cpsch() local
1938 int retval = 0; unmap_queues_cpsch() local
2003 int retval; reset_queues_cpsch() local
2020 int retval; execute_queues_cpsch() local
2060 int retval; destroy_queue_cpsch() local
2164 bool retval = true; set_cache_memory_policy() local
2224 int retval = 0; process_termination_nocpsch() local
2350 int retval; process_termination_cpsch() local
2465 int retval; allocate_hiq_sdma_mqd() local
[all...]
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
H A Dsst_drv_interface.c62 int retval; in sst_get_stream_allocated() local
64 retval = ctx->ops->alloc_stream(ctx, str_param); in sst_get_stream_allocated()
65 if (retval > 0) in sst_get_stream_allocated()
66 dev_dbg(ctx->dev, "Stream allocated %d\n", retval); in sst_get_stream_allocated()
67 return retval; in sst_get_stream_allocated()
117 int retval; in sst_get_stream() local
121 retval = ctx->ops->alloc_stream(ctx, str_param); in sst_get_stream()
122 if (retval <= 0) { in sst_get_stream()
126 str_info = &ctx->streams[retval]; in sst_get_stream()
129 return retval; in sst_get_stream()
174 int retval; sst_open_pcm_stream() local
192 int str_id, retval; sst_cdev_open() local
220 int retval; sst_cdev_close() local
275 int retval = 0; sst_cdev_set_metadata() local
458 int retval = 0; sst_close_pcm_stream() local
[all...]
/kernel/linux/linux-5.10/fs/9p/
H A Dvfs_file.c414 ssize_t retval; in v9fs_file_write_iter() local
418 retval = generic_write_checks(iocb, from); in v9fs_file_write_iter()
419 if (retval <= 0) in v9fs_file_write_iter()
420 return retval; in v9fs_file_write_iter()
423 retval = p9_client_write(file->private_data, iocb->ki_pos, from, &err); in v9fs_file_write_iter()
424 if (retval > 0) { in v9fs_file_write_iter()
429 pg_end = (origin + retval - 1) >> PAGE_SHIFT; in v9fs_file_write_iter()
433 iocb->ki_pos += retval; in v9fs_file_write_iter()
443 return retval; in v9fs_file_write_iter()
454 int retval; in v9fs_file_fsync() local
477 int retval; v9fs_file_fsync_dotl() local
497 int retval; v9fs_file_mmap() local
510 int retval; v9fs_mmap_file_mmap() local
[all...]
/kernel/linux/linux-5.10/drivers/spi/
H A Dspidev.c346 int retval = 0; in spidev_ioctl() local
391 retval = put_user(tmp & SPI_MODE_MASK, in spidev_ioctl()
394 retval = put_user(tmp & SPI_MODE_MASK, in spidev_ioctl()
398 retval = put_user((spi->mode & SPI_LSB_FIRST) ? 1 : 0, in spidev_ioctl()
402 retval = put_user(spi->bits_per_word, (__u8 __user *)arg); in spidev_ioctl()
405 retval = put_user(spidev->speed_hz, (__u32 __user *)arg); in spidev_ioctl()
412 retval = get_user(tmp, (u8 __user *)arg); in spidev_ioctl()
414 retval = get_user(tmp, (u32 __user *)arg); in spidev_ioctl()
415 if (retval == 0) { in spidev_ioctl()
420 retval in spidev_ioctl()
512 int retval = 0; spidev_compat_ioc_message() local
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/atom/sst/
H A Dsst_drv_interface.c62 int retval; in sst_get_stream_allocated() local
64 retval = ctx->ops->alloc_stream(ctx, str_param); in sst_get_stream_allocated()
65 if (retval > 0) in sst_get_stream_allocated()
66 dev_dbg(ctx->dev, "Stream allocated %d\n", retval); in sst_get_stream_allocated()
67 return retval; in sst_get_stream_allocated()
117 int retval; in sst_get_stream() local
121 retval = ctx->ops->alloc_stream(ctx, str_param); in sst_get_stream()
122 if (retval <= 0) { in sst_get_stream()
126 str_info = &ctx->streams[retval]; in sst_get_stream()
129 return retval; in sst_get_stream()
173 int retval; sst_open_pcm_stream() local
191 int str_id, retval; sst_cdev_open() local
217 int retval; sst_cdev_close() local
272 int retval = 0; sst_cdev_set_metadata() local
455 int retval = 0; sst_close_pcm_stream() local
[all...]
/kernel/linux/linux-5.10/drivers/mmc/core/
H A Dbus.c72 int retval = 0; in mmc_bus_uevent() local
92 retval = add_uevent_var(env, "MMC_TYPE=%s", type); in mmc_bus_uevent()
93 if (retval) in mmc_bus_uevent()
94 return retval; in mmc_bus_uevent()
98 retval = add_uevent_var(env, "SDIO_ID=%04X:%04X", in mmc_bus_uevent()
100 if (retval) in mmc_bus_uevent()
101 return retval; in mmc_bus_uevent()
103 retval = add_uevent_var(env, "SDIO_REVISION=%u.%u", in mmc_bus_uevent()
105 if (retval) in mmc_bus_uevent()
106 return retval; in mmc_bus_uevent()
[all...]
/kernel/linux/linux-5.10/drivers/media/rc/
H A Dsir_ir.c328 int retval; in sir_ir_probe() local
354 retval = devm_request_irq(&sir_ir_dev->dev, irq, sir_interrupt, 0, in sir_ir_probe()
356 if (retval < 0) { in sir_ir_probe()
358 return retval; in sir_ir_probe()
361 retval = init_hardware(); in sir_ir_probe()
362 if (retval) { in sir_ir_probe()
364 return retval; in sir_ir_probe()
369 retval = devm_rc_register_device(&sir_ir_dev->dev, rcdev); in sir_ir_probe()
370 if (retval < 0) in sir_ir_probe()
371 return retval; in sir_ir_probe()
393 int retval; sir_ir_init() local
[all...]
/kernel/linux/linux-6.6/drivers/mmc/core/
H A Dbus.c63 int retval = 0; in mmc_bus_uevent() local
83 retval = add_uevent_var(env, "MMC_TYPE=%s", type); in mmc_bus_uevent()
84 if (retval) in mmc_bus_uevent()
85 return retval; in mmc_bus_uevent()
89 retval = add_uevent_var(env, "SDIO_ID=%04X:%04X", in mmc_bus_uevent()
91 if (retval) in mmc_bus_uevent()
92 return retval; in mmc_bus_uevent()
94 retval = add_uevent_var(env, "SDIO_REVISION=%u.%u", in mmc_bus_uevent()
96 if (retval) in mmc_bus_uevent()
97 return retval; in mmc_bus_uevent()
[all...]
/third_party/libsnd/Octave/
H A Dsndfile.cc39 octave_value_list retval ; in DEFUN_DLD() local
44 return retval ; in DEFUN_DLD()
51 retval.append (version) ; in DEFUN_DLD()
52 return retval ; in DEFUN_DLD()
66 octave_value_list retval ; in DEFUN_DLD() local
73 return retval ; in DEFUN_DLD()
82 return retval ; in DEFUN_DLD()
115 retval.append (out.squeeze ()) ; in DEFUN_DLD()
118 retval.append ((octave_uint32) sfinfo.samplerate) ; in DEFUN_DLD()
123 retval in DEFUN_DLD()
142 octave_value_list retval ; DEFUN_DLD() local
[all...]
/third_party/pcre2/pcre2/src/sljit/
H A DsljitProtExecAllocator.c190 struct chunk_header *retval; in alloc_chunk() local
202 retval = (struct chunk_header *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in alloc_chunk()
204 if (retval == MAP_FAILED) { in alloc_chunk()
209 retval->executable = mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_SHARED, fd, 0); in alloc_chunk()
211 if (retval->executable == MAP_FAILED) { in alloc_chunk()
212 munmap((void *)retval, size); in alloc_chunk()
218 return retval; in alloc_chunk()
227 struct chunk_header *retval; in alloc_chunk() local
229 retval = (struct chunk_header *)mmap(NULL, size, in alloc_chunk()
233 if (retval in alloc_chunk()
[all...]
/kernel/linux/linux-6.6/fs/9p/
H A Dvfs_file.c410 ssize_t retval; in v9fs_file_write_iter() local
421 retval = generic_write_checks(iocb, from); in v9fs_file_write_iter()
422 if (retval <= 0) in v9fs_file_write_iter()
423 return retval; in v9fs_file_write_iter()
426 retval = p9_client_write(file->private_data, iocb->ki_pos, from, &err); in v9fs_file_write_iter()
427 if (retval > 0) { in v9fs_file_write_iter()
433 pg_end = (origin + retval - 1) >> PAGE_SHIFT; in v9fs_file_write_iter()
437 iocb->ki_pos += retval; in v9fs_file_write_iter()
447 return retval; in v9fs_file_write_iter()
458 int retval; in v9fs_file_fsync() local
481 int retval; v9fs_file_fsync_dotl() local
501 int retval; v9fs_file_mmap() local
[all...]

Completed in 20 milliseconds

1...<<11121314151617181920>>...127