Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 25 of 105) sorted by relevance

12345

/openbsd/sys/dev/
H A Dsoftraid_raid1.c124 switch (new_state) { in sr_raid1_set_chunk_state()
134 switch (new_state) { in sr_raid1_set_chunk_state()
151 switch (new_state) { in sr_raid1_set_chunk_state()
164 switch (new_state) { in sr_raid1_set_chunk_state()
197 int new_state, i, s, nd; in sr_raid1_set_vol_state() local
230 new_state = BIOC_SVSCRUB; in sr_raid1_set_vol_state()
247 switch (new_state) { in sr_raid1_set_vol_state()
263 switch (new_state) { in sr_raid1_set_vol_state()
274 switch (new_state) { in sr_raid1_set_vol_state()
285 switch (new_state) { in sr_raid1_set_vol_state()
[all …]
H A Dsoftraid_raid6.c183 switch (new_state) { in sr_raid6_set_chunk_state()
200 switch (new_state) { in sr_raid6_set_chunk_state()
210 switch (new_state) { in sr_raid6_set_chunk_state()
243 int new_state, i, s, nd; in sr_raid6_set_vol_state() local
271 new_state = BIOC_SVSCRUB; in sr_raid6_set_vol_state()
286 old_state, new_state); in sr_raid6_set_vol_state()
290 switch (new_state) { in sr_raid6_set_vol_state()
306 switch (new_state) { in sr_raid6_set_vol_state()
317 switch (new_state) { in sr_raid6_set_vol_state()
328 switch (new_state) { in sr_raid6_set_vol_state()
[all …]
H A Dsoftraid_raid5.c165 switch (new_state) { in sr_raid5_set_chunk_state()
182 switch (new_state) { in sr_raid5_set_chunk_state()
192 switch (new_state) { in sr_raid5_set_chunk_state()
225 int new_state, i, s, nd; in sr_raid5_set_vol_state() local
251 new_state = BIOC_SVSCRUB; in sr_raid5_set_vol_state()
270 old_state, new_state); in sr_raid5_set_vol_state()
274 switch (new_state) { in sr_raid5_set_vol_state()
290 switch (new_state) { in sr_raid5_set_vol_state()
301 switch (new_state) { in sr_raid5_set_vol_state()
312 switch (new_state) { in sr_raid5_set_vol_state()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h171 u64 new_state; in Lock() local
183 new_state = state | kWriterSpinWait; in Lock()
229 u64 new_state; in Unlock() local
234 new_state = state & ~kWriterLock; in Unlock()
238 new_state = (new_state - kWaitingWriterInc) | kWriterSpinWait; in Unlock()
244 new_state = (new_state & ~kWaitingReaderMask) | kReaderSpinWait; in Unlock()
259 u64 new_state; in ReadLock() local
293 u64 new_state; in ReadUnlock() local
298 new_state = state - kReaderLockInc; in ReadUnlock()
299 wake = (new_state & in ReadUnlock()
[all …]
/openbsd/sys/dev/pci/drm/include/drm/
H A Ddrm_atomic.h162 struct drm_plane_state *state, *old_state, *new_state; member
167 struct drm_crtc_state *state, *old_state, *new_state; member
185 struct drm_connector_state *state, *old_state, *new_state; member
345 struct drm_private_state *state, *old_state, *new_state; member
582 return state->crtcs[drm_crtc_index(crtc)].new_state; in drm_atomic_get_new_crtc_state()
630 return state->planes[drm_plane_index(plane)].new_state; in drm_atomic_get_new_plane_state()
693 return state->connectors[index].new_state; in drm_atomic_get_new_connector_state()
836 (new_crtc_state) = (__state)->crtcs[__i].new_state, \
877 (new_crtc_state) = (__state)->crtcs[__i].new_state, \
900 (new_plane_state) = (__state)->planes[__i].new_state, 1))
[all …]
/openbsd/gnu/llvm/lldb/source/Plugins/Process/Linux/
H A DNativeThreadLinux.cpp212 const StateType new_state = StateType::eStateRunning; in Resume() local
213 MaybeLogStateChange(new_state); in Resume()
214 m_state = new_state; in Resume()
255 MaybeLogStateChange(new_state); in SingleStep()
256 m_state = new_state; in SingleStep()
389 MaybeLogStateChange(new_state); in SetStopped()
390 m_state = new_state; in SetStopped()
491 const StateType new_state = StateType::eStateExited; in SetExited() local
492 MaybeLogStateChange(new_state); in SetExited()
493 m_state = new_state; in SetExited()
[all …]
/openbsd/sys/dev/pci/drm/radeon/
H A Drs780_dpm.c430 struct igp_ps *new_state = rs780_get_ps(new_ps); in rs780_set_engine_clock_scaling() local
435 (new_state->sclk_low == old_state->sclk_low)) in rs780_set_engine_clock_scaling()
477 struct igp_ps *new_state = rs780_get_ps(new_ps); in rs780_set_engine_clock_spc() local
482 (new_state->sclk_low == old_state->sclk_low)) in rs780_set_engine_clock_spc()
496 struct igp_ps *new_state = rs780_get_ps(new_ps); in rs780_activate_engine_clk_scaling() local
503 if (new_state->sclk_high == new_state->sclk_low) in rs780_activate_engine_clk_scaling()
525 struct igp_ps *new_state = rs780_get_ps(new_ps); in rs780_enable_voltage_scaling() local
536 new_state->max_voltage); in rs780_enable_voltage_scaling()
538 new_state->min_voltage); in rs780_enable_voltage_scaling()
567 struct igp_ps *new_state = rs780_get_ps(new_ps); in rs780_set_uvd_clock_before_set_eng_clock() local
[all …]
H A Drv6xx_dpm.c973 new_state->low.vddc, in rv6xx_enable_static_voltage_control()
1053 rv6xx_calculate_ap(rdev, new_state); in rv6xx_calculate_stepping_parameters()
1207 new_state->low.vddc : old_state->low.vddc; in rv6xx_set_sw_voltage_to_safe()
1314 new_state->low.vddc); in rv6xx_step_voltage_if_increasing()
1329 new_state->low.vddc); in rv6xx_step_voltage_if_decreasing()
1427 new_state->low.sclk, in rv6xx_generate_transition_stepping()
1439 new_state->low.sclk, in rv6xx_generate_low_step()
1460 new_state->low.sclk, in rv6xx_generate_stepping_table()
1461 new_state->medium.sclk, in rv6xx_generate_stepping_table()
1465 new_state->medium.sclk, in rv6xx_generate_stepping_table()
[all …]
/openbsd/regress/lib/libpthread/errno/
H A Derrno.c34 set_state(enum state new_state) in set_state() argument
37 ASSERT(state == new_state - 1); in set_state()
38 state = new_state; in set_state()
44 wait_for_state(enum state new_state) in wait_for_state() argument
47 while(state != new_state) in wait_for_state()
/openbsd/sys/dev/pci/drm/i915/display/
H A Dintel_atomic.c117 struct drm_connector_state *new_state = in intel_digital_connector_atomic_check() local
120 to_intel_digital_connector_state(new_state); in intel_digital_connector_atomic_check()
127 intel_hdcp_atomic_check(conn, old_state, new_state); in intel_digital_connector_atomic_check()
129 if (!new_state->crtc) in intel_digital_connector_atomic_check()
132 crtc_state = drm_atomic_get_new_crtc_state(state, new_state->crtc); in intel_digital_connector_atomic_check()
145 !drm_connector_atomic_hdr_metadata_equal(old_state, new_state)) in intel_digital_connector_atomic_check()
H A Dintel_global_state.h36 (new_obj_state) = (__state)->global_objs[__i].new_state, 1); \
53 (new_obj_state) = (__state)->global_objs[__i].new_state, 1); \
66 struct intel_global_state *state, *old_state, *new_state; member
H A Dintel_global_state.c145 state->global_objs[index].new_state = obj_state; in intel_atomic_get_global_obj_state()
178 return state->global_objs[i].new_state; in intel_atomic_get_new_global_obj_state()
219 intel_atomic_global_state_put(state->global_objs[i].new_state); in intel_atomic_clear_global_state()
224 state->global_objs[i].new_state = NULL; in intel_atomic_clear_global_state()
/openbsd/gnu/lib/libiberty/src/
H A Drandom.c325 register long int *new_state = (long int *) arg_state; in setstate() local
326 register int type = new_state[0] % MAX_TYPES; in setstate()
327 register int rear = new_state[0] / MAX_TYPES; in setstate()
352 state = &new_state[1]; in setstate()
/openbsd/usr.sbin/dvmrpd/
H A Dneighbor.c58 int new_state; member
94 int new_state = 0; in nbr_fsm() local
101 new_state = nbr_fsm_tbl[i].new_state; in nbr_fsm()
142 if (new_state != 0) in nbr_fsm()
143 nbr->state = new_state; in nbr_fsm()
H A Dgroup.c56 int new_state; member
147 int new_state = 0; in group_fsm() local
155 new_state = grp_fsm[i].new_state; in group_fsm()
216 if (new_state != 0) in group_fsm()
217 group->state = new_state; in group_fsm()
H A Dinterface.c65 int new_state; member
95 int new_state = 0; in if_fsm() local
103 new_state = iface_fsm[i].new_state; in if_fsm()
137 if (new_state != 0) in if_fsm()
138 iface->state = new_state; in if_fsm()
/openbsd/sys/dev/pci/drm/include/drm/display/
H A Ddrm_dp_mst_helper.h943 struct drm_dp_mst_topology_state **new_state, in __drm_dp_mst_state_iter_get() argument
954 if (new_state) in __drm_dp_mst_state_iter_get()
955 *new_state = to_dp_mst_topology_state(objs_state->new_state); in __drm_dp_mst_state_iter_get()
975 #define for_each_oldnew_mst_mgr_in_state(__state, mgr, old_state, new_state, __i) \ argument
977 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), &(new_state), (__i)))
1010 #define for_each_new_mst_mgr_in_state(__state, mgr, new_state, __i) \ argument
1012 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), NULL, &(new_state), (__i)))
/openbsd/usr.sbin/ripd/
H A Dneighbor.c64 int new_state; member
99 int new_state = 0; in nbr_fsm() local
106 new_state = nbr_fsm_tbl[i].new_state; in nbr_fsm()
134 if (new_state != 0) in nbr_fsm()
135 nbr->state = new_state; in nbr_fsm()
H A Dinterface.c52 int new_state; member
100 int new_state = 0; in if_fsm() local
108 new_state = iface_fsm[i].new_state; in if_fsm()
139 if (new_state != 0) in if_fsm()
140 iface->state = new_state; in if_fsm()
/openbsd/lib/libc/stdlib/
H A Drandom.c332 int32_t *new_state = (int32_t *)arg_state; in setstate() local
333 int32_t type = new_state[0] % MAX_TYPES; in setstate()
334 int32_t rear = new_state[0] / MAX_TYPES; in setstate()
357 state = &new_state[1]; in setstate()
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Dvcn_v1_0.c1230 new_state->fw_based, new_state->jpeg); in vcn_v1_0_pause_dpg_mode()
1286 new_state->fw_based, new_state->jpeg); in vcn_v1_0_pause_dpg_mode()
1804 struct dpg_pause_state new_state; in vcn_v1_0_idle_work_handler() local
1807 new_state.fw_based = VCN_DPG_STATE__PAUSE; in vcn_v1_0_idle_work_handler()
1812 new_state.jpeg = VCN_DPG_STATE__PAUSE; in vcn_v1_0_idle_work_handler()
1814 new_state.jpeg = VCN_DPG_STATE__UNPAUSE; in vcn_v1_0_idle_work_handler()
1862 struct dpg_pause_state new_state; in vcn_v1_0_set_pg_for_begin_use() local
1869 new_state.fw_based = VCN_DPG_STATE__PAUSE; in vcn_v1_0_set_pg_for_begin_use()
1874 new_state.jpeg = VCN_DPG_STATE__PAUSE; in vcn_v1_0_set_pg_for_begin_use()
1876 new_state.jpeg = VCN_DPG_STATE__UNPAUSE; in vcn_v1_0_set_pg_for_begin_use()
[all …]
/openbsd/usr.bin/tmux/
H A Dcmd-queue.c368 struct cmdq_state *new_state; in cmdq_insert_hook() local
395 new_state = cmdq_new_state(current, &state->event, CMDQ_STATE_NOHOOKS); in cmdq_insert_hook()
396 cmdq_add_format(new_state, "hook", "%s", name); in cmdq_insert_hook()
399 cmdq_add_format(new_state, "hook_arguments", "%s", arguments); in cmdq_insert_hook()
404 cmdq_add_format(new_state, tmp, "%s", args_string(args, i)); in cmdq_insert_hook()
411 cmdq_add_format(new_state, tmp, "1"); in cmdq_insert_hook()
414 cmdq_add_format(new_state, tmp, "%s", value); in cmdq_insert_hook()
421 cmdq_add_format(new_state, tmp, "%s", av->string); in cmdq_insert_hook()
433 new_item = cmdq_get_command(cmdlist, new_state); in cmdq_insert_hook()
442 cmdq_free_state(new_state); in cmdq_insert_hook()
/openbsd/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c845 if (!new_state->fb) { in dm_plane_helper_prepare_fb()
851 obj = new_state->fb->obj[0]; in dm_plane_helper_prepare_fb()
1304 swap(plane->state->fb, new_state->fb); in dm_plane_atomic_async_update()
1306 plane->state->src_x = new_state->src_x; in dm_plane_atomic_async_update()
1307 plane->state->src_y = new_state->src_y; in dm_plane_atomic_async_update()
1308 plane->state->src_w = new_state->src_w; in dm_plane_atomic_async_update()
1309 plane->state->src_h = new_state->src_h; in dm_plane_atomic_async_update()
1310 plane->state->crtc_x = new_state->crtc_x; in dm_plane_atomic_async_update()
1311 plane->state->crtc_y = new_state->crtc_y; in dm_plane_atomic_async_update()
1312 plane->state->crtc_w = new_state->crtc_w; in dm_plane_atomic_async_update()
[all …]
/openbsd/sys/net/
H A Dtrunklacp.c1254 enum lacp_mux_state new_state; in lacp_sm_mux() local
1267 new_state = lp->lp_mux_state; in lacp_sm_mux()
1271 new_state = LACP_MUX_WAITING; in lacp_sm_mux()
1277 new_state = LACP_MUX_ATTACHED; in lacp_sm_mux()
1279 new_state = LACP_MUX_DETACHED; in lacp_sm_mux()
1283 new_state = LACP_MUX_COLLECTING; in lacp_sm_mux()
1285 new_state = LACP_MUX_DETACHED; in lacp_sm_mux()
1291 new_state = LACP_MUX_ATTACHED; in lacp_sm_mux()
1304 lacp_set_mux(lp, new_state); in lacp_sm_mux()
1316 switch (new_state) { in lacp_set_mux()
[all …]
/openbsd/usr.bin/yacc/
H A Dlr0.c48 core *new_state(int);
222 sp = sp->link = new_state(symbol); in get_state()
228 state_set[key] = sp = new_state(symbol); in get_state()
294 new_state(int symbol) in new_state() function

12345