Home
last modified time | relevance | path

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

12

/xen/xen/common/
A Dlist_sort.c38 tail->next = a; in merge()
41 tail->next = b; in merge()
44 tail = tail->next; in merge()
69 tail->next = a; in merge_and_restore_back_links()
70 a->prev = tail; in merge_and_restore_back_links()
73 tail->next = b; in merge_and_restore_back_links()
74 b->prev = tail; in merge_and_restore_back_links()
77 tail = tail->next; in merge_and_restore_back_links()
89 (*cmp)(priv, tail->next, tail->next); in merge_and_restore_back_links()
91 tail->next->prev = tail; in merge_and_restore_back_links()
[all …]
A Dspinlock.c166 while ( tickets.tail != observe_head(&lock->tickets) ) in _spin_lock_cb()
231 ? lock->tickets.head != lock->tickets.tail in _spin_is_locked()
241 if ( old.head != old.tail ) in _spin_trylock()
244 new.tail++; in _spin_trylock()
274 if ( sample.head != sample.tail ) in _spin_barrier()
A Dxenoprof.c522 static int xenoprof_buf_space(int head, int tail, int size) in xenoprof_buf_space() argument
524 return ((tail > head) ? 0 : size) + tail - head - 1; in xenoprof_buf_space()
533 int head, tail, size; in xenoprof_add_sample() local
536 tail = xenoprof_buf(d, buf, event_tail); in xenoprof_add_sample()
540 if ( (head < 0) || (head >= size) || (tail < 0) || (tail >= size) ) in xenoprof_add_sample()
546 if ( xenoprof_buf_space(head, tail, size) > 0 ) in xenoprof_add_sample()
A Devent_fifo.c250 if ( old_q->tail == port ) in evtchn_fifo_set_pending()
251 old_q->tail = 0; in evtchn_fifo_set_pending()
277 if ( q->tail ) in evtchn_fifo_set_pending()
279 tail_word = evtchn_fifo_word_from_port(d, q->tail); in evtchn_fifo_set_pending()
284 q->tail = port; in evtchn_fifo_set_pending()
A Drcupdate.c599 struct rcu_head **tail) in rcu_move_batch() argument
604 this_rdp->nxttail = tail; in rcu_move_batch()
/xen/xen/scripts/
A Dclang-version.sh16 MAJOR=$(echo __clang_major__ | $compiler -E -x c - | tail -n 1)
17 MINOR=$(echo __clang_minor__ | $compiler -E -x c - | tail -n 1)
18 PATCHLEVEL=$(echo __clang_patchlevel__ | $compiler -E -x c - | tail -n 1)
A Dgcc-version.sh22 MAJOR=$(echo __GNUC__ | $compiler -E -x c - | tail -n 1)
23 MINOR=$(echo __GNUC_MINOR__ | $compiler -E -x c - | tail -n 1)
24 PATCHLEVEL=$(echo __GNUC_PATCHLEVEL__ | $compiler -E -x c - | tail -n 1)
/xen/xen/drivers/passthrough/amd/
A Diommu_guest.c141 unsigned long mfn, tail, head; in guest_iommu_add_ppr_log() local
152 tail = iommu->ppr_log.reg_tail.lo; in guest_iommu_add_ppr_log()
175 tail += sizeof(ppr_entry_t); in guest_iommu_add_ppr_log()
176 if ( tail >= iommu->ppr_log.size ) in guest_iommu_add_ppr_log()
178 tail = 0; in guest_iommu_add_ppr_log()
182 iommu->ppr_log.reg_tail.lo = tail; in guest_iommu_add_ppr_log()
191 unsigned long mfn, tail, head; in guest_iommu_add_event_log() local
202 tail = iommu->event_log.reg_tail.lo; in guest_iommu_add_event_log()
224 tail += sizeof(event_entry_t); in guest_iommu_add_event_log()
227 tail = 0; in guest_iommu_add_event_log()
[all …]
A Diommu_cmd.c25 uint32_t tail, head; in queue_iommu_command() local
27 tail = iommu->cmd_buffer.tail + IOMMU_CMD_BUFFER_ENTRY_SIZE; in queue_iommu_command()
28 if ( tail == iommu->cmd_buffer.size ) in queue_iommu_command()
29 tail = 0; in queue_iommu_command()
33 if ( head != tail ) in queue_iommu_command()
35 memcpy(iommu->cmd_buffer.buffer + iommu->cmd_buffer.tail, in queue_iommu_command()
38 iommu->cmd_buffer.tail = tail; in queue_iommu_command()
47 writel(iommu->cmd_buffer.tail, in commit_iommu_command_buffer()
A Diommu_init.c303 unsigned int tail, tail_offest, head_offset; in iommu_read_log() local
318 tail = readl(iommu->mmio_base + tail_offest) & IOMMU_RING_BUFFER_PTR_MASK; in iommu_read_log()
320 while ( tail != log->head ) in iommu_read_log()
983 ring_buf->tail = 0; in deallocate_ring_buffer()
1012 ring_buf->tail = 0; in allocate_ring_buffer()
/xen/xen/include/xen/
A Dmm.h296 struct page_info *next, *tail; member
327 return head->tail; in page_list_last()
351 head->tail = page; in page_list_add()
371 head->tail = page; in page_list_add_tail()
379 if ( head->tail != page ) in __page_list_del_head()
385 head->tail = head->next = NULL; in __page_list_del_head()
389 if ( head->tail == page ) in __page_list_del_head()
392 head->tail = prev; in __page_list_del_head()
454 head->tail = list->tail; in page_list_splice()
459 last = list->tail; in page_list_splice()
[all …]
A Devent_fifo.h14 uint32_t tail; member
A Dspinlock.h145 u16 tail; member
/xen/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/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/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/xen/common/efi/
A Dboot.c561 CHAR16 *tail = NULL; in point_tail() local
567 return tail; in point_tail()
571 tail = fn; in point_tail()
1255 CHAR16 *tail; in efi_start() local
1257 while ( (tail = point_tail(file_name)) != NULL ) in efi_start()
1259 wstrcpy(tail, L".cfg"); in efi_start()
1262 *tail = 0; in efi_start()
1264 if ( !tail ) in efi_start()
/xen/xen/tools/kconfig/
A Dexpr.c996 char *tail; in expr_parse_string() local
1008 val->s = strtoll(str, &tail, 10); in expr_parse_string()
1012 val->u = strtoull(str, &tail, 16); in expr_parse_string()
1016 val->s = strtoll(str, &tail, 0); in expr_parse_string()
1020 return !errno && !*tail && tail > str && isxdigit(tail[-1]) in expr_parse_string()
/xen/tools/tests/mce-test/lib/
A Dxen-mceinj-tool.sh94 [ $? -eq 0 ] && domid=`xm list $g_name | tail -n1 | awk '{print $2}'`
/xen/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.
A Dfedora-19.grub2108 # the 'exec tail' line above.
A Drhel-7-beta.grub2109 # the 'exec tail' line above.
/xen/tools/libxl/
A Dcheck-xl-vcpupin-parse144 awk '{print $4}' | uniq -c | tail -1 | awk '{print $1}'`
/xen/tools/ocaml/xenstored/
A Dtrie.mli56 as one may wants to remove value associated to a key. This function is not tail-recursive. *)

Completed in 40 milliseconds

12