/test/xts/acts/sensors/sensor_standard/entry/src/ohosTest/js/test/ |
H A D | SensorOnOffTest.test_newPedometer_Detection.test.js | 54 } catch(error) {
55 console.error('SensorJsTest_sensor_57 exception in, msg:' + JSON.stringify(error))
102 .catch((error) => {
103 console.info('SensorJsTest_sensor_57 error:' + JSON.stringify(error));
104 expect(error.code).assertEqual(ERR_NOT_HAVE_PERMISSION);
133 sensor.getSingleSensor(sensor.SensorId.PEDOMETER_DETECTION, (error, data) => {
134 if (error) {
135 console.error('newPedometerDetection_SensorJsTest00 [all...] |
H A D | SensorOnOffTest.test_newPedometer.test.js | 52 } catch(error) {
53 console.error('SensorJsTest_sensor_56 exception in, msg:' + JSON.stringify(error))
101 .catch((error) => {
102 console.info('SensorJsTest_sensor_56 error:' + JSON.stringify(error));
103 expect(error.code).assertEqual(ERR_NOT_HAVE_PERMISSION);
134 sensor.getSingleSensor(sensor.SensorId.PEDOMETER, (error, data) => {
135 if (error) {
136 console.error('newPedometer_SensorJsTest00 [all...] |
H A D | SensorOnOffTest.test_oldPedometer_Detection.test.js | 54 } catch(error) {
55 console.error('SensorJsTest_sensor_17 exception in, msg:' + JSON.stringify(error))
86 .catch((error) => {
87 console.info('SensorJsTest_sensor_17 error:' + JSON.stringify(error));
88 expect(error.code).assertEqual(ERR_NOT_HAVE_PERMISSION);
117 sensor.getSingleSensor(sensor.SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, (error, data) => {
118 if (error) {
119 console.error('PedometerDetection_SensorJsTest00 [all...] |
H A D | SensorOnOffTest.test_oldPedometer.test.js | 51 } catch(error) {
52 console.error('SensorJsTest_sensor_18 exception in, msg:' + JSON.stringify(error))
86 .catch((error) => {
87 console.info('SensorJsTest_sensor_18 error:' + JSON.stringify(error));
88 expect(error.code).assertEqual(ERR_NOT_HAVE_PERMISSION);
128 sensor.getSingleSensor(sensor.SensorType.SENSOR_TYPE_ID_PEDOMETER, (error, data) => {
129 if (error) {
130 console.error('Pedometer_SensorJsTest00 [all...] |
/kernel/linux/linux-6.6/drivers/base/test/ |
H A D | property-entry-test.c | 25 int error; in pe_test_uints() local 30 error = fwnode_property_count_u8(node, "prop-u8"); in pe_test_uints() 31 KUNIT_EXPECT_EQ(test, error, 1); in pe_test_uints() 33 error = fwnode_property_read_u8(node, "prop-u8", &val_u8); in pe_test_uints() 34 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints() 37 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 1); in pe_test_uints() 38 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints() 41 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 2); in pe_test_uints() 42 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints() 44 error in pe_test_uints() 136 int error; pe_test_uint_arrays() local 269 int error; pe_test_strings() local 426 int error; pe_test_reference() local [all...] |
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | rohm_bu21023.c | 332 int error, error2; in rohm_ts_manual_calibration() local 347 error = i2c_smbus_write_byte_data(client, INT_MASK, in rohm_ts_manual_calibration() 350 if (error) in rohm_ts_manual_calibration() 353 error = i2c_smbus_write_byte_data(client, TEST1, in rohm_ts_manual_calibration() 355 if (error) in rohm_ts_manual_calibration() 364 error = rohm_i2c_burst_read(client, PRM1_X_H, buf, sizeof(buf)); in rohm_ts_manual_calibration() 365 if (error) in rohm_ts_manual_calibration() 378 error = i2c_smbus_write_byte_data(client, TEST1, in rohm_ts_manual_calibration() 380 if (error) in rohm_ts_manual_calibration() 413 error in rohm_ts_manual_calibration() 536 int error; rohm_ts_soft_irq() local 650 int error, error2; rohm_ts_load_firmware() local 745 int error; swap_xy_store() local 784 int error; inv_x_store() local 823 int error; inv_y_store() local 865 int error; rohm_ts_device_init() local 1050 int error; rohm_ts_power_off() local 1073 int error; rohm_ts_open() local 1104 int error; rohm_bu21023_i2c_probe() local [all...] |
H A D | silead.c | 88 int error; in silead_ts_request_input_dev() local 112 error = input_register_device(data->input); in silead_ts_request_input_dev() 113 if (error) { in silead_ts_request_input_dev() 114 dev_err(dev, "Failed to register input device: %d\n", error); in silead_ts_request_input_dev() 115 return error; in silead_ts_request_input_dev() 138 int touch_nr, softbutton, error, i; in silead_ts_read_data() local 141 error = i2c_smbus_read_i2c_block_data(client, SILEAD_REG_DATA, in silead_ts_read_data() 143 if (error < 0) { in silead_ts_read_data() 144 dev_err(dev, "Data read error %d\n", error); in silead_ts_read_data() 204 int error; silead_ts_init() local 239 int error; silead_ts_reset() local 268 int error; silead_ts_startup() local 288 int error; silead_ts_load_fw() local 318 int error; silead_ts_get_status() local 335 int error; silead_ts_get_id() local 350 int error; silead_ts_setup() local 438 int error; silead_ts_read_props() local 502 int error; silead_ts_probe() local 590 int error, status; silead_ts_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | rohm_bu21023.c | 332 int error, error2; in rohm_ts_manual_calibration() local 347 error = i2c_smbus_write_byte_data(client, INT_MASK, in rohm_ts_manual_calibration() 350 if (error) in rohm_ts_manual_calibration() 353 error = i2c_smbus_write_byte_data(client, TEST1, in rohm_ts_manual_calibration() 355 if (error) in rohm_ts_manual_calibration() 364 error = rohm_i2c_burst_read(client, PRM1_X_H, buf, sizeof(buf)); in rohm_ts_manual_calibration() 365 if (error) in rohm_ts_manual_calibration() 378 error = i2c_smbus_write_byte_data(client, TEST1, in rohm_ts_manual_calibration() 380 if (error) in rohm_ts_manual_calibration() 413 error in rohm_ts_manual_calibration() 536 int error; rohm_ts_soft_irq() local 650 int error, error2; rohm_ts_load_firmware() local 745 int error; swap_xy_store() local 784 int error; inv_x_store() local 823 int error; inv_y_store() local 865 int error; rohm_ts_device_init() local 1050 int error; rohm_ts_power_off() local 1073 int error; rohm_ts_open() local 1103 int error; rohm_bu21023_i2c_probe() local [all...] |
H A D | goodix_fwupload.c | 63 dev_err(dev, "Main firmware checksum error\n"); in goodix_firmware_verify() 70 dev_err(dev, "DSP firmware checksum error\n"); in goodix_firmware_verify() 88 int tries, error; in goodix_enter_upload_mode() local 93 error = goodix_i2c_write_u8(client, in goodix_enter_upload_mode() 95 if (error) in goodix_enter_upload_mode() 96 return error; in goodix_enter_upload_mode() 98 error = goodix_i2c_read(client, in goodix_enter_upload_mode() 100 if (error) in goodix_enter_upload_mode() 101 return error; in goodix_enter_upload_mode() 113 error in goodix_enter_upload_mode() 158 int error; goodix_start_firmware() local 194 int error; goodix_firmware_upload() local 350 int error; goodix_handle_fw_request() local 408 int error; goodix_save_bak_ref() local [all...] |
/test/xts/acts/communication/wifi_ErrorCode201/entry/src/ohosTest/js/test/ |
H A D | ActWifiErrorCode201.test.js | 81 } catch(error) { 82 console.error(`scan failed, code is ${error.code}, message is ${error.message}`); 83 expect(error.code).assertEqual("201") 100 } catch(error) { 101 console.error(`getScanInfoList failed, code is ${error.code}, message is ${error.message}`); 102 expect(error [all...] |
/kernel/linux/linux-5.10/drivers/base/test/ |
H A D | property-entry-test.c | 25 int error; in pe_test_uints() local 30 error = fwnode_property_read_u8(node, "prop-u8", &val_u8); in pe_test_uints() 31 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints() 34 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 1); in pe_test_uints() 35 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints() 38 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 2); in pe_test_uints() 39 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints() 41 error = fwnode_property_read_u8(node, "no-prop-u8", &val_u8); in pe_test_uints() 42 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints() 44 error in pe_test_uints() 120 int error; pe_test_uint_arrays() local 233 int error; pe_test_strings() local 393 int error; pe_test_reference() local [all...] |
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | elan_i2c_i2c.c | 142 int error; in elan_i2c_initialize() local 145 error = elan_i2c_write_cmd(client, ETP_I2C_STAND_CMD, ETP_I2C_RESET); in elan_i2c_initialize() 146 if (error) { in elan_i2c_initialize() 147 dev_err(dev, "device reset failed: %d\n", error); in elan_i2c_initialize() 148 return error; in elan_i2c_initialize() 155 error = i2c_master_recv(client, val, ETP_I2C_INF_LENGTH); in elan_i2c_initialize() 156 if (error < 0) { in elan_i2c_initialize() 157 dev_err(dev, "failed to read reset response: %d\n", error); in elan_i2c_initialize() 158 return error; in elan_i2c_initialize() 161 error in elan_i2c_initialize() 188 int error; elan_i2c_power_control() local 234 int error; elan_i2c_get_baseline_data() local 251 int error; elan_i2c_get_pattern() local 273 int error; elan_i2c_get_version() local 301 int error; elan_i2c_get_sm_version() local 354 int error; elan_i2c_get_product_id() local 370 int error; elan_i2c_get_checksum() local 390 int error; elan_i2c_get_max() local 415 int error; elan_i2c_get_resolution() local 434 int error; elan_i2c_get_num_traces() local 452 int error; elan_i2c_get_pressure_adjustment() local 472 int error; elan_i2c_iap_get_mode() local 494 int error; elan_i2c_iap_reset() local 508 int error; elan_i2c_set_flash_key() local 522 int error; elan_read_write_iap_type() local 559 int error; elan_i2c_prepare_fw_update() local 634 int ret, error; elan_i2c_write_fw_block() local 679 int error = 0; elan_i2c_finish_fw_update() local [all...] |
H A D | cyapa.c | 126 * Return negative errno code on error; return zero when success. 172 int error; in cyapa_get_state() local 182 error = cyapa_i2c_reg_read_block(cyapa, BL_HEAD_OFFSET, BL_STATUS_SIZE, in cyapa_get_state() 190 if (cyapa->smbus && (error == -ETIMEDOUT || error == -ENXIO)) { in cyapa_get_state() 192 error = cyapa_read_block(cyapa, in cyapa_get_state() 197 if (error != BL_STATUS_SIZE) in cyapa_get_state() 198 goto error; in cyapa_get_state() 210 error = cyapa_gen3_ops.state_parse(cyapa, in cyapa_get_state() 212 if (!error) in cyapa_get_state() 281 int error; cyapa_poll_state() local 313 int error; cyapa_check_is_operational() local 351 int error; cyapa_detect() local 373 int error; cyapa_open() local 437 int error; cyapa_create_input_dev() local 592 int error = 0; cyapa_initialize() local 631 int error; cyapa_reinitialize() local 680 int error; cyapa_irq() local 746 int error; cyapa_show_suspend_scanrate() local 783 int error; cyapa_update_suspend_scanrate() local 832 int error; cyapa_prepare_wakeup_controls() local 870 int error; cyapa_show_rt_suspend_scanrate() local 893 int error; cyapa_update_rt_suspend_scanrate() local 947 int error; cyapa_start_runtime() local 986 int error; cyapa_show_fm_ver() local 1003 int error; cyapa_show_product_id() local 1017 int error; cyapa_firmware() local 1082 int ret, error; cyapa_update_fw_store() local 1141 int error; cyapa_calibrate_store() local 1163 ssize_t error; cyapa_show_baseline() local 1207 int error; cyapa_show_mode() local 1255 int error; cyapa_probe() local 1360 int error; cyapa_suspend() local 1407 int error; cyapa_resume() local 1433 int error; cyapa_runtime_suspend() local 1448 int error; cyapa_runtime_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | elan_i2c_i2c.c | 142 int error; in elan_i2c_initialize() local 145 error = elan_i2c_write_cmd(client, ETP_I2C_STAND_CMD, ETP_I2C_RESET); in elan_i2c_initialize() 146 if (error) { in elan_i2c_initialize() 147 dev_err(dev, "device reset failed: %d\n", error); in elan_i2c_initialize() 148 return error; in elan_i2c_initialize() 155 error = i2c_master_recv(client, val, ETP_I2C_INF_LENGTH); in elan_i2c_initialize() 156 if (error < 0) { in elan_i2c_initialize() 157 dev_err(dev, "failed to read reset response: %d\n", error); in elan_i2c_initialize() 158 return error; in elan_i2c_initialize() 161 error in elan_i2c_initialize() 188 int error; elan_i2c_power_control() local 234 int error; elan_i2c_get_baseline_data() local 251 int error; elan_i2c_get_pattern() local 273 int error; elan_i2c_get_version() local 301 int error; elan_i2c_get_sm_version() local 354 int error; elan_i2c_get_product_id() local 370 int error; elan_i2c_get_checksum() local 390 int error; elan_i2c_get_max() local 415 int error; elan_i2c_get_resolution() local 434 int error; elan_i2c_get_num_traces() local 452 int error; elan_i2c_get_pressure_adjustment() local 472 int error; elan_i2c_iap_get_mode() local 494 int error; elan_i2c_iap_reset() local 508 int error; elan_i2c_set_flash_key() local 522 int error; elan_read_write_iap_type() local 559 int error; elan_i2c_prepare_fw_update() local 634 int ret, error; elan_i2c_write_fw_block() local 679 int error = 0; elan_i2c_finish_fw_update() local [all...] |
H A D | cyapa.c | 126 * Return negative errno code on error; return zero when success. 172 int error; in cyapa_get_state() local 182 error = cyapa_i2c_reg_read_block(cyapa, BL_HEAD_OFFSET, BL_STATUS_SIZE, in cyapa_get_state() 190 if (cyapa->smbus && (error == -ETIMEDOUT || error == -ENXIO)) { in cyapa_get_state() 192 error = cyapa_read_block(cyapa, in cyapa_get_state() 197 if (error != BL_STATUS_SIZE) in cyapa_get_state() 198 goto error; in cyapa_get_state() 210 error = cyapa_gen3_ops.state_parse(cyapa, in cyapa_get_state() 212 if (!error) in cyapa_get_state() 281 int error; cyapa_poll_state() local 313 int error; cyapa_check_is_operational() local 351 int error; cyapa_detect() local 373 int error; cyapa_open() local 437 int error; cyapa_create_input_dev() local 592 int error = 0; cyapa_initialize() local 631 int error; cyapa_reinitialize() local 680 int error; cyapa_irq() local 746 int error; cyapa_show_suspend_scanrate() local 783 int error; cyapa_update_suspend_scanrate() local 832 int error; cyapa_prepare_wakeup_controls() local 869 int error; cyapa_show_rt_suspend_scanrate() local 892 int error; cyapa_update_rt_suspend_scanrate() local 946 int error; cyapa_start_runtime() local 985 int error; cyapa_show_fm_ver() local 1002 int error; cyapa_show_product_id() local 1016 int error; cyapa_firmware() local 1081 int ret, error; cyapa_update_fw_store() local 1140 int error; cyapa_calibrate_store() local 1162 ssize_t error; cyapa_show_baseline() local 1206 int error; cyapa_show_mode() local 1253 int error; cyapa_probe() local 1357 int error; cyapa_suspend() local 1404 int error; cyapa_resume() local 1430 int error; cyapa_runtime_suspend() local 1445 int error; cyapa_runtime_resume() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_attr.c | 79 * Returns 0 on successful retrieval, otherwise an error. 118 int error; in xfs_attr_get() local 133 error = xfs_attr_get_ilocked(args); in xfs_attr_get() 136 return error; in xfs_attr_get() 181 int error; in xfs_attr_try_sf_addname() local 189 error = xfs_attr_shortform_addname(args); in xfs_attr_try_sf_addname() 190 if (error == -ENOSPC) in xfs_attr_try_sf_addname() 191 return error; in xfs_attr_try_sf_addname() 195 * NOTE: this is also the error path (EEXIST, etc). in xfs_attr_try_sf_addname() 197 if (!error in xfs_attr_try_sf_addname() 230 int error, error2 = 0; xfs_attr_set_shortform() local 275 int error = 0; xfs_attr_set_args() local 340 int error; xfs_has_attr() local 370 int error; xfs_attr_remove_args() local 398 int error, local; xfs_attr_set() local 673 int error, forkoff; xfs_attr_leaf_addname() local 779 int error = 0; xfs_attr_leaf_hasname() local 804 int error, forkoff; xfs_attr_leaf_removename() local 846 int error; xfs_attr_leaf_get() local 875 int retval, error; xfs_attr_node_hasname() local 915 int retval, error; xfs_attr_node_addname() local 1122 int error, forkoff; xfs_attr_node_shrink() local 1155 int error; xfs_attr_leaf_mark_incomplete() local 1182 int error; xfs_attr_node_removename_setup() local 1208 int error = 0; xfs_attr_node_remove_rmt() local 1234 int retval, error; xfs_attr_node_removename() local 1351 int level, error; xfs_attr_refillstate() local 1410 int error; xfs_attr_node_get() local [all...] |
H A D | xfs_refcount.c | 113 int error; in xfs_refcount_get_rec() local 116 error = xfs_btree_get_rec(cur, &rec, stat); in xfs_refcount_get_rec() 117 if (error || !*stat) in xfs_refcount_get_rec() 118 return error; in xfs_refcount_get_rec() 162 * This either works (return 0) or gets an EFSCORRUPTED error. 170 int error; in xfs_refcount_update() local 176 error = xfs_btree_update(cur, &rec); in xfs_refcount_update() 177 if (error) in xfs_refcount_update() 179 cur->bc_ag.agno, error, _RET_IP_); in xfs_refcount_update() 180 return error; in xfs_refcount_update() 194 int error; xfs_refcount_insert() local 228 int error; xfs_refcount_delete() local 349 int error; xfs_refcount_split_extent() local 410 int error; xfs_refcount_merge_center_extents() local 486 int error; xfs_refcount_merge_left_extent() local 547 int error; xfs_refcount_merge_right_extent() local 617 int error; xfs_refcount_find_left_extents() local 706 int error; xfs_refcount_find_right_extents() local 803 int error; xfs_refcount_merge_extents() local 922 int error; xfs_refcount_adjust_extents() local 1055 int error; xfs_refcount_adjust() local 1109 xfs_refcount_finish_one_cleanup( struct xfs_trans *tp, struct xfs_btree_cur *rcur, int error) xfs_refcount_finish_one_cleanup() argument 1144 int error = 0; xfs_refcount_finish_one() local 1304 int error; xfs_refcount_find_shared() local 1455 int error; xfs_refcount_adjust_cow_extents() local 1547 int error; xfs_refcount_adjust_cow() local 1695 int error; xfs_refcount_recover_cow_leftovers() local [all...] |
/test/xts/acts/communication/wifi_ErrorCode401/entry/src/ohosTest/js/test/ |
H A D | ActWifiErrorCode401.test.js | 82 }).catch((error) => {
83 console.error('[wifi_test]add OPEN CandidateConfig promise failed -> ' + JSON.stringify(error));
84 expect(true).assertEqual( (JSON.stringify(error)) !=null);
87 console.error('[wifi_test]add OPEN CandidateConfig permission failed -> ' + JSON.stringify(err));
123 }catch(error){
124 console.error('[wifi_test]add OPEN CandidateConfig permission failed -> ' + JSON.stringify(error));
125 expect(error.code).assertEqual("401");
142 } catch(error) {
[all...] |
/test/xts/acts/powermgr/battery_manager/entry/src/ohosTest/js/test/ |
H A D | battery_common_event.test.js | 1455 }).catch((error) => { 1456 console.error('Subscriber getCode error because: ' + JSON.stringify(error)); 1461 }).catch((error) => { 1462 console.error('Subscriber getData error because: ' + JSON.stringify(error)); 1466 commonEvent.subscribe(mySubscriber, (error, commonEventData) => { 1467 console.error('er [all...] |
/test/xts/acts/communication/btmanager_errorcode401/entry/src/ohosTest/ets/test/ |
H A D | BtMGattManager401.test.js | 34 } catch (error) {
35 console.info('[bluetooth_js] driver error info:'+ error);
121 } catch(error) {
122 console.error('[bluetooth_js]error.code:'+JSON.stringify(error.code)+
123 'error.message:'+JSON.stringify(error.message));
124 expect(Number(error [all...] |
/kernel/linux/linux-6.6/kernel/power/ |
H A D | hibernate.c | 169 * if so configured, and return an error code if that fails. 295 int error; in create_image() local 297 error = dpm_suspend_end(PMSG_FREEZE); in create_image() 298 if (error) { in create_image() 300 return error; in create_image() 303 error = platform_pre_snapshot(platform_mode); in create_image() 304 if (error || hibernation_test(TEST_PLATFORM)) in create_image() 307 error = pm_sleep_disable_secondary_cpus(); in create_image() 308 if (error || hibernation_test(TEST_CPUS)) in create_image() 315 error in create_image() 373 int error; hibernation_snapshot() local 461 int error; resume_target_kernel() local 538 int error; hibernation_restore() local 565 int error; hibernation_platform_enter() local 646 int error; power_down() local 689 int error; load_image_and_restore() local 722 int error; hibernate() local 819 int error; hibernate_quiet_exec() local 940 int error; software_resume() local 1018 int error = find_resume_device(); software_resume_initcall() local 1105 int error = 0; disk_store() local 1166 int error; resume_store() local [all...] |
/kernel/linux/linux-5.10/kernel/power/ |
H A D | hibernate.c | 162 * if so configured, and return an error code if that fails. 288 int error; in create_image() local 290 error = dpm_suspend_end(PMSG_FREEZE); in create_image() 291 if (error) { in create_image() 293 return error; in create_image() 296 error = platform_pre_snapshot(platform_mode); in create_image() 297 if (error || hibernation_test(TEST_PLATFORM)) in create_image() 300 error = suspend_disable_secondary_cpus(); in create_image() 301 if (error || hibernation_test(TEST_CPUS)) in create_image() 308 error in create_image() 366 int error; hibernation_snapshot() local 454 int error; resume_target_kernel() local 529 int error; hibernation_restore() local 556 int error; hibernation_platform_enter() local 637 int error; power_down() local 680 int error; load_image_and_restore() local 710 int error; hibernate() local 806 int error; hibernate_quiet_exec() local 911 int error; software_resume() local 1097 int error = 0; disk_store() local [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | init.c | 47 int error; in init_chdir() local 49 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chdir() 50 if (error) in init_chdir() 51 return error; in init_chdir() 52 error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_CHDIR); in init_chdir() 53 if (!error) in init_chdir() 56 return error; in init_chdir() 62 int error; in init_chroot() local 64 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chroot() 65 if (error) in init_chroot() 86 int error; init_chown() local 103 int error; init_chmod() local 116 int error; init_eaccess() local 130 int error; init_stat() local 145 int error; init_mknod() local 170 int error; init_link() local 203 int error; init_symlink() local 224 int error; init_mkdir() local 246 int error; init_utimes() local [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | init.c | 47 int error; in init_chdir() local 49 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chdir() 50 if (error) in init_chdir() 51 return error; in init_chdir() 52 error = path_permission(&path, MAY_EXEC | MAY_CHDIR); in init_chdir() 53 if (!error) in init_chdir() 56 return error; in init_chdir() 62 int error; in init_chroot() local 64 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chroot() 65 if (error) in init_chroot() 86 int error; init_chown() local 103 int error; init_chmod() local 116 int error; init_eaccess() local 130 int error; init_stat() local 145 int error; init_mknod() local 171 int error; init_link() local 205 int error; init_symlink() local 227 int error; init_mkdir() local 250 int error; init_utimes() local [all...] |
/test/xts/acts/communication_lite/wifiservice_hal/src/ |
H A D | wifiservice_func_test.c | 49 WifiErrorCode error = GetScanInfoList(info, &checkSize); in WifiScanStateTask() local 50 if (error != WIFI_SUCCESS) { in WifiScanStateTask() 51 printf("WifiScanStateTask:get info fail, error is %d.\n", error); in WifiScanStateTask() 66 WifiErrorCode error = GetLinkedInfo(&linkInfo); in WifiConnectionStateTask() local 67 if (error != WIFI_SUCCESS) { in WifiConnectionStateTask() 68 printf("WifiConnectionChanged:get link info fail, error is %d.\n", error); in WifiConnectionStateTask() 85 WifiErrorCode error = GetStationList(info, &size); in HotspotStateTask() local 86 if (error ! in HotspotStateTask() 214 WifiErrorCode error; WifiServiceFuncTestSuiteSetUp() local 280 WifiErrorCode error = UnRegisterWifiEvent(&g_wifiEventHandler); WifiServiceFuncTestSuiteTearDown() local 299 WifiErrorCode error = EnableWifi(); global() variable 328 WifiErrorCode error = EnableWifi(); global() variable 371 WifiErrorCode error = AddDeviceConfig(&config, &netId); global() variable 409 WifiErrorCode error = AddDeviceConfig(&config, &netId); global() variable 465 WifiErrorCode error = SetHotspotConfig(&config); global() variable 508 WifiErrorCode error = SetHotspotConfig(&config); global() variable 590 WifiErrorCode error = EnableWifi(); global() variable 644 WifiErrorCode error = EnableWifi(); global() variable 672 WifiErrorCode error = EnableWifi(); global() variable 717 WifiErrorCode error = EnableWifi(); global() variable [all...] |