/kernel/linux/linux-5.10/tools/virtio/virtio-trace/ |
H A D | trace-agent.c | 35 goto error; in get_total_cpus() 38 goto error; in get_total_cpus() 43 error: in get_total_cpus() 54 pr_err("agent_info zalloc error\n"); in agent_info_new() 89 goto error; in parse_size() 92 goto error; in parse_size() 100 error: in parse_size() 117 goto error; in make_path() 130 goto error; in make_path() 135 error in make_path() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | decompress_unlzo.c | 102 void (*error) (char *x)) in unlzo() 114 error("NULL output pointer and no flush function provided"); in unlzo() 119 error("Could not allocate output buffer"); in unlzo() 125 error("Both input pointer and fill function provided, don't know what to do"); in unlzo() 130 error("NULL input pointer and missing fill function"); in unlzo() 135 error("Could not allocate input buffer"); in unlzo() 156 error("invalid header"); in unlzo() 179 error("file corrupted"); in unlzo() 194 error("dest len longer than block size"); in unlzo() 205 error("fil in unlzo() [all...] |
/kernel/linux/linux-5.10/kernel/power/ |
H A D | process.c | 125 int error; in freeze_processes() local 127 error = __usermodehelper_disable(UMH_FREEZING); in freeze_processes() 128 if (error) in freeze_processes() 129 return error; in freeze_processes() 140 error = try_to_freeze_tasks(true); in freeze_processes() 141 if (!error) { in freeze_processes() 154 if (!error && !oom_killer_disable(msecs_to_jiffies(freeze_timeout_msecs))) in freeze_processes() 155 error = -EBUSY; in freeze_processes() 157 if (error) in freeze_processes() 159 return error; in freeze_processes() 172 int error; freeze_kernel_threads() local [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | intel_mid_powerbtn.c | 95 "Read error %d while reading MSIC_PB_STATUS\n", ret); in mid_pb_isr() 130 int error; in mid_pb_probe() local 162 error = ddata->setup(ddata); in mid_pb_probe() 163 if (error) in mid_pb_probe() 164 return error; in mid_pb_probe() 171 error = devm_request_threaded_irq(&pdev->dev, irq, NULL, mid_pb_isr, in mid_pb_probe() 173 if (error) { in mid_pb_probe() 176 return error; in mid_pb_probe() 179 error = input_register_device(input); in mid_pb_probe() 180 if (error) { in mid_pb_probe() [all...] |
H A D | surface3_button.c | 98 int error; in surface3_button_device_create() local 128 error = -ENODEV; in surface3_button_device_create() 138 error = -ENOMEM; in surface3_button_device_create() 142 error = platform_device_add_data(pd, gpio_keys_pdata, in surface3_button_device_create() 144 if (error) in surface3_button_device_create() 147 error = platform_device_add(pd); in surface3_button_device_create() 148 if (error) in surface3_button_device_create() 157 return ERR_PTR(error); in surface3_button_device_create() 188 int error; in surface3_button_probe() local 195 error in surface3_button_probe() [all...] |
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | getroot.c | 37 * Note that this function frees the inode in case of error. 75 int error = -ENOMEM; in nfs_get_root() local 87 error = server->nfs_client->rpc_ops->getroot(server, ctx->mntfh, &fsinfo); in nfs_get_root() 88 if (error < 0) { in nfs_get_root() 89 dprintk("nfs_get_root: getattr error = %d\n", -error); in nfs_get_root() 97 error = PTR_ERR(inode); in nfs_get_root() 102 error = nfs_superblock_set_dummy_root(s, inode); in nfs_get_root() 103 if (error != 0) in nfs_get_root() 113 error in nfs_get_root() [all...] |
/kernel/linux/linux-6.6/tools/virtio/virtio-trace/ |
H A D | trace-agent.c | 36 goto error; in get_total_cpus() 39 goto error; in get_total_cpus() 44 error: in get_total_cpus() 55 pr_err("agent_info zalloc error\n"); in agent_info_new() 90 goto error; in parse_size() 93 goto error; in parse_size() 101 error: in parse_size() 118 goto error; in make_path() 134 goto error; in make_path() 139 error in make_path() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | decompress_unlzo.c | 101 void (*error) (char *x)) in unlzo() 113 error("NULL output pointer and no flush function provided"); in unlzo() 118 error("Could not allocate output buffer"); in unlzo() 124 error("Both input pointer and fill function provided, don't know what to do"); in unlzo() 129 error("NULL input pointer and missing fill function"); in unlzo() 134 error("Could not allocate input buffer"); in unlzo() 155 error("invalid header"); in unlzo() 178 error("file corrupted"); in unlzo() 193 error("dest len longer than block size"); in unlzo() 204 error("fil in unlzo() [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_ioctl32.c | 170 /* Return 0 on success or positive error (to xfs_bulkstat()) */ 223 int error; in xfs_compat_ioc_fsbulkstat() local 294 error = xfs_inumbers(&breq, inumbers_func); in xfs_compat_ioc_fsbulkstat() 299 error = xfs_bulkstat_one(&breq, bs_one_func); in xfs_compat_ioc_fsbulkstat() 303 error = xfs_bulkstat(&breq, bs_one_func); in xfs_compat_ioc_fsbulkstat() 306 error = -EINVAL; in xfs_compat_ioc_fsbulkstat() 308 if (error) in xfs_compat_ioc_fsbulkstat() 309 return error; in xfs_compat_ioc_fsbulkstat() 359 int error; in xfs_compat_attrlist_by_handle() local 370 error in xfs_compat_attrlist_by_handle() 382 int error; xfs_compat_attrmulti_by_handle() local 441 int error; xfs_file_compat_ioctl() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_defer.c | 249 int error; in xfs_defer_trans_roll() local 297 error = xfs_trans_roll(tpp); in xfs_defer_trans_roll() 312 if (error) in xfs_defer_trans_roll() 313 trace_xfs_defer_trans_roll_error(tp, error); in xfs_defer_trans_roll() 314 return error; in xfs_defer_trans_roll() 413 int error; in xfs_defer_finish_one() local 421 error = ops->finish_item(tp, dfp->dfp_done, li, &state); in xfs_defer_finish_one() 422 if (error == -EAGAIN) { in xfs_defer_finish_one() 436 if (error) in xfs_defer_finish_one() 445 ops->finish_cleanup(tp, state, error); in xfs_defer_finish_one() 462 int error = 0; xfs_defer_finish_noroll() local 515 int error; xfs_defer_finish() local 697 int error; xfs_defer_ops_capture_and_commit() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | refcount.c | 106 int error = 0; in xchk_refcountbt_rmap_check() local 108 if (xchk_should_terminate(refchk->sc, &error)) in xchk_refcountbt_rmap_check() 109 return error; in xchk_refcountbt_rmap_check() 149 * we have a refcountbt error. 288 int error; in xchk_refcountbt_xref_rmap() local 300 error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high, in xchk_refcountbt_xref_rmap() 302 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_refcountbt_xref_rmap() 375 int error; in xchk_refcountbt_xref_gaps() local 386 error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high, in xchk_refcountbt_xref_gaps() 388 if (error in xchk_refcountbt_xref_gaps() 483 int error; xchk_refcount_xref_rmap() local 518 int error; xchk_refcountbt() local 545 int error; xchk_xref_is_cow_staging() local 588 int error; xchk_xref_is_not_shared() local 609 int error; xchk_xref_is_not_cow_staging() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_ioctl32.c | 156 /* Return 0 on success or positive error (to xfs_bulkstat()) */ 211 int error; in xfs_compat_ioc_fsbulkstat() local 282 error = xfs_inumbers(&breq, inumbers_func); in xfs_compat_ioc_fsbulkstat() 287 error = xfs_bulkstat_one(&breq, bs_one_func); in xfs_compat_ioc_fsbulkstat() 291 error = xfs_bulkstat(&breq, bs_one_func); in xfs_compat_ioc_fsbulkstat() 294 error = -EINVAL; in xfs_compat_ioc_fsbulkstat() 296 if (error) in xfs_compat_ioc_fsbulkstat() 297 return error; in xfs_compat_ioc_fsbulkstat() 347 int error; in xfs_compat_attrlist_by_handle() local 358 error in xfs_compat_attrlist_by_handle() 370 int error; xfs_compat_attrmulti_by_handle() local 428 int error; xfs_file_compat_ioctl() local [all...] |
H A D | xfs_inode_item_recover.c | 82 int error; in xfs_recover_inode_owner_change() local 93 error = xfs_inode_from_disk(ip, dip); in xfs_recover_inode_owner_change() 94 if (error) in xfs_recover_inode_owner_change() 99 error = xfs_bmbt_change_owner(NULL, ip, XFS_DATA_FORK, in xfs_recover_inode_owner_change() 101 if (error) in xfs_recover_inode_owner_change() 107 error = xfs_bmbt_change_owner(NULL, ip, XFS_ATTR_FORK, in xfs_recover_inode_owner_change() 109 if (error) in xfs_recover_inode_owner_change() 115 return error; in xfs_recover_inode_owner_change() 283 int error; in xlog_recover_inode_commit_pass2() local 296 error in xlog_recover_inode_commit_pass2() [all...] |
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | sx8654.c | 263 int error; in sx8654_open() local 266 error = i2c_smbus_write_byte_data(client, I2C_REG_TOUCH0, in sx8654_open() 268 if (error) { in sx8654_open() 270 return error; in sx8654_open() 273 error = i2c_smbus_write_byte(client, CMD_PENTRG); in sx8654_open() 274 if (error) { in sx8654_open() 276 return error; in sx8654_open() 288 int error; in sx8654_close() local 296 error = i2c_smbus_write_byte(client, sx8654->data->cmd_manual); in sx8654_close() 297 if (error) { in sx8654_close() 314 int error; sx8654_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/clocksource/ |
H A D | timer-riscv.c | 95 int cpuid, hartid, error; in riscv_timer_init_dt() local 101 pr_warn("Not valid hartid for node [%pOF] error = [%d]\n", in riscv_timer_init_dt() 136 error = clocksource_register_hz(&riscv_clocksource, riscv_timebase); in riscv_timer_init_dt() 137 if (error) { in riscv_timer_init_dt() 139 error, cpuid); in riscv_timer_init_dt() 140 return error; in riscv_timer_init_dt() 145 error = request_percpu_irq(riscv_clock_event_irq, in riscv_timer_init_dt() 148 if (error) { in riscv_timer_init_dt() 149 pr_err("registering percpu irq failed [%d]\n", error); in riscv_timer_init_dt() 150 return error; in riscv_timer_init_dt() [all...] |
/kernel/linux/linux-5.10/drivers/input/misc/ |
H A D | e3x0-button.c | 65 int error; in e3x0_button_probe() local 85 error = devm_request_irq(&pdev->dev, irq_press, in e3x0_button_probe() 88 if (error) { in e3x0_button_probe() 90 irq_press, error); in e3x0_button_probe() 91 return error; in e3x0_button_probe() 94 error = devm_request_irq(&pdev->dev, irq_release, in e3x0_button_probe() 97 if (error) { in e3x0_button_probe() 99 irq_release, error); in e3x0_button_probe() 100 return error; in e3x0_button_probe() 103 error in e3x0_button_probe() [all...] |
H A D | tps65218-pwrbutton.c | 68 int error; in tps6521x_pb_irq() local 70 error = regmap_read(pwr->regmap, tps_data->reg_status, ®); in tps6521x_pb_irq() 71 if (error) { in tps6521x_pb_irq() 72 dev_err(pwr->dev, "can't read register: %d\n", error); in tps6521x_pb_irq() 95 int error; in tps6521x_pb_probe() local 130 error = devm_request_threaded_irq(dev, irq, NULL, tps6521x_pb_irq, in tps6521x_pb_probe() 135 if (error) { in tps6521x_pb_probe() 136 dev_err(dev, "failed to request IRQ #%d: %d\n", irq, error); in tps6521x_pb_probe() 137 return error; in tps6521x_pb_probe() 140 error in tps6521x_pb_probe() [all...] |
H A D | ab8500-ponkey.c | 55 int error; in ab8500_ponkey_probe() local 84 error = devm_request_any_context_irq(&pdev->dev, ponkey->irq_dbf, in ab8500_ponkey_probe() 87 if (error < 0) { in ab8500_ponkey_probe() 89 ponkey->irq_dbf, error); in ab8500_ponkey_probe() 90 return error; in ab8500_ponkey_probe() 93 error = devm_request_any_context_irq(&pdev->dev, ponkey->irq_dbr, in ab8500_ponkey_probe() 96 if (error < 0) { in ab8500_ponkey_probe() 98 ponkey->irq_dbr, error); in ab8500_ponkey_probe() 99 return error; in ab8500_ponkey_probe() 102 error in ab8500_ponkey_probe() [all...] |
H A D | sc27xx-vibra.c | 81 int error; in sc27xx_vibra_probe() local 93 error = device_property_read_u32(&pdev->dev, "reg", &info->base); in sc27xx_vibra_probe() 94 if (error) { in sc27xx_vibra_probe() 96 return error; in sc27xx_vibra_probe() 114 error = sc27xx_vibra_hw_init(info); in sc27xx_vibra_probe() 115 if (error) { in sc27xx_vibra_probe() 117 return error; in sc27xx_vibra_probe() 120 error = input_ff_create_memless(info->input_dev, NULL, in sc27xx_vibra_probe() 122 if (error) { in sc27xx_vibra_probe() 124 return error; in sc27xx_vibra_probe() [all...] |
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | tps65218-pwrbutton.c | 60 int error; in tps6521x_pb_irq() local 62 error = regmap_read(pwr->regmap, tps_data->reg_status, ®); in tps6521x_pb_irq() 63 if (error) { in tps6521x_pb_irq() 64 dev_err(pwr->dev, "can't read register: %d\n", error); in tps6521x_pb_irq() 87 int error; in tps6521x_pb_probe() local 122 error = devm_request_threaded_irq(dev, irq, NULL, tps6521x_pb_irq, in tps6521x_pb_probe() 127 if (error) { in tps6521x_pb_probe() 128 dev_err(dev, "failed to request IRQ #%d: %d\n", irq, error); in tps6521x_pb_probe() 129 return error; in tps6521x_pb_probe() 132 error in tps6521x_pb_probe() [all...] |
H A D | tps65219-pwrbutton.c | 51 int error; in tps65219_pb_probe() local 83 error = devm_request_threaded_irq(dev, push_irq, NULL, in tps65219_pb_probe() 87 if (error) { in tps65219_pb_probe() 89 error); in tps65219_pb_probe() 90 return error; in tps65219_pb_probe() 93 error = devm_request_threaded_irq(dev, release_irq, NULL, in tps65219_pb_probe() 97 if (error) { in tps65219_pb_probe() 99 release_irq, error); in tps65219_pb_probe() 100 return error; in tps65219_pb_probe() 103 error in tps65219_pb_probe() [all...] |
H A D | ab8500-ponkey.c | 55 int error; in ab8500_ponkey_probe() local 84 error = devm_request_any_context_irq(&pdev->dev, ponkey->irq_dbf, in ab8500_ponkey_probe() 87 if (error < 0) { in ab8500_ponkey_probe() 89 ponkey->irq_dbf, error); in ab8500_ponkey_probe() 90 return error; in ab8500_ponkey_probe() 93 error = devm_request_any_context_irq(&pdev->dev, ponkey->irq_dbr, in ab8500_ponkey_probe() 96 if (error < 0) { in ab8500_ponkey_probe() 98 ponkey->irq_dbr, error); in ab8500_ponkey_probe() 99 return error; in ab8500_ponkey_probe() 102 error in ab8500_ponkey_probe() [all...] |
H A D | e3x0-button.c | 65 int error; in e3x0_button_probe() local 85 error = devm_request_irq(&pdev->dev, irq_press, in e3x0_button_probe() 88 if (error) { in e3x0_button_probe() 90 irq_press, error); in e3x0_button_probe() 91 return error; in e3x0_button_probe() 94 error = devm_request_irq(&pdev->dev, irq_release, in e3x0_button_probe() 97 if (error) { in e3x0_button_probe() 99 irq_release, error); in e3x0_button_probe() 100 return error; in e3x0_button_probe() 103 error in e3x0_button_probe() [all...] |
/kernel/linux/linux-6.6/sound/isa/ |
H A D | adlib.c | 50 int error; in snd_adlib_probe() local 52 error = snd_devm_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card); in snd_adlib_probe() 53 if (error < 0) { in snd_adlib_probe() 55 return error; in snd_adlib_probe() 68 error = snd_opl3_create(card, port[n], port[n] + 2, OPL3_HW_AUTO, 1, &opl3); in snd_adlib_probe() 69 if (error < 0) { in snd_adlib_probe() 71 return error; in snd_adlib_probe() 74 error = snd_opl3_hwdep_new(opl3, 0, 0, NULL); in snd_adlib_probe() 75 if (error < 0) { in snd_adlib_probe() 77 return error; in snd_adlib_probe() [all...] |
/test/testfwk/arkxtest/uitest/core/ |
H A D | ui_driver.h | 56 void TriggerKey(const KeyAction &key, const UiOpArgs &opt, ApiCallErr &error); 69 void DumpUiHierarchy(nlohmann::json &out, bool listWindows, bool addExternAttr, ApiCallErr &error); 76 void SetDisplayRotation(DisplayRotation rotation, ApiCallErr &error); 78 DisplayRotation GetDisplayRotation(ApiCallErr &error); 80 void SetDisplayRotationEnabled(bool enabled, ApiCallErr &error); 82 bool WaitForUiSteady(uint32_t idleThresholdMs, uint32_t timeoutSec, ApiCallErr &error); 84 void WakeUpDisplay(ApiCallErr &error); 86 Point GetDisplaySize(ApiCallErr &error); 88 Point GetDisplayDensity(ApiCallErr &error); 92 bool CheckStatus(bool isConnected, ApiCallErr &error); [all...] |