Home
last modified time | relevance | path

Searched refs:msdata (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/kernel/
Dstop_machine.c181 static void set_state(struct multi_stop_data *msdata, in set_state() argument
185 atomic_set(&msdata->thread_ack, msdata->num_threads); in set_state()
187 WRITE_ONCE(msdata->state, newstate); in set_state()
191 static void ack_state(struct multi_stop_data *msdata) in ack_state() argument
193 if (atomic_dec_and_test(&msdata->thread_ack)) in ack_state()
194 set_state(msdata, msdata->state + 1); in ack_state()
205 struct multi_stop_data *msdata = data; in multi_cpu_stop() local
218 if (!msdata->active_cpus) { in multi_cpu_stop()
222 cpumask = msdata->active_cpus; in multi_cpu_stop()
230 newstate = READ_ONCE(msdata->state); in multi_cpu_stop()
[all …]
/linux-6.12.1/drivers/scsi/
Dscsi_transport_sas.c1263 char *buffer = kzalloc(BUF_SIZE, GFP_KERNEL), *msdata; in sas_read_port_mode_page() local
1277 msdata = buffer + mode_data.header_length + in sas_read_port_mode_page()
1280 if (msdata - buffer > BUF_SIZE - 8) in sas_read_port_mode_page()
1285 rdev->ready_led_meaning = msdata[2] & 0x10 ? 1 : 0; in sas_read_port_mode_page()
1286 rdev->I_T_nexus_loss_timeout = (msdata[4] << 8) + msdata[5]; in sas_read_port_mode_page()
1287 rdev->initiator_response_timeout = (msdata[6] << 8) + msdata[7]; in sas_read_port_mode_page()