/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_ima.c | 86 if (CHECK(err, "attach", "attach failed: %d\n", err)) in test_test_ima() 94 err = system(cmd); in test_test_ima() 105 if (CHECK(err, "run_measured_process #1", "err = %d\n", err)) in test_test_ima() 120 if (CHECK(err, "run_measured_process #2", "err = %d\n", err)) in test_test_ima() 146 if (CHECK(err, "modify-bin #3", "err = %d\n", err)) in test_test_ima() 151 if (CHECK(err, "run_measured_process #3", "err = %d\n", err)) in test_test_ima() 156 if (err == 2) { in test_test_ima() 178 if (CHECK(err, "run_measured_process #4", "err = %d\n", err)) in test_test_ima() 196 if (CHECK(err, "restore-bin #3", "err = %d\n", err)) in test_test_ima() 209 if (CHECK(err, "run_measured_process #5", "err = %d\n", err)) in test_test_ima() [all …]
|
H A D | xdp_attach.c | 13 int err, fd1, fd2, fd3; in test_xdp_attach() local 19 if (CHECK_FAIL(err)) in test_xdp_attach() 22 if (CHECK_FAIL(err)) in test_xdp_attach() 27 if (CHECK_FAIL(err)) in test_xdp_attach() 32 if (CHECK_FAIL(err)) in test_xdp_attach() 37 if (CHECK_FAIL(err)) in test_xdp_attach() 45 if (CHECK(err || id0 != id1, "id1_check", in test_xdp_attach() 58 if (CHECK(err || id0 != id2, "id2_check", in test_xdp_attach() 110 int err, fd_xdp; in test_xdp_attach_fail() local 118 err = test_xdp_attach_fail__attach(skel); in test_xdp_attach_fail() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xdp_synproxy.c | 27 int err; in cleanup() local 38 if (err < 0) { in cleanup() 50 if (err < 0) { in cleanup() 196 int err; in syncookie_attach() local 203 return err; in syncookie_attach() 209 return err; in syncookie_attach() 261 err = 0; in syncookie_attach() 264 return err; in syncookie_attach() 278 int err; in syncookie_open_bpf_maps() local 341 err = 0; in syncookie_open_bpf_maps() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | adm9240.c | 138 int err; in adm9240_write_fan_div() local 171 int err; in adm9240_fan_min_write() local 219 int err; in cpu0_vid_show() local 239 int err; in aout_output_show() local 242 if (err) in aout_output_show() 254 int err; in aout_output_store() local 257 if (err) in aout_output_store() 261 return err < 0 ? err : count; in aout_output_store() 317 int err; in adm9240_init_client() local 385 int err; in adm9240_chip_read() local [all …]
|
/openbmc/linux/sound/firewire/fireface/ |
H A D | ff-stream.c | 43 int err; in init_stream() local 54 if (err < 0) in init_stream() 55 return err; in init_stream() 58 if (err < 0) in init_stream() 61 return err; in init_stream() 76 int err; in snd_ff_stream_init_duplex() local 94 return err; in snd_ff_stream_init_duplex() 115 int err; in snd_ff_stream_reserve_duplex() local 170 int err; in snd_ff_stream_start_duplex() local 256 int err; in snd_ff_stream_lock_try() local [all …]
|
/openbmc/linux/sound/pci/pcxhr/ |
H A D | pcxhr_hwdep.c | 31 int err; in pcxhr_init_board() local 47 if (err) in pcxhr_init_board() 48 return err; in pcxhr_init_board() 73 if (err) in pcxhr_init_board() 84 return err; in pcxhr_init_board() 89 int err; in pcxhr_sub_init() local 98 if (err) in pcxhr_sub_init() 108 if (err) in pcxhr_sub_init() 118 return err; in pcxhr_sub_init() 158 int err; in pcxhr_dsp_allocate_pipe() local [all …]
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | nvdec.c | 69 int err; in nvdec_boot_falcon() local 96 int err; in nvdec_wait_debuginfo() local 110 int err; in nvdec_boot_riscv() local 113 if (err) in nvdec_boot_riscv() 126 if (err) in nvdec_boot_riscv() 130 if (err) in nvdec_boot_riscv() 143 if (err) in nvdec_boot_riscv() 158 int err; in nvdec_init() local 161 if (err < 0 && err != -ENODEV) { in nvdec_init() 206 int err; in nvdec_exit() local [all …]
|
H A D | gr3d.c | 64 int err; in gr3d_init() local 105 int err; in gr3d_exit() local 314 int err; in gr3d_power_up_legacy_domain() local 360 if (err) in gr3d_power_up_legacy_domain() 384 int err; in gr3d_init_power() local 418 if (err) in gr3d_init_power() 445 int err; in gr3d_get_clocks() local 464 int err; in gr3d_get_resets() local 491 int err; in gr3d_probe() local 506 if (err) in gr3d_probe() [all …]
|
/openbmc/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_fdinfo_test.c | 30 if (code == PIDFD_PASS || !err || err->code != PIDFD_PASS) in error_set() 33 err->code = code; in error_set() 35 r = vsnprintf(err->msg, sizeof(err->msg), fmt, args); in error_set() 44 switch (err->code) { in error_report() 70 test_name, err->code, err->msg); in error_report() 81 return err->code; in error_check() 93 struct error *err) in clone_newns() argument 218 struct error err; in child_fdinfo_nspid_test() local 255 struct error err = {0, }; in test_pidfd_fdinfo_nspid() local 288 struct error err = {0, }; in test_pidfd_dead_fdinfo() local [all …]
|
/openbmc/linux/sound/usb/ |
H A D | mixer_quirks.c | 231 return err < 0 ? err : count; in snd_usb_sbrc_hwdep_read() 345 return err < 0 ? err : 1; in snd_audigy2nx_led_put() 505 return err < 0 ? err : 1; in snd_emu0204_ch_switch_put() 573 return err < 0 ? err : 1; in snd_xonar_u1_switch_put() 743 return err < 0 ? err : 1; in snd_mbox1_clk_switch_put() 813 return err < 0 ? err : 1; in snd_mbox1_src_switch_put() 932 return err < 0 ? err : 1; in snd_nativeinstruments_control_put() 1101 return err < 0 ? err : 1; in snd_ftu_eff_switch_put() 1753 return err < 0 ? err : 1; in snd_microii_spdif_default_put() 1811 return err < 0 ? err : 1; in snd_microii_spdif_switch_put() [all …]
|
/openbmc/linux/sound/pci/lx6464es/ |
H A D | lx6464es.c | 250 err = 0; in lx_pcm_open() 411 int err; in lx_trigger_start() local 458 int err; in lx_trigger_stop() local 651 int err; in lx_init_get_version_features() local 718 int err; in lx_init_dsp() local 725 if (err) in lx_init_dsp() 730 if (err) in lx_init_dsp() 735 if (err) in lx_init_dsp() 761 if (err) in lx_init_dsp() 793 int err; in lx_pcm_create() local [all …]
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-kingdisplay-kd097d04.c | 186 int err; in kingdisplay_panel_disable() local 192 if (err < 0) in kingdisplay_panel_disable() 203 int err; in kingdisplay_panel_unprepare() local 211 return err; in kingdisplay_panel_unprepare() 220 if (err < 0) in kingdisplay_panel_unprepare() 221 return err; in kingdisplay_panel_unprepare() 289 return err; in kingdisplay_panel_prepare() 357 int err; in kingdisplay_panel_add() local 375 if (err) in kingdisplay_panel_add() 391 int err; in kingdisplay_panel_probe() local [all …]
|
/openbmc/linux/sound/firewire/oxfw/ |
H A D | oxfw-command.c | 14 int err; in avc_stream_set_format() local 36 if (err < 0) in avc_stream_set_format() 39 err = -EIO; in avc_stream_set_format() 45 err = 0; in avc_stream_set_format() 49 return err; in avc_stream_set_format() 57 int err; in avc_stream_get_format() local 81 if (err < 0) in avc_stream_get_format() 106 err = 0; in avc_stream_get_format() 108 return err; in avc_stream_get_format() 117 int err; in avc_general_inquiry_sig_fmt() local [all …]
|
/openbmc/linux/sound/drivers/vx/ |
H A D | vx_core.c | 111 int err; in vx_transfer_end() local 114 if (err < 0) in vx_transfer_end() 115 return err; in vx_transfer_end() 119 if (err < 0) in vx_transfer_end() 297 err = -(VX_ERR_MASK | err); in vx_send_msg_nolock() 348 int err; in vx_send_msg() local 370 int err; in vx_send_rih_nolock() local 411 int err; in vx_send_rih() local 485 int err; in vx_test_irq_src() local 662 int err; in snd_vx_dsp_boot() local [all …]
|
/openbmc/linux/drivers/mtd/tests/ |
H A D | oobtest.c | 80 return err ? err : -1; in write_eraseblock() 91 int err; in write_whole_device() local 99 if (err) in write_whole_device() 105 if (err) in write_whole_device() 191 return err ? err : -1; in verify_eraseblock() 228 return err ? err : -1; in verify_eraseblock() 290 return err ? err : -1; in verify_eraseblock_in_one_go() 315 int err; in verify_all_eraseblocks() local 390 if (err) in mtd_oobtest_init() 402 if (err) in mtd_oobtest_init() [all …]
|
/openbmc/linux/kernel/time/ |
H A D | posix-clock.c | 53 return err; in posix_clock_read() 110 int err; in posix_clock_open() local 123 err = 0; in posix_clock_open() 164 int err; in posix_clock_register() local 215 if (err) in get_clock_desc() 229 int err; in pc_clock_adjtime() local 232 if (err) in pc_clock_adjtime() 253 int err; in pc_clock_gettime() local 256 if (err) in pc_clock_gettime() 272 int err; in pc_clock_getres() local [all …]
|
/openbmc/u-boot/common/spl/ |
H A D | spl_mmc.c | 126 if (err) { in spl_mmc_find_device() 135 if (!err) in spl_mmc_find_device() 141 if (err) { in spl_mmc_find_device() 158 int err; in mmc_load_image_raw_partition() local 165 if (err) in mmc_load_image_raw_partition() 176 if (err) { in mmc_load_image_raw_partition() 246 if (!err) in spl_mmc_do_fs_boot() 253 if (!err) in spl_mmc_do_fs_boot() 261 if (!err) in spl_mmc_do_fs_boot() 268 if (!err) in spl_mmc_do_fs_boot() [all …]
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-rockchip.c | 33 int err; in rockchip_pcie_parse_dt() local 56 if (err) in rockchip_pcie_parse_dt() 57 return err; in rockchip_pcie_parse_dt() 171 if (err) { in rockchip_pcie_init_port() 177 if (err) { in rockchip_pcie_init_port() 183 if (err) { in rockchip_pcie_init_port() 197 if (err) { in rockchip_pcie_init_port() 203 if (err) { in rockchip_pcie_init_port() 209 if (err) { in rockchip_pcie_init_port() 215 if (err) { in rockchip_pcie_init_port() [all …]
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | cdev.c | 63 return err; in get_exclusive() 163 int err; in vol_cdev_fsync() local 167 return err; in vol_cdev_fsync() 218 if (err) in vol_cdev_read() 241 return err ? err : count_save - count; in vol_cdev_read() 304 if (err) in vol_cdev_direct_write() 320 return err ? err : count_save - count; in vol_cdev_direct_write() 345 if (err) { in vol_cdev_write() 486 if (err) in vol_cdev_ioctl() 860 if (err) in ubi_cdev_ioctl() [all …]
|
/openbmc/linux/fs/overlayfs/ |
H A D | dir.c | 28 int err; in ovl_cleanup() local 37 if (err) { in ovl_cleanup() 42 return err; in ovl_cleanup() 67 int err; in ovl_whiteout() local 92 if (!err) in ovl_whiteout() 114 int err; in ovl_cleanup_and_whiteout() local 126 if (err) in ovl_cleanup_and_whiteout() 143 int err; in ovl_mkdir_real() local 147 if (err) in ovl_mkdir_real() 174 int err; in ovl_create_real() local [all …]
|
H A D | copy_up.c | 50 int err; in ovl_copy_acl() local 59 if (err == -ENODATA || err == -EOPNOTSUPP) in ovl_copy_acl() 73 return err; in ovl_copy_acl() 177 int err; in ovl_copy_fileattr() local 182 if (err == -ENOTTY || err == -EINVAL) in ovl_copy_fileattr() 213 if (err == -ENOTTY || err == -EINVAL) { in ovl_copy_fileattr() 381 int err; in ovl_encode_real_fh() local 433 int err; in ovl_set_origin() local 454 return err == -EPERM ? 0 : err; in ovl_set_origin() 462 int err; in ovl_set_upper_fh() local [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_devlink.c | 19 int err; in rvu_report_pair_start() local 22 if (err) in rvu_report_pair_start() 23 return err; in rvu_report_pair_start() 30 int err; in rvu_report_pair_end() local 33 if (err) in rvu_report_pair_end() 34 return err; in rvu_report_pair_end() 277 err: in rvu_nix_register_interrupts() 287 int err; in rvu_nix_report_show() local 294 if (err) in rvu_nix_report_show() 298 if (err) in rvu_nix_report_show() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_hangcheck.c | 44 int err; in hang_init() local 93 return err; in hang_init() 114 int err; in hang_create_request() local 148 if (err) { in hang_create_request() 154 if (err) in hang_create_request() 164 if (err) in hang_create_request() 168 if (err) in hang_create_request() 230 if (err) in hang_create_request() 250 return err ? ERR_PTR(err) : rq; in hang_create_request() 291 int err; in igt_hang_sanitycheck() local [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | event-times.c | 25 int err; in attach__enable_on_exec() local 32 return err; in attach__enable_on_exec() 38 return err; in attach__enable_on_exec() 47 return err; in attach__enable_on_exec() 63 int err; in attach__current_disabled() local 76 if (err) { in attach__current_disabled() 89 int err; in attach__current_enabled() local 116 int err; in attach__cpu_disabled() local 129 if (err) { in attach__cpu_disabled() 145 int err; in attach__cpu_enabled() local [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_mman.c | 106 int err; in check_partial_mapping() local 109 if (err) { in check_partial_mapping() 121 if (err) { in check_partial_mapping() 194 int err; in check_partial_mappings() local 197 if (err) { in check_partial_mappings() 273 if (err) in check_partial_mappings() 322 int err; in igt_partial_tiling() local 362 if (err && err != -EINTR) in igt_partial_tiling() 455 int err; in igt_smoke_tiling() local 575 err: in make_obj_busy() [all …]
|