/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_prime.c | 299 int ret; in drm_gem_prime_fd_to_handle() local 308 ret = drm_prime_lookup_buf_handle(&file_priv->prime, dma_buf, handle); in drm_gem_prime_fd_to_handle() 309 if (ret == 0) { in drm_gem_prime_fd_to_handle() 321 ret = PTR_ERR(obj); in drm_gem_prime_fd_to_handle() 333 ret = drm_gem_handle_create_tail(file_priv, obj, handle); in drm_gem_prime_fd_to_handle() 335 if (ret) { in drm_gem_prime_fd_to_handle() 339 ret = drm_prime_add_buf_handle(&file_priv->prime, dma_buf, *handle); in drm_gem_prime_fd_to_handle() 341 if (ret) { in drm_gem_prime_fd_to_handle() 355 return ret; in drm_gem_prime_fd_to_handle() 362 return ret; in drm_gem_prime_fd_to_handle() 429 int ret = 0; drm_gem_prime_handle_to_fd() local 616 int ret; drm_gem_map_dma_buf() local 714 int ret; drm_gem_prime_mmap() local 936 int ret; drm_gem_prime_import_dev() local [all...] |
/device/soc/rockchip/rk3568/hardware/codec/jpeg/src/ |
H A D | codec_jpeg_helper.cpp | 173 auto ret = PutInt16(buffer, lenPos, bufferLen); in JpegDqtAssemble() local 174 if (ret < 0) { in JpegDqtAssemble() 176 return ret; in JpegDqtAssemble() 248 auto ret = memcpy_s(buffer + curPos, table[i].bits.size(), table[i].bits.data(), table[i].bits.size()); in JpegDhtAssemble() local 249 if (ret != EOK) { in JpegDhtAssemble() 252 CODEC_LOGE("assemble bits error ret = %{public}s", buf); in JpegDhtAssemble() 253 return ret; in JpegDhtAssemble() 257 ret = memcpy_s(buffer + curPos, table[i].huffVal.size(), table[i].huffVal.data(), table[i].huffVal.size()); in JpegDhtAssemble() 258 if (ret != EOK) { in JpegDhtAssemble() 259 CODEC_LOGE("assemble huffVal error, ret in JpegDhtAssemble() 265 auto ret = PutInt16(buffer, lenPos, bufferLen); JpegDhtAssemble() local 324 auto ret = memcpy_s(buffer + curPos, sizeof(bufferValue), bufferValue, sizeof(bufferValue)); JpegSofAssemble() local 368 auto ret = memcpy_s(buffer + curPos, sizeof(dataStart), dataStart, sizeof(dataStart)); JpegSosAssemble() local 384 auto ret = memcpy_s(buffer + curPos, size, addr, size); JpegDataAssemble() local 493 auto ret = memcpy_s(compressBuffer.get(), comBufLen, dataStart, comBufLen); DessambleCompressData() local 577 auto ret = memcpy_s(buffer + curPos, sizeof(data), data, sizeof(data)); PutInt16() local 587 auto ret = memcpy_s(buffer + curPos, sizeof(value), &value, sizeof(value)); PutInt8() local [all...] |
/device/soc/rockchip/rk3588/hardware/codec/jpeg/src/ |
H A D | codec_jpeg_helper.cpp | 173 auto ret = PutInt16(buffer, lenPos, bufferLen); in JpegDqtAssemble() local 174 if (ret < 0) { in JpegDqtAssemble() 176 return ret; in JpegDqtAssemble() 248 auto ret = memcpy_s(buffer + curPos, table[i].bits.size(), table[i].bits.data(), table[i].bits.size()); in JpegDhtAssemble() local 249 if (ret != EOK) { in JpegDhtAssemble() 252 CODEC_LOGE("assemble bits error ret = %{public}s", buf); in JpegDhtAssemble() 253 return ret; in JpegDhtAssemble() 257 ret = memcpy_s(buffer + curPos, table[i].huffVal.size(), table[i].huffVal.data(), table[i].huffVal.size()); in JpegDhtAssemble() 258 if (ret != EOK) { in JpegDhtAssemble() 259 CODEC_LOGE("assemble huffVal error, ret in JpegDhtAssemble() 265 auto ret = PutInt16(buffer, lenPos, bufferLen); JpegDhtAssemble() local 324 auto ret = memcpy_s(buffer + curPos, sizeof(bufferValue), bufferValue, sizeof(bufferValue)); JpegSofAssemble() local 368 auto ret = memcpy_s(buffer + curPos, sizeof(dataStart), dataStart, sizeof(dataStart)); JpegSosAssemble() local 384 auto ret = memcpy_s(buffer + curPos, size, addr, size); JpegDataAssemble() local 493 auto ret = memcpy_s(compressBuffer.get(), comBufLen, dataStart, comBufLen); DessambleCompressData() local 577 auto ret = memcpy_s(buffer + curPos, sizeof(data), data, sizeof(data)); PutInt16() local 587 auto ret = memcpy_s(buffer + curPos, sizeof(value), &value, sizeof(value)); PutInt8() local [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | ioctl.c | 371 static inline int is_unrecognized_ioctl(int ret) in is_unrecognized_ioctl() argument 373 return ret == -EINVAL || in is_unrecognized_ioctl() 374 ret == -ENOTTY || in is_unrecognized_ioctl() 375 ret == -ENOIOCTLCMD; in is_unrecognized_ioctl() 381 int ret; in blkdev_flushbuf() local 386 ret = __blkdev_driver_ioctl(bdev, mode, cmd, arg); in blkdev_flushbuf() 387 if (!is_unrecognized_ioctl(ret)) in blkdev_flushbuf() 388 return ret; in blkdev_flushbuf() 398 int ret, n; in blkdev_roset() local 403 ret in blkdev_roset() 417 int ret; blkdev_getgeo() local 451 int ret; compat_hdio_getgeo() local 481 int ret, n; blkdev_bszset() local 592 int ret; blkdev_ioctl() local 649 int ret; compat_blkdev_ioctl() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-intel.c | 237 int ret; in intel_mgbe_common_data() local 316 ret = clk_prepare_enable(plat->stmmac_clk); in intel_mgbe_common_data() 317 if (ret) { in intel_mgbe_common_data() 319 return ret; in intel_mgbe_common_data() 532 int ret; in quark_default_data() local 540 ret = stmmac_pci_find_phy_addr(pdev, quark_pci_dmi); in quark_default_data() 541 if (ret < 0) { in quark_default_data() 544 return ret; in quark_default_data() 550 ret = 1; in quark_default_data() 554 plat->phy_addr = ret; in quark_default_data() 588 int ret; intel_eth_pci_probe() local 683 int ret; intel_eth_pci_suspend() local 701 int ret; intel_eth_pci_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/tty/vt/ |
H A D | vc_screen.c | 252 int ret; in vcs_read_buf_uni() local 254 ret = vc_uniscr_check(vc); in vcs_read_buf_uni() 255 if (ret) in vcs_read_buf_uni() 256 return ret; in vcs_read_buf_uni() 371 ssize_t ret; in vcs_read() local 390 ret = -EINVAL; in vcs_read() 401 ret = 0; in vcs_read() 408 ret = -ENXIO; in vcs_read() 418 ret = size; in vcs_read() 436 ret in vcs_read() 598 ssize_t ret; vcs_write() local 715 __poll_t ret = DEFAULT_POLLMASK|EPOLLERR; vcs_poll() local 757 int ret = 0; vcs_open() local [all...] |
/kernel/linux/linux-5.10/net/vmw_vsock/ |
H A D | hyperv_transport.c | 214 size_t ret; in hvs_channel_writable_bytes() local 223 ret = writeable - HVS_PKT_LEN(1) - HVS_PKT_LEN(0); in hvs_channel_writable_bytes() 225 return round_down(ret, 8); in hvs_channel_writable_bytes() 297 int ret; in hvs_open_connection() local 333 ret = vsock_assign_transport(vnew, vsock_sk(sk)); in hvs_open_connection() 337 if (ret || !hvs_check_transport(vnew)) { in hvs_open_connection() 375 ret = vmbus_open(chan, sndbuf, rcvbuf, NULL, 0, hvs_channel_cb, in hvs_open_connection() 377 if (ret != 0) { in hvs_open_connection() 593 int ret; in hvs_stream_dequeue() local 600 ret in hvs_stream_dequeue() 633 ssize_t ret = 0; hvs_stream_enqueue() local 677 s64 ret; hvs_stream_has_data() local 900 int ret; hvs_init() local [all...] |
/kernel/linux/linux-5.10/fs/nilfs2/ |
H A D | alloc.c | 205 int ret; in nilfs_palloc_get_block() local 217 ret = nilfs_mdt_get_block(inode, blkoff, create, init_block, bhp); in nilfs_palloc_get_block() 218 if (!ret) { in nilfs_palloc_get_block() 230 return ret; in nilfs_palloc_get_block() 439 int ret; in nilfs_palloc_count_desc_blocks() local 441 ret = nilfs_bmap_last_key(NILFS_I(inode)->i_bmap, &blknum); in nilfs_palloc_count_desc_blocks() 442 if (likely(!ret)) in nilfs_palloc_count_desc_blocks() 446 return ret; in nilfs_palloc_count_desc_blocks() 511 int pos, ret; in nilfs_palloc_prepare_alloc_entry() local 525 ret in nilfs_palloc_prepare_alloc_entry() 686 int ret; nilfs_palloc_prepare_free_entry() local 737 int i, j, k, ret; nilfs_palloc_freev() local [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | fs_context.c | 129 int ret; in vfs_parse_fs_param() local 134 ret = vfs_parse_sb_flag(fc, param->key); in vfs_parse_fs_param() 135 if (ret != -ENOPARAM) in vfs_parse_fs_param() 136 return ret; in vfs_parse_fs_param() 138 ret = security_fs_context_parse_param(fc, param); in vfs_parse_fs_param() 139 if (ret != -ENOPARAM) in vfs_parse_fs_param() 143 return ret; in vfs_parse_fs_param() 146 ret = fc->ops->parse_param(fc, param); in vfs_parse_fs_param() 147 if (ret != -ENOPARAM) in vfs_parse_fs_param() 148 return ret; in vfs_parse_fs_param() 169 int ret; vfs_parse_fs_string() local 204 int ret = 0; generic_parse_monolithic() local 255 int ret = -ENOMEM; alloc_fs_context() local 342 int ret; vfs_dup_fs_context() local 530 int ret; legacy_parse_param() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_dc.c | 607 int ret; in atmel_hlcdc_dc_atomic_commit() local 609 ret = drm_atomic_helper_prepare_planes(dev, state); in atmel_hlcdc_dc_atomic_commit() 610 if (ret) in atmel_hlcdc_dc_atomic_commit() 611 return ret; in atmel_hlcdc_dc_atomic_commit() 616 ret = -ENOMEM; in atmel_hlcdc_dc_atomic_commit() 625 ret = wait_event_interruptible_locked(dc->commit.wait, in atmel_hlcdc_dc_atomic_commit() 627 if (ret == 0) in atmel_hlcdc_dc_atomic_commit() 631 if (ret) in atmel_hlcdc_dc_atomic_commit() 650 return ret; in atmel_hlcdc_dc_atomic_commit() 662 int ret; in atmel_hlcdc_dc_modeset_init() local 698 int ret; atmel_hlcdc_dc_load() local 836 int ret; atmel_hlcdc_dc_drm_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_prime.c | 303 int ret; in drm_gem_prime_fd_to_handle() local 311 ret = drm_prime_lookup_buf_handle(&file_priv->prime, in drm_gem_prime_fd_to_handle() 313 if (ret == 0) in drm_gem_prime_fd_to_handle() 323 ret = PTR_ERR(obj); in drm_gem_prime_fd_to_handle() 335 ret = drm_gem_handle_create_tail(file_priv, obj, handle); in drm_gem_prime_fd_to_handle() 337 if (ret) in drm_gem_prime_fd_to_handle() 340 ret = drm_prime_add_buf_handle(&file_priv->prime, in drm_gem_prime_fd_to_handle() 343 if (ret) in drm_gem_prime_fd_to_handle() 356 return ret; in drm_gem_prime_fd_to_handle() 363 return ret; in drm_gem_prime_fd_to_handle() 434 int ret = 0; drm_gem_prime_handle_to_fd() local 624 int ret; drm_gem_map_dma_buf() local 721 int ret; drm_gem_prime_mmap() local 917 int ret; drm_gem_prime_import_dev() local [all...] |
/kernel/linux/linux-5.10/drivers/pinctrl/ |
H A D | pinmux.c | 266 int ret; in pinmux_request_gpio() local 273 ret = pin_request(pctldev, pin, owner, range); in pinmux_request_gpio() 274 if (ret < 0) in pinmux_request_gpio() 277 return ret; in pinmux_request_gpio() 307 int ret; in pinmux_gpio_direction() local 312 ret = ops->gpio_set_direction(pctldev, range, pin, input); in pinmux_gpio_direction() 314 ret = 0; in pinmux_gpio_direction() 316 return ret; in pinmux_gpio_direction() 346 int ret; in pinmux_map_to_setting() local 354 ret in pinmux_map_to_setting() 409 int ret = 0; pinmux_enable_setting() local 489 int ret = 0; pinmux_disable_setting() local 555 int ret; pinmux_functions_show() local [all...] |
/kernel/linux/linux-5.10/drivers/remoteproc/ |
H A D | qcom_sysmon.c | 85 int ret; in sysmon_send_event() local 96 ret = rpmsg_send(sysmon->ept, req, len); in sysmon_send_event() 97 if (ret < 0) { in sysmon_send_event() 102 ret = wait_for_completion_timeout(&sysmon->comp, in sysmon_send_event() 104 if (!ret) { in sysmon_send_event() 123 int ret; in sysmon_request_shutdown() local 129 ret = rpmsg_send(sysmon->ept, req, strlen(req) + 1); in sysmon_request_shutdown() 130 if (ret < 0) { in sysmon_request_shutdown() 135 ret = wait_for_completion_timeout(&sysmon->comp, in sysmon_request_shutdown() 137 if (!ret) { in sysmon_request_shutdown() 309 int ret; ssctl_request_shutdown() local 358 int ret; ssctl_send_event() local 603 int ret; qcom_add_sysmon_subdev() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/xilinx/ |
H A D | xilinx-dma.c | 63 int ret; in xvip_dma_verify_format() local 69 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in xvip_dma_verify_format() 70 if (ret < 0) in xvip_dma_verify_format() 71 return ret == -ENOIOCTLCMD ? -EINVAL : ret; in xvip_dma_verify_format() 103 int ret; in xvip_pipeline_start_stop() local 118 ret = v4l2_subdev_call(subdev, video, s_stream, start); in xvip_pipeline_start_stop() 119 if (start && ret < 0 && ret != -ENOIOCTLCMD) in xvip_pipeline_start_stop() 120 return ret; in xvip_pipeline_start_stop() 153 int ret = 0; xvip_pipeline_set_stream() local 244 int ret; xvip_pipeline_prepare() local 379 int ret; xvip_dma_start_streaming() local 635 int ret; xvip_dma_init() local [all...] |
/kernel/linux/linux-6.6/fs/nilfs2/ |
H A D | alloc.c | 205 int ret; in nilfs_palloc_get_block() local 217 ret = nilfs_mdt_get_block(inode, blkoff, create, init_block, bhp); in nilfs_palloc_get_block() 218 if (!ret) { in nilfs_palloc_get_block() 230 return ret; in nilfs_palloc_get_block() 439 int ret; in nilfs_palloc_count_desc_blocks() local 441 ret = nilfs_bmap_last_key(NILFS_I(inode)->i_bmap, &blknum); in nilfs_palloc_count_desc_blocks() 442 if (likely(!ret)) in nilfs_palloc_count_desc_blocks() 446 return ret; in nilfs_palloc_count_desc_blocks() 511 int pos, ret; in nilfs_palloc_prepare_alloc_entry() local 525 ret in nilfs_palloc_prepare_alloc_entry() 686 int ret; nilfs_palloc_prepare_free_entry() local 737 int i, j, k, ret; nilfs_palloc_freev() local [all...] |
/kernel/linux/linux-6.6/drivers/tty/vt/ |
H A D | vc_screen.c | 252 int ret; in vcs_read_buf_uni() local 254 ret = vc_uniscr_check(vc); in vcs_read_buf_uni() 255 if (ret) in vcs_read_buf_uni() 256 return ret; in vcs_read_buf_uni() 371 ssize_t ret; in vcs_read() local 390 ret = -EINVAL; in vcs_read() 401 ret = 0; in vcs_read() 408 ret = -ENXIO; in vcs_read() 418 ret = size; in vcs_read() 436 ret in vcs_read() 598 ssize_t ret; vcs_write() local 715 __poll_t ret = DEFAULT_POLLMASK|EPOLLERR; vcs_poll() local 757 int ret = 0; vcs_open() local [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-img-spfi.c | 233 int ret; in img_spfi_start_pio() local 271 ret = spfi_wait_all_done(spfi); in img_spfi_start_pio() 272 if (ret < 0) in img_spfi_start_pio() 273 return ret; in img_spfi_start_pio() 484 int ret; in img_spfi_transfer_one() local 495 ret = img_spfi_start_dma(host, spi, xfer); in img_spfi_transfer_one() 497 ret = img_spfi_start_pio(host, spi, xfer); in img_spfi_transfer_one() 499 return ret; in img_spfi_transfer_one() 530 int ret; in img_spfi_probe() local 545 ret in img_spfi_probe() 701 int ret; img_spfi_runtime_resume() local 728 int ret; img_spfi_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | fan53555.c | 156 int ret; in fan53555_set_suspend_voltage() local 160 ret = regulator_map_voltage_linear(rdev, uV, uV); in fan53555_set_suspend_voltage() 161 if (ret < 0) in fan53555_set_suspend_voltage() 162 return ret; in fan53555_set_suspend_voltage() 163 ret = regmap_update_bits(rdev->regmap, di->sleep_reg, in fan53555_set_suspend_voltage() 164 di->desc.vsel_mask, ret); in fan53555_set_suspend_voltage() 165 if (ret < 0) in fan53555_set_suspend_voltage() 166 return ret; in fan53555_set_suspend_voltage() 212 int ret = 0; in fan53555_get_mode() local 214 ret in fan53555_get_mode() 434 int ret = 0; fan53555_device_setup() local 613 int ret; fan53555_parse_dt() local 669 int ret; fan53555_regulator_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_prime.c | 301 int ret; in drm_gem_prime_fd_to_handle() local 309 ret = drm_prime_lookup_buf_handle(&file_priv->prime, in drm_gem_prime_fd_to_handle() 311 if (ret == 0) in drm_gem_prime_fd_to_handle() 321 ret = PTR_ERR(obj); in drm_gem_prime_fd_to_handle() 333 ret = drm_gem_handle_create_tail(file_priv, obj, handle); in drm_gem_prime_fd_to_handle() 335 if (ret) in drm_gem_prime_fd_to_handle() 338 ret = drm_prime_add_buf_handle(&file_priv->prime, in drm_gem_prime_fd_to_handle() 341 if (ret) in drm_gem_prime_fd_to_handle() 354 return ret; in drm_gem_prime_fd_to_handle() 361 return ret; in drm_gem_prime_fd_to_handle() 431 int ret = 0; drm_gem_prime_handle_to_fd() local 627 int ret; drm_gem_map_dma_buf() local 721 int ret; drm_gem_prime_mmap() local 912 int ret; drm_gem_prime_import_dev() local [all...] |
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | aspeed_adc.c | 417 int ret; in aspeed_adc_vref_config() local 428 ret = regulator_enable(data->regulator); in aspeed_adc_vref_config() 429 if (ret) in aspeed_adc_vref_config() 430 return ret; in aspeed_adc_vref_config() 431 ret = devm_add_action_or_reset( in aspeed_adc_vref_config() 433 if (ret) in aspeed_adc_vref_config() 434 return ret; in aspeed_adc_vref_config() 487 int ret; in aspeed_adc_probe() local 516 ret = devm_add_action_or_reset(data->dev, in aspeed_adc_probe() 519 if (ret) in aspeed_adc_probe() [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-annotate.c | 199 int ret; in process_branch_callback() local 203 ret = -1; in process_branch_callback() 208 ret = 0; in process_branch_callback() 217 ret = hist_entry_iter__add(&iter, &a, PERF_MAX_STACK_DEPTH, ann); in process_branch_callback() 220 return ret; in process_branch_callback() 234 int ret; in evsel__add_sample() local 268 ret = hist_entry__inc_addr_samples(he, sample, evsel, al->addr); in evsel__add_sample() 270 return ret; in evsel__add_sample() 281 int ret = 0; in process_sample_event() local 287 ret in process_sample_event() 363 int ret; hists__find_annotations() local 413 int ret; __cmd_annotate() local 612 int ret; cmd_annotate() local [all...] |
/kernel/liteos_a/kernel/extended/power/ |
H A D | los_pm.c | 138 UINT32 ret; in OsPmSuspendPrepare() local 141 ret = sysSuspendEarly(mode); in OsPmSuspendPrepare() 142 if (ret != LOS_OK) { in OsPmSuspendPrepare() 144 return ret; in OsPmSuspendPrepare() 149 ret = deviceSuspend(mode); in OsPmSuspendPrepare() 150 if (ret != LOS_OK) { in OsPmSuspendPrepare() 152 return ret; in OsPmSuspendPrepare() 183 UINT32 ret, intSave; in OsPmSuspendSleep() local 189 ret = OsPmSuspendCheck(pm, &sysSuspendEarly, &deviceSuspend, &mode); in OsPmSuspendSleep() 190 if (ret ! in OsPmSuspendSleep() 438 UINT32 ret = LOS_EINVAL; OsPmLockRequest() local 514 UINT32 ret = LOS_EINVAL; LOS_PmLockRelease() local 583 UINT32 ret = LOS_PmLockRelease(name); OsPmSwtmrHandler() local 593 UINT32 ret; LOS_PmTimeLockRequest() local 626 UINT32 ret = LOS_EventRead(&g_pmEvent, PM_EVENT_LOCK_MASK, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER); LOS_PmReadLock() local [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/boards/ |
H A D | sof_es8336.c | 234 int ret; in dmic_init() local 236 ret = snd_soc_dapm_new_controls(&card->dapm, dmic_widgets, in dmic_init() 238 if (ret) { in dmic_init() 239 dev_err(card->dev, "DMic widget addition failed: %d\n", ret); in dmic_init() 240 return ret; in dmic_init() 243 ret = snd_soc_dapm_add_routes(&card->dapm, dmic_map, in dmic_init() 245 if (ret) in dmic_init() 246 dev_err(card->dev, "DMic map addition failed: %d\n", ret); in dmic_init() 248 return ret; in dmic_init() 277 int ret; in sof_es8316_init() local 361 int ret; sof_es8336_hw_params() local 605 int ret; sof_es8336_probe() local [all...] |
/kernel/linux/linux-6.6/net/vmw_vsock/ |
H A D | hyperv_transport.c | 217 size_t ret; in hvs_channel_writable_bytes() local 226 ret = writeable - HVS_PKT_LEN(1) - HVS_PKT_LEN(0); in hvs_channel_writable_bytes() 228 return round_down(ret, 8); in hvs_channel_writable_bytes() 306 int ret; in hvs_open_connection() local 342 ret = vsock_assign_transport(vnew, vsock_sk(sk)); in hvs_open_connection() 346 if (ret || !hvs_check_transport(vnew)) { in hvs_open_connection() 386 ret = vmbus_open(chan, sndbuf, rcvbuf, NULL, 0, hvs_channel_cb, in hvs_open_connection() 388 if (ret != 0) { in hvs_open_connection() 610 int ret; in hvs_stream_dequeue() local 619 ret in hvs_stream_dequeue() 652 ssize_t ret = 0; hvs_stream_enqueue() local 696 s64 ret; hvs_stream_has_data() local 924 int ret; hvs_init() local [all...] |
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_router_ipv4_user.c | 258 int ret = 0; in get_route_table() local 276 ret = -errno; in get_route_table() 293 ret = sendmsg(sock, &msg, 0); in get_route_table() 294 if (ret < 0) { in get_route_table() 296 ret = -errno; in get_route_table() 303 ret = nll; in get_route_table() 310 return ret; in get_route_table() 395 int ret = 0; in get_arp_table() local 412 ret = -errno; in get_arp_table() 428 ret in get_arp_table() 553 int opt, ret = EXIT_FAIL_BPF; main() local [all...] |