Home
last modified time | relevance | path

Searched refs:ret2 (Results 1 – 25 of 95) sorted by relevance

1234

/linux-6.6.21/fs/btrfs/
Dzstd.c423 size_t ret2; in zstd_compress_pages() local
425 ret2 = zstd_compress_stream(stream, &workspace->out_buf, in zstd_compress_pages()
427 if (zstd_is_error(ret2)) { in zstd_compress_pages()
429 zstd_get_error_code(ret2)); in zstd_compress_pages()
489 size_t ret2; in zstd_compress_pages() local
491 ret2 = zstd_end_stream(stream, &workspace->out_buf); in zstd_compress_pages()
492 if (zstd_is_error(ret2)) { in zstd_compress_pages()
494 zstd_get_error_code(ret2)); in zstd_compress_pages()
498 if (ret2 == 0) { in zstd_compress_pages()
571 size_t ret2; in zstd_decompress_bio() local
[all …]
Ddir-item.c114 int ret2 = 0; in btrfs_insert_dir_item() local
166 ret2 = btrfs_insert_delayed_dir_index(trans, name->name, name->len, dir, in btrfs_insert_dir_item()
172 if (ret2) in btrfs_insert_dir_item()
173 return ret2; in btrfs_insert_dir_item()
/linux-6.6.21/drivers/mfd/
Dintel-m10-bmc-pmci.c66 int ret, ret2; in indirect_reg_read() local
83 ret2 = indirect_clear_cmd(ctx); in indirect_reg_read()
87 if (ret2) in indirect_reg_read()
88 return ret2; in indirect_reg_read()
98 int ret, ret2; in indirect_reg_write() local
114 ret2 = indirect_clear_cmd(ctx); in indirect_reg_write()
118 return ret2; in indirect_reg_write()
257 int ret, ret2; in m10bmc_pmci_flash_read() local
272 ret2 = m10bmc_pmci_set_flash_host_mux(m10bmc, false); in m10bmc_pmci_flash_read()
278 return ret2; in m10bmc_pmci_flash_read()
/linux-6.6.21/io_uring/
Drw.c723 ssize_t ret, ret2; in io_read() local
810 ret2 = io_setup_async_rw(req, iovec, s, true); in io_read()
812 if (ret2) { in io_read()
813 ret = ret > 0 ? ret : ret2; in io_read()
870 ssize_t ret, ret2; in io_write() local
921 ret2 = call_write_iter(req->file, kiocb, &s->iter); in io_write()
923 ret2 = loop_rw_iter(WRITE, rw, &s->iter); in io_write()
925 ret2 = -EINVAL; in io_write()
929 ret2 = -EAGAIN; in io_write()
936 if (ret2 == -EOPNOTSUPP && (kiocb->ki_flags & IOCB_NOWAIT)) in io_write()
[all …]
Dpoll.c983 int ret2, ret = 0; in io_poll_remove() local
988 ret2 = io_poll_disarm(preq); in io_poll_remove()
991 if (!ret2) in io_poll_remove()
993 if (ret2 != -ENOENT) { in io_poll_remove()
994 ret = ret2; in io_poll_remove()
999 ret2 = io_poll_disarm(preq); in io_poll_remove()
1002 if (ret2) { in io_poll_remove()
1003 ret = ret2; in io_poll_remove()
1025 ret2 = io_poll_add(preq, issue_flags & ~IO_URING_F_UNLOCKED); in io_poll_remove()
1027 if (!ret2 || ret2 == -EIOCBQUEUED) in io_poll_remove()
/linux-6.6.21/net/rxrpc/
Drecvmsg.c172 int copy, ret = -EAGAIN, ret2; in rxrpc_recvmsg_data() local
206 ret2 = rxrpc_verify_data(call, skb); in rxrpc_recvmsg_data()
208 sp->offset, sp->len, ret2); in rxrpc_recvmsg_data()
209 if (ret2 < 0) { in rxrpc_recvmsg_data()
210 kdebug("verify = %d", ret2); in rxrpc_recvmsg_data()
211 ret = ret2; in rxrpc_recvmsg_data()
227 ret2 = skb_copy_datagram_iter(skb, rx_pkt_offset, iter, in rxrpc_recvmsg_data()
229 if (ret2 < 0) { in rxrpc_recvmsg_data()
230 ret = ret2; in rxrpc_recvmsg_data()
/linux-6.6.21/drivers/fpga/
Ddfl-n3000-nios.c300 int ret, ret2; in n3000_nios_init_done_check() local
374 ret2 = regmap_read(nn->regmap, N3000_NIOS_PKVL_A_MODE_STS, &state_a); in n3000_nios_init_done_check()
375 if (ret2) in n3000_nios_init_done_check()
376 return ret2; in n3000_nios_init_done_check()
378 ret2 = regmap_read(nn->regmap, N3000_NIOS_PKVL_B_MODE_STS, &state_b); in n3000_nios_init_done_check()
379 if (ret2) in n3000_nios_init_done_check()
380 return ret2; in n3000_nios_init_done_check()
/linux-6.6.21/arch/alpha/kernel/
Dsrm_env.c95 unsigned long ret1, ret2; in srm_env_proc_write() local
112 ret2 = callback_save_env(); in srm_env_proc_write()
113 while((ret2 >> 61) == 1); in srm_env_proc_write()
/linux-6.6.21/sound/soc/codecs/
Dtpa6130a2.c42 int ret = 0, ret2; in tpa6130a2_power() local
64 ret2 = regulator_disable(data->supply); in tpa6130a2_power()
65 if (ret2 != 0) in tpa6130a2_power()
67 "Failed to disable supply: %d\n", ret2); in tpa6130a2_power()
/linux-6.6.21/fs/ext4/
Dialloc.c939 int ret2, err; in __ext4_new_inode() local
996 ret2 = ext4_xattr_credits_for_new_inode(dir, mode, encrypt); in __ext4_new_inode()
997 if (ret2 < 0) { in __ext4_new_inode()
998 err = ret2; in __ext4_new_inode()
1001 nblocks += ret2; in __ext4_new_inode()
1010 ret2 = 0; in __ext4_new_inode()
1015 ret2 = find_group_orlov(sb, dir, &group, mode, qstr); in __ext4_new_inode()
1017 ret2 = find_group_other(sb, dir, &group, mode); in __ext4_new_inode()
1022 if (ret2 == -1) in __ext4_new_inode()
1064 ret2 = find_inode_bit(sb, group, inode_bitmap_bh, &ino); in __ext4_new_inode()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_ldsx_insn.c19 int done1, done2, ret1, ret2; variable
44 ret2 = 1; in map_val_prog()
/linux-6.6.21/tools/perf/
Dbuiltin-probe.c443 int ret, ret2, ufd = -1, kfd = -1; in perf_del_probe_events() local
479 ret2 = probe_file__get_events(ufd, filter, ulist); in perf_del_probe_events()
480 if (ret2 == 0) { in perf_del_probe_events()
484 ret2 = probe_file__del_strlist(ufd, ulist); in perf_del_probe_events()
485 if (ret2 < 0) in perf_del_probe_events()
487 } else if (ret2 == -ENOMEM) in perf_del_probe_events()
490 if (ret == -ENOENT && ret2 == -ENOENT) in perf_del_probe_events()
/linux-6.6.21/fs/ocfs2/
Dacl.c361 int ret = 0, ret2; in ocfs2_init_acl() local
395 ret2 = ocfs2_acl_set_mode(inode, di_bh, handle, mode); in ocfs2_init_acl()
396 if (ret2) { in ocfs2_init_acl()
397 mlog_errno(ret2); in ocfs2_init_acl()
398 ret = ret2; in ocfs2_init_acl()
/linux-6.6.21/tools/testing/selftests/net/mptcp/
Dmptcp_sockopt.c631 ssize_t ret, ret2, ret3; in process_one_client() local
650 ret2 = write(fd, buf, ret); in process_one_client()
651 if (ret2 < 0) in process_one_client()
659 do_getsockopts(&s, fd, ret, ret2); in process_one_client()
665 if (s.last_sample.mptcpi_bytes_sent != ret2) in process_one_client()
667 s.last_sample.mptcpi_bytes_sent, ret2, in process_one_client()
668 s.last_sample.mptcpi_bytes_sent - ret2); in process_one_client()
675 s.last_sample.mptcpi_bytes_acked, ret2, in process_one_client()
676 s.last_sample.mptcpi_bytes_acked - ret2); in process_one_client()
/linux-6.6.21/drivers/gnss/
Dsirf.c293 int ret2; in sirf_runtime_suspend() local
312 ret2 = sirf_set_active(data, true); in sirf_runtime_suspend()
314 ret2 = regulator_enable(data->vcc); in sirf_runtime_suspend()
316 if (ret2) in sirf_runtime_suspend()
319 ret2); in sirf_runtime_suspend()
/linux-6.6.21/mm/
Dtruncate.c626 int ret2 = 0; in invalidate_inode_pages2_range() local
669 ret2 = folio_launder(mapping, folio); in invalidate_inode_pages2_range()
670 if (ret2 == 0) { in invalidate_inode_pages2_range()
672 ret2 = -EBUSY; in invalidate_inode_pages2_range()
674 if (ret2 < 0) in invalidate_inode_pages2_range()
675 ret = ret2; in invalidate_inode_pages2_range()
/linux-6.6.21/drivers/iio/adc/
Dmax11410.c417 int ret2; in max11410_sample() local
420 ret = read_poll_timeout(max11410_read_reg, ret2, in max11410_sample()
421 ret2 || (val & MAX11410_STATUS_CONV_READY_BIT), in max11410_sample()
426 if (ret2) in max11410_sample()
427 return ret2; in max11410_sample()
858 int ret, ret2, val; in max11410_calibrate() local
865 ret = read_poll_timeout(max11410_read_reg, ret2, in max11410_calibrate()
866 ret2 || (val & MAX11410_STATUS_CAL_READY_BIT), in max11410_calibrate()
872 return ret2; in max11410_calibrate()
/linux-6.6.21/fs/
Ddirect-io.c552 int ret2; in dio_bio_reap() local
558 ret2 = blk_status_to_errno(dio_bio_complete(dio, bio)); in dio_bio_reap()
560 ret = ret2; in dio_bio_reap()
1059 int ret2; in drop_refcount() local
1074 ret2 = --dio->refcount; in drop_refcount()
1076 return ret2; in drop_refcount()
1266 ssize_t ret2; in __blockdev_direct_IO() local
1268 ret2 = dio_send_cur_page(dio, &sdio, &map_bh); in __blockdev_direct_IO()
1270 retval = ret2; in __blockdev_direct_IO()
Dsync.c153 int ret, ret2; in SYSCALL_DEFINE1() local
163 ret2 = errseq_check_and_advance(&sb->s_wb_err, &f.file->f_sb_err); in SYSCALL_DEFINE1()
166 return ret ? ret : ret2; in SYSCALL_DEFINE1()
/linux-6.6.21/lib/crypto/
Dcurve25519-selftest.c1285 bool success = true, ret, ret2; in curve25519_selftest() local
1306 ret2 = curve25519(out2, in, (u8[CURVE25519_KEY_SIZE]){ 9 }); in curve25519_selftest()
1308 if (ret != ret2 || in curve25519_selftest()
/linux-6.6.21/drivers/media/i2c/
Dad5820.c107 int ret = 0, ret2; in ad5820_power_off() local
120 ret2 = regulator_disable(coil->vana); in ad5820_power_off()
123 return ret2; in ad5820_power_off()
/linux-6.6.21/net/rds/
Dib_frmr.c362 int ret = 0, ret2; in rds_ib_unreg_frmr() local
368 ret2 = rds_ib_post_inv(ibmr); in rds_ib_unreg_frmr()
369 if (ret2 && !ret) in rds_ib_unreg_frmr()
370 ret = ret2; in rds_ib_unreg_frmr()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_defer.c237 int ret2; in xfs_defer_create_intents() local
240 ret2 = xfs_defer_create_intent(tp, dfp, true); in xfs_defer_create_intents()
241 if (ret2 < 0) in xfs_defer_create_intents()
242 return ret2; in xfs_defer_create_intents()
243 ret |= ret2; in xfs_defer_create_intents()
/linux-6.6.21/fs/ext2/
Dfile.c251 int ret2; in ext2_dio_write_iter() local
263 ret2 = filemap_write_and_wait_range(inode->i_mapping, pos, in ext2_dio_write_iter()
265 if (!ret2) in ext2_dio_write_iter()
/linux-6.6.21/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c260 int ret2 = 0; in third_party_blocker() local
267 ret2 = futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in third_party_blocker()
270 if (args->ret || ret2) { in third_party_blocker()

1234