Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 230) sorted by relevance

12345678910

/xen/xen/common/
A Dtasklet.c41 list_add_tail(&t->list, list); in tasklet_enqueue()
65 list_del(&t->list); in tasklet_schedule_on_cpu()
85 t = list_entry(list->next, struct tasklet, list); in do_tasklet_work()
86 list_del_init(&t->list); in do_tasklet_work()
126 do_tasklet_work(cpu, list); in do_tasklet()
128 if ( list_empty(list) ) in do_tasklet()
145 do_tasklet_work(cpu, list); in tasklet_softirq_action()
190 while ( !list_empty(list) ) in migrate_tasklets_from_cpu()
192 t = list_entry(list->next, struct tasklet, list); in migrate_tasklets_from_cpu()
195 list_del(&t->list); in migrate_tasklets_from_cpu()
[all …]
A Dwait.c28 struct list_head list; member
57 INIT_LIST_HEAD(&wqv->list); in init_waitqueue_vcpu()
73 BUG_ON(!list_empty(&wqv->list)); in destroy_waitqueue_vcpu()
85 INIT_LIST_HEAD(&wq->list); in init_waitqueue_head()
101 wqv = list_entry(wq->list.next, struct waitqueue_vcpu, list); in wake_up_nr()
102 list_del_init(&wqv->list); in wake_up_nr()
189 ASSERT(list_empty(&wqv->list)); in check_wakeup_from_wait()
237 list_add_tail(&wqv->list, &wq->list); in prepare_to_wait()
250 if ( list_empty(&wqv->list) ) in finish_wait()
254 if ( !list_empty(&wqv->list) ) in finish_wait()
[all …]
A Dlist_sort.c121 struct list_head *list; in list_sort() local
129 list = head->next; in list_sort()
131 while (list) { in list_sort()
132 struct list_head *cur = list; in list_sort()
133 list = list->next; in list_sort()
153 list = merge(priv, cmp, part[lev], list); in list_sort()
155 merge_and_restore_back_links(priv, cmp, head, part[max_lev], list); in list_sort()
A Dvirtual_region.c13 .list = LIST_HEAD_INIT(core.list),
20 .list = LIST_HEAD_INIT(core_init.list),
46 list_for_each_entry_rcu( region, &virtual_region_list, list ) in find_text_region()
63 list_add_tail_rcu(&r->list, &virtual_region_list); in register_virtual_region()
71 list_del_rcu(&r->list); in remove_virtual_region()
101 list_for_each_entry_rcu( region, &virtual_region_list, list ) in reset_virtual_region_perms()
A Drcupdate.c300 struct rcu_head *next, *list; in rcu_do_batch() local
303 list = rdp->donelist; in rcu_do_batch()
304 while (list) { in rcu_do_batch()
305 next = rdp->donelist = list->next; in rcu_do_batch()
306 list->func(list); in rcu_do_batch()
307 list = next; in rcu_do_batch()
598 static void rcu_move_batch(struct rcu_data *this_rdp, struct rcu_head *list, in rcu_move_batch() argument
602 *this_rdp->nxttail = list; in rcu_move_batch()
603 if (list) in rcu_move_batch()
A Dlivepatch.c1004 list_del(&data->list); in free_payload()
1161 if ( list->nr > 1024 ) in livepatch_list()
1164 if ( list->pad ) in livepatch_list()
1167 if ( list->nr && in livepatch_list()
1168 (!guest_handle_okay(list->status, list->nr) || in livepatch_list()
1169 !guest_handle_okay(list->len, list->nr) || in livepatch_list()
1170 !guest_handle_okay(list->metadata_len, list->nr)) ) in livepatch_list()
1180 list->name_total_size = 0; in livepatch_list()
1181 list->metadata_total_size = 0; in livepatch_list()
1182 if ( list->nr ) in livepatch_list()
[all …]
/xen/xen/include/xen/
A Dmm.h406 next->list.prev = page->list.prev; in page_list_del()
407 prev->list.next = page->list.next; in page_list_del()
420 next->list.prev = page->list.prev; in page_list_del2()
421 prev->list.next = page->list.next; in page_list_del2()
458 first = list->next; in page_list_splice()
459 last = list->tail; in page_list_splice()
463 ASSERT(first->list.prev == at->list.prev); in page_list_splice()
506 return list_entry(page->list.next, struct page_info, list); in page_list_next()
512 return list_entry(page->list.prev, struct page_info, list); in page_list_prev()
527 list_del(&page->list); in page_list_del()
[all …]
A Dlist.h47 list->next = list; in INIT_LIST_HEAD()
48 list->prev = list; in INIT_LIST_HEAD()
53 return !list->next && !list->prev; in list_head_is_null()
275 __list_del(list->prev, list->next); in list_move()
276 list_add(list, head); in list_move()
287 __list_del(list->prev, list->next); in list_move_tail()
288 list_add_tail(list, head); in list_move_tail()
299 return list->next == head; in list_is_last()
360 if (!list_empty(list)) in list_splice()
374 if (!list_empty(list)) { in list_splice_init()
[all …]
A Dwait.h18 struct list_head list; member
25 .list = LIST_HEAD_INIT((name).list) \
/xen/tools/libxl/
A Dlibxlu_cfg.c365 XLU_ConfigList *list; in xlu_cfg_get_list_as_string_list() local
456 if (list->u.list.nvalues >= list->u.list.avalues) { in xlu__cfg_list_append()
460 if (list->u.list.avalues > INT_MAX / 100) { in xlu__cfg_list_append()
466 new_avalues = list->u.list.avalues * 4; in xlu__cfg_list_append()
467 new_values = realloc(list->u.list.values, in xlu__cfg_list_append()
475 list->u.list.avalues = new_avalues; in xlu__cfg_list_append()
476 list->u.list.values = new_values; in xlu__cfg_list_append()
479 list->u.list.values[list->u.list.nvalues] = val; in xlu__cfg_list_append()
480 list->u.list.nvalues++; in xlu__cfg_list_append()
513 if (prev->u.list.nvalues > INT_MAX - to_add->u.list.nvalues) { in xlu__cfg_concat_vals()
[all …]
A Dlibxl_cpuid.c65 static libxl_cpuid_policy_list cpuid_find_match(libxl_cpuid_policy_list *list, in cpuid_find_match() argument
70 if (*list != NULL) { in cpuid_find_match()
71 for (i = 0; (*list)[i].input[0] != XEN_CPUID_INPUT_UNUSED; i++) { in cpuid_find_match()
72 if ((*list)[i].input[0] == leaf && (*list)[i].input[1] == subleaf) in cpuid_find_match()
73 return *list + i; in cpuid_find_match()
76 *list = realloc(*list, sizeof((*list)[0]) * (i + 2)); in cpuid_find_match()
77 (*list)[i].input[0] = leaf; in cpuid_find_match()
78 (*list)[i].input[1] = subleaf; in cpuid_find_match()
79 memset((*list)[i].policy, 0, 4 * sizeof(char*)); in cpuid_find_match()
80 (*list)[i + 1].input[0] = XEN_CPUID_INPUT_UNUSED; in cpuid_find_match()
[all …]
/xen/xen/tools/kconfig/lxdialog/
A Dchecklist.c109 WINDOW *dialog, *list; in dialog_checklist() local
160 keypad(list, TRUE); in dialog_checklist()
192 wnoutrefresh(list); in dialog_checklist()
216 wscrl(list, -1); in dialog_checklist()
226 wrefresh(list); in dialog_checklist()
243 wscrl(list, 1); in dialog_checklist()
254 wrefresh(list); in dialog_checklist()
269 wrefresh(list); in dialog_checklist()
287 delwin(list); in dialog_checklist()
307 delwin(list); in dialog_checklist()
[all …]
/xen/xen/drivers/passthrough/vtd/
A Ddmar.h29 struct list_head list; member
42 struct list_head list; member
62 struct list_head list; member
73 struct list_head list; member
82 struct list_head list; member
88 struct list_head list; member
94 list_for_each_entry(drhd, &acpi_drhd_units, list)
97 list_for_each_entry(rmrr, &acpi_rmrr_units, list) \
A Ddmar.c73 list_add_tail(&drhd->list, &acpi_drhd_units); in acpi_register_drhd_unit()
75 list_add(&drhd->list, &acpi_drhd_units); in acpi_register_drhd_unit()
81 list_add(&rmrr->list, &acpi_rmrr_units); in acpi_register_rmrr_unit()
103 list_del(&drhd->list); in disable_all_dmar_units()
110 list_del(&rmrr->list); in disable_all_dmar_units()
116 list_del(&atsr->list); in disable_all_dmar_units()
153 struct list_head *list, unsigned int hpet_id) in acpi_hpet_device_match() argument
157 list_for_each_entry( hpet, list, list ) in acpi_hpet_device_match()
187 list_add_tail(&atsr->list, &acpi_atsr_units); in acpi_register_atsr_unit()
189 list_add(&atsr->list, &acpi_atsr_units); in acpi_register_atsr_unit()
[all …]
/xen/tools/xenstore/
A Dxenstored_transaction.c114 struct list_head list; member
138 struct list_head list; member
150 struct list_head list; member
182 list_for_each_entry(i, &trans->accessed, list) in find_accessed_node()
302 list_add_tail(&i->list, &trans->accessed); in access_node()
400 list_del(&i->list); in finalize_transaction()
429 list_del(&i->list); in destroy_transaction()
518 list_del(&trans->list); in do_transaction_end()
590 struct transaction, list))) { in conn_delete_all_transactions()
591 list_del(&trans->list); in conn_delete_all_transactions()
[all …]
A Dlist.h195 __list_del(list->prev, list->next); in list_move()
196 list_add(list, head); in list_move()
207 __list_del(list->prev, list->next); in list_move_tail()
208 list_add_tail(list, head); in list_move_tail()
223 struct list_head *first = list->next; in __list_splice()
224 struct list_head *last = list->prev; in __list_splice()
241 if (!list_empty(list)) in list_splice()
242 __list_splice(list, head); in list_splice()
255 if (!list_empty(list)) { in list_splice_init()
256 __list_splice(list, head); in list_splice_init()
[all …]
A Dxenstored_watch.c38 struct list_head list; member
171 list_for_each_entry(i, &connections, list) { in fire_watches()
181 list_for_each_entry(watch, &i->watches, list) { in fire_watches()
223 list_for_each_entry(watch, &conn->watches, list) { in do_watch()
249 list_add_tail(&watch->list, &conn->watches); in do_watch()
271 list_for_each_entry(watch, &conn->watches, list) { in do_unwatch()
273 list_del(&watch->list); in do_unwatch()
287 while ((watch = list_top(&conn->watches, struct watch, list))) { in conn_delete_all_watches()
288 list_del(&watch->list); in conn_delete_all_watches()
/xen/tools/ocaml/libs/xs/
A Dxsraw.mli23 val split_string : ?limit:int -> char -> string -> string list
25 type perms = int * perm * (int * perm) list
26 val string_of_perms : int * perm * (int * perm) list -> string
27 val perms_of_string : string -> int * perm * (int * perm) list
40 val directory : int -> string -> con -> string list
41 val debug : string list -> con -> string
43 val readv : int -> string -> string list -> con -> string list
44 val getperms : int -> string -> con -> int * perm * (int * perm) list
54 val writev : int -> string -> (string * string) list -> con -> unit
57 val setperms : int -> string -> int * perm * (int * perm) list -> con -> unit
[all …]
A Dxst.mli17 directory : string -> string list;
19 readv : string -> string list -> string list;
21 writev : string -> (string * string) list -> unit;
26 setpermsv : string -> string list -> Xsraw.perms -> unit;
A Dxs.mli25 - ACL: list of per-domain permission
34 debug: string list -> string;
35 directory : string -> string list;
37 readv : string -> string list -> string list;
39 writev : string -> (string * string) list -> unit;
44 setpermsv : string -> string list -> perms -> unit;
78 -> (string * string) list
/xen/xen/tools/kconfig/
A Dqconf.cc105 ConfigList* list; in updateMenu() local
112 list = listView(); in updateMenu()
125 if (list->mode == singleMode || list->mode == symbolMode) { in updateMenu()
958 list->reinit(); in setShowName()
967 list->reinit(); in setShowRange()
1267 list->list->mode = listMode; in ConfigSearchWindow()
1269 connect(list->list, SIGNAL(menuChanged(struct menu *)), in ConfigSearchWindow()
1271 connect(list->list, SIGNAL(menuChanged(struct menu *)), in ConfigSearchWindow()
1317 list->list->clear(); in search()
1325 lastItem = new ConfigItem(list->list, lastItem, prop->menu, in search()
[all …]
/xen/tools/tests/vpci/
A DMakefile13 $(TARGET): vpci.c vpci.h list.h main.c emul.h
18 rm -rf $(TARGET) *.o *~ vpci.h vpci.c list.h
30 list.h: $(XEN_ROOT)/xen/include/xen/list.h
32 list.h vpci.h:
/xen/tools/ocaml/xenstored/
A Dselect.mli20 Unix.file_descr list -> Unix.file_descr list -> Unix.file_descr list -> float
21 -> Unix.file_descr list * Unix.file_descr list * Unix.file_descr list
/xen/tools/ocaml/libs/xl/
A Dxenlight_stubs.c186 list = cons; in Val_key_value_list()
189 CAMLreturn(list); in Val_key_value_list()
223 list = cons; in Val_string_list()
226 CAMLreturn(list); in Val_string_list()
747 temp = list; in stub_xl_device_nic_list()
752 CAMLreturn(list); in stub_xl_device_nic_list()
775 temp = list; in stub_xl_device_disk_list()
780 CAMLreturn(list); in stub_xl_device_disk_list()
824 temp = list; in stub_xl_device_pci_list()
830 CAMLreturn(list); in stub_xl_device_pci_list()
[all …]
/xen/xen/xsm/flask/ss/
A Dconditional.c136 static void cond_av_list_destroy(struct cond_av_list *list) in cond_av_list_destroy() argument
139 for ( cur = list; cur != NULL; cur = next ) in cond_av_list_destroy()
161 static void cond_list_destroy(struct cond_node *list) in cond_list_destroy() argument
165 if ( list == NULL ) in cond_list_destroy()
168 for ( cur = list; cur != NULL; cur = next ) in cond_list_destroy()
345 list = xzalloc(struct cond_av_list); in cond_insertf()
346 if ( !list ) in cond_insertf()
349 list->node = node_ptr; in cond_insertf()
351 data->head = list; in cond_insertf()
353 data->tail->next = list; in cond_insertf()
[all …]

Completed in 42 milliseconds

12345678910