Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 25 of 42) sorted by relevance

12

/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/
A Diommu_cmd.c27 u32 tail, head, *cmd_buffer; in queue_iommu_command() local
30 tail = iommu->cmd_buffer.tail; in queue_iommu_command()
31 if ( ++tail == iommu->cmd_buffer.entries ) in queue_iommu_command()
32 tail = 0; in queue_iommu_command()
36 if ( head != tail ) in queue_iommu_command()
39 (iommu->cmd_buffer.tail * in queue_iommu_command()
45 iommu->cmd_buffer.tail = tail; in queue_iommu_command()
54 u32 tail = 0; in commit_iommu_command_buffer() local
56 iommu_set_rb_pointer(&tail, iommu->cmd_buffer.tail); in commit_iommu_command_buffer()
57 writel(tail, iommu->mmio_base+IOMMU_CMD_BUFFER_TAIL_OFFSET); in commit_iommu_command_buffer()
A Diommu_guest.c179 unsigned long mfn, tail, head; in guest_iommu_add_ppr_log() local
190 tail = iommu_get_rb_pointer(iommu->ppr_log.reg_tail.lo); in guest_iommu_add_ppr_log()
205 log = log_base + tail % (PAGE_SIZE / sizeof(ppr_entry_t)); in guest_iommu_add_ppr_log()
214 if ( ++tail >= iommu->ppr_log.entries ) in guest_iommu_add_ppr_log()
216 tail = 0; in guest_iommu_add_ppr_log()
219 iommu_set_rb_pointer(&iommu->ppr_log.reg_tail.lo, tail); in guest_iommu_add_ppr_log()
228 unsigned long mfn, tail, head; in guest_iommu_add_event_log() local
262 if ( ++tail >= iommu->event_log.entries ) in guest_iommu_add_event_log()
264 tail = 0; in guest_iommu_add_event_log()
488 if ( tail >= iommu->cmd_buffer.entries || in guest_iommu_process_command()
[all …]
A Diommu_init.c358 u32 tail, head, *entry, tail_offest, head_offset; in iommu_read_log() local
373 tail = readl(iommu->mmio_base + tail_offest); in iommu_read_log()
374 tail = iommu_get_rb_pointer(tail); in iommu_read_log()
376 while ( tail != log->head ) in iommu_read_log()
936 ring_buf->tail = 0; in deallocate_ring_buffer()
961 ring_buf->tail = 0; in allocate_ring_buffer()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dmm.h273 struct page_info *next, *tail; member
309 return head->tail; in page_list_last()
333 head->tail = page; in page_list_add()
353 head->tail = page; in page_list_add_tail()
361 if ( head->tail != page ) in __page_list_del_head()
367 head->tail = head->next = NULL; in __page_list_del_head()
371 if ( head->tail == page ) in __page_list_del_head()
374 head->tail = prev; in __page_list_del_head()
436 head->tail = list->tail; in page_list_splice()
441 last = list->tail; in page_list_splice()
[all …]
A Devent_fifo.h14 uint32_t tail; member
A Dspinlock.h134 u16 tail; member
/xen-4.10.0-shim-comet/xen/common/
A Dspinlock.c146 while ( tickets.tail != observe_head(&lock->tickets) ) in _spin_lock_cb()
210 ? lock->tickets.head != lock->tickets.tail in _spin_is_locked()
220 if ( old.head != old.tail ) in _spin_trylock()
223 new.tail++; in _spin_trylock()
249 if ( sample.head != sample.tail ) in _spin_barrier()
A Dxenoprof.c485 int head, tail; in xenoprof_buf_space() local
488 tail = xenoprof_buf(d, buf, event_tail); in xenoprof_buf_space()
490 return ((tail > head) ? 0 : size) + tail - head - 1; in xenoprof_buf_space()
497 int head, tail, size; in xenoprof_add_sample() local
500 tail = xenoprof_buf(d, buf, event_tail); in xenoprof_add_sample()
504 if ( (head < 0) || (head >= size) || (tail < 0) || (tail >= size) ) in xenoprof_add_sample()
A Devent_fifo.c219 if ( old_q->tail == port ) in evtchn_fifo_set_pending()
220 old_q->tail = 0; in evtchn_fifo_set_pending()
242 if ( q->tail ) in evtchn_fifo_set_pending()
244 tail_word = evtchn_fifo_word_from_port(d, q->tail); in evtchn_fifo_set_pending()
249 q->tail = port; in evtchn_fifo_set_pending()
A Drcupdate.c524 struct rcu_head **tail) in rcu_move_batch() argument
529 this_rdp->nxttail = tail; in rcu_move_batch()
/xen-4.10.0-shim-comet/tools/libfsimage/xfs/
A Dfsys_xfs.c424 #define tail ((xfs_dir2_block_tail_t *)dirbuf) in first_dentry() macro
425 filepos = xfs.dirbsize - sizeof(*tail); in first_dentry()
426 xfs_read (ffi, dirbuf, sizeof(*tail)); in first_dentry()
427 xfs.dirmax = le32 (tail->count) - le32 (tail->stale); in first_dentry()
428 #undef tail in first_dentry()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/
A Dqinval.c52 u64 tail; in qinval_next_index() local
54 tail = dmar_readq(iommu->reg, DMAR_IQT_REG); in qinval_next_index()
55 tail >>= QINVAL_INDEX_SHIFT; in qinval_next_index()
58 while ( ( tail + 1 ) % QINVAL_ENTRY_NR == in qinval_next_index()
62 return tail; in qinval_next_index()
/xen-4.10.0-shim-comet/xen/xsm/flask/ss/
A Dconditional.c268 struct cond_av_list *tail; member
353 data->tail->next = list; in cond_insertf()
354 data->tail = list; in cond_insertf()
387 data.tail = NULL; in cond_read_av_list()
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dio-optimize.h38 struct opio *tail; member
A Dtapdisk-queue.h53 struct tiocb *tail; member
A Dtapdisk-queue.c84 list->head = list->tail = tiocb; in defer_tiocb()
86 list->tail = list->tail->next = tiocb; in defer_tiocb()
102 list->tail = NULL; in queue_deferred_tiocb()
A Dio-optimize.c152 op->list.head = op->list.tail = op; in init_opio_list()
200 ophead->list.tail = ophead->list.tail->next = opio; in merge_tail()
A Dblock-vhd.c162 struct vhd_request *tail; member
853 list->head = list->tail = NULL; in clear_req_list()
860 list->head = list->tail = e; in add_to_tail()
862 list->tail = list->tail->next = e; in add_to_tail()
871 if (list->tail == e) in remove_from_req_list()
880 if (list->tail == e) { in remove_from_req_list()
882 list->tail = i; in remove_from_req_list()
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Damd-iommu.h66 uint32_t tail; member
/xen-4.10.0-shim-comet/xen/common/efi/
A Dboot.c510 CHAR16 *tail = NULL; in point_tail() local
516 return tail; in point_tail()
520 tail = fn; in point_tail()
1174 CHAR16 *tail; in efi_start() local
1176 while ( (tail = point_tail(file_name)) != NULL ) in efi_start()
1178 wstrcpy(tail, L".cfg"); in efi_start()
1181 *tail = 0; in efi_start()
1183 if ( !tail ) in efi_start()
/xen-4.10.0-shim-comet/xen/tools/kconfig/
A Dexpr.c889 char *tail; in expr_parse_string() local
898 val->s = strtoll(str, &tail, 10); in expr_parse_string()
902 val->u = strtoull(str, &tail, 16); in expr_parse_string()
907 val->s = strtoll(str, &tail, 0); in expr_parse_string()
913 return !errno && !*tail && tail > str && isxdigit(tail[-1]) in expr_parse_string()
/xen-4.10.0-shim-comet/tools/tests/mce-test/lib/
A Dxen-mceinj-tool.sh94 [ $? -eq 0 ] && domid=`xm list $g_name | tail -n1 | awk '{print $2}'`
/xen-4.10.0-shim-comet/tools/libxl/
A Dcheck-xl-vcpupin-parse144 awk '{print $4}' | uniq -c | tail -1 | awk '{print $1}'`
/xen-4.10.0-shim-comet/tools/pygrub/examples/
A Dubuntu-14.04-lts.grub2215 # the 'exec tail' line above.
223 # the 'exec tail' line above.
A Ddebian-wheezy-hvm.grub297 # the 'exec tail' line above.

Completed in 40 milliseconds

12