Home
last modified time | relevance | path

Searched refs:error (Results 226 - 250 of 11030) sorted by relevance

12345678910>>...442

/foundation/distributeddatamgr/kv_store/test/unittest/distributeddata/
H A DKvStoreDataResultSetJsTest.js53 console.error('beforeAll createKVManager err ' + `, error code is ${err.code}, message is ${err.message}`);
62 console.error('beforeAll deleteKVStore error ' + `, error code is ${err.code}, message is ${err.message}`);
66 console.error('beforeAll getAllKVStoreId err ' + `, error code is ${err.code}, message is ${err.message}`);
86 console.error('beforeEach getKVStore err ' + `, error code is ${err.code}, message is ${err.message}`);
103 console.error('beforeEac
[all...]
/kernel/linux/linux-6.6/fs/
H A Dopen.c75 long error; in vfs_truncate() local
85 error = mnt_want_write(path->mnt); in vfs_truncate()
86 if (error) in vfs_truncate()
90 error = inode_permission(idmap, inode, MAY_WRITE); in vfs_truncate()
91 if (error) in vfs_truncate()
94 error = -EPERM; in vfs_truncate()
98 error = get_write_access(inode); in vfs_truncate()
99 if (error) in vfs_truncate()
106 error = break_lease(inode, O_WRONLY); in vfs_truncate()
107 if (error) in vfs_truncate()
127 int error; do_sys_truncate() local
162 int error; do_sys_ftruncate() local
344 int error = -EBADF; ksys_fallocate() local
548 int error; SYSCALL_DEFINE1() local
574 int error; SYSCALL_DEFINE1() local
596 int error; SYSCALL_DEFINE1() local
631 int error; chmod_common() local
678 int error; do_fchmodat() local
754 int error; chown_common() local
798 int error = -EINVAL; do_fchownat() local
845 int error; vfs_fchown() local
859 int error = -EBADF; ksys_fchown() local
878 int error; do_dentry_open() local
1069 int error; dentry_open() local
1108 int error; dentry_create() local
1145 int error; kernel_file_open() local
1181 int error; backing_file_open() local
[all...]
/test/xts/acts/communication/btmanager_errorcode401/entry/src/ohosTest/ets/test/
H A DBtMGattAdvertiser401.test.js36 } catch (error) {
37 console.info('[bluetooth_js] driver error info:'+ error);
157 }catch(error) {
158 console.error('[bluetooth_js]startAdvertising30 error.code:'+JSON.stringify(error.code)+
159 'error.message:'+JSON.stringify(error.message));
160 expect(Number(error
[all...]
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_mount.c181 int error = -ENOMEM; in xfs_initialize_perag() local
197 error = -ENOMEM; in xfs_initialize_perag()
205 error = xfs_buf_hash_init(pag); in xfs_initialize_perag()
206 if (error) in xfs_initialize_perag()
213 error = radix_tree_preload(GFP_NOFS); in xfs_initialize_perag()
214 if (error) in xfs_initialize_perag()
222 error = -EEXIST; in xfs_initialize_perag()
230 error = xfs_iunlink_init(pag); in xfs_initialize_perag()
231 if (error) in xfs_initialize_perag()
258 return error; in xfs_initialize_perag()
274 int error; xfs_readsb() local
459 int error; xfs_update_alignment() local
507 int error; xfs_check_sizes() local
694 int error = 0; xfs_mountfs() local
1100 int error; xfs_unmountfs() local
[all...]
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dcpcap-battery.c184 int error; in cpcap_charger_battery_temperature() local
187 error = iio_read_channel_processed(channel, value); in cpcap_charger_battery_temperature()
188 if (error < 0) { in cpcap_charger_battery_temperature()
190 dev_warn(ddata->dev, "%s failed: %i\n", __func__, error); in cpcap_charger_battery_temperature()
193 return error; in cpcap_charger_battery_temperature()
204 int error, value = 0; in cpcap_battery_get_voltage() local
207 error = iio_read_channel_processed(channel, &value); in cpcap_battery_get_voltage()
208 if (error < 0) { in cpcap_battery_get_voltage()
209 dev_warn(ddata->dev, "%s failed: %i\n", __func__, error); in cpcap_battery_get_voltage()
220 int error, valu in cpcap_battery_get_current() local
312 int error; cpcap_battery_read_accumulated() local
442 int value, acc, error; cpcap_battery_cc_get_avg_current() local
474 int error; cpcap_battery_get_charger_status() local
496 int error, val; cpcap_battery_full() local
545 int error; cpcap_battery_update_status() local
799 int error; cpcap_battery_update_charger() local
920 int irq, error; cpcap_battery_init_irq() local
963 int i, error; cpcap_battery_init_interrupts() local
990 int error, i; cpcap_battery_init_iio() local
1016 int error, ccc1, value; cpcap_battery_calibrate() local
1092 int error; cpcap_battery_probe() local
1157 int error; cpcap_battery_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dregulator-haptic.c38 int error; in regulator_haptic_toggle() local
42 error = on ? regulator_enable(haptic->regulator) : in regulator_haptic_toggle()
44 if (error) { in regulator_haptic_toggle()
47 on ? "on" : "off", error); in regulator_haptic_toggle()
48 return error; in regulator_haptic_toggle()
62 int error; in regulator_haptic_set_voltage() local
67 error = regulator_set_voltage(haptic->regulator, in regulator_haptic_set_voltage()
70 if (error) { in regulator_haptic_set_voltage()
72 intensity + haptic->min_volt, error); in regulator_haptic_set_voltage()
73 return error; in regulator_haptic_set_voltage()
120 int error; regulator_haptic_parse_dt() local
148 int error; regulator_haptic_probe() local
208 int error; regulator_haptic_suspend() local
[all...]
H A Dpmic8xxx-pwrkey.c129 int error; in pmic8xxx_pwrkey_shutdown() local
134 error = pwrkey->shutdown_fn(pwrkey, reset); in pmic8xxx_pwrkey_shutdown()
135 if (error) in pmic8xxx_pwrkey_shutdown()
163 int error; in pm8058_disable_smps_locally_set_pull_down() local
168 error = regmap_write(regmap, test2_addr, bank); in pm8058_disable_smps_locally_set_pull_down()
169 if (error) in pm8058_disable_smps_locally_set_pull_down()
170 return error; in pm8058_disable_smps_locally_set_pull_down()
172 error = regmap_read(regmap, test2_addr, &reg); in pm8058_disable_smps_locally_set_pull_down()
173 if (error) in pm8058_disable_smps_locally_set_pull_down()
174 return error; in pm8058_disable_smps_locally_set_pull_down()
266 int error; pm8058_disable_ldo_locally_set_pull_down() local
282 int error; pm8058_pwrkey_shutdown() local
[all...]
/kernel/linux/linux-6.6/drivers/input/misc/
H A Dregulator-haptic.c38 int error; in regulator_haptic_toggle() local
42 error = on ? regulator_enable(haptic->regulator) : in regulator_haptic_toggle()
44 if (error) { in regulator_haptic_toggle()
47 on ? "on" : "off", error); in regulator_haptic_toggle()
48 return error; in regulator_haptic_toggle()
62 int error; in regulator_haptic_set_voltage() local
67 error = regulator_set_voltage(haptic->regulator, in regulator_haptic_set_voltage()
70 if (error) { in regulator_haptic_set_voltage()
72 intensity + haptic->min_volt, error); in regulator_haptic_set_voltage()
73 return error; in regulator_haptic_set_voltage()
120 int error; regulator_haptic_parse_dt() local
148 int error; regulator_haptic_probe() local
208 int error; regulator_haptic_suspend() local
[all...]
H A Dpmic8xxx-pwrkey.c128 int error; in pmic8xxx_pwrkey_shutdown() local
133 error = pwrkey->shutdown_fn(pwrkey, reset); in pmic8xxx_pwrkey_shutdown()
134 if (error) in pmic8xxx_pwrkey_shutdown()
162 int error; in pm8058_disable_smps_locally_set_pull_down() local
167 error = regmap_write(regmap, test2_addr, bank); in pm8058_disable_smps_locally_set_pull_down()
168 if (error) in pm8058_disable_smps_locally_set_pull_down()
169 return error; in pm8058_disable_smps_locally_set_pull_down()
171 error = regmap_read(regmap, test2_addr, &reg); in pm8058_disable_smps_locally_set_pull_down()
172 if (error) in pm8058_disable_smps_locally_set_pull_down()
173 return error; in pm8058_disable_smps_locally_set_pull_down()
265 int error; pm8058_disable_ldo_locally_set_pull_down() local
281 int error; pm8058_pwrkey_shutdown() local
[all...]
/kernel/linux/linux-6.6/sound/isa/gus/
H A Dgusclassic.c73 int i, error; in snd_gusclassic_create() local
104 error = snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n], in snd_gusclassic_create()
106 } while (error < 0 && ++i < ARRAY_SIZE(possible_ports)); in snd_gusclassic_create()
108 return error; in snd_gusclassic_create()
136 int error; in snd_gusclassic_probe() local
138 error = snd_devm_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card); in snd_gusclassic_probe()
139 if (error < 0) in snd_gusclassic_probe()
140 return error; in snd_gusclassic_probe()
145 error = snd_gusclassic_create(card, dev, n, &gus); in snd_gusclassic_probe()
146 if (error < in snd_gusclassic_probe()
[all...]
/kernel/linux/linux-5.10/sound/isa/es1688/
H A Des1688.c91 int i, error; in snd_es1688_legacy_create() local
115 error = snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_es1688_legacy_create()
117 } while (error < 0 && ++i < ARRAY_SIZE(possible_ports)); in snd_es1688_legacy_create()
119 return error; in snd_es1688_legacy_create()
126 int error; in snd_es1688_probe() local
128 error = snd_es1688_pcm(card, chip, 0); in snd_es1688_probe()
129 if (error < 0) in snd_es1688_probe()
130 return error; in snd_es1688_probe()
132 error = snd_es1688_mixer(card, chip); in snd_es1688_probe()
133 if (error < in snd_es1688_probe()
172 int error; snd_es1688_isa_probe() local
223 int error; snd_card_es968_pnp() local
247 int error; snd_es968_pnp_detect() local
[all...]
/kernel/linux/linux-5.10/drivers/pnp/
H A Ddriver.c82 int error; in pnp_device_probe() local
89 error = pnp_device_attach(pnp_dev); in pnp_device_probe()
90 if (error < 0) in pnp_device_probe()
91 return error; in pnp_device_probe()
95 error = pnp_activate_dev(pnp_dev); in pnp_device_probe()
96 if (error < 0) in pnp_device_probe()
97 return error; in pnp_device_probe()
101 error = pnp_disable_dev(pnp_dev); in pnp_device_probe()
102 if (error < 0) in pnp_device_probe()
103 return error; in pnp_device_probe()
166 int error; __pnp_bus_suspend() local
214 int error; pnp_bus_resume() local
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_pnfs.c34 int error; in xfs_break_leased_layouts() local
36 while ((error = break_layout(inode, false)) == -EWOULDBLOCK) { in xfs_break_leased_layouts()
39 error = break_layout(inode, true); in xfs_break_leased_layouts()
45 return error; in xfs_break_leased_layouts()
87 int error; in xfs_fs_map_update_inode() local
89 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid, in xfs_fs_map_update_inode()
91 if (error) in xfs_fs_map_update_inode()
92 return error; in xfs_fs_map_update_inode()
127 int error = 0; in xfs_fs_map_blocks() local
157 error in xfs_fs_map_blocks()
232 int error = 0; xfs_pnfs_validate_isize() local
269 int error, i; xfs_fs_commit_blocks() local
[all...]
/kernel/linux/linux-6.6/drivers/pnp/
H A Ddriver.c84 int error; in pnp_device_probe() local
91 error = pnp_device_attach(pnp_dev); in pnp_device_probe()
92 if (error < 0) in pnp_device_probe()
93 return error; in pnp_device_probe()
97 error = pnp_activate_dev(pnp_dev); in pnp_device_probe()
98 if (error < 0) in pnp_device_probe()
99 return error; in pnp_device_probe()
103 error = pnp_disable_dev(pnp_dev); in pnp_device_probe()
104 if (error < 0) in pnp_device_probe()
105 return error; in pnp_device_probe()
167 int error; __pnp_bus_suspend() local
216 int error; pnp_bus_resume() local
[all...]
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Dcommon.c40 * The *_process_error() family of functions are used to process error return
43 * If there's no error, we return true to tell the caller that it's ok
47 * caller that something bad happened, and we preserve *error so that
48 * the caller can return the *error up the stack to userspace.
51 * OFLAG_CORRUPT in sm_flags and the *error is cleared. In other words,
54 * something bad happened. Since the error has been cleared, the caller
68 int *error, in __xchk_process_error()
72 switch (*error) { in __xchk_process_error()
77 trace_xchk_deadlock_retry(sc->ip, sc->sm, *error); in __xchk_process_error()
83 *error in __xchk_process_error()
64 __xchk_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error, __u32 errflag, void *ret_ip) __xchk_process_error() argument
94 xchk_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error) xchk_process_error() argument
105 xchk_xref_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error) xchk_xref_process_error() argument
117 __xchk_fblock_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error, __u32 errflag, void *ret_ip) __xchk_fblock_process_error() argument
147 xchk_fblock_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error) xchk_fblock_process_error() argument
158 xchk_fblock_xref_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error) xchk_fblock_xref_process_error() argument
410 int error; xchk_ag_read_headers() local
562 int error; xchk_ag_init() local
630 int error; xchk_setup_ag_btree() local
656 int error; xchk_checkpoint_log() local
678 int error; xchk_get_inode() local
740 int error; xchk_setup_inode_contents() local
766 xchk_should_check_xref( struct xfs_scrub *sc, int *error, struct xfs_btree_cur **curpp) xchk_should_check_xref() argument
832 int error; xchk_metadata_inode_forks() local
[all...]
H A Dscrub.c82 * userspace. The first is the error code (errno), which can be used to
138 int error = 0; in xchk_probe() local
140 if (xchk_should_terminate(sc, &error)) in xchk_probe()
141 return error; in xchk_probe()
153 int error) in xchk_teardown()
157 if (error == 0 && (sc->sm->sm_flags & XFS_SCRUB_IFLAG_REPAIR)) in xchk_teardown()
158 error = xfs_trans_commit(sc->tp); in xchk_teardown()
182 return error; in xchk_teardown()
364 int error; in xchk_validate_inputs() local
367 error in xchk_validate_inputs()
150 xchk_teardown( struct xfs_scrub *sc, struct xfs_inode *ip_in, int error) xchk_teardown() argument
470 int error = 0; xfs_scrub_metadata() local
[all...]
/test/xts/acts/communication/nfc_ErrorCode/entry/src/ohosTest/js/test/
H A DMifareClassicTag.test.js61 }catch(error){
62 console.info('beforeAll mifareClassic error' + error)
75 * @tc.desc Test authenticateSector api by callback. The error code is 401
89 } catch(error) {
90 console.info("[NFC_test]MifareClassic1 authenticateSector errorcode: " + error.code);
91 expect(401).assertEqual(error.code);
105 * @tc.desc Test authenticateSector api. The error code is 401
125 } catch (error) {
126 console.info("[NFC_test]mifareClassic2 authenticateSector errorcode: " + error
[all...]
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Dsynaptics.c82 int error; in synaptics_mode_cmd() local
84 error = ps2_sliced_command(&psmouse->ps2dev, mode); in synaptics_mode_cmd()
85 if (error) in synaptics_mode_cmd()
86 return error; in synaptics_mode_cmd()
89 error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_SETRATE); in synaptics_mode_cmd()
90 if (error) in synaptics_mode_cmd()
91 return error; in synaptics_mode_cmd()
208 int error; in synaptics_send_cmd() local
210 error = ps2_sliced_command(&psmouse->ps2dev, cmd); in synaptics_send_cmd()
211 if (error) in synaptics_send_cmd()
223 int error; synaptics_query_int() local
244 int error; synaptics_identify() local
281 int error; synaptics_query_modes() local
307 int error; synaptics_capability() local
365 int error; synaptics_resolution() local
422 int error; synaptics_query_hardware() local
565 int error; synaptics_set_advanced_gesture_mode() local
581 int error; synaptics_set_mode() local
632 int error; synaptics_pt_write() local
1254 int error; set_input_params() local
1426 int error; synaptics_reconnect() local
1663 int error; __synaptics_init() local
1690 int error; synaptics_setup_ps2() local
1783 int error; synaptics_setup_intertouch() local
1820 int error; synaptics_init_smbus() local
1859 int error; synaptics_init() local
[all...]
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Dsynaptics.c82 int error; in synaptics_mode_cmd() local
84 error = ps2_sliced_command(&psmouse->ps2dev, mode); in synaptics_mode_cmd()
85 if (error) in synaptics_mode_cmd()
86 return error; in synaptics_mode_cmd()
89 error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_SETRATE); in synaptics_mode_cmd()
90 if (error) in synaptics_mode_cmd()
91 return error; in synaptics_mode_cmd()
210 int error; in synaptics_send_cmd() local
212 error = ps2_sliced_command(&psmouse->ps2dev, cmd); in synaptics_send_cmd()
213 if (error) in synaptics_send_cmd()
225 int error; synaptics_query_int() local
246 int error; synaptics_identify() local
283 int error; synaptics_query_modes() local
309 int error; synaptics_capability() local
367 int error; synaptics_resolution() local
424 int error; synaptics_query_hardware() local
567 int error; synaptics_set_advanced_gesture_mode() local
583 int error; synaptics_set_mode() local
634 int error; synaptics_pt_write() local
1259 int error; set_input_params() local
1431 int error; synaptics_reconnect() local
1668 int error; __synaptics_init() local
1695 int error; synaptics_setup_ps2() local
1788 int error; synaptics_setup_intertouch() local
1825 int error; synaptics_init_smbus() local
1864 int error; synaptics_init() local
[all...]
/kernel/linux/linux-5.10/fs/dlm/
H A Dmain.c24 int error; in init_dlm() local
26 error = dlm_memory_init(); in init_dlm()
27 if (error) in init_dlm()
30 error = dlm_lockspace_init(); in init_dlm()
31 if (error) in init_dlm()
34 error = dlm_config_init(); in init_dlm()
35 if (error) in init_dlm()
40 error = dlm_user_init(); in init_dlm()
41 if (error) in init_dlm()
44 error in init_dlm()
[all...]
/test/xts/acts/telephony/telephonyjstest/netmanager_base/socket/entry/src/ohosTest/js/test/
H A DNetworkManagerTCPSocketServer.test.js109 } catch (error) {
110 console.info(`${caseName} catch error, expect error: [${error.code}, ${error.message}]`);
111 expect(error.code == 401).assertTrue();
150 } catch (error) {
151 console.info(`${caseName} catch error, expect error: [${error
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/as102/
H A Das10x_cmd_stream.c16 * Return 0 on success or negative value in case of error.
21 int error; in as10x_cmd_add_PID_filter() local
44 error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, in as10x_cmd_add_PID_filter()
50 error = AS10X_CMD_ERROR; in as10x_cmd_add_PID_filter()
53 if (error < 0) in as10x_cmd_add_PID_filter()
57 error = as10x_rsp_parse(prsp, CONTROL_PROC_SETFILTER_RSP); in as10x_cmd_add_PID_filter()
59 if (error == 0) { in as10x_cmd_add_PID_filter()
65 return error; in as10x_cmd_add_PID_filter()
73 * Return 0 on success or negative value in case of error.
78 int error; in as10x_cmd_del_PID_filter() local
122 int error; as10x_cmd_start_streaming() local
165 int8_t error; as10x_cmd_stop_streaming() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/as102/
H A Das10x_cmd_stream.c16 * Return 0 on success or negative value in case of error.
21 int error; in as10x_cmd_add_PID_filter() local
44 error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, in as10x_cmd_add_PID_filter()
50 error = AS10X_CMD_ERROR; in as10x_cmd_add_PID_filter()
53 if (error < 0) in as10x_cmd_add_PID_filter()
57 error = as10x_rsp_parse(prsp, CONTROL_PROC_SETFILTER_RSP); in as10x_cmd_add_PID_filter()
59 if (error == 0) { in as10x_cmd_add_PID_filter()
65 return error; in as10x_cmd_add_PID_filter()
73 * Return 0 on success or negative value in case of error.
78 int error; in as10x_cmd_del_PID_filter() local
122 int error; as10x_cmd_start_streaming() local
165 int8_t error; as10x_cmd_stop_streaming() local
[all...]
/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_supply_proxy.cpp55 int error = SendTransactCmd( in OnAcquire() local
60 if (error != ERR_OK) { in OnAcquire()
61 HILOG_ERROR("SendRequest:%{public}d failed", error); in OnAcquire()
63 return error; in OnAcquire()
88 int error = SendTransactCmd( in OnEventHandle() local
93 if (error != ERR_OK) { in OnEventHandle()
94 HILOG_ERROR("SendRequest:%{public}d failed", error); in OnEventHandle()
96 return error; in OnEventHandle()
134 int error = SendTransactCmd( in OnAcquireStateResult() local
139 if (error ! in OnAcquireStateResult()
205 auto error = SendTransactCmd( OnShareAcquire() local
233 auto error = SendTransactCmd( OnAcquireDataResult() local
265 int error = SendTransactCmd( OnRenderTaskDone() local
297 int error = SendTransactCmd( OnStopRenderingTaskDone() local
323 int error = SendTransactCmd( OnRenderingBlock() local
370 int error = SendTransactCmd( OnRecycleForm() local
396 int error = SendTransactCmd( OnRecoverFormsByConfigUpdate() local
[all...]
H A Dform_provider_proxy.cpp29 int error; in AcquireProviderFormInfo() local
39 HILOG_ERROR("write formJsInfo error"); in AcquireProviderFormInfo()
52 error = SendTransactCmd( in AcquireProviderFormInfo()
57 if (error != ERR_OK) { in AcquireProviderFormInfo()
58 HILOG_ERROR("SendRequest:%{public}d failed", error); in AcquireProviderFormInfo()
59 return error; in AcquireProviderFormInfo()
73 int error; in NotifyFormDelete() local
79 HILOG_ERROR("error to write interface token"); in NotifyFormDelete()
83 HILOG_ERROR("error to write formId"); in NotifyFormDelete()
87 HILOG_ERROR("error t in NotifyFormDelete()
118 int error; NotifyFormsDelete() local
161 int error; NotifyFormUpdate() local
209 int error; EventNotify() local
263 int error; NotifyFormCastTempForm() local
335 int error = SendTransactCmd( FireFormEvent() local
358 int error; AcquireState() local
[all...]

Completed in 15 milliseconds

12345678910>>...442