/kernel/linux/linux-6.6/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_cmd_parser.c | 89 static void etnaviv_warn_if_non_sensitive(struct etna_validation_state *state, in etnaviv_warn_if_non_sensitive() argument 92 if (state->num_relocs && state->relocs->submit_offset < buf_offset) { in etnaviv_warn_if_non_sensitive() 93 dev_warn_once(state->gpu->dev, in etnaviv_warn_if_non_sensitive() 94 "%s: relocation for non-sensitive state 0x%x at offset %u\n", in etnaviv_warn_if_non_sensitive() 96 state->relocs->submit_offset); in etnaviv_warn_if_non_sensitive() 97 while (state->num_relocs && in etnaviv_warn_if_non_sensitive() 98 state->relocs->submit_offset < buf_offset) { in etnaviv_warn_if_non_sensitive() 99 state->relocs++; in etnaviv_warn_if_non_sensitive() 100 state in etnaviv_warn_if_non_sensitive() 105 etnaviv_validate_load_state(struct etna_validation_state *state, u32 *ptr, unsigned int state_offset, unsigned int num) etnaviv_validate_load_state() argument 152 struct etna_validation_state state; etnaviv_cmd_validate_one() local [all...] |
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
H A D | Rasterizer.cpp | 30 * Functions that manipulate rasterizer state. 143 * of the resource video memory) for a rasterizer state. 193 * The CreateRasterizerState function creates a rasterizer state. 210 struct pipe_rasterizer_state state; in CreateRasterizerState() local 211 memset(&state, 0, sizeof state); in CreateRasterizerState() 213 state.flatshade_first = 1; in CreateRasterizerState() 214 state.front_ccw = (pRasterizerDesc->FrontCounterClockwise ? 1 : 0); in CreateRasterizerState() 215 state.cull_face = translate_cull_mode(pRasterizerDesc->CullMode); in CreateRasterizerState() 216 state in CreateRasterizerState() 284 void *state = CastPipeRasterizerState(hRasterizerState); SetRasterizerState() local [all...] |
/third_party/ffmpeg/tests/checkasm/ |
H A D | checkasm.c | 274 /* Internal state */ 293 } state; variable 295 /* PRNG state */ 459 destroy_func_tree(state.funcs); in checkasm_malloc() 487 av_unused const int sysfd = state.sysfd; in measure_nop_time() 515 int decicycles = (10*p->cycles/p->iterations - state.nop_time) / 4; in print_benchs() 597 int old_cpu_flag = state.cpu_flag; in check_cpu_flag() 601 state.cpu_flag = flag & av_get_cpu_flags(); in check_cpu_flag() 602 av_force_cpu_flags(state.cpu_flag); in check_cpu_flag() 604 if (!flag || state in check_cpu_flag() [all...] |
/third_party/mesa3d/src/util/ |
H A D | xxhash.h | 217 * This method is slower than single-call functions, due to state management. 220 * XXH state must first be allocated, using XXH*_createState() . 222 * Start a new hash by initializing state with a seed, using XXH*_reset(). 224 * Then, feed the hash state by calling XXH*_update() as many times as necessary. 230 * It's still possible to continue inserting input into the hash state after a digest, 233 * When done, release the state, using XXH*_freeState(). 320 * static allocation of XXH state, on stack or in a struct for example. 819 XXH32_state_t state; in XXH32() 820 XXH32_reset(&state, seed); in XXH32() 821 XXH32_update(&state, (cons in XXH32() 856 XXH32_state_t state; /* using a local state to memcpy() in order to avoid strict-aliasing warnings */ XXH32_reset() local 869 XXH32_update(XXH32_state_t* state, const void* input, size_t len) XXH32_update() argument 932 XXH32_digest(const XXH32_state_t* state) XXH32_digest() argument 1317 XXH64_state_t state; /* using a local state to memcpy() in order to avoid strict-aliasing warnings */ XXH64_reset() local 1329 XXH64_update(XXH64_state_t* state, const void* input, size_t len) XXH64_update() argument 1389 XXH64_digest(const XXH64_state_t* state) XXH64_digest() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | adv7842.c | 389 struct adv7842_state *state = to_state(sd); in avlink_read() local 391 return adv_smbus_read_byte_data(state->i2c_avlink, reg); in avlink_read() 396 struct adv7842_state *state = to_state(sd); in avlink_write() local 398 return adv_smbus_write_byte_data(state->i2c_avlink, reg, val); in avlink_write() 403 struct adv7842_state *state = to_state(sd); in cec_read() local 405 return adv_smbus_read_byte_data(state->i2c_cec, reg); in cec_read() 410 struct adv7842_state *state = to_state(sd); in cec_write() local 412 return adv_smbus_write_byte_data(state->i2c_cec, reg, val); in cec_write() 422 struct adv7842_state *state = to_state(sd); in infoframe_read() local 424 return adv_smbus_read_byte_data(state in infoframe_read() 429 struct adv7842_state *state = to_state(sd); infoframe_write() local 436 struct adv7842_state *state = to_state(sd); sdp_io_read() local 443 struct adv7842_state *state = to_state(sd); sdp_io_write() local 455 struct adv7842_state *state = to_state(sd); sdp_read() local 462 struct adv7842_state *state = to_state(sd); sdp_write() local 474 struct adv7842_state *state = to_state(sd); afe_read() local 481 struct adv7842_state *state = to_state(sd); afe_write() local 493 struct adv7842_state *state = to_state(sd); rep_read() local 500 struct adv7842_state *state = to_state(sd); rep_write() local 512 struct adv7842_state *state = to_state(sd); edid_read() local 519 struct adv7842_state *state = to_state(sd); edid_write() local 526 struct adv7842_state *state = to_state(sd); hdmi_read() local 533 struct adv7842_state *state = to_state(sd); hdmi_write() local 545 struct adv7842_state *state = to_state(sd); cp_read() local 552 struct adv7842_state *state = to_state(sd); cp_write() local 564 struct adv7842_state *state = to_state(sd); vdp_read() local 571 struct adv7842_state *state = to_state(sd); vdp_write() local 633 adv7842_format_info(struct adv7842_state *state, u32 code) adv7842_format_info() argument 649 struct adv7842_state *state = to_state(sd); is_analog_input() local 657 struct adv7842_state *state = to_state(sd); is_digital_input() local 708 struct adv7842_state *state = container_of(dwork, adv7842_delayed_work_enable_hotplug() local 727 struct adv7842_state *state = to_state(sd); edid_write_vga_segment() local 773 struct adv7842_state *state = to_state(sd); edid_write_hdmi_segment() local 969 struct adv7842_state *state = to_state(sd); adv7842_s_detect_tx_5v_ctrl() local 1001 struct adv7842_state *state = to_state(sd); configure_predefined_video_timings() local 1053 struct adv7842_state *state = to_state(sd); configure_custom_video_timings() local 1119 struct adv7842_state *state = to_state(sd); adv7842_set_offset() local 1144 struct adv7842_state *state = to_state(sd); adv7842_set_gain() local 1173 struct adv7842_state *state = to_state(sd); set_rgb_quantization_range() local 1274 struct adv7842_state *state = to_state(sd); adv7842_s_ctrl() local 1378 struct adv7842_state *state = to_state(sd); adv7842_g_input_status() local 1419 struct adv7842_state *state = to_state(sd); stdi2dv_timings() local 1536 struct adv7842_state *state = to_state(sd); adv7842_query_dv_timings() local 1661 struct adv7842_state *state = to_state(sd); adv7842_s_dv_timings() local 1707 struct adv7842_state *state = to_state(sd); adv7842_g_dv_timings() local 1717 struct adv7842_state *state = to_state(sd); enable_input() local 1798 struct adv7842_state *state = to_state(sd); select_input() local 1953 struct adv7842_state *state = to_state(sd); adv7842_s_routing() local 2007 adv7842_fill_format(struct adv7842_state *state, struct v4l2_mbus_framefmt *format) adv7842_fill_format() argument 2040 adv7842_op_ch_sel(struct adv7842_state *state) adv7842_op_ch_sel() argument 2059 adv7842_setup_format(struct adv7842_state *state) adv7842_setup_format() argument 2077 struct adv7842_state *state = to_state(sd); adv7842_get_format() local 2115 struct adv7842_state *state = to_state(sd); adv7842_set_format() local 2172 struct adv7842_state *state = to_state(sd); adv7842_cec_tx_raw_status() local 2226 struct adv7842_state *state = to_state(sd); adv7842_cec_isr() local 2251 struct adv7842_state *state = cec_get_drvdata(adap); adv7842_cec_adap_enable() local 2280 struct adv7842_state *state = cec_get_drvdata(adap); adv7842_cec_adap_log_addr() local 2335 struct adv7842_state *state = cec_get_drvdata(adap); adv7842_cec_adap_transmit() local 2372 struct adv7842_state *state = to_state(sd); adv7842_isr() local 2458 struct adv7842_state *state = to_state(sd); adv7842_get_edid() local 2498 struct adv7842_state *state = to_state(sd); adv7842_set_edid() local 2671 struct adv7842_state *state = to_state(sd); adv7842_cp_log_status() local 2836 struct adv7842_state *state = to_state(sd); adv7842_log_status() local 2845 struct adv7842_state *state = to_state(sd); adv7842_querystd() local 2940 struct adv7842_state *state = to_state(sd); adv7842_s_std() local 2964 struct adv7842_state *state = to_state(sd); adv7842_g_std() local 2979 struct adv7842_state *state = to_state(sd); adv7842_core_init() local 3179 struct adv7842_state *state = to_state(sd); adv7842_command_ram_test() local 3250 struct adv7842_state *state = to_state(sd); adv7842_registered() local 3262 struct adv7842_state *state = to_state(sd); adv7842_unregistered() local 3353 struct adv7842_state *state = to_state(sd); adv7842_unregister_clients() local 3404 struct adv7842_state *state = to_state(sd); adv7842_register_clients() local 3438 struct adv7842_state *state; adv7842_probe() local 3586 struct adv7842_state *state = to_state(sd); adv7842_remove() local [all...] |
H A D | vp27smpx.c | 40 struct vp27smpx_state *state = to_state(sd); in vp27smpx_set_audmode() local 60 state->audmode = audmode; in vp27smpx_set_audmode() 65 struct vp27smpx_state *state = to_state(sd); in vp27smpx_s_radio() local 67 state->radio = 1; in vp27smpx_s_radio() 73 struct vp27smpx_state *state = to_state(sd); in vp27smpx_s_std() local 75 state->radio = 0; in vp27smpx_s_std() 81 struct vp27smpx_state *state = to_state(sd); in vp27smpx_s_tuner() local 83 if (!state->radio) in vp27smpx_s_tuner() 90 struct vp27smpx_state *state = to_state(sd); in vp27smpx_g_tuner() local 92 if (state in vp27smpx_g_tuner() 103 struct vp27smpx_state *state = to_state(sd); vp27smpx_log_status() local 144 struct vp27smpx_state *state; vp27smpx_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | vp27smpx.c | 40 struct vp27smpx_state *state = to_state(sd); in vp27smpx_set_audmode() local 60 state->audmode = audmode; in vp27smpx_set_audmode() 65 struct vp27smpx_state *state = to_state(sd); in vp27smpx_s_radio() local 67 state->radio = 1; in vp27smpx_s_radio() 73 struct vp27smpx_state *state = to_state(sd); in vp27smpx_s_std() local 75 state->radio = 0; in vp27smpx_s_std() 81 struct vp27smpx_state *state = to_state(sd); in vp27smpx_s_tuner() local 83 if (!state->radio) in vp27smpx_s_tuner() 90 struct vp27smpx_state *state = to_state(sd); in vp27smpx_g_tuner() local 92 if (state in vp27smpx_g_tuner() 103 struct vp27smpx_state *state = to_state(sd); vp27smpx_log_status() local 143 struct vp27smpx_state *state; vp27smpx_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/virt/ |
H A D | vmgenid.c | 27 struct vmgenid_state *state; in vmgenid_add() local 33 state = devm_kmalloc(&device->dev, sizeof(*state), GFP_KERNEL); in vmgenid_add() 34 if (!state) in vmgenid_add() 52 state->next_id = devm_memremap(&device->dev, phys_addr, VMGENID_SIZE, MEMREMAP_WB); in vmgenid_add() 53 if (IS_ERR(state->next_id)) { in vmgenid_add() 54 ret = PTR_ERR(state->next_id); in vmgenid_add() 58 memcpy(state->this_id, state->next_id, sizeof(state in vmgenid_add() 70 struct vmgenid_state *state = acpi_driver_data(device); vmgenid_notify() local [all...] |
/third_party/skia/tests/ |
H A D | PathOpsOpCubicThreadedTest.cpp | 20 PathOpsThreadState& state = *data; in testOpCubicsMain() local 30 pathA.moveTo(SkIntToScalar(state.fA), SkIntToScalar(state.fB)); in testOpCubicsMain() 31 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b), in testOpCubicsMain() 36 pathB.cubicTo(SkIntToScalar(c), SkIntToScalar(d), SkIntToScalar(state.fB), in testOpCubicsMain() 37 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); in testOpCubicsMain() 40 if (state in testOpCubicsMain() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | fips_prf_openssl.c | 16 static void sha1_transform(u32 *state, const u8 data[64]) in sha1_transform() argument 21 context.h[0] = state[0]; in sha1_transform() 22 context.h[1] = state[1]; in sha1_transform() 23 context.h[2] = state[2]; in sha1_transform() 24 context.h[3] = state[3]; in sha1_transform() 25 context.h[4] = state[4]; in sha1_transform() 27 state[0] = context.h[0]; in sha1_transform() 28 state[1] = context.h[1]; in sha1_transform() 29 state[2] = context.h[2]; in sha1_transform() 30 state[ in sha1_transform() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | fips_prf_openssl.c | 16 static void sha1_transform(u32 *state, const u8 data[64]) in sha1_transform() argument 21 context.h[0] = state[0]; in sha1_transform() 22 context.h[1] = state[1]; in sha1_transform() 23 context.h[2] = state[2]; in sha1_transform() 24 context.h[3] = state[3]; in sha1_transform() 25 context.h[4] = state[4]; in sha1_transform() 27 state[0] = context.h[0]; in sha1_transform() 28 state[1] = context.h[1]; in sha1_transform() 29 state[2] = context.h[2]; in sha1_transform() 30 state[ in sha1_transform() [all...] |
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
H A D | resource_manager_test_common.cpp | 204 RState state; in TestGetProfileById() local 207 state = rm->GetProfileById(id, outValue); in TestGetProfileById() 208 EXPECT_TRUE(state == SUCCESS); in TestGetProfileById() 219 RState state = rm->GetProfileByName("test_profile", outValue); in TestGetProfileByName() local 220 EXPECT_TRUE(state == SUCCESS); in TestGetProfileByName() 233 RState state = rm->GetMediaById(id, outValue); in TestGetMediaById() local 234 EXPECT_TRUE(state == SUCCESS); in TestGetMediaById() 259 RState state = rm->GetMediaById(id, outValue, density); in TestGetMediaWithDensityById() local 260 EXPECT_TRUE(state == SUCCESS); in TestGetMediaWithDensityById() 271 RState state in TestGetMediaByName() local 295 RState state = rm->GetMediaByName("icon", outValue, density); TestGetMediaWithDensityByName() local 308 RState state = rm->GetDrawableInfoById(id, type, len, jsonBuf); TestGetDrawableInfoById() local 333 RState state = rm->GetDrawableInfoById(id, type, len, jsonBuf, density); TestGetDrawableInfoWithDensityById() local 349 RState state = rm->GetDrawableInfoByName("icon1", type, len, jsonBuf); TestGetDrawableInfoByName() local 372 RState state = rm->GetDrawableInfoByName("icon1", type, len, jsonBuf, density); TestGetDrawableInfoWithDensityByName() local 387 RState state = rm->GetStringFormatById(outValue, id, 101); // 101 means the format number TestGetStringFormatById() local 395 RState state = rm->GetStringFormatByName(outValue, name, 101); // 101 means the format number TestGetStringFormatByName() local 404 RState state = rm->GetStringArrayById(id, outValue); TestGetStringArrayById() local 418 RState state = rm->GetStringFormatById(id, outValue, jsParams); TestGetStringFormatById() local 432 RState state = rm->GetStringFormatById(outValue, id, args); TestGetStringFormatByIdWithVaArgs() local 444 RState state = rm->GetStringFormatByName(name, outValue, jsParams); TestGetStringFormatByName() local 456 RState state = rm->GetStringFormatByName(outValue, name, args); TestGetStringFormatByNameWithVaArgs() local 465 RState state = rm->GetStringArrayByName(name, outValue); TestGetStringArrayByName() local 475 RState state = rm->GetPatternById(id, outValue); TestGetPatternById() local 484 RState state = rm->GetPatternByName(name, outValue); TestGetPatternByName() local 495 RState state = rm->GetThemeById(id, outValue); TestGetThemeById() local 502 RState state = rm->GetThemeByName(appTheme, outValue); TestGetThemeByName() local 515 RState state = rm->GetBooleanById(id, outValue); TestGetBooleanById() local 529 RState state = rm->GetBooleanByName(boolean1, outValue); TestGetBooleanByName() local 543 RState state = rm->GetIntegerById(id, outValue); TestGetIntegerById() local 557 RState state = rm->GetIntegerByName(integer1, outValue); TestGetIntegerByName() local 572 RState state = rm->GetFloatById(id, outValue); TestGetFloatById() local 592 RState state = rm->GetFloatByName(touchTarget, outValue); TestGetFloatByName() local 612 RState state = rm->GetIntArrayById(id, outValue); TestGetIntArrayById() local 623 RState state = rm->GetIntArrayByName(intarray1, outValue); TestGetIntArrayByName() local [all...] |
/third_party/musl/Benchmark/musl/ |
H A D | libc_syscall.cpp | 41 static void Bm_function_Syscall_getpid(benchmark::State &state) in Bm_function_Syscall_getpid() argument 44 for (auto _ : state) { in Bm_function_Syscall_getpid() 51 static void Bm_function_Syscall_gettid(benchmark::State &state) in Bm_function_Syscall_gettid() argument 54 for (auto _ : state) { in Bm_function_Syscall_gettid() 61 static void Bm_function_Syscall_adjtimex(benchmark::State &state) in Bm_function_Syscall_adjtimex() argument 64 for (auto _ : state) { in Bm_function_Syscall_adjtimex() 70 static void Bm_function_Syscall_write(benchmark::State &state) in Bm_function_Syscall_write() argument 76 for (auto _ : state) { in Bm_function_Syscall_write() 83 static void Bm_function_Syscall_read(benchmark::State &state) in Bm_function_Syscall_read() argument 90 for (auto _ : state) { in Bm_function_Syscall_read() 101 Bm_function_Syscall_fcntl(benchmark::State &state) Bm_function_Syscall_fcntl() argument 119 Bm_function_Syscall_getrusage(benchmark::State &state) Bm_function_Syscall_getrusage() argument 133 Bm_function_Syscall_uname(benchmark::State &state) Bm_function_Syscall_uname() argument 146 Bm_function_Syscall_getpriority(benchmark::State &state) Bm_function_Syscall_getpriority() argument 154 Bm_function_Syscall_setpriority(benchmark::State &state) Bm_function_Syscall_setpriority() argument 167 Bm_function_Syscall_eventfd(benchmark::State &state) Bm_function_Syscall_eventfd() argument [all...] |
/third_party/selinux/libselinux/src/ |
H A D | selinux_restorecon.c | 917 struct rest_state *state = arg; in selinux_restorecon_thread() local 918 FTS *fts = state->fts; in selinux_restorecon_thread() 925 if (state->parallel) in selinux_restorecon_thread() 926 pthread_mutex_lock(&state->mutex); in selinux_restorecon_thread() 928 if (state->ftsent_first) { in selinux_restorecon_thread() 929 ftsent = state->ftsent_first; in selinux_restorecon_thread() 930 state->ftsent_first = NULL; in selinux_restorecon_thread() 938 if (state->flags.set_xdev && in selinux_restorecon_thread() 939 ftsent->fts_statp->st_dev != state->dev_num) in selinux_restorecon_thread() 948 state in selinux_restorecon_thread() 1097 struct rest_state state; selinux_restorecon_common() local [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | zl10036.c | 59 static int zl10036_read_status_reg(struct zl10036_state *state) in zl10036_read_status_reg() argument 63 { .addr = state->config->tuner_address, .flags = I2C_M_RD, in zl10036_read_status_reg() 67 if (i2c_transfer(state->i2c, msg, 1) != 1) { in zl10036_read_status_reg() 69 __func__, state->config->tuner_address); in zl10036_read_status_reg() 82 static int zl10036_write(struct zl10036_state *state, u8 buf[], u8 count) in zl10036_write() argument 85 { .addr = state->config->tuner_address, .flags = 0, in zl10036_write() 116 ret = i2c_transfer(state->i2c, msg, 1); in zl10036_write() 127 struct zl10036_state *state = fe->tuner_priv; in zl10036_release() local 130 kfree(state); in zl10036_release() 135 struct zl10036_state *state in zl10036_sleep() local 170 zl10036_set_frequency(struct zl10036_state *state, u32 frequency) zl10036_set_frequency() argument 189 zl10036_set_bandwidth(struct zl10036_state *state, u32 fbw) zl10036_set_bandwidth() argument 269 zl10036_set_gain_params(struct zl10036_state *state, int c) zl10036_set_gain_params() argument 297 struct zl10036_state *state = fe->tuner_priv; zl10036_set_params() local 372 struct zl10036_state *state = fe->tuner_priv; zl10036_get_frequency() local 379 zl10036_init_regs(struct zl10036_state *state) zl10036_init_regs() argument 416 struct zl10036_state *state = fe->tuner_priv; zl10036_init() local 452 struct zl10036_state *state; zl10036_attach() local [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | zl10036.c | 59 static int zl10036_read_status_reg(struct zl10036_state *state) in zl10036_read_status_reg() argument 63 { .addr = state->config->tuner_address, .flags = I2C_M_RD, in zl10036_read_status_reg() 67 if (i2c_transfer(state->i2c, msg, 1) != 1) { in zl10036_read_status_reg() 69 __func__, state->config->tuner_address); in zl10036_read_status_reg() 82 static int zl10036_write(struct zl10036_state *state, u8 buf[], u8 count) in zl10036_write() argument 85 { .addr = state->config->tuner_address, .flags = 0, in zl10036_write() 116 ret = i2c_transfer(state->i2c, msg, 1); in zl10036_write() 127 struct zl10036_state *state = fe->tuner_priv; in zl10036_release() local 130 kfree(state); in zl10036_release() 135 struct zl10036_state *state in zl10036_sleep() local 170 zl10036_set_frequency(struct zl10036_state *state, u32 frequency) zl10036_set_frequency() argument 189 zl10036_set_bandwidth(struct zl10036_state *state, u32 fbw) zl10036_set_bandwidth() argument 269 zl10036_set_gain_params(struct zl10036_state *state, int c) zl10036_set_gain_params() argument 297 struct zl10036_state *state = fe->tuner_priv; zl10036_set_params() local 372 struct zl10036_state *state = fe->tuner_priv; zl10036_get_frequency() local 379 zl10036_init_regs(struct zl10036_state *state) zl10036_init_regs() argument 416 struct zl10036_state *state = fe->tuner_priv; zl10036_init() local 452 struct zl10036_state *state; zl10036_attach() local [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | serial_core.c | 50 static void uart_change_speed(struct tty_struct *tty, struct uart_state *state, 53 static void uart_change_pm(struct uart_state *state, 63 static inline struct uart_port *uart_port_ref(struct uart_state *state) in uart_port_ref() argument 65 if (atomic_add_unless(&state->refcount, 1, 0)) in uart_port_ref() 66 return state->uart_port; in uart_port_ref() 72 if (atomic_dec_and_test(&uport->state->refcount)) in uart_port_deref() 73 wake_up(&uport->state->remove_wait); in uart_port_deref() 76 #define uart_port_lock(state, flags) \ 78 struct uart_port *__uport = uart_port_ref(state); \ 93 static inline struct uart_port *uart_port_check(struct uart_state *state) in uart_port_check() argument 105 struct uart_state *state = port->state; uart_write_wakeup() local 116 struct uart_state *state = tty->driver_data; uart_stop() local 128 struct uart_state *state = tty->driver_data; __uart_start() local 137 struct uart_state *state = tty->driver_data; uart_start() local 175 uart_port_startup(struct tty_struct *tty, struct uart_state *state, int init_hw) uart_port_startup() argument 247 uart_startup(struct tty_struct *tty, struct uart_state *state, int init_hw) uart_startup() argument 270 uart_shutdown(struct tty_struct *tty, struct uart_state *state) uart_shutdown() argument 501 uart_change_speed(struct tty_struct *tty, struct uart_state *state, struct ktermios *old_termios) uart_change_speed() argument 548 struct uart_state *state = tty->driver_data; uart_put_char() local 578 struct uart_state *state = tty->driver_data; uart_write() local 620 struct uart_state *state = tty->driver_data; uart_write_room() local 633 struct uart_state *state = tty->driver_data; uart_chars_in_buffer() local 646 struct uart_state *state = tty->driver_data; uart_flush_buffer() local 691 struct uart_state *state = tty->driver_data; uart_send_xchar() local 713 struct uart_state *state = tty->driver_data; uart_throttle() local 742 struct uart_state *state = tty->driver_data; uart_unthrottle() local 771 struct uart_state *state = container_of(port, struct uart_state, port); uart_get_info() local 814 struct uart_state *state = tty->driver_data; uart_get_info_user() local 820 uart_set_info(struct tty_struct *tty, struct tty_port *port, struct uart_state *state, struct serial_struct *new_info) uart_set_info() argument 1035 struct uart_state *state = tty->driver_data; uart_set_info_user() local 1060 uart_get_lsr_info(struct tty_struct *tty, struct uart_state *state, unsigned int __user *value) uart_get_lsr_info() argument 1084 struct uart_state *state = tty->driver_data; uart_tiocmget() local 1108 struct uart_state *state = tty->driver_data; uart_tiocmset() local 1129 struct uart_state *state = tty->driver_data; uart_break_ctl() local 1147 uart_do_autoconfig(struct tty_struct *tty, struct uart_state *state) uart_do_autoconfig() argument 1220 uart_wait_modem_status(struct uart_state *state, unsigned long arg) uart_wait_modem_status() argument 1281 struct uart_state *state = tty->driver_data; uart_get_icount() local 1440 struct uart_state *state = tty->driver_data; uart_ioctl() local 1524 struct uart_state *state = tty->driver_data; uart_set_ldisc() local 1541 struct uart_state *state = tty->driver_data; uart_set_termios() local 1603 struct uart_state *state = tty->driver_data; uart_close() local 1624 struct uart_state *state = container_of(port, struct uart_state, port); uart_tty_port_shutdown() local 1664 struct uart_state *state = tty->driver_data; uart_wait_until_sent() local 1731 struct uart_state *state = tty->driver_data; uart_hangup() local 1761 struct uart_state *state = container_of(port, struct uart_state, port); uart_port_shutdown() local 1788 struct uart_state *state = container_of(port, struct uart_state, port); uart_carrier_raised() local 1813 struct uart_state *state = container_of(port, struct uart_state, port); uart_dtr_rts() local 1826 struct uart_state *state = drv->state + tty->index; uart_install() local 1845 struct uart_state *state = tty->driver_data; uart_open() local 1857 struct uart_state *state = container_of(port, struct uart_state, port); uart_port_activate() local 1894 struct uart_state *state = drv->state + i; uart_line_info() local 2205 uart_change_pm(struct uart_state *state, enum uart_pm_state pm_state) uart_change_pm() argument 2234 struct uart_state *state = drv->state + uport->line; uart_suspend_port() local 2297 struct uart_state *state = drv->state + uport->line; uart_resume_port() local 2419 uart_configure_port(struct uart_driver *drv, struct uart_state *state, struct uart_port *port) uart_configure_port() argument 2488 struct uart_state *state = drv->state + line; uart_poll_init() local 2527 struct uart_state *state = drv->state + line; uart_poll_get_char() local 2543 struct uart_state *state = drv->state + line; uart_poll_put_char() local 2651 struct uart_state *state = drv->state + i; uart_register_driver() local 2840 struct uart_state *state = container_of(port, struct uart_state, port); console_show() local 2857 struct uart_state *state = container_of(port, struct uart_state, port); console_store() local 2937 struct uart_state *state; uart_add_one_port() local 3039 struct uart_state *state = drv->state + uport->line; uart_remove_one_port() local [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | typeOfThisInstanceMemberNarrowedWithLoopAntecedent.js | 12 state!: State; 15 this.state.data; 16 if (this.state.type === "stringVariant") { 17 const s: string = this.state.data; 23 state!: State; 27 if (this.state.type === "numberVariant") { 28 this.state.data; 30 let n: number = this.state?.data; // This should be an error 40 this.state.data;
41 if (this.state [all...] |
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfs4acl.c | 455 init_state(struct posix_acl_state *state, int cnt) in init_state() argument 459 memset(state, 0, sizeof(struct posix_acl_state)); in init_state() 460 state->empty = 1; in init_state() 468 state->users = kzalloc(alloc, GFP_KERNEL); in init_state() 469 if (!state->users) in init_state() 471 state->groups = kzalloc(alloc, GFP_KERNEL); in init_state() 472 if (!state->groups) { in init_state() 473 kfree(state->users); in init_state() 480 free_state(struct posix_acl_state *state) { in free_state() argument 481 kfree(state in free_state() 485 add_to_mask(struct posix_acl_state *state, struct posix_ace_state *astate) add_to_mask() argument 491 posix_state_to_acl(struct posix_acl_state *state, unsigned int flags) posix_state_to_acl() argument 571 find_uid(struct posix_acl_state *state, kuid_t uid) find_uid() argument 588 find_gid(struct posix_acl_state *state, kgid_t gid) find_gid() argument 621 process_one_v4_ace(struct posix_acl_state *state, struct nfs4_ace *ace) process_one_v4_ace() argument [all...] |
/third_party/nghttp2/bpf/ |
H A D | reuseport_kern.c | 56 /* The number of columns comprising a state in AES. This is a constant 63 /* state - array holding the intermediate results during 192 /* This function adds the round key to state. The round key is added 193 to the state by an XOR function. */ 194 static void AddRoundKey(__u8 round, state_t *state, const __u8 *RoundKey) { in AddRoundKey() argument 198 (*state)[i][j] ^= RoundKey[(round * Nb * 4) + (i * Nb) + j]; in AddRoundKey() 213 /* MixColumns function mixes the columns of the state matrix. The 217 static void InvMixColumns(state_t *state) { in InvMixColumns() argument 221 a = (*state)[i][0]; in InvMixColumns() 222 b = (*state)[ in InvMixColumns() 241 InvSubBytes(state_t *state) InvSubBytes() argument 264 InvShiftRows(state_t *state) InvShiftRows() argument 291 InvCipher(state_t *state, const __u8 *RoundKey) InvCipher() argument [all...] |
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | cpu_mcf.h | 35 static inline void ctr_set_enable(u64 *state, int ctr_set) in ctr_set_enable() argument 37 *state |= cpumf_ctr_ctl[ctr_set] << CPUMF_LCCTL_ENABLE_SHIFT; in ctr_set_enable() 39 static inline void ctr_set_disable(u64 *state, int ctr_set) in ctr_set_disable() argument 41 *state &= ~(cpumf_ctr_ctl[ctr_set] << CPUMF_LCCTL_ENABLE_SHIFT); in ctr_set_disable() 43 static inline void ctr_set_start(u64 *state, int ctr_set) in ctr_set_start() argument 45 *state |= cpumf_ctr_ctl[ctr_set] << CPUMF_LCCTL_ACTCTL_SHIFT; in ctr_set_start() 47 static inline void ctr_set_stop(u64 *state, int ctr_set) in ctr_set_stop() argument 49 *state &= ~(cpumf_ctr_ctl[ctr_set] << CPUMF_LCCTL_ACTCTL_SHIFT); in ctr_set_stop() 52 static inline void ctr_set_multiple_enable(u64 *state, u64 ctrsets) in ctr_set_multiple_enable() argument 54 *state | in ctr_set_multiple_enable() 57 ctr_set_multiple_disable(u64 *state, u64 ctrsets) ctr_set_multiple_disable() argument 62 ctr_set_multiple_start(u64 *state, u64 ctrsets) ctr_set_multiple_start() argument 67 ctr_set_multiple_stop(u64 *state, u64 ctrsets) ctr_set_multiple_stop() argument 95 u64 state, tx_state; global() member [all...] |
/kernel/linux/linux-6.6/arch/arm64/include/asm/stacktrace/ |
H A D | common.h | 21 * struct unwind_state - state used for robust unwinding. 69 static inline void unwind_init_common(struct unwind_state *state, in unwind_init_common() argument 72 state->task = task; in unwind_init_common() 74 state->kr_cur = NULL; in unwind_init_common() 77 state->stack = stackinfo_get_unknown(); in unwind_init_common() 80 static struct stack_info *unwind_find_next_stack(const struct unwind_state *state, in unwind_find_next_stack() argument 84 for (int i = 0; i < state->nr_stacks; i++) { in unwind_find_next_stack() 85 struct stack_info *info = &state->stacks[i]; in unwind_find_next_stack() 99 * @state: the current unwind state 105 unwind_consume_stack(struct unwind_state *state, unsigned long sp, unsigned long size) unwind_consume_stack() argument 155 unwind_next_frame_record(struct unwind_state *state) unwind_next_frame_record() argument [all...] |
/kernel/linux/linux-5.10/lib/xz/ |
H A D | xz_lzma2.h | 23 * Maximum number of position states. A position state is the lowest pb 60 /* The lowest 7 states indicate that the previous state was a literal. */ 64 static inline void lzma_state_literal(enum lzma_state *state) in lzma_state_literal() argument 66 if (*state <= STATE_SHORTREP_LIT_LIT) in lzma_state_literal() 67 *state = STATE_LIT_LIT; in lzma_state_literal() 68 else if (*state <= STATE_LIT_SHORTREP) in lzma_state_literal() 69 *state -= 3; in lzma_state_literal() 71 *state -= 6; in lzma_state_literal() 75 static inline void lzma_state_match(enum lzma_state *state) in lzma_state_match() argument 77 *state in lzma_state_match() [all...] |
/kernel/linux/linux-6.6/lib/xz/ |
H A D | xz_lzma2.h | 23 * Maximum number of position states. A position state is the lowest pb 60 /* The lowest 7 states indicate that the previous state was a literal. */ 64 static inline void lzma_state_literal(enum lzma_state *state) in lzma_state_literal() argument 66 if (*state <= STATE_SHORTREP_LIT_LIT) in lzma_state_literal() 67 *state = STATE_LIT_LIT; in lzma_state_literal() 68 else if (*state <= STATE_LIT_SHORTREP) in lzma_state_literal() 69 *state -= 3; in lzma_state_literal() 71 *state -= 6; in lzma_state_literal() 75 static inline void lzma_state_match(enum lzma_state *state) in lzma_state_match() argument 77 *state in lzma_state_match() [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | aegis128-neon.c | 11 void crypto_aegis128_init_neon(void *state, const void *key, const void *iv); 12 void crypto_aegis128_update_neon(void *state, const void *msg); 13 void crypto_aegis128_encrypt_chunk_neon(void *state, void *dst, const void *src, 15 void crypto_aegis128_decrypt_chunk_neon(void *state, void *dst, const void *src, 17 void crypto_aegis128_final_neon(void *state, void *tag_xor, uint64_t assoclen, 31 void crypto_aegis128_init_simd(union aegis_block *state, in crypto_aegis128_init_simd() argument 36 crypto_aegis128_init_neon(state, key, iv); in crypto_aegis128_init_simd() 40 void crypto_aegis128_update_simd(union aegis_block *state, const void *msg) in crypto_aegis128_update_simd() argument 43 crypto_aegis128_update_neon(state, msg); in crypto_aegis128_update_simd() 47 void crypto_aegis128_encrypt_chunk_simd(union aegis_block *state, u argument 55 crypto_aegis128_decrypt_chunk_simd(union aegis_block *state, u8 *dst, const u8 *src, unsigned int size) crypto_aegis128_decrypt_chunk_simd() argument 63 crypto_aegis128_final_simd(union aegis_block *state, union aegis_block *tag_xor, u64 assoclen, u64 cryptlen) crypto_aegis128_final_simd() argument [all...] |