Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 25 of 29) sorted by relevance

12

/xen/xen/common/coverage/
A Dgcc_3_4.c216 return get_fn_info(iter->info, iter->function); in get_func()
221 return &iter->type_info[iter->type]; in get_type()
245 iter->count++; in gcov_iter_next()
248 if ( iter->count < get_func(iter)->n_ctrs[iter->type] ) in gcov_iter_next()
254 get_type(iter)->offset += iter->count; in gcov_iter_next()
256 iter->type++; in gcov_iter_next()
259 if ( iter->type < iter->num_types ) in gcov_iter_next()
269 if ( iter->function < iter->info->n_functions ) in gcov_iter_next()
324 get_func(iter)->n_ctrs[iter->type] * 2); in gcov_iter_write()
346 iter.type_info[iter.num_types].ctr_type = i; in gcov_info_to_gcda()
[all …]
/xen/xen/common/sched/
A Drt.c388 list_for_each ( iter, runq ) in rt_dump()
390 svc = q_elem(iter); in rt_dump()
397 svc = q_elem(iter); in rt_dump()
402 list_for_each ( iter, replq ) in rt_dump()
404 svc = replq_elem(iter); in rt_dump()
507 struct list_head *iter; in deadline_queue_insert() local
517 list_add_tail(elem, iter); in deadline_queue_insert()
997 struct list_head *iter; in runq_pick() local
1003 list_for_each ( iter, runq ) in runq_pick()
1477 svc = replq_elem(iter); in repl_timer_handler()
[all …]
A Dcredit.c281 struct list_head *iter; in __runq_insert() local
285 list_for_each( iter, runq ) in __runq_insert()
298 iter=iter->next; in __runq_insert()
301 BUG_ON(iter == runq); in __runq_insert()
304 list_add_tail(&svc->runq_elem, iter); in __runq_insert()
1601 struct list_head *iter; in csched_runq_steal() local
1613 list_for_each( iter, &peer_pcpu->runq ) in csched_runq_steal()
1615 speer = __runq_elem(iter); in csched_runq_steal()
2035 struct list_head *iter; in csched_dump_pcpu() local
2070 list_for_each( iter, runq ) in csched_dump_pcpu()
[all …]
A Dcredit2.c1065 struct list_head *iter; in update_max_weight() local
1068 list_for_each( iter, &rqd->svc ) in update_max_weight()
1425 struct list_head *iter; in runq_insert() local
1440 list_for_each( iter, runq ) in runq_insert()
1449 list_add_tail(&svc->runq_elem, iter); in runq_insert()
1771 struct list_head *iter; in reset_credit() local
1792 list_for_each( iter, &rqd->svc ) in reset_credit()
3367 struct list_head *iter, *temp; in runq_candidate() local
3450 list_for_each_safe( iter, temp, &rqd->runq ) in runq_candidate()
3850 struct list_head *iter, *runq = &rqd->runq; in csched2_dump() local
[all …]
A Dnull.c974 struct list_head *iter; in null_dump() local
984 list_for_each( iter, &prv->ndom ) in null_dump()
989 ndom = list_entry(iter, struct null_dom, ndom_elem); in null_dump()
1010 list_for_each( iter, &prv->waitq ) in null_dump()
1012 struct null_unit *nvc = list_entry(iter, struct null_unit, waitq_elem); in null_dump()
/xen/tools/ocaml/xenstored/
A Dconnections.ml94 Hashtbl.iter (fun _ c -> fct c) cons.domains
97 Hashtbl.iter (fun _ c -> fct c) cons.anonymous
99 let iter cons fct = function
148 | Some watches -> List.iter (fun w -> Connection.fire_watch roots w path) watches
153 List.iter (Connection.fire_single_watch roots) watches
157 Trie.iter fire_rec (Trie.sub cons.watches key)
160 iter cons (fun con ->
161 List.iter (Connection.fire_single_watch (None, root)) (Connection.get_watches con specpath))
172 iter cons aux;
A Dselect.ml48 List.iter (add_event (fun x -> x.read <- true)) in_fds;
49 List.iter (add_event (fun x -> x.write <- true)) out_fds;
50 List.iter (add_event (fun x -> x.except <- true)) exc_fds;
55 Hashtbl.iter (fun fd event -> incr i; Array.set a !i (fd, event)) h;
A Ddomains.ml58 let iter doms fct = Hashtbl.iter (fun _ b -> fct b) doms.table function
87 Queue.iter (fun d -> match !d with
95 Hashtbl.iter (fun id _ -> if id <> 0 then
110 List.iter (fun id ->
221 if doms.n_penalised > 0 then iter doms inc
A Dsymbol.ml54 Hashtbl.iter (fun _ v -> v.garbage <- true) int_string_tbl
70 List.iter remove records
A Dxenstored.ml46 List.iter
66 Domains.iter domains do_io_domain
128 | Config.Error err -> List.iter (fun (k, e) ->
292 List.iter (fun path ->
344 List.iter (Store.reset_permissions store) deaddom;
345 List.iter (Connections.del_domain cons) deaddom;
396 Connections.iter cons Connection.mark_symbols;
403 (last_scan_time := now; Domains.iter domains ring_scan_checker);
409 Domains.iter domains (Domain.log_and_reset_conflict_stats (info "Dom%d caused %Ld conflicts"));
447 List.iter
A Dtrie.ml79 let rec iter f tree = function
82 iter f node.Node.children
84 List.iter aux tree
A Dquota.ml83 Hashtbl.iter (fun id nb -> set_entry quota id (get_entry quota id + nb)) diff.cur
86 Hashtbl.iter (fun id nb -> let diff = nb - (try get_entry orig_quota id with Not_found -> 0) in
A Dtrie.mli42 val iter : ('a -> 'b option -> unit) -> ('a, 'b) t -> unit val
43 (** [iter f t] applies the function [f] to every node of the trie [t].
A Dhistory.ml33 List.iter (fun hist_rec ->
A Dconfig.ml85 List.iter (fun (k, v) ->
A Dprocess.ml70 List.iter (fun op -> do_op_watch op cons) ops
84 List.iter (fun s -> Transaction.mkdir ~with_watch:false t perm s) ret
316 … List.iter (perform_exn ~wlog:true replay_t) (Transaction.get_operations t); (* May throw EAGAIN *)
334 try List.iter (perform_exn ~wlog:false trial_t) (Transaction.get_operations t);
A Ddisk.ml142 List.iter (fun s -> parse_line s) lines
/xen/xen/tools/kconfig/
A Dgconf.c783 GtkTreeIter iter; in renderer_edited() local
885 GtkTreeIter iter; in on_treeview2_button_press_event() local
942 GtkTreeIter iter; in on_treeview2_key_press_event() local
962 gtk_tree_model_get_iter(model2, &iter, path); in on_treeview2_key_press_event()
984 GtkTreeIter iter; in on_treeview2_cursor_changed() local
1003 GtkTreeIter iter; in on_treeview1_button_press_event() local
1015 gtk_tree_model_get_iter(model1, &iter, path); in on_treeview1_button_press_event()
1216 GtkTreeIter iter; in gtktree_iter_find_node() local
1217 GtkTreeIter *child = &iter; in gtktree_iter_find_node()
1250 GtkTreeIter iter, tmp; in update_tree() local
[all …]
/xen/xen/arch/x86/hvm/
A Ddm.c238 unsigned int iter = 0, mem_type; in set_mem_type() local
272 while ( iter < data->nr ) in set_mem_type()
274 unsigned long pfn = data->first_pfn + iter; in set_mem_type()
297 iter++; in set_mem_type()
303 if ( (iter < data->nr) && ((iter & 0xff) == 0) && in set_mem_type()
306 data->first_pfn += iter; in set_mem_type()
307 data->nr -= iter; in set_mem_type()
/xen/xen/arch/arm/
A Dgic-vgic.c51 struct pending_irq *iter; in gic_add_to_lr_pending() local
58 list_for_each_entry ( iter, &v->arch.vgic.lr_pending, lr_queue ) in gic_add_to_lr_pending()
60 if ( iter->priority > n->priority ) in gic_add_to_lr_pending()
62 list_add_tail(&n->lr_queue, &iter->lr_queue); in gic_add_to_lr_pending()
A Dvgic.c532 struct pending_irq *iter, *n; in vgic_inject_irq() local
582 list_for_each_entry ( iter, &v->arch.vgic.inflight_irqs, inflight ) in vgic_inject_irq()
584 if ( iter->priority > priority ) in vgic_inject_irq()
586 list_add_tail(&n->inflight, &iter->inflight); in vgic_inject_irq()
/xen/tools/ocaml/test/
A Dlist_domains.ml21 List.iter (fun d -> print_dominfo d) domains
/xen/tools/ocaml/libs/xs/
A Dxs.ml141 List.iter (fun (w,v) -> try xsh.unwatch w v with _ -> ()) l in
142 List.iter (fun (w,v) -> xsh.watch w v) l;
A Dxsraw.ml243 List.iter (fun (entry, value) ->
264 List.iter (fun entry ->
/xen/xen/arch/x86/mm/
A Dp2m.c1899 unsigned int iter, order; in map_mmio_regions() local
1904 for ( iter = i = 0; i < nr && iter < MAP_MMIO_MAX_ITER; in map_mmio_regions()
1905 i += 1UL << order, ++iter ) in map_mmio_regions()
1931 unsigned int iter, order; in unmap_mmio_regions() local
1936 for ( iter = i = 0; i < nr && iter < MAP_MMIO_MAX_ITER; in unmap_mmio_regions()
1937 i += 1UL << order, ++iter ) in unmap_mmio_regions()

Completed in 44 milliseconds

12