Home
last modified time | relevance | path

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

/xen/xen/include/public/hvm/
A Dioreq.h84 #define IOREQ_BUFFER_SLOT_NUM 511 /* 8 bytes each, plus 2 4-byte indexes */ macro
97 buf_ioreq_t buf_ioreq[IOREQ_BUFFER_SLOT_NUM];
/xen/xen/arch/x86/hvm/
A Dioreq.c1403 (IOREQ_BUFFER_SLOT_NUM - qw) ) in hvm_send_buffered_ioreq()
1410 pg->buf_ioreq[pg->ptrs.write_pointer % IOREQ_BUFFER_SLOT_NUM] = bp; in hvm_send_buffered_ioreq()
1415 pg->buf_ioreq[(pg->ptrs.write_pointer+1) % IOREQ_BUFFER_SLOT_NUM] = bp; in hvm_send_buffered_ioreq()
1424 qw++ < IOREQ_BUFFER_SLOT_NUM && in hvm_send_buffered_ioreq()
1425 pg->ptrs.read_pointer >= IOREQ_BUFFER_SLOT_NUM ) in hvm_send_buffered_ioreq()
1428 unsigned int n = old.read_pointer / IOREQ_BUFFER_SLOT_NUM; in hvm_send_buffered_ioreq()
1430 new.read_pointer = old.read_pointer - n * IOREQ_BUFFER_SLOT_NUM; in hvm_send_buffered_ioreq()
1431 new.write_pointer = old.write_pointer - n * IOREQ_BUFFER_SLOT_NUM; in hvm_send_buffered_ioreq()

Completed in 5 milliseconds