Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 218) sorted by relevance

123456789

/xen/xen/arch/arm/arm64/lib/
A Dmemset.S41 count .req x2 label
63 cmp count, #15
92 sub count, count, tmp2
99 cmp count, #64
117 ands count, count, #15
118 cbz count, 4f
131 sub count, count, #64
137 subs count, count, #64
206 sub count, count, zva_len_x
210 subs count, count, zva_len_x
[all …]
A Dmemmove.S41 count .req x2 label
68 cmp count, #16
73 sub count, count, tmp2
96 cmp count, #64
123 tbz count, #3, 1f
127 tbz count, #2, 2f
131 tbz count, #1, 3f
143 subs count, count, #128
158 tst count, #0x3f
186 subs count, count, #64
[all …]
A Dmemcpy.S40 count .req x2 label
60 cmp count, #16
67 sub count, count, tmp2
91 cmp count, #64
127 tbz count, #3, 1f
131 tbz count, #2, 2f
135 tbz count, #1, 3f
147 subs count, count, #128
162 tst count, #0x3f
190 subs count, count, #64
[all …]
/xen/tools/libs/gnttab/
A Dfreebsd.c76 unsigned int refs_size = ROUNDUP(count * in osdep_gnttab_grant_map()
94 for ( i = 0; i < count; i++ ) in osdep_gnttab_grant_map()
100 map.count = count; in osdep_gnttab_grant_map()
144 unmap_grant.count = count; in osdep_gnttab_grant_map()
161 uint32_t count) in osdep_gnttab_unmap() argument
183 if ( get_offset.count != count ) in osdep_gnttab_unmap()
195 unmap_grant.count = count; in osdep_gnttab_unmap()
203 uint32_t count, in osdep_gnttab_grant_copy() argument
248 gref_info.count = count; in osdep_gntshr_share_pages()
284 munmap(area, count * PAGE_SIZE); in osdep_gntshr_share_pages()
[all …]
A Dlinux.c122 map->count = count; in osdep_gnttab_grant_map()
180 unmap_grant.count = count; in osdep_gnttab_grant_map()
216 if ( get_offset.count != count ) in osdep_gnttab_unmap()
228 unmap_grant.count = count; in osdep_gnttab_unmap()
302 copy.count = count; in osdep_gnttab_grant_copy()
319 if ( !count ) in osdep_gnttab_dmabuf_exp_from_refs()
334 from_refs->count = count; in osdep_gnttab_dmabuf_exp_from_refs()
382 if ( !count ) in osdep_gnttab_dmabuf_imp_to_refs()
397 to_refs->count = count; in osdep_gnttab_dmabuf_imp_to_refs()
461 gref_info->count = count; in osdep_gntshr_share_pages()
[all …]
A Dgnttab_core.c84 int xengnttab_set_max_grants(xengnttab_handle *xgt, uint32_t count) in xengnttab_set_max_grants() argument
86 return osdep_gnttab_set_max_grants(xgt, count); in xengnttab_set_max_grants()
98 uint32_t count, in xengnttab_map_grant_refs() argument
103 return osdep_gnttab_grant_map(xgt, count, 0, prot, domids, refs, -1, -1); in xengnttab_map_grant_refs()
107 uint32_t count, in xengnttab_map_domain_grant_refs() argument
129 return osdep_gnttab_unmap(xgt, start_address, count); in xengnttab_unmap()
133 uint32_t count, in xengnttab_grant_copy() argument
136 return osdep_gnttab_grant_copy(xgt, count, segs); in xengnttab_grant_copy()
140 uint32_t flags, uint32_t count, in xengnttab_dmabuf_exp_from_refs() argument
143 return osdep_gnttab_dmabuf_exp_from_refs(xgt, domid, flags, count, in xengnttab_dmabuf_exp_from_refs()
[all …]
A Dminios.c62 uint32_t count, int flags, int prot, in osdep_gnttab_grant_map() argument
76 count, domids, stride, in osdep_gnttab_grant_map()
82 uint32_t count) in osdep_gnttab_unmap() argument
88 count); in osdep_gnttab_unmap()
96 int osdep_gnttab_set_max_grants(xengnttab_handle *xgt, uint32_t count) in osdep_gnttab_set_max_grants() argument
101 count); in osdep_gnttab_set_max_grants()
110 uint32_t count, in osdep_gnttab_grant_copy() argument
117 uint32_t flags, uint32_t count, in osdep_gnttab_dmabuf_exp_from_refs() argument
130 uint32_t fd, uint32_t count, in osdep_gnttab_dmabuf_imp_to_refs() argument
A Dprivate.h23 int osdep_gnttab_set_max_grants(xengnttab_handle *xgt, uint32_t count);
27 uint32_t count, int flags, int prot,
33 uint32_t count);
35 uint32_t count,
39 uint32_t flags, uint32_t count,
46 uint32_t fd, uint32_t count,
55 uint32_t domid, int count,
60 void *start_address, uint32_t count);
A Dgnttab_unimp.c36 int xengnttab_set_max_grants(xengnttab_handle *xgt, uint32_t count) in xengnttab_set_max_grants() argument
50 uint32_t count, in xengnttab_map_grant_refs() argument
59 uint32_t count, in xengnttab_map_domain_grant_refs() argument
77 int xengnttab_unmap(xengnttab_handle *xgt, void *start_address, uint32_t count) in xengnttab_unmap() argument
83 uint32_t count, in xengnttab_grant_copy() argument
90 uint32_t flags, uint32_t count, in xengnttab_dmabuf_exp_from_refs() argument
103 uint32_t fd, uint32_t count, uint32_t *refs) in xengnttab_dmabuf_imp_to_refs() argument
/xen/xen/common/
A Dstring.c144 while (count) {
147 count--;
229 size_t count = 0; in strspn() local
237 return count; in strspn()
238 ++count; in strspn()
241 return count; in strspn()
327 while (count--)
348 while (count--)
371 while (count--)
377 while (count--)
[all …]
/xen/tools/libxc/
A Dxc_gnttab_compat.c31 uint32_t count, in xc_gnttab_map_grant_refs() argument
36 return xengnttab_map_grant_refs(xcg, count, domids, refs, prot); in xc_gnttab_map_grant_refs()
40 uint32_t count, in xc_gnttab_map_domain_grant_refs() argument
45 return xengnttab_map_domain_grant_refs(xcg, count, domid, refs, prot); in xc_gnttab_map_domain_grant_refs()
61 uint32_t count) in xc_gnttab_munmap() argument
63 return xengnttab_unmap(xcg, start_address, count); in xc_gnttab_munmap()
67 uint32_t count) in xc_gnttab_set_max_grants() argument
69 return xengnttab_set_max_grants(xcg, count); in xc_gnttab_set_max_grants()
84 int count, uint32_t *refs, int writable) in xc_gntshr_share_pages() argument
86 return xengntshr_share_pages(xcg, domid, count, refs, writable); in xc_gntshr_share_pages()
[all …]
A Dxc_sr_restore.c149 2 * count * sizeof(*mfns)); in populate_pfns()
153 for ( i = 0; i < count; ++i ) in populate_pfns()
232 for ( i = 0; i < count; ++i ) in process_page_data()
268 nr_pages, count); in process_page_data()
272 for ( i = 0, j = 0; i < count; ++i ) in process_page_data()
377 if ( pages->count < 1 ) in handle_page_data()
395 pages->count); in handle_page_data()
452 unsigned int count, written; in send_checkpoint_dirty_pfn_list() local
474 count++; in send_checkpoint_dirty_pfn_list()
482 count * sizeof(*pfns)); in send_checkpoint_dirty_pfn_list()
[all …]
/xen/tools/xenstore/
A Dtalloc.h53 #define talloc_zero_array(ctx, type, count) (type *)_talloc_zero_array(ctx, sizeof(type), count, #t… argument
54 #define talloc_array(ctx, type, count) (type *)_talloc_array(ctx, sizeof(type), count, #type) argument
55 #define talloc_array_size(ctx, size, count) _talloc_array(ctx, size, count, __location__) argument
57 #define talloc_realloc(ctx, p, type, count) (type *)_talloc_realloc_array(ctx, p, sizeof(type), cou… argument
63 #define malloc_array_p(type, count) (type *)realloc_array(NULL, sizeof(type), count) argument
64 #define realloc_p(p, type, count) (type *)realloc_array(p, sizeof(type), count) argument
82 #define talloc_array_p(ctx, type, count) talloc_array(ctx, type, count) argument
83 #define talloc_realloc_p(ctx, p, type, count) talloc_realloc(ctx, p, type, count) argument
135 void *_talloc_array(const void *ctx, size_t el_size, unsigned count, const char *name);
136 void *_talloc_zero_array(const void *ctx, size_t el_size, unsigned count, const char *name);
[all …]
/xen/tools/fuzz/x86_instruction_emulator/
A Dafl-harness.c15 int max, count; in main() local
67 for( count = 0; __AFL_LOOP(1000); ) in main()
69 for( count = 0; count < max; count++ ) in main()
74 printf("Opening file %s\n", argv[optind + count]); in main()
75 fp = fopen(argv[optind + count], "rb"); in main()
/xen/tools/libs/gnttab/include/
A Dxengnttab.h193 uint32_t count,
213 uint32_t count,
255 int xengnttab_unmap(xengnttab_handle *xgt, void *start_address, uint32_t count);
296 uint32_t count,
328 uint32_t flags, uint32_t count,
350 uint32_t fd, uint32_t count, uint32_t *refs);
432 int count, uint32_t *refs, int writable);
458 int xengntshr_unshare(xengntshr_handle *xgs, void *start_address, uint32_t count);
/xen/xen/arch/x86/acpi/
A Dboot.c536 count = in acpi_parse_madt_lapic_entries()
542 return count; in acpi_parse_madt_lapic_entries()
559 return count < 0 ? count : x2count; in acpi_parse_madt_lapic_entries()
562 count = in acpi_parse_madt_lapic_entries()
571 return count < 0 ? count : x2count; in acpi_parse_madt_lapic_entries()
582 int count; in acpi_parse_madt_ioapic_entries() local
606 count = in acpi_parse_madt_ioapic_entries()
609 if (!count) { in acpi_parse_madt_ioapic_entries()
614 return count; in acpi_parse_madt_ioapic_entries()
617 count = in acpi_parse_madt_ioapic_entries()
[all …]
/xen/tools/include/xen-sys/Linux/
A Dgntdev.h54 uint32_t count; member
76 uint32_t count; member
102 uint32_t count; member
117 uint32_t count; member
168 unsigned int count; member
210 uint32_t count; member
253 uint32_t count; member
/xen/xen/arch/x86/
A Demul-i8254.c81 counter = c->count - ((2 * d) % c->count); in pit_get_count()
84 counter = c->count - (d % c->count); in pit_get_count()
106 out = (d >= s->count); in pit_get_out()
109 out = (d < s->count); in pit_get_out()
115 out = ((d % s->count) < ((s->count + 1) >> 1)); in pit_get_out()
119 out = (d == s->count); in pit_get_out()
181 s->count = val; in pit_load_count()
319 int ret, count; in pit_ioport_read() local
358 ret = count & 0xff; in pit_ioport_read()
362 ret = (count >> 8) & 0xff; in pit_ioport_read()
[all …]
/xen/xen/arch/x86/boot/
A Dcmdline.c69 static int strncmp(const char *cs, const char *ct, size_t count) in strncmp() argument
73 while ( count ) in strncmp()
81 count--; in strncmp()
98 size_t count = 0; in strspn() local
108 return count; in strspn()
109 ++count; in strspn()
111 return count; in strspn()
118 size_t count = 0; in strcspn() local
125 return count; in strcspn()
127 ++count; in strcspn()
[all …]
/xen/xen/arch/x86/x86_64/compat/
A Dmm.c172 unsigned int count, in compat_mmuext_op() argument
182 if ( unlikely(count == MMU_UPDATE_PREEMPTED) && in compat_mmuext_op()
186 return do_mmuext_op(nat_ops, count, pdone, foreigndom); in compat_mmuext_op()
189 preempt_mask = count & MMU_UPDATE_PREEMPTED; in compat_mmuext_op()
190 count ^= preempt_mask; in compat_mmuext_op()
192 if ( unlikely(!guest_handle_okay(cmp_uops, count)) ) in compat_mmuext_op()
197 for ( ; count; count -= i ) in compat_mmuext_op()
203 for ( i = 0; i < min(limit, count); ++i ) in compat_mmuext_op()
288 BUG_ON(left > count); in compat_mmuext_op()
297 regs->ecx += count - i; in compat_mmuext_op()
[all …]
/xen/tools/include/xen-sys/FreeBSD/
A Dgntdev.h137 uint32_t count; member
151 uint32_t count; member
165 uint32_t count; member
178 uint32_t count; member
188 uint32_t count; member
/xen/xen/include/asm-arm/
A Dsmccc.h177 #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__) argument
178 #define __declare_args(count, ...) ___declare_args(count, __VA_ARGS__) argument
180 #define ___constraints(count) \ argument
181 : __constraint_write_ ## count \
182 : __constraint_read_ ## count \
184 #define __constraints(count) ___constraints(count) argument
252 #define ___arm_smccc_1_0_smc_count(count, ...) \ argument
253 __arm_smccc_1_0_smc_ ## count(__VA_ARGS__)
255 #define __arm_smccc_1_0_smc_count(count, ...) \ argument
256 ___arm_smccc_1_0_smc_count(count, __VA_ARGS__)
/xen/xen/common/compat/
A Dgrant_table.c60 unsigned int count) in compat_grant_table_op() argument
76 count)) ) \ in compat_grant_table_op()
122 return do_grant_table_op(cmd, cmp_uop, count); in compat_grant_table_op()
125 if ( (int)count < 0 ) in compat_grant_table_op()
128 for ( i = 0; i < count && rc == 0; ) in compat_grant_table_op()
149 if ( unlikely(count > 1) ) in compat_grant_table_op()
196 … for ( n = 0; n < COMPAT_ARG_XLAT_SIZE / sizeof(*nat.xfer) && i < count && rc == 0; ++i, ++n ) in compat_grant_table_op()
278 if ( count != 1) in compat_grant_table_op()
298 count, max_frame_list_size_in_pages); in compat_grant_table_op()
333 ASSERT(i < count); in compat_grant_table_op()
[all …]
/xen/xen/include/asm-x86/x86_64/
A Duaccess.h43 #define array_access_ok(addr, count, size) \ argument
44 (likely(((count) ?: 0UL) < (~0UL / (size))) && \
45 access_ok(addr, (count) * (size)))
56 #define compat_array_access_ok(addr,count,size) \ argument
57 (likely((count) < (~0U / (size))) && \
58 compat_access_ok(addr, 0 + (count) * (size)))
/xen/xen/arch/x86/mm/
A Dp2m-pod.c127 p2m->pod.count += 1UL << order; in p2m_pod_cache_add()
178 p2m->pod.count -= 1UL; in p2m_pod_cache_get()
404 p2m->pod.count -= 1; in p2m_pod_empty_cache()
410 BUG_ON(p2m->pod.count != 0); in p2m_pod_empty_cache()
443 p2m->pod.count--; in p2m_pod_offline_or_broken_hit()
454 p2m->pod.count--; in p2m_pod_offline_or_broken_hit()
877 for ( i = 0; i < count; i++ ) in p2m_pod_zero_check()
905 for ( i = 0; i < count; i++ ) in p2m_pod_zero_check()
949 for ( i = 0; i < count; i++ ) in p2m_pod_zero_check()
1171 if ( p2m->pod.count == 0 ) in p2m_pod_demand_populate()
[all …]

Completed in 32 milliseconds

123456789