Home
last modified time | relevance | path

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

12345678910

/xen-4.10.0-shim-comet/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()
185 while ( !list_empty(list) ) in migrate_tasklets_from_cpu()
187 t = list_entry(list->next, struct tasklet, list); in migrate_tasklets_from_cpu()
190 list_del(&t->list); in migrate_tasklets_from_cpu()
[all …]
A Dwait.c27 struct list_head list; member
58 INIT_LIST_HEAD(&wqv->list); in init_waitqueue_vcpu()
74 BUG_ON(!list_empty(&wqv->list)); in destroy_waitqueue_vcpu()
86 INIT_LIST_HEAD(&wq->list); in init_waitqueue_head()
102 wqv = list_entry(wq->list.next, struct waitqueue_vcpu, list); in wake_up_nr()
103 list_del_init(&wqv->list); in wake_up_nr()
174 ASSERT(list_empty(&wqv->list)); in check_wakeup_from_wait()
217 list_add_tail(&wqv->list, &wq->list); in prepare_to_wait()
230 if ( list_empty(&wqv->list) ) in finish_wait()
234 if ( !list_empty(&wqv->list) ) in finish_wait()
[all …]
A Dvirtual_region.c12 .list = LIST_HEAD_INIT(core.list),
19 .list = LIST_HEAD_INIT(core_init.list),
45 list_for_each_entry_rcu( region, &virtual_region_list, list ) in find_text_region()
62 list_add_tail_rcu(&r->list, &virtual_region_list); in register_virtual_region()
70 list_del_rcu(&r->list); in remove_virtual_region()
A Drcupdate.c244 struct rcu_head *next, *list; in rcu_do_batch() local
247 list = rdp->donelist; in rcu_do_batch()
248 while (list) { in rcu_do_batch()
249 next = rdp->donelist = list->next; in rcu_do_batch()
250 list->func(list); in rcu_do_batch()
251 list = next; in rcu_do_batch()
523 static void rcu_move_batch(struct rcu_data *this_rdp, struct rcu_head *list, in rcu_move_batch() argument
527 *this_rdp->nxttail = list; in rcu_move_batch()
528 if (list) in rcu_move_batch()
/xen-4.10.0-shim-comet/tools/blktap2/control/
A Dtap-ctl-list.c110 free(list); in tap_ctl_free_list()
121 list = malloc(size); in tap_ctl_alloc_list()
122 if (!list) in tap_ctl_alloc_list()
125 memset(list, 0, size); in tap_ctl_alloc_list()
136 list[i] = entry; in tap_ctl_alloc_list()
139 return list; in tap_ctl_alloc_list()
142 if (list) in tap_ctl_alloc_list()
407 if (!list) { in _tap_list_join3()
412 _entry = list; in _tap_list_join3()
462 *_list = list; in _tap_list_join3()
[all …]
/xen-4.10.0-shim-comet/xen/include/xen/
A Dmm.h388 next->list.prev = page->list.prev; in page_list_del()
389 prev->list.next = page->list.next; in page_list_del()
402 next->list.prev = page->list.prev; in page_list_del2()
403 prev->list.next = page->list.next; in page_list_del2()
440 first = list->next; in page_list_splice()
441 last = list->tail; in page_list_splice()
445 ASSERT(first->list.prev == at->list.prev); in page_list_splice()
488 return list_entry(page->list.next, struct page_info, list); in page_list_next()
494 return list_entry(page->list.prev, struct page_info, list); in page_list_prev()
509 list_del(&page->list); in page_list_del()
[all …]
A Dlist.h50 list->next = list; in INIT_LIST_HEAD()
51 list->prev = list; in INIT_LIST_HEAD()
273 __list_del(list->prev, list->next); in list_move()
274 list_add(list, head); in list_move()
285 __list_del(list->prev, list->next); in list_move_tail()
286 list_add_tail(list, head); in list_move_tail()
297 return list->next == head; in list_is_last()
358 if (!list_empty(list)) in list_splice()
359 __list_splice(list, head); in list_splice()
372 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-4.10.0-shim-comet/tools/libxl/
A Dlibxlu_cfg.c239 *value_r = &value->u.list; in xlu_cfg_value_get_list()
335 XLU_ConfigList *list; in xlu_cfg_get_list_as_string_list() local
402 value->u.list.avalues = 1; in xlu__cfg_list_mk()
426 if (list->u.list.nvalues >= list->u.list.avalues) { in xlu__cfg_list_append()
430 if (list->u.list.avalues > INT_MAX / 100) { in xlu__cfg_list_append()
436 new_avalues = list->u.list.avalues * 4; in xlu__cfg_list_append()
437 new_values = realloc(list->u.list.values, in xlu__cfg_list_append()
445 list->u.list.avalues = new_avalues; in xlu__cfg_list_append()
446 list->u.list.values = new_values; in xlu__cfg_list_append()
449 list->u.list.values[list->u.list.nvalues] = val; in xlu__cfg_list_append()
[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-4.10.0-shim-comet/tools/blktap2/include/
A Dlist.h34 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD() argument
36 list->next = list; in INIT_LIST_HEAD()
37 list->prev = list; in INIT_LIST_HEAD()
84 static inline int list_is_last(const struct list_head *list, in list_is_last() argument
87 return list->next == head; in list_is_last()
90 static inline void __list_splice(const struct list_head *list, in __list_splice() argument
94 struct list_head *first = list->next; in __list_splice()
95 struct list_head *last = list->prev; in __list_splice()
104 static inline void list_splice(const struct list_head *list, in list_splice() argument
107 if (!list_empty(list)) in list_splice()
[all …]
/xen-4.10.0-shim-comet/xen/tools/kconfig/lxdialog/
A Dchecklist.c122 WINDOW *dialog, *list; in dialog_checklist() local
173 keypad(list, TRUE); in dialog_checklist()
205 wnoutrefresh(list); in dialog_checklist()
229 wscrl(list, -1); in dialog_checklist()
239 wrefresh(list); in dialog_checklist()
256 wscrl(list, 1); in dialog_checklist()
267 wrefresh(list); in dialog_checklist()
282 wrefresh(list); in dialog_checklist()
300 delwin(list); in dialog_checklist()
320 delwin(list); in dialog_checklist()
[all …]
/xen-4.10.0-shim-comet/tools/xenstore/
A Dxenstored_transaction.c109 struct list_head list; member
130 struct list_head list; member
142 struct list_head list; member
174 list_for_each_entry(i, &trans->accessed, list) in find_accessed_node()
285 list_add_tail(&i->list, &trans->accessed); in access_node()
378 list_del(&i->list); in finalize_transaction()
407 list_del(&i->list); in destroy_transaction()
496 list_del(&trans->list); in do_transaction_end()
568 struct transaction, list))) { in conn_delete_all_transactions()
569 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
137 list_for_each_entry(i, &connections, list) { in fire_watches()
138 list_for_each_entry(watch, &i->watches, list) { in fire_watches()
177 list_for_each_entry(watch, &conn->watches, list) { in do_watch()
203 list_add_tail(&watch->list, &conn->watches); in do_watch()
225 list_for_each_entry(watch, &conn->watches, list) { in do_unwatch()
227 list_del(&watch->list); in do_unwatch()
241 while ((watch = list_top(&conn->watches, struct watch, list))) { in conn_delete_all_watches()
242 list_del(&watch->list); in conn_delete_all_watches()
/xen-4.10.0-shim-comet/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.c71 list_add_tail(&drhd->list, &acpi_drhd_units); in acpi_register_drhd_unit()
73 list_add(&drhd->list, &acpi_drhd_units); in acpi_register_drhd_unit()
79 list_add(&rmrr->list, &acpi_rmrr_units); in acpi_register_rmrr_unit()
101 list_del(&drhd->list); in disable_all_dmar_units()
107 list_del(&rmrr->list); in disable_all_dmar_units()
113 list_del(&atsr->list); in disable_all_dmar_units()
164 struct list_head *list, unsigned int hpet_id) in acpi_hpet_device_match() argument
168 list_for_each_entry( hpet, list, list ) in acpi_hpet_device_match()
200 list_add(&atsr->list, &acpi_atsr_units); in acpi_register_atsr_unit()
782 list_add_tail(&rhsau->list, &acpi_rhsa_units); in acpi_parse_one_rhsa()
[all …]
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/xen/tools/kconfig/
A Dqconf.cc122 ConfigList* list; in updateMenu() local
129 list = listView(); in updateMenu()
142 if (list->mode == singleMode || list->mode == symbolMode) { in updateMenu()
258 if (isSelected() && !list->hasFocus() && list->mode == menuMode) in paintCell()
909 list->reinit(); in setShowName()
1208 list->list->mode = listMode; in ConfigSearchWindow()
1210 connect(list->list, SIGNAL(menuChanged(struct menu *)), in ConfigSearchWindow()
1212 connect(list->list, SIGNAL(menuChanged(struct menu *)), in ConfigSearchWindow()
1258 list->list->clear(); in search()
1266 lastItem = new ConfigItem(list->list, lastItem, prop->menu, in search()
[all …]
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/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()
735 temp = list; in stub_xl_device_nic_list()
740 CAMLreturn(list); in stub_xl_device_nic_list()
763 temp = list; in stub_xl_device_disk_list()
768 CAMLreturn(list); in stub_xl_device_disk_list()
812 temp = list; in stub_xl_device_pci_list()
818 CAMLreturn(list); in stub_xl_device_pci_list()
[all …]
/xen-4.10.0-shim-comet/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 …]
/xen-4.10.0-shim-comet/tools/libs/evtchn/
A Dminios.c55 LIST_INSERT_HEAD(&files[fd].evtchn.ports, port_info, list); in port_alloc()
62 LIST_REMOVE(port_info, list); in port_dealloc()
94 LIST_FOREACH_SAFE(port_info, &files[fd].evtchn.ports, list, tmp) in minios_evtchn_close_fd()
124 LIST_FOREACH(port_info, &files[fd].evtchn.ports, list) { in evtchn_handler()
197 LIST_FOREACH(port_info, &files[fd].evtchn.ports, list) { in xenevtchn_unbind()
243 LIST_FOREACH(port_info, &files[fd].evtchn.ports, list) { in xenevtchn_pending()

Completed in 48 milliseconds

12345678910