/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | sweeper.cc | 494 for (SpaceState& state : *states_) { in Sweep() 495 while (auto page = state.unswept_pages.Pop()) { in Sweep() 506 for (SpaceState& state : *states_) { in SweepWithDeadline() 516 if (!finalizer.FinalizeSpaceWithDeadline(&state, deadline_in_seconds)) { in SweepWithDeadline() 521 if (!SweepSpaceWithDeadline(&state, deadline_in_seconds)) { in SweepWithDeadline() 533 bool SweepSpaceWithDeadline(SpaceState* state, double deadline_in_seconds) { in SweepSpaceWithDeadline() argument 536 while (auto page = state->unswept_pages.Pop()) { in SweepSpaceWithDeadline() 608 for (SpaceState& state : *states_) { 609 while (auto page = state.unswept_pages.Pop()) { 658 SpaceState& state in VisitLargePage() local [all...] |
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_state.c | 146 /* None of this state is actually used for anything yet. 294 cso->state[0] |= SS2_MAX_ANISO_4; in i915_create_sampler_state() 300 cso->state[0] |= ((b << SS2_LOD_BIAS_SHIFT) & SS2_LOD_BIAS_MASK); in i915_create_sampler_state() 306 cso->state[0] |= (SS2_SHADOW_ENABLE | i915_translate_shadow_compare_func( in i915_create_sampler_state() 313 cso->state[0] |= in i915_create_sampler_state() 317 cso->state[1] |= ((translate_wrap_mode(ws) << SS3_TCX_ADDR_MODE_SHIFT) | in i915_create_sampler_state() 322 cso->state[1] |= SS3_NORMALIZED_COORDS; in i915_create_sampler_state() 342 cso->state[2] = I915PACKCOLOR8888(r, g, b, a); in i915_create_sampler_state() 385 /** XXX move someday? Or consolidate all these simple state setters 554 ifs->state in i915_create_fs_state() [all...] |
/third_party/pulseaudio/src/modules/raop/ |
H A D | raop-sink.c | 125 static void raop_state_cb(pa_raop_state_t state, void *userdata) { in raop_state_cb() argument 132 pa_asyncmsgq_post(u->thread_mq.inq, PA_MSGOBJECT(u->sink), PA_SINK_MESSAGE_SET_RAOP_STATE, PA_INT_TO_PTR(state), 0, NULL, NULL); in raop_state_cb() 169 if (u->sink->state == PA_SINK_RUNNING) { in sink_process_msg() 197 if (u->autoreconnect && u->sink->state == PA_SINK_RUNNING) { in sink_process_msg() 232 if (u->sink->thread_info.state == PA_SINK_SUSPENDED) { in sink_process_msg() 264 if (u->sink->thread_info.state == PA_SINK_SUSPENDED) { in sink_process_msg() 271 if (u->sink->thread_info.state != PA_SINK_IDLE) { in sink_process_msg() 277 if (u->sink->thread_info.state != PA_SINK_IDLE) in sink_process_msg() 301 if (new_state == s->thread_info.state) in sink_set_state_in_io_thread_cb() 308 pa_assert(PA_SINK_IS_OPENED(s->thread_info.state)); in sink_set_state_in_io_thread_cb() [all...] |
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_worker.c | 436 switch (device->state.conn) { in w_resync_timer() 696 * caution, drbd_bm_test_bit is tri-state for some in make_resync_request() 851 test_bit(GOT_PING_ACK, &connection->flags) || device->state.conn < C_CONNECTED); in ping_peer() 890 if (device->state.conn == C_VERIFY_S || device->state.conn == C_VERIFY_T) in drbd_resync_finished() 1006 disk_state = min_t(enum drbd_disk_state, disk_state, device->state.disk); in drbd_resync_finished() 1007 pdsk_state = min_t(enum drbd_disk_state, pdsk_state, device->state.pdsk); in drbd_resync_finished() 1133 if (device->state.conn == C_AHEAD) { in w_e_end_rsdata_req() 1136 if (likely(device->state.pdsk >= D_INCONSISTENT)) { in w_e_end_rsdata_req() 1539 if (!odev->ldev || odev->state in _drbd_may_sync_now() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc.c | 188 ctx->state = MFCINST_ERROR; in s5p_mfc_watchdog_worker() 224 ctx->state = MFCINST_FINISHED; in s5p_mfc_handle_frame_all_extracted() 376 if (ctx->state == MFCINST_RES_CHANGE_INIT) in s5p_mfc_handle_frame() 377 ctx->state = MFCINST_RES_CHANGE_FLUSH; in s5p_mfc_handle_frame() 380 ctx->state = MFCINST_RES_CHANGE_INIT; in s5p_mfc_handle_frame() 393 if (ctx->state == MFCINST_RES_CHANGE_FLUSH) { in s5p_mfc_handle_frame() 401 ctx->state = MFCINST_RES_CHANGE_END; in s5p_mfc_handle_frame() 438 ctx->state = MFCINST_FINISHING; in s5p_mfc_handle_frame() 450 if ((ctx->src_queue_cnt == 0 && ctx->state != MFCINST_FINISHING) in s5p_mfc_handle_frame() 471 /* Error recovery is dependent on the state o in s5p_mfc_handle_error() [all...] |
/kernel/linux/linux-5.10/drivers/net/ieee802154/ |
H A D | at86rf230.c | 54 /* tx retries to access the TX_ON state 98 struct at86rf230_state_change state; member 116 const u8 state, void (*complete)(void *context)); 419 /* Assert state change */ in at86rf230_async_state_assert() 421 /* Special handling if transceiver state is in in at86rf230_async_state_assert() 425 /* Undocumented race condition. If we send a state in at86rf230_async_state_assert() 427 * change his state automatically to STATE_BUSY_RX_AACK in at86rf230_async_state_assert() 435 * transceiver state is STATE_BUSY_RX_AACK, we wait in at86rf230_async_state_assert() 438 * in STATE_BUSY_RX_AACK, we run a force state change in at86rf230_async_state_assert() 443 * TX_ON state withou in at86rf230_async_state_assert() 449 u8 state = ctx->to_state; at86rf230_async_state_assert() local 608 at86rf230_async_state_change(struct at86rf230_local *lp, struct at86rf230_state_change *ctx, const u8 state, void (*complete)(void *context)) at86rf230_async_state_change() argument 633 at86rf230_sync_state_change(struct at86rf230_local *lp, unsigned int state) at86rf230_sync_state_change() argument 805 at86rf230_setup_spi_messages(struct at86rf230_local *lp, struct at86rf230_state_change *state) at86rf230_setup_spi_messages() argument [all...] |
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_worker.c | 431 switch (device->state.conn) { in w_resync_timer() 693 * caution, drbd_bm_test_bit is tri-state for some in make_resync_request() 849 test_bit(GOT_PING_ACK, &connection->flags) || device->state.conn < C_CONNECTED); in ping_peer() 889 if (device->state.conn == C_VERIFY_S || device->state.conn == C_VERIFY_T) in drbd_resync_finished() 1005 disk_state = min_t(enum drbd_disk_state, disk_state, device->state.disk); in drbd_resync_finished() 1006 pdsk_state = min_t(enum drbd_disk_state, pdsk_state, device->state.pdsk); in drbd_resync_finished() 1132 if (device->state.conn == C_AHEAD) { in w_e_end_rsdata_req() 1135 if (likely(device->state.pdsk >= D_INCONSISTENT)) { in w_e_end_rsdata_req() 1542 if (!odev->ldev || odev->state in _drbd_may_sync_now() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc.c | 192 ctx->state = MFCINST_ERROR; in s5p_mfc_watchdog_worker() 230 ctx->state = MFCINST_FINISHED; in s5p_mfc_handle_frame_all_extracted() 388 if (ctx->state == MFCINST_RES_CHANGE_INIT) in s5p_mfc_handle_frame() 389 ctx->state = MFCINST_RES_CHANGE_FLUSH; in s5p_mfc_handle_frame() 392 ctx->state = MFCINST_RES_CHANGE_INIT; in s5p_mfc_handle_frame() 405 if (ctx->state == MFCINST_RES_CHANGE_FLUSH) { in s5p_mfc_handle_frame() 413 ctx->state = MFCINST_RES_CHANGE_END; in s5p_mfc_handle_frame() 450 ctx->state = MFCINST_FINISHING; in s5p_mfc_handle_frame() 462 if ((ctx->src_queue_cnt == 0 && ctx->state != MFCINST_FINISHING) in s5p_mfc_handle_frame() 483 /* Error recovery is dependent on the state o in s5p_mfc_handle_error() [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | kernel-doc | 223 my $state; 227 # Inline documentation state 229 STATE_INLINE_NA => 0, # not applicable ($state != STATE_INLINE) 1826 $state = STATE_NORMAL; 2010 $state = STATE_NAME; # next line is always the function name 2024 $state = STATE_DOCBLOCK; 2060 $state = STATE_BODY; 2073 $state = STATE_BODY_MAYBE; 2080 $state = STATE_NORMAL; 2089 $state [all...] |
/kernel/linux/linux-6.6/drivers/scsi/fnic/ |
H A D | fnic_fcs.c | 200 * If we're in a transitional state, just re-queue and return. in fnic_handle_frame() 201 * The queue will be serviced when we get to a stable state. in fnic_handle_frame() 203 if (fnic->state != FNIC_IN_FC_MODE && in fnic_handle_frame() 204 fnic->state != FNIC_IN_ETH_MODE) { in fnic_handle_frame() 255 * If we're in a transitional state, just re-queue and return. in fnic_handle_event() 256 * The queue will be serviced when we get to a stable state. in fnic_handle_event() 258 if (fnic->state != FNIC_IN_FC_MODE && in fnic_handle_event() 259 fnic->state != FNIC_IN_ETH_MODE) { in fnic_handle_event() 453 vlan->state = FIP_VLAN_AVAIL; in fnic_fcoe_process_vlan_resp() 473 vlan->state in fnic_fcoe_process_vlan_resp() [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | si_cmd_buffer.c | 817 bool partial_es_wave = cmd_buffer->state.graphics_pipeline->ia_multi_vgt_param.partial_es_wave; in si_get_ia_multi_vgt_param() 821 if (radv_pipeline_has_stage(cmd_buffer->state.graphics_pipeline, MESA_SHADER_TESS_CTRL)) { in si_get_ia_multi_vgt_param() 823 prim_vertex_count.min = cmd_buffer->state.graphics_pipeline->tess_patch_control_points; in si_get_ia_multi_vgt_param() 831 if (num_prims < cmd_buffer->state.graphics_pipeline->ia_multi_vgt_param.primgroup_size) in si_get_ia_multi_vgt_param() 835 ia_switch_on_eoi = cmd_buffer->state.graphics_pipeline->ia_multi_vgt_param.ia_switch_on_eoi; in si_get_ia_multi_vgt_param() 836 partial_vs_wave = cmd_buffer->state.graphics_pipeline->ia_multi_vgt_param.partial_vs_wave; in si_get_ia_multi_vgt_param() 879 (radv_pipeline_has_stage(cmd_buffer->state.graphics_pipeline, MESA_SHADER_GEOMETRY) || max_primgroup_in_wave != 2)))) in si_get_ia_multi_vgt_param() 893 if (radv_pipeline_has_stage(cmd_buffer->state.graphics_pipeline, MESA_SHADER_GEOMETRY)) { in si_get_ia_multi_vgt_param() 906 cmd_buffer->state.flush_bits |= RADV_CMD_FLAG_VGT_FLUSH; in si_get_ia_multi_vgt_param() 919 return cmd_buffer->state in si_get_ia_multi_vgt_param() [all...] |
/third_party/node/deps/zlib/ |
H A D | deflate.c | 84 /* Compression function. Returns the block state after the call. */ 224 if (strm->state->wrap == 2) in read_buf() 230 if (strm->state->wrap == 1) in read_buf() 455 strm->state = (struct internal_state FAR *)s; in deflateInit2_() 457 s->status = INIT_STATE; /* to pass state test in deflateReset() */ in deflateInit2_() 569 * Check for a valid deflate stream state. Return 0 if ok, 1 if not. 576 s = strm->state; in deflateStateCheck() 602 s = strm->state; in deflateSetDictionary() 661 s = strm->state; in deflateGetDictionary() 684 s = (deflate_state *)strm->state; in deflateResetKeep() [all...] |
/third_party/node/deps/v8/third_party/zlib/ |
H A D | deflate.c | 88 /* Compression function. Returns the block state after the call. */ 307 strm->state = (struct internal_state FAR *)s; 309 s->status = INIT_STATE; /* to pass state test in deflateReset() */ 406 * Check for a valid deflate stream state. Return 0 if ok, 1 if not. 415 s = strm->state; 444 s = strm->state; 506 s = strm->state; 531 s = (deflate_state *)strm->state; 563 lm_init(strm->state); 572 if (deflateStateCheck(strm) || strm->state [all...] |
/third_party/nghttp2/lib/ |
H A D | nghttp2_hd.c | 740 inflater->state = NGHTTP2_HD_STATE_INFLATE_START; in nghttp2_hd_inflate_init() 1263 switch (inflater->state) { in nghttp2_hd_inflate_change_table_size() 1281 inflater->state = NGHTTP2_HD_STATE_EXPECT_TABLE_SIZE; in nghttp2_hd_inflate_change_table_size() 1886 DEBUGF("inflatehd: start state=%d\n", inflater->state); in nghttp2_hd_inflate_hd_nv() 1891 switch (inflater->state) { in nghttp2_hd_inflate_hd_nv() 1905 if (inflater->state == NGHTTP2_HD_STATE_OPCODE) { in nghttp2_hd_inflate_hd_nv() 1912 inflater->state = NGHTTP2_HD_STATE_READ_TABLE_SIZE; in nghttp2_hd_inflate_hd_nv() 1916 inflater->state = NGHTTP2_HD_STATE_READ_INDEX; in nghttp2_hd_inflate_hd_nv() 1921 inflater->state in nghttp2_hd_inflate_hd_nv() [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_hd.c | 740 inflater->state = NGHTTP2_HD_STATE_INFLATE_START; in nghttp2_hd_inflate_init() 1263 switch (inflater->state) { in nghttp2_hd_inflate_change_table_size() 1281 inflater->state = NGHTTP2_HD_STATE_EXPECT_TABLE_SIZE; in nghttp2_hd_inflate_change_table_size() 1886 DEBUGF("inflatehd: start state=%d\n", inflater->state); in nghttp2_hd_inflate_hd_nv() 1891 switch (inflater->state) { in nghttp2_hd_inflate_hd_nv() 1905 if (inflater->state == NGHTTP2_HD_STATE_OPCODE) { in nghttp2_hd_inflate_hd_nv() 1912 inflater->state = NGHTTP2_HD_STATE_READ_TABLE_SIZE; in nghttp2_hd_inflate_hd_nv() 1916 inflater->state = NGHTTP2_HD_STATE_READ_INDEX; in nghttp2_hd_inflate_hd_nv() 1921 inflater->state in nghttp2_hd_inflate_hd_nv() [all...] |
/third_party/node/deps/v8/src/regexp/ |
H A D | regexp-parser.cc | 114 // Push a state on the stack. 127 // Parser state of containing expression, if any. 153 // Abort if index is larger than what has been parsed up till this state. in IsInsideCaptureGroup() 214 RegExpTree* ParseCharacterClass(const RegExpBuilder* state); 273 RegExpParserState* state); 274 RegExpParserState* ParseOpenParenthesis(RegExpParserState* state); 535 // Used to store current state while parsing subexpressions. in ParseDisjunction() 538 RegExpParserState* state = &initial_state; in ParseDisjunction() local 545 if (state->IsSubexpression()) { in ParseDisjunction() 549 DCHECK_EQ(INITIAL, state in ParseDisjunction() 867 ParseOpenParenthesis( RegExpParserState* state) ParseOpenParenthesis() argument 1176 ParseNamedBackReference( RegExpBuilder* builder, RegExpParserState* state) ParseNamedBackReference() argument [all...] |
/third_party/skia/third_party/externals/zlib/ |
H A D | deflate.c | 88 /* Compression function. Returns the block state after the call. */ 302 strm->state = (struct internal_state FAR *)s; 304 s->status = INIT_STATE; /* to pass state test in deflateReset() */ 401 * Check for a valid deflate stream state. Return 0 if ok, 1 if not. 410 s = strm->state; 439 s = strm->state; 501 s = strm->state; 526 s = (deflate_state *)strm->state; 558 lm_init(strm->state); 567 if (deflateStateCheck(strm) || strm->state [all...] |
/third_party/zlib/ |
H A D | deflate.c | 71 /* Compression function. Returns the block state after the call. */ 229 if (strm->state->wrap == 1) { in read_buf() 233 else if (strm->state->wrap == 2) { in read_buf() 437 strm->state = (struct internal_state FAR *)s; in deflateInit2_() 439 s->status = INIT_STATE; /* to pass state test in deflateReset() */ in deflateInit2_() 530 * Check for a valid deflate stream state. Return 0 if ok, 1 if not. 538 s = strm->state; in deflateStateCheck() 564 s = strm->state; in deflateSetDictionary() 627 s = strm->state; in deflateGetDictionary() 650 s = (deflate_state *)strm->state; in deflateResetKeep() [all...] |
/kernel/linux/linux-5.10/arch/x86/platform/uv/ |
H A D | uv_nmi.c | 406 * 29 RX Pad State Select (RXPADSTSEL): = 0 # Raw RX pad state directly 432 * 1 GPIO RX State (GPIORXSTATE): This is the current internal RX pad state.. 610 uv_cpu_nmi_per(cpu).state = UV_NMI_STATE_OUT; in uv_nmi_cleanup_mask() 640 if (uv_cpu_nmi_per(j).state) { in uv_nmi_wait_cpus() 671 this_cpu_write(uv_cpu_nmi.state, UV_NMI_STATE_IN); in uv_nmi_wait() 717 * Dump this CPU's state. If action was set to "kdump" and the crash_kexec 738 this_cpu_write(uv_cpu_nmi.state, UV_NMI_STATE_DUMP_DONE); in uv_nmi_dump_state_cpu() 741 /* Trigger a slave CPU to dump it's state */ 746 if (uv_cpu_nmi_per(cpu).state != UV_NMI_STATE_IN) in uv_nmi_trigger_dump() 749 uv_cpu_nmi_per(cpu).state in uv_nmi_trigger_dump() [all...] |
/kernel/linux/linux-5.10/arch/loongarch/kernel/ |
H A D | perf_event.c | 77 struct unwind_state state; in perf_callchain_kernel() local 80 for (unwind_start(&state, current, regs); in perf_callchain_kernel() 81 !unwind_done(&state); unwind_next_frame(&state)) { in perf_callchain_kernel() 82 addr = unwind_get_return_address(&state); in perf_callchain_kernel() 362 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in loongarch_pmu_start() 364 hwc->state = 0; in loongarch_pmu_start() 377 if (!(hwc->state & PERF_HES_STOPPED)) { in loongarch_pmu_stop() 382 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in loongarch_pmu_stop() 409 hwc->state in loongarch_pmu_add() [all...] |
/kernel/linux/linux-5.10/drivers/net/can/mscan/ |
H A D | mscan.c | 90 priv->can.state = CAN_STATE_SLEEPING; in mscan_set_mode() 103 priv->can.state = CAN_STATE_STOPPED; in mscan_set_mode() 120 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mscan_set_mode() 154 priv->can.state = state_map[max(MSCAN_STATE_RX(canrflg), in mscan_start() 171 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mscan_restart() 173 "bus-off state expected\n"); in mscan_restart() 178 if (priv->can.state <= CAN_STATE_BUS_OFF) in mscan_restart() 290 return priv->can.state; in get_new_state() 354 if (new_state != priv->can.state) { in mscan_get_err_frame() 359 if (priv->can.state in mscan_get_err_frame() [all...] |
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | perf_event.c | 76 struct unwind_state state; in perf_callchain_kernel() local 79 for (unwind_start(&state, current, regs); in perf_callchain_kernel() 80 !unwind_done(&state); unwind_next_frame(&state)) { in perf_callchain_kernel() 81 addr = unwind_get_return_address(&state); in perf_callchain_kernel() 361 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in loongarch_pmu_start() 363 hwc->state = 0; in loongarch_pmu_start() 376 if (!(hwc->state & PERF_HES_STOPPED)) { in loongarch_pmu_stop() 381 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in loongarch_pmu_stop() 408 hwc->state in loongarch_pmu_add() [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | powerdomain.c | 124 /* Initialize the powerdomain's state counter */ in _pwrdm_register() 134 pwrdm->state = pwrdm_read_pwrst(pwrdm); in _pwrdm_register() 135 pwrdm->state_counter[pwrdm->state] = 1; in _pwrdm_register() 164 int prev, next, state, trace_state = 0; in _pwrdm_state_switch() local 169 state = pwrdm_read_pwrst(pwrdm); in _pwrdm_state_switch() 173 prev = pwrdm->state; in _pwrdm_state_switch() 177 if (prev >= 0 && pwrdm->state != prev) in _pwrdm_state_switch() 182 * If the power domain did not hit the desired state, in _pwrdm_state_switch() 199 if (state != prev) in _pwrdm_state_switch() 200 pwrdm->state_counter[state] in _pwrdm_state_switch() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_diag.c | 71 enum diag_state state; member 94 dc->state = OPENED; in get_client() 123 rdc->state = UNUSED; in return_client() 776 else if (dc->state < READY && (*off || count != 8)) in qib_diag_read() 826 if (dc->state == OPENED) in qib_diag_read() 827 dc->state = INIT; in qib_diag_read() 850 else if (dc->state < READY && in qib_diag_write() 851 ((*off || count != 8) || dc->state != INIT)) in qib_diag_write() 901 if (dc->state == INIT) in qib_diag_write() 902 dc->state in qib_diag_write() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/ |
H A D | fimc-isp-video.c | 85 if (!test_bit(ST_ISP_VID_CAP_BUF_PREP, &isp->state) || in isp_video_capture_start_streaming() 86 test_bit(ST_ISP_VID_CAP_STREAMING, &isp->state)) in isp_video_capture_start_streaming() 115 set_bit(ST_ISP_VID_CAP_STREAMING, &isp->state); in isp_video_capture_start_streaming() 145 clear_bit(ST_ISP_VID_CAP_BUF_PREP, &isp->state); in isp_video_capture_stop_streaming() 146 clear_bit(ST_ISP_VID_CAP_STREAMING, &isp->state); in isp_video_capture_stop_streaming() 173 if (test_bit(ST_ISP_VID_CAP_BUF_PREP, &isp->state)) { in isp_video_capture_buffer_prepare() 196 if (test_bit(ST_ISP_VID_CAP_BUF_PREP, &isp->state)) { in isp_video_capture_buffer_queue() 223 set_bit(ST_ISP_VID_CAP_BUF_PREP, &isp->state); in isp_video_capture_buffer_queue() 226 if (!test_bit(ST_ISP_VID_CAP_STREAMING, &isp->state)) in isp_video_capture_buffer_queue() 241 if (!test_bit(ST_ISP_VID_CAP_STREAMING, &is->isp.state)) in fimc_isp_video_irq_handler() [all...] |