Home
last modified time | relevance | path

Searched refs:wait_index (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/include/linux/
H A Dsbitmap.h569 atomic_t *wait_index) in sbq_wait_ptr() argument
573 ws = &sbq->ws[atomic_read(wait_index)]; in sbq_wait_ptr()
574 sbq_index_atomic_inc(wait_index); in sbq_wait_ptr()
H A Dblk-mq.h382 atomic_t wait_index; member
H A Dtrace_events.h106 long wait_index; member
/openbmc/linux/drivers/iommu/intel/
H A Ddmar.c1268 static int qi_check_fault(struct intel_iommu *iommu, int index, int wait_index) in qi_check_fault() argument
1275 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault()
1297 memcpy(desc, qi->desc + (wait_index << shift), in qi_check_fault()
1325 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault()
1352 int wait_index, index; in qi_submit_sync() local
1391 wait_index = (index + count) % QI_LENGTH; in qi_submit_sync()
1401 qi->desc_status[wait_index] = QI_IN_USE; in qi_submit_sync()
1407 wait_desc.qw1 = virt_to_phys(&qi->desc_status[wait_index]); in qi_submit_sync()
1411 offset = wait_index << shift; in qi_submit_sync()
1423 while (READ_ONCE(qi->desc_status[wait_index]) != QI_DONE) { in qi_submit_sync()
[all …]
/openbmc/linux/block/
H A Dkyber-iosched.c190 atomic_t wait_index[KYBER_NUM_DOMAINS]; member
501 atomic_set(&khd->wait_index[i], 0); in kyber_init_hctx()
725 &khd->wait_index[sched_domain]); in kyber_get_domain_token()
H A Dblk-mq.h193 return sbq_wait_ptr(bt, &hctx->wait_index); in bt_wait_ptr()
/openbmc/linux/kernel/trace/
H A Dtrace.c8262 iter->wait_index++; in tracing_buffers_flush()
8435 long wait_index; in tracing_buffers_splice_read() local
8444 wait_index = READ_ONCE(iter->wait_index); in tracing_buffers_splice_read()
8456 if (wait_index != iter->wait_index) in tracing_buffers_splice_read()
8480 iter->wait_index++; in tracing_buffers_ioctl()