Home
last modified time | relevance | path

Searched refs:state (Results 3476 - 3500 of 20575) sorted by relevance

1...<<131132133134135136137138139140>>...823

/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Ddabtree.c54 ds->state->path.blk[level].blkno), in xchk_da_process_error()
76 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt()
85 struct xfs_da_state_blk *blk = &ds->state->path.blk[level]; in xchk_da_btree_node_entry()
222 struct xfs_da_state_path *path = &ds->state->path; in xchk_da_btree_block_check_sibling()
223 struct xfs_da_state_path *altpath = &ds->state->altpath; in xchk_da_btree_block_check_sibling()
228 memcpy(altpath, path, sizeof(ds->state->altpath)); in xchk_da_btree_block_check_sibling()
235 error = xfs_da3_path_shift(ds->state, altpath, direction, in xchk_da_btree_block_check_sibling()
244 error = xfs_da3_path_shift(ds->state, altpath, direction, false, in xchk_da_btree_block_check_sibling()
305 memset(&ds->state->altpath, 0, sizeof(ds->state in xchk_da_btree_block_check_siblings()
[all...]
/kernel/linux/linux-5.10/net/ax25/
H A Dax25_std_in.c35 * State machine for state 1, Awaiting Connection State.
37 * Handling of state 0 and connection release is in ax25.c.
67 ax25->state = AX25_STATE_3; in ax25_std_state1_machine()
99 * State machine for state 2, Awaiting Release State.
101 * Handling of state 0 and connection release is in ax25.c.
137 * State machine for state 3, Connected State.
139 * Handling of state 0 and connection release is in ax25.c.
188 ax25->state = AX25_STATE_1; in ax25_std_state3_machine()
204 ax25->state = AX25_STATE_1; in ax25_std_state3_machine()
211 ax25->state in ax25_std_state3_machine()
[all...]
/kernel/linux/linux-5.10/net/bridge/
H A Dbr_mrp_netlink.c80 enum br_mrp_port_state_type state; in br_mrp_port_state_parse() local
93 state = nla_get_u32(tb[IFLA_BRIDGE_MRP_PORT_STATE_STATE]); in br_mrp_port_state_parse()
95 return br_mrp_set_port_state(p, state); in br_mrp_port_state_parse()
138 struct br_mrp_ring_state state; in br_mrp_ring_state_parse() local
153 memset(&state, 0x0, sizeof(state)); in br_mrp_ring_state_parse()
155 state.ring_id = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_STATE_RING_ID]); in br_mrp_ring_state_parse()
156 state.ring_state = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_STATE_STATE]); in br_mrp_ring_state_parse()
158 return br_mrp_set_ring_state(br, &state); in br_mrp_ring_state_parse()
252 struct br_mrp_in_state state; in br_mrp_in_state_parse() local
[all...]
/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-rockchip.c62 struct pwm_state *state) in rockchip_pwm_get_state()
79 state->period = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate); in rockchip_pwm_get_state()
83 state->duty_cycle = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate); in rockchip_pwm_get_state()
86 state->enabled = (val & enable_conf) == enable_conf; in rockchip_pwm_get_state()
89 state->polarity = PWM_POLARITY_INVERSED; in rockchip_pwm_get_state()
91 state->polarity = PWM_POLARITY_NORMAL; in rockchip_pwm_get_state()
97 const struct pwm_state *state) in rockchip_pwm_config()
111 div = clk_rate * state->period; in rockchip_pwm_config()
115 div = clk_rate * state->duty_cycle; in rockchip_pwm_config()
133 if (state in rockchip_pwm_config()
60 rockchip_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) rockchip_pwm_get_state() argument
96 rockchip_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) rockchip_pwm_config() argument
180 rockchip_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) rockchip_pwm_apply() argument
[all...]
/kernel/linux/linux-5.10/drivers/pcmcia/
H A Di82092.c444 socket_state_t *state) in i82092aa_set_socket()
460 if (!(state->flags & SS_RESET)) in i82092aa_set_socket()
462 if (state->flags & SS_IOCARD) in i82092aa_set_socket()
472 if (state->flags & SS_PWR_AUTO) { in i82092aa_set_socket()
476 if (state->flags & SS_OUTPUT_ENA) { in i82092aa_set_socket()
481 switch (state->Vcc) { in i82092aa_set_socket()
493 __func__, state->Vcc); in i82092aa_set_socket()
497 switch (state->Vpp) { in i82092aa_set_socket()
514 __func__, state->Vcc); in i82092aa_set_socket()
524 if (state in i82092aa_set_socket()
443 i82092aa_set_socket(struct pcmcia_socket *socket, socket_state_t *state) i82092aa_set_socket() argument
[all...]
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Ddabtree.c55 ds->state->path.blk[level].blkno), in xchk_da_process_error()
77 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt()
86 struct xfs_da_state_blk *blk = &ds->state->path.blk[level]; in xchk_da_btree_node_entry()
223 struct xfs_da_state_path *path = &ds->state->path; in xchk_da_btree_block_check_sibling()
224 struct xfs_da_state_path *altpath = &ds->state->altpath; in xchk_da_btree_block_check_sibling()
229 memcpy(altpath, path, sizeof(ds->state->altpath)); in xchk_da_btree_block_check_sibling()
236 error = xfs_da3_path_shift(ds->state, altpath, direction, in xchk_da_btree_block_check_sibling()
245 error = xfs_da3_path_shift(ds->state, altpath, direction, false, in xchk_da_btree_block_check_sibling()
306 memset(&ds->state->altpath, 0, sizeof(ds->state in xchk_da_btree_block_check_siblings()
[all...]
/kernel/linux/linux-6.6/drivers/soc/qcom/
H A Dpmic_glink_altmode.c72 struct typec_mux_state state; member
157 port->state.alt = &port->dp_alt; in pmic_glink_altmode_enable_dp()
158 port->state.data = &dp_data; in pmic_glink_altmode_enable_dp()
159 port->state.mode = TYPEC_MODAL_STATE(mode); in pmic_glink_altmode_enable_dp()
161 ret = typec_mux_set(port->typec_mux, &port->state); in pmic_glink_altmode_enable_dp()
179 port->state.alt = NULL; in pmic_glink_altmode_enable_usb()
180 port->state.data = NULL; in pmic_glink_altmode_enable_usb()
181 port->state.mode = TYPEC_STATE_USB; in pmic_glink_altmode_enable_usb()
183 ret = typec_mux_set(port->typec_mux, &port->state); in pmic_glink_altmode_enable_usb()
201 port->state in pmic_glink_altmode_safe()
403 pmic_glink_altmode_pdr_notify(void *priv, int state) pmic_glink_altmode_pdr_notify() argument
[all...]
/kernel/linux/linux-6.6/drivers/regulator/
H A Dgpio-regulator.c42 int state; member
51 if (data->states[ptr].gpios == data->state) in gpio_regulator_get_value()
62 int ptr, target = 0, state, best_val = INT_MAX; in gpio_regulator_set_voltage() local
78 state = (target & (1 << ptr)) >> ptr; in gpio_regulator_set_voltage()
79 gpiod_set_value_cansleep(data->gpiods[ptr], state); in gpio_regulator_set_voltage()
81 data->state = target; in gpio_regulator_set_voltage()
101 int ptr, target = 0, state, best_val = 0; in gpio_regulator_set_current_limit() local
115 state = (target & (1 << ptr)) >> ptr; in gpio_regulator_set_current_limit()
116 gpiod_set_value_cansleep(data->gpiods[ptr], state); in gpio_regulator_set_current_limit()
118 data->state in gpio_regulator_set_current_limit()
243 int ptr, ret, state, i; gpio_regulator_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/pwm/
H A Dpwm-rockchip.c62 struct pwm_state *state) in rockchip_pwm_get_state()
83 state->period = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate); in rockchip_pwm_get_state()
87 state->duty_cycle = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate); in rockchip_pwm_get_state()
90 state->enabled = (val & enable_conf) == enable_conf; in rockchip_pwm_get_state()
93 state->polarity = PWM_POLARITY_INVERSED; in rockchip_pwm_get_state()
95 state->polarity = PWM_POLARITY_NORMAL; in rockchip_pwm_get_state()
104 const struct pwm_state *state) in rockchip_pwm_config()
118 div = clk_rate * state->period; in rockchip_pwm_config()
122 div = clk_rate * state->duty_cycle; in rockchip_pwm_config()
140 if (state in rockchip_pwm_config()
60 rockchip_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) rockchip_pwm_get_state() argument
103 rockchip_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) rockchip_pwm_config() argument
187 rockchip_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) rockchip_pwm_apply() argument
[all...]
/kernel/linux/linux-6.6/drivers/firmware/
H A Ddmi-sysfs.c405 struct dmi_read_state *state = _state; in dmi_sel_raw_read_helper() local
418 return dmi_sel_raw_read_io(entry, &sel, state->buf, in dmi_sel_raw_read_helper()
419 state->pos, state->count); in dmi_sel_raw_read_helper()
422 return dmi_sel_raw_read_phys32(entry, &sel, state->buf, in dmi_sel_raw_read_helper()
423 state->pos, state->count); in dmi_sel_raw_read_helper()
439 struct dmi_read_state state = { in dmi_sel_raw_read() local
445 return find_dmi_entry(entry, dmi_sel_raw_read_helper, &state); in dmi_sel_raw_read()
531 struct dmi_read_state *state in dmi_entry_raw_read_helper() local
546 struct dmi_read_state state = { dmi_entry_raw_read() local
[all...]
/kernel/linux/linux-6.6/drivers/firmware/tegra/
H A Divc.c13 * Each end uses its tx_channel.state to indicate its synchronization state.
19 * initially valid state, but cannot be asynchronously reset, and must
20 * maintain a valid state at all times.
22 * The transmitting end can enter the established state from the sync or
23 * ack state when it observes the receiving endpoint in the ack or
24 * established state, indicating that has cleared the counters in our
30 * If an endpoint is observed in the sync state, the remote endpoint is
39 * state, it can clear the w_count and r_count and transition to the ack
40 * state
58 u32 state; global() member
174 unsigned int state; tegra_ivc_check_read() local
209 unsigned int state; tegra_ivc_check_write() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf.h84 test_bit(__IXGBEVF_TX_XDP_RING, &(ring)->state)
86 set_bit(__IXGBEVF_TX_XDP_RING, &(ring)->state)
88 clear_bit(__IXGBEVF_TX_XDP_RING, &(ring)->state)
108 unsigned long state; member
173 test_bit(__IXGBEVF_RX_3K_BUFFER, &(ring)->state)
175 set_bit(__IXGBEVF_RX_3K_BUFFER, &(ring)->state)
177 clear_bit(__IXGBEVF_RX_3K_BUFFER, &(ring)->state)
180 test_bit(__IXGBEVF_RX_BUILD_SKB_ENABLED, &(ring)->state)
182 set_bit(__IXGBEVF_RX_BUILD_SKB_ENABLED, &(ring)->state)
184 clear_bit(__IXGBEVF_RX_BUILD_SKB_ENABLED, &(ring)->state)
246 unsigned int state; global() member
371 unsigned long state; global() member
[all...]
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A Drpaphp_core.c107 int rc, state; in get_adapter_status() local
109 rc = rpaphp_get_sensor_state(slot, &state); in get_adapter_status()
115 if (state == EMPTY) in get_adapter_status()
117 else if (state == PRESENT) in get_adapter_status()
118 *value = slot->state; in get_adapter_status()
487 int state; in enable_slot() local
490 if (slot->state == CONFIGURED) in enable_slot()
493 retval = rpaphp_get_sensor_state(slot, &state); in enable_slot()
497 if (state == PRESENT) { in enable_slot()
503 slot->state in enable_slot()
[all...]
/kernel/linux/linux-6.6/drivers/pcmcia/
H A Ddb1xxx_ss.c243 struct socket_state_t *state) in db1x_pcmcia_configure()
255 switch (state->Vcc) { in db1x_pcmcia_configure()
266 sock->nr, state->Vcc); in db1x_pcmcia_configure()
269 switch (state->Vpp) { in db1x_pcmcia_configure()
281 sock->nr, state->Vpp); in db1x_pcmcia_configure()
285 if (((state->Vcc == 33) && (state->Vpp == 50)) || in db1x_pcmcia_configure()
286 ((state->Vcc == 50) && (state->Vpp == 33))) { in db1x_pcmcia_configure()
288 sock->nr, state in db1x_pcmcia_configure()
242 db1x_pcmcia_configure(struct pcmcia_socket *skt, struct socket_state_t *state) db1x_pcmcia_configure() argument
[all...]
H A Di82092.c444 socket_state_t *state) in i82092aa_set_socket()
460 if (!(state->flags & SS_RESET)) in i82092aa_set_socket()
462 if (state->flags & SS_IOCARD) in i82092aa_set_socket()
472 if (state->flags & SS_PWR_AUTO) { in i82092aa_set_socket()
476 if (state->flags & SS_OUTPUT_ENA) { in i82092aa_set_socket()
481 switch (state->Vcc) { in i82092aa_set_socket()
493 __func__, state->Vcc); in i82092aa_set_socket()
497 switch (state->Vpp) { in i82092aa_set_socket()
514 __func__, state->Vcc); in i82092aa_set_socket()
524 if (state in i82092aa_set_socket()
443 i82092aa_set_socket(struct pcmcia_socket *socket, socket_state_t *state) i82092aa_set_socket() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_core_perf.c49 pstate = to_dpu_plane_state(plane->state); in _dpu_core_perf_calc_bw()
69 * @state: pointer to a crtc state
73 struct drm_crtc *crtc, struct drm_crtc_state *state) in _dpu_core_perf_calc_clk()
81 mode = &state->adjusted_mode; in _dpu_core_perf_calc_clk()
86 pstate = to_dpu_plane_state(plane->state); in _dpu_core_perf_calc_clk()
111 struct drm_crtc_state *state, in _dpu_core_perf_calc_crtc()
116 if (!perf_cfg || !crtc || !state || !perf) { in _dpu_core_perf_calc_crtc()
134 perf->core_clk_rate = _dpu_core_perf_calc_clk(perf_cfg, crtc, state); in _dpu_core_perf_calc_crtc()
144 struct drm_crtc_state *state) in dpu_core_perf_crtc_check()
72 _dpu_core_perf_calc_clk(const struct dpu_perf_cfg *perf_cfg, struct drm_crtc *crtc, struct drm_crtc_state *state) _dpu_core_perf_calc_clk() argument
109 _dpu_core_perf_calc_crtc(const struct dpu_core_perf *core_perf, struct drm_crtc *crtc, struct drm_crtc_state *state, struct dpu_core_perf_params *perf) _dpu_core_perf_calc_crtc() argument
143 dpu_core_perf_crtc_check(struct drm_crtc *crtc, struct drm_crtc_state *state) dpu_core_perf_crtc_check() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Demc2305.c32 #define EMC2305_PWM_STATE2DUTY(state, max_state, pwm_max) \
33 DIV_ROUND_CLOSEST((state) * (pwm_max), (max_state))
62 * struct emc2305_cdev_data - device-specific cooling device state
64 * @cur_state: cooling current state
65 * @last_hwmon_state: last cooling state updated by hwmon subsystem
66 * @last_thermal_state: last cooling state updated by thermal subsystem
93 * @max_state: maximum cooling state of the cooling device
156 static int emc2305_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) in emc2305_get_cur_state() argument
165 *state = data->cdev_data[cdev_idx].cur_state; in emc2305_get_cur_state()
169 static int emc2305_get_max_state(struct thermal_cooling_device *cdev, unsigned long *state) in emc2305_get_max_state() argument
176 __emc2305_set_cur_state(struct emc2305_data *data, int cdev_idx, unsigned long state) __emc2305_set_cur_state() argument
206 emc2305_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) emc2305_set_cur_state() argument
[all...]
/kernel/linux/linux-6.6/net/ax25/
H A Dax25_std_in.c35 * State machine for state 1, Awaiting Connection State.
37 * Handling of state 0 and connection release is in ax25.c.
67 ax25->state = AX25_STATE_3; in ax25_std_state1_machine()
99 * State machine for state 2, Awaiting Release State.
101 * Handling of state 0 and connection release is in ax25.c.
137 * State machine for state 3, Connected State.
139 * Handling of state 0 and connection release is in ax25.c.
188 ax25->state = AX25_STATE_1; in ax25_std_state3_machine()
204 ax25->state = AX25_STATE_1; in ax25_std_state3_machine()
211 ax25->state in ax25_std_state3_machine()
[all...]
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_mrp_netlink.c80 enum br_mrp_port_state_type state; in br_mrp_port_state_parse() local
93 state = nla_get_u32(tb[IFLA_BRIDGE_MRP_PORT_STATE_STATE]); in br_mrp_port_state_parse()
95 return br_mrp_set_port_state(p, state); in br_mrp_port_state_parse()
138 struct br_mrp_ring_state state; in br_mrp_ring_state_parse() local
153 memset(&state, 0x0, sizeof(state)); in br_mrp_ring_state_parse()
155 state.ring_id = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_STATE_RING_ID]); in br_mrp_ring_state_parse()
156 state.ring_state = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_STATE_STATE]); in br_mrp_ring_state_parse()
158 return br_mrp_set_ring_state(br, &state); in br_mrp_ring_state_parse()
252 struct br_mrp_in_state state; in br_mrp_in_state_parse() local
[all...]
/third_party/elfutils/libelf/
H A Delf32_updatenull.c60 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW()
65 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW()
72 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW()
87 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW()
92 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW()
103 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW()
107 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW()
112 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW()
120 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW()
145 if (elf->state in __elfw2()
[all...]
/third_party/alsa-utils/amidi/
H A Damidi.c377 } state = STATE_UNKNOWN; in print_byte() local
386 state = STATE_SYSEX; in print_byte()
390 state = STATE_1PARAM; in print_byte()
393 state = STATE_2PARAM_1; in print_byte()
398 state = STATE_UNKNOWN; in print_byte()
401 newline = state != STATE_SYSEX; in print_byte()
402 state = STATE_UNKNOWN; in print_byte()
408 state = STATE_1PARAM; in print_byte()
410 state = STATE_2PARAM_1; in print_byte()
413 newline = state in print_byte()
[all...]
/third_party/curl/lib/
H A Dconncache.c110 connc->closure_handle->state.internal = true; in Curl_conncache_init()
114 connc->closure_handle->state.conn_cache = connc; in Curl_conncache_init()
159 num = data->state.conn_cache->num_conn; in Curl_conncache_size()
220 struct conncache *connc = data->state.conn_cache; in Curl_conncache_add_conn()
224 bundle = Curl_conncache_find_bundle(data, conn, data->state.conn_cache); in Curl_conncache_add_conn()
235 if(!conncache_add_bundle(data->state.conn_cache, key, bundle)) { in Curl_conncache_add_conn()
267 struct conncache *connc = data->state.conn_cache; in Curl_conncache_remove_conn()
397 struct conncache *connc = data->state.conn_cache; in Curl_conncache_return_conn()
398 connc->closure_handle->state.buffer = data->state in Curl_conncache_return_conn()
[all...]
/third_party/mesa3d/src/amd/common/
H A Dac_nir_lower_taskmesh_io_to_mem.c49 UNUSED const void *state) in filter_workgroup_id()
61 void *state) in replace_workgroup_id_use_first_task()
63 add_first_task_to_workgroup_id_state *s = (add_first_task_to_workgroup_id_state *) state; in replace_workgroup_id_use_first_task()
134 add_first_task_to_workgroup_id_state state = { in ac_nir_apply_first_task_to_task_shader() local
141 &state); in ac_nir_apply_first_task_to_task_shader()
250 UNUSED const void *state) in filter_task_intrinsics()
340 void *state) in lower_task_intrinsics()
344 lower_tsms_io_state *s = (lower_tsms_io_state *)state; in lower_task_intrinsics()
370 lower_tsms_io_state state = { in ac_nir_lower_task_outputs_to_mem() local
384 &state); in ac_nir_lower_task_outputs_to_mem()
48 filter_workgroup_id(const nir_instr *instr, UNUSED const void *state) filter_workgroup_id() argument
59 replace_workgroup_id_use_first_task(nir_builder *b, nir_instr *instr, void *state) replace_workgroup_id_use_first_task() argument
249 filter_task_intrinsics(const nir_instr *instr, UNUSED const void *state) filter_task_intrinsics() argument
338 lower_task_intrinsics(nir_builder *b, nir_instr *instr, void *state) lower_task_intrinsics() argument
391 filter_mesh_input_load(const nir_instr *instr, UNUSED const void *state) filter_mesh_input_load() argument
402 lower_mesh_intrinsics(nir_builder *b, nir_instr *instr, void *state) lower_mesh_intrinsics() argument
423 lower_tsms_io_state state = { ac_nir_lower_mesh_inputs_to_mem() local
[all...]
/third_party/lzma/CS/7zip/Compress/LZMA/
H A DLzmaDecoder.cs235 Base.State state = new Base.State(); in Code()
236 state.Init(); in Code()
243 if (m_IsMatchDecoders[state.Index << Base.kNumPosStatesBitsMax].Decode(m_RangeDecoder) != 0) in Code()
245 state.UpdateChar(); in Code()
256 if (m_IsMatchDecoders[(state.Index << Base.kNumPosStatesBitsMax) + posState].Decode(m_RangeDecoder) == 0) in Code()
260 if (!state.IsCharState()) in Code()
266 state.UpdateChar(); in Code()
272 if (m_IsRepDecoders[state.Index].Decode(m_RangeDecoder) == 1) in Code()
274 if (m_IsRepG0Decoders[state.Index].Decode(m_RangeDecoder) == 0) in Code()
276 if (m_IsRep0LongDecoders[(state in Code()
[all...]
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_blorp.c59 uint32_t offset = ALIGN(batch->state.used, alignment); in stream_state()
63 offset = ALIGN(batch->state.used, alignment); in stream_state()
64 } else if (offset + size >= batch->state.bo->size) { in stream_state()
66 MIN2(batch->state.bo->size + batch->state.bo->size / 2, in stream_state()
68 crocus_grow_buffer(batch, true, batch->state.used, new_size); in stream_state()
69 assert(offset + size < batch->state.bo->size); in stream_state()
74 batch->state.used = offset + size; in stream_state()
82 *out_bo = batch->state.bo; in stream_state()
84 return (uint32_t *)batch->state in stream_state()
[all...]

Completed in 20 milliseconds

1...<<131132133134135136137138139140>>...823