Home
last modified time | relevance | path

Searched refs:srcp (Results 1 – 2 of 2) sorted by relevance

/xen/xen/include/xen/
A Dcpumask.h191 return bitmap_empty(srcp->bits, nr_cpu_ids); in cpumask_empty()
196 return bitmap_full(srcp->bits, nr_cpu_ids); in cpumask_full()
201 return bitmap_weight(srcp->bits, nr_cpu_ids); in cpumask_weight()
228 for (cpu = cpumask_first(srcp); in cpumask_last()
230 cpu = cpumask_next(cpu, srcp)) in cpumask_last()
237 int nxt = cpumask_next(n, srcp); in cpumask_cycle()
240 nxt = cpumask_first(srcp); in cpumask_cycle()
246 if ( cpumask_test_cpu(n, srcp) ) in cpumask_test_or_cycle()
249 return cpumask_cycle(n, srcp); in cpumask_test_or_cycle()
254 unsigned int cpu = cpumask_first(srcp); in cpumask_any()
[all …]
A Dnodemask.h143 const nodemask_t *srcp, int nbits) in __nodes_complement() argument
145 bitmap_complement(dstp->bits, srcp->bits, nbits); in __nodes_complement()
175 return bitmap_empty(srcp->bits, nbits); in __nodes_empty()
179 static inline int __nodes_full(const nodemask_t *srcp, int nbits) in __nodes_full() argument
181 return bitmap_full(srcp->bits, nbits); in __nodes_full()
187 return bitmap_weight(srcp->bits, nbits); in __nodes_weight()
194 static inline int __first_node(const nodemask_t *srcp, int nbits) in __first_node() argument
196 return min_t(int, nbits, find_first_bit(srcp->bits, nbits)); in __first_node()
206 static inline int __last_node(const nodemask_t *srcp, int nbits) in __last_node() argument
209 for (node = __first_node(srcp, nbits); in __last_node()
[all …]

Completed in 90 milliseconds