/kernel/linux/linux-6.6/include/trace/events/ |
H A D | io_uring.h | 62 * @ret: return code 72 unsigned nr_bufs, long ret), 74 TP_ARGS(ctx, opcode, nr_files, nr_bufs, ret), 81 __field( long, ret ) 89 __entry->ret = ret; 93 "ret %ld", 95 __entry->nr_bufs, __entry->ret)
|
/kernel/linux/linux-6.6/drivers/net/netdevsim/ |
H A D | bpf.c | 66 int ret = 0; in nsim_bpf_verify_insn() local 76 ret = -EOPNOTSUPP; in nsim_bpf_verify_insn() 79 return ret; in nsim_bpf_verify_insn() 223 int ret; in nsim_bpf_create_prog() local 237 ret = PTR_ERR(state->ddir); in nsim_bpf_create_prog() 239 return ret; in nsim_bpf_create_prog()
|
/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe-480.c | 355 int ret; in vfe_enable() local 368 ret = vfe_get_output(line); in vfe_enable() 369 if (ret < 0) in vfe_enable() 372 ret = vfe_enable_output(line); in vfe_enable() 373 if (ret < 0) in vfe_enable() 390 return ret; in vfe_enable()
|
/kernel/linux/linux-6.6/drivers/net/wwan/ |
H A D | mhi_wwan_mbim.c | 222 int ret; in mbim_rx_verify_ndp16() local 230 ret = ((le16_to_cpu(ndp16->wLength) - sizeof(struct usb_cdc_ncm_ndp16)) in mbim_rx_verify_ndp16() 232 ret--; /* Last entry is always a NULL terminator */ in mbim_rx_verify_ndp16() 235 ret * sizeof(struct usb_cdc_ncm_dpe16) > skb->len) { in mbim_rx_verify_ndp16() 236 net_err_ratelimited("Invalid nframes = %d\n", ret); in mbim_rx_verify_ndp16() 240 return ret; in mbim_rx_verify_ndp16()
|
/kernel/linux/linux-6.6/drivers/net/xen-netback/ |
H A D | rx.c | 88 bool ret = true; in xenvif_rx_queue_tail() local 96 ret = false; in xenvif_rx_queue_tail() 108 return ret; in xenvif_rx_queue_tail() 578 long ret; in xenvif_wait_for_rx_work() local 588 ret = schedule_timeout(xenvif_rx_queue_timeout(queue)); in xenvif_wait_for_rx_work() 589 if (!ret) in xenvif_wait_for_rx_work()
|
/kernel/linux/linux-6.6/drivers/pcmcia/ |
H A D | ti113x.h | 508 int ret; in ti12xx_tie_interrupts() local 515 ret = ti12xx_align_irqs(socket, old_irq); in ti12xx_tie_interrupts() 516 if (!ret) in ti12xx_tie_interrupts() 657 int ret = 1; in ti12xx_2nd_slot_empty() local 728 ret = 0; in ti12xx_2nd_slot_empty() 734 return ret; in ti12xx_2nd_slot_empty()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | process.c | 168 int ret = 0; in copy_thread() local 255 ret = set_new_tls(p, tls); in copy_thread() 257 if (!ret && unlikely(test_tsk_thread_flag(current, TIF_IO_BITMAP))) in copy_thread() 260 return ret; in copy_thread() 786 bool ret = x86_idle_set(); in xen_set_default_idle() local 790 return ret; in xen_set_default_idle()
|
H A D | amd_gart_64.c | 381 int need = 0, nextneed, i, out, start, ret; in gart_map_sg() local 415 ret = dma_map_cont(dev, start_sg, i - start, in gart_map_sg() 417 if (ret < 0) in gart_map_sg() 434 ret = dma_map_cont(dev, start_sg, i - start, sgmap, pages, need); in gart_map_sg() 435 if (ret < 0) in gart_map_sg() 459 return ret; in gart_map_sg()
|
/kernel/linux/linux-6.6/arch/x86/platform/uv/ |
H A D | uv_nmi.c | 896 int ret; in uv_call_kgdb_kdb() local 902 ret = kgdb_nmicallin(cpu, X86_TRAP_NMI, regs, reason, in uv_call_kgdb_kdb() 904 if (ret) { in uv_call_kgdb_kdb() 1005 int ret; in uv_handle_nmi_ping() local 1015 ret = uv_handle_nmi(reason, regs); in uv_handle_nmi_ping() 1017 return ret; in uv_handle_nmi_ping()
|
/kernel/linux/linux-6.6/drivers/iommu/intel/ |
H A D | debugfs.c | 119 int i, ret = 0; in iommu_regset_show() local 126 ret = -EINVAL; in iommu_regset_show() 156 return ret; in iommu_regset_show() 565 int ret; in latency_show_one() local 570 ret = dmar_latency_snapshot(iommu, debug_buf, DEBUG_BUFFER_SIZE); in latency_show_one() 571 if (ret < 0) in latency_show_one()
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | cxd2099.c | 610 int ret; in cxd2099_probe() local 614 ret = -ENOMEM; in cxd2099_probe() 623 ret = PTR_ERR(ci->regmap); in cxd2099_probe() 627 ret = regmap_read(ci->regmap, 0x00, &val); in cxd2099_probe() 628 if (ret < 0) { in cxd2099_probe() 663 return ret; in cxd2099_probe()
|
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 207 # ret = query.exec_('SELECT * FROM call_paths_view WHERE id = ' + str(call_path_id)) 208 # if not ret: 766 ret = PQputCopyData(conn, data, len(data)) 767 if (ret != 1): 768 raise Exception("COPY FROM STDIN PQputCopyData failed, error " + str(ret)) 770 ret = PQputCopyEnd(conn, None) 771 if (ret != 1): 772 raise Exception("COPY FROM STDIN PQputCopyEnd failed, error " + str(ret))
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_csum.c | 55 int ret = 0, err; in tcf_csum_init() local 72 ret = tcf_idr_create_from_flags(tn, index, est, a, in tcf_csum_init() 74 if (ret) { in tcf_csum_init() 76 return ret; in tcf_csum_init() 78 ret = ACT_P_CREATED; in tcf_csum_init() 114 return ret; in tcf_csum_init()
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | info.c | 74 struct snd_info_private_data **ret) in alloc_info_private() 88 *ret = data; in alloc_info_private() 108 loff_t ret = -EINVAL, size; in snd_info_entry_llseek() local 114 ret = entry->c.ops->llseek(entry, in snd_info_entry_llseek() 140 ret = offset; in snd_info_entry_llseek() 143 return ret; in snd_info_entry_llseek() 73 alloc_info_private(struct snd_info_entry *entry, struct snd_info_private_data **ret) alloc_info_private() argument
|
/kernel/linux/linux-6.6/drivers/scsi/aacraid/ |
H A D | rx.c | 349 int ret; in aac_rx_check_health() local 355 ret = -2; in aac_rx_check_health() 357 return ret; in aac_rx_check_health() 363 return ret; in aac_rx_check_health() 374 ret = (hex_to_bin(buffer[2]) << 4) + in aac_rx_check_health() 378 return ret; in aac_rx_check_health()
|
/third_party/ffmpeg/libavcodec/ |
H A D | gif.c | 482 int ret; in gif_encode_frame() local 484 if ((ret = ff_alloc_packet(avctx, pkt, avctx->width*avctx->height*7/5 + AV_INPUT_BUFFER_MIN_SIZE)) < 0) in gif_encode_frame() 485 return ret; in gif_encode_frame() 511 ret = av_frame_ref(s->last_frame, (AVFrame*)pict); in gif_encode_frame() 512 if (ret < 0) in gif_encode_frame() 513 return ret; in gif_encode_frame()
|
H A D | alacenc.c | 509 int ret; in alac_encode_init() local 571 if ((ret = ff_lpc_init(&s->lpc_ctx, avctx->frame_size, in alac_encode_init() 574 return ret; in alac_encode_init() 584 int out_bytes, max_frame_size, ret; in alac_encode_frame() local 594 if ((ret = ff_alloc_packet(avctx, avpkt, 4 * max_frame_size)) < 0) in alac_encode_frame() 595 return ret; in alac_encode_frame()
|
H A D | pcm.c | 99 int n, c, sample_size, v, ret; in pcm_encode_frame() local 113 if ((ret = ff_get_encode_buffer(avctx, avpkt, n * sample_size, 0)) < 0) in pcm_encode_frame() 114 return ret; in pcm_encode_frame() 336 int sample_size, c, n, ret, samples_per_block; in pcm_decode_frame() local 381 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) in pcm_decode_frame() 382 return ret; in pcm_decode_frame()
|
H A D | rv40.c | 142 int ret; in rv40_parse_slice_header() local 157 if ((ret = av_image_check_size(w, h, 0, r->s.avctx)) < 0) in rv40_parse_slice_header() 158 return ret; in rv40_parse_slice_header() 561 int ret; in rv40_decode_init() local 564 if ((ret = ff_rv34_decode_init(avctx)) < 0) in rv40_decode_init() 565 return ret; in rv40_decode_init()
|
/third_party/eudev/src/libudev/ |
H A D | libudev-enumerate.c | 204 int ret; in syspath_cmp() local 207 ret = memcmp(path1->syspath, path2->syspath, len); in syspath_cmp() 208 if (ret == 0) { in syspath_cmp() 210 ret = -1; in syspath_cmp() 212 ret = 1; in syspath_cmp() 214 return ret; in syspath_cmp()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_readeia608.c | 518 int ret, start = s->start, end = s->end; in process_command() local 520 ret = ff_filter_process_command(ctx, cmd, args, res, res_len, flags); in process_command() 521 if (ret < 0) in process_command() 522 return ret; in process_command() 524 ret = config_filter(ctx, s->start, s->end); in process_command() 525 if (ret < 0) { in process_command()
|
H A D | vf_lut.c | 219 int val, color, ret; in config_props() local 303 ret = av_expr_parse(&s->comp_expr[color], s->comp_expr_str[color], in config_props() 305 if (ret < 0) { in config_props() 570 int ret = ff_filter_process_command(ctx, cmd, args, res, res_len, flags); in process_command() local 572 if (ret < 0) in process_command() 573 return ret; in process_command()
|
/third_party/libdrm/freedreno/msm/ |
H A D | msm_ringbuffer.c | 470 int ret; in msm_ringbuffer_flush() local 516 ret = drmCommandWriteRead(ring->pipe->dev->fd, DRM_MSM_GEM_SUBMIT, in msm_ringbuffer_flush() 518 if (ret) { in msm_ringbuffer_flush() 519 ERROR_MSG("submit failed: %d (%s)", ret, strerror(errno)); in msm_ringbuffer_flush() 521 } else if (!ret) { in msm_ringbuffer_flush() 544 return ret; in msm_ringbuffer_flush()
|
/third_party/mesa3d/src/freedreno/drm/msm/ |
H A D | msm_ringbuffer.c | 278 int ret; in msm_submit_flush() local 367 ret = drmCommandWriteRead(submit->pipe->dev->fd, DRM_MSM_GEM_SUBMIT, &req, in msm_submit_flush() 369 if (ret) { in msm_submit_flush() 370 ERROR_MSG("submit failed: %d (%s)", ret, strerror(errno)); in msm_submit_flush() 372 } else if (!ret && out_fence) { in msm_submit_flush() 381 return ret; in msm_submit_flush()
|
/third_party/mesa3d/src/compiler/isaspec/ |
H A D | decode.c | 169 int ret; in print() local 172 ret = vasprintf(&buffer, fmt, args); in print() 175 if (ret != -1) { in print() 292 uint64_t ret = expr(scope); in evaluate_expr() 297 *retp = ret; in evaluate_expr() 300 return ret; in evaluate_expr()
|