Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/xen/tools/libxc/
A Dxc_hcall_buf.c37 b->hbuf = p; in xc__hypercall_buffer_alloc_pages()
39 return b->hbuf; in xc__hypercall_buffer_alloc_pages()
54 b->hbuf = p; in xc__hypercall_buffer_alloc()
56 return b->hbuf; in xc__hypercall_buffer_alloc()
71 if ( b->ubuf == (void *)-1 || b->dir == XC_HYPERCALL_BUFFER_BOUNCE_NONE ) in xc__hypercall_bounce_pre()
77 if ( b->ubuf == NULL ) in xc__hypercall_bounce_pre()
79 b->hbuf = NULL; in xc__hypercall_bounce_pre()
83 p = xc__hypercall_buffer_alloc(xch, b, b->sz); in xc__hypercall_bounce_pre()
88 memcpy(b->hbuf, b->ubuf, b->sz); in xc__hypercall_bounce_pre()
98 if ( b->ubuf == (void *)-1 || b->dir == XC_HYPERCALL_BUFFER_BOUNCE_NONE ) in xc__hypercall_bounce_post()
[all …]
/xen/xen/common/
A Dunxz.c166 struct xz_buf b; in unxz() local
185 b.out = out; in unxz()
201 b.in = in; in unxz()
202 b.in_pos = 0; in unxz()
204 b.out_pos = 0; in unxz()
210 if (b.in_pos == b.in_size && fill != NULL) { in unxz()
214 b.in_pos = 0; in unxz()
232 if (flush != NULL && (b.out_pos == b.out_size in unxz()
239 if (flush(b.out, b.out_pos) != (int)b.out_pos) in unxz()
250 free(b.out); in unxz()
[all …]
A Dxmalloc_tlsf.c195 return b; in FIND_SUITABLE_BLOCK()
278 struct bhdr *b, *lb; in ADD_REGION() local
281 b->prev_hdr = NULL; in ADD_REGION()
287 lb = GET_NEXT_BLOCK(b->ptr.buffer, b->size & BLOCK_SIZE_MASK); in ADD_REGION()
288 lb->prev_hdr = b; in ADD_REGION()
417 next_b = GET_NEXT_BLOCK(b->ptr.buffer, b->size & BLOCK_SIZE_MASK); in xmem_pool_alloc()
433 b->size = size | (b->size & PREV_STATE); in xmem_pool_alloc()
468 tmp_b = GET_NEXT_BLOCK(b->ptr.buffer, b->size & BLOCK_SIZE_MASK); in xmem_pool_free()
481 b = tmp_b; in xmem_pool_free()
483 tmp_b = GET_NEXT_BLOCK(b->ptr.buffer, b->size & BLOCK_SIZE_MASK); in xmem_pool_free()
[all …]
A Dlist_sort.c30 struct list_head *b), in merge() argument
35 while (a && b) { in merge()
41 tail->next = b; in merge()
42 b = b->next; in merge()
46 tail->next = a?:b; in merge()
66 while (a && b) { in merge_and_restore_back_links()
73 tail->next = b; in merge_and_restore_back_links()
74 b->prev = tail; in merge_and_restore_back_links()
75 b = b->next; in merge_and_restore_back_links()
79 tail->next = a ? : b; in merge_and_restore_back_links()
[all …]
A Dinflate.c371 p = b; i = n; in huft_build()
430 p = b; i = 0; in huft_build()
622 DUMPBITS(t->b) in inflate_codes()
654 DUMPBITS(t->b) in inflate_codes()
857 b = bb; in inflate_dynamic()
914 j = (td = tl + ((unsigned)b & m))->b; in inflate_dynamic()
967 bb = b; in inflate_dynamic()
1042 b = bb; in inflate_block()
1048 *e = (int)b & 1; in inflate_block()
1054 t = (unsigned)b & 3; in inflate_block()
[all …]
/xen/xen/common/xz/
A Ddec_stream.c301 ret = dec_vli(s, b->in, &b->in_pos, b->in_size); in dec_index()
349 if (b->in_pos == b->in_size) in crc32_validate()
373 if (b->in_pos == b->in_size) in check_skip()
588 if (b->in_pos == b->in_size) in dec_main()
592 if (b->in[b->in_pos] == 0) { in dec_main()
603 = ((uint32_t)b->in[b->in_pos] + 1) * 4; in dec_main()
635 if (b->in_pos == b->in_size) in dec_main()
638 if (b->in[b->in_pos++] != 0) in dec_main()
671 if (b->in_pos == b->in_size) { in dec_main()
676 if (b->in[b->in_pos++] != 0) in dec_main()
[all …]
A Ddec_bcj.c85 return b == 0x00 || b == 0xFF; in bcj_x86_test_msbyte()
101 uint8_t b; in bcj_x86() local
404 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush()
429 bcj_flush(s, b); in xz_dec_bcj_run()
451 memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); in xz_dec_bcj_run()
459 bcj_apply(s, b->out, &out_start, b->out_pos); in xz_dec_bcj_run()
471 memcpy(s->temp.buf, b->out + b->out_pos, s->temp.size); in xz_dec_bcj_run()
478 if (b->out_pos + s->temp.size < b->out_size) in xz_dec_bcj_run()
490 if (b->out_pos < b->out_size) { in xz_dec_bcj_run()
492 s->out = b->out; in xz_dec_bcj_run()
[all …]
A Ddec_lzma2.c289 dict->buf = b->out + b->out_pos; in dict_reset()
380 && b->out_pos < b->out_size) { in dict_uncompressed()
382 b->out_size - b->out_pos); in dict_uncompressed()
400 memcpy(b->out + b->out_pos, b->in + b->in_pos, in dict_uncompressed()
452 if (b->in_pos == b->in_size) in rc_read_init()
851 in_avail = b->in_size - b->in_pos; in lzma2_lzma()
893 in_avail = b->in_size - b->in_pos; in lzma2_lzma()
914 in_avail = b->in_size - b->in_pos; in lzma2_lzma()
970 tmp = b->in[b->in_pos++]; in xz_dec_lzma2_run()
1071 b->out_size - b->out_pos, in xz_dec_lzma2_run()
[all …]
/xen/xen/arch/x86/
A Dusercopy.c40 _ASM_EXTABLE(4b, 5b) in __copy_to_user_ll()
41 _ASM_EXTABLE(0b, 3b) in __copy_to_user_ll()
42 _ASM_EXTABLE(1b, 2b) in __copy_to_user_ll()
85 _ASM_EXTABLE(4b, 5b) in __copy_from_user_ll()
86 _ASM_EXTABLE(0b, 3b) in __copy_from_user_ll()
87 _ASM_EXTABLE(1b, 6b) in __copy_from_user_ll()
141 _ASM_EXTABLE(0b,3b) in clear_user()
142 _ASM_EXTABLE(1b,2b) in clear_user()
/xen/xen/include/asm-arm/
A Dalternative.h105 altinstruction_entry 661b, 663f, \cap, 662b-661b, 664f-663f
110 .org . - (664b-663b) + (662b-661b)
111 .org . - (662b-661b) + (664b-663b)
184 .org . - (664b-663b) + (662b-661b)
185 .org . - (662b-661b) + (664b-663b)
195 nops (662b-661b) / ARCH_PATCH_INSN_SIZE
A Dbug.h24 #define bug_loc(b) ((const void *)(b) + (b)->loc_disp) argument
25 #define bug_file(b) ((const void *)(b) + (b)->file_disp); argument
26 #define bug_line(b) ((b)->line) argument
27 #define bug_msg(b) ((const char *)(b) + (b)->msg_disp) argument
/xen/xen/arch/arm/arm64/lib/
A Dmemset.S84 b.eq .Laligned
100 b.ge .Lnot_short
103 b.eq 3f
105 b.eq 1f
106 b.lt 2f
138 b.ge 1b
141 b.ne .Ltail63
151 b.le .Ltail63
170 b.ne .Lnot_short
202 b.ge 1b
[all …]
A Dmemmove.S61 b.lo memcpy
64 b.hs memcpy /* No overlap. */
72 b.eq .LSrcAligned
97 b.ge .Lcpy_over64
109 b.eq .Ltail15
111 b.eq 1f
112 b.lt 2f
144 b.ge .Lcpy_body_large
159 b.ne .Ltail63
187 b.ge 1b
[all …]
A Dmemcpy.S62 b.lo .Ltiny15
66 b.eq .LSrcAligned
92 b.ge .Lcpy_over64
103 b.eq .Ltiny15
105 b.eq 1f
106 b.lt 2f
148 b.ge .Lcpy_body_large
163 b.ne .Ltail63
191 b.ge 1b
198 b.ne .Ltail63
/xen/tools/xenstore/
A Dutils.h10 #define streq(a,b) (strcmp((a),(b)) == 0) argument
13 #define strstarts(a,b) (strncmp((a),(b),strlen(b)) == 0) argument
16 static inline bool strends(const char *a, const char *b) in strends() argument
18 if (strlen(a) < strlen(b)) in strends()
21 return streq(a + strlen(a) - strlen(b), b); in strends()
/xen/xen/include/asm-x86/
A Dbug.h25 #define bug_loc(b) ((const void *)(b) + (b)->loc_disp) argument
26 #define bug_ptr(b) ((const void *)(b) + (b)->ptr_disp) argument
27 #define bug_line(b) (((((b)->line_hi + ((b)->loc_disp < 0)) & \ argument
30 (((b)->line_lo + ((b)->ptr_disp < 0)) & \
32 #define bug_msg(b) ((const char *)(b) + (b)->msg_disp[1]) argument
A Ddesc.h112 uint32_t a, b; member
118 uint64_t a, b; member
142 ASSERT(gate->b == new->b); in _write_gate_lower()
150 (gate_addr)->b = \
166 idte.b = gate->b; in _set_gate_lower()
184 idte.b = ((unsigned long)(addr) >> 32); in _update_gate_addr_lower()
194 (desc)[0].b = (desc)[1].b = 0; \
200 (desc)[0].b = \
/xen/xen/include/acpi/
A Dacmacros.h57 #define ACPI_MIN(a,b) (((a)<(b))?(a):(b)) argument
58 #define ACPI_MAX(a,b) (((a)>(b))?(a):(b)) argument
356 (b) & 0xFF, ((b) >> 8) & 0xFF, \
402 #define ARGI_LIST2(a,b) (ARG_1(b)|ARG_2(a)) argument
403 #define ARGI_LIST3(a,b,c) (ARG_1(c)|ARG_2(b)|ARG_3(a)) argument
404 #define ARGI_LIST4(a,b,c,d) (ARG_1(d)|ARG_2(c)|ARG_3(b)|ARG_4(a)) argument
405 #define ARGI_LIST5(a,b,c,d,e) (ARG_1(e)|ARG_2(d)|ARG_3(c)|ARG_4(b)|ARG_5(a)) argument
409 #define ARGP_LIST2(a,b) (ARG_1(a)|ARG_2(b)) argument
410 #define ARGP_LIST3(a,b,c) (ARG_1(a)|ARG_2(b)|ARG_3(c)) argument
411 #define ARGP_LIST4(a,b,c,d) (ARG_1(a)|ARG_2(b)|ARG_3(c)|ARG_4(d)) argument
[all …]
/xen/tools/ocaml/xenstored/
A Dtrie.mli18 type ('a, 'b) t
21 of type ['a * 'b option]. *)
23 val create : unit -> ('a,'b) t
30 val find : ('a, 'b) t -> 'a list -> 'b
34 val set : ('a, 'b) t -> 'a list -> 'b -> ('a, 'b) t
37 val unset : ('a, 'b) t -> 'a list -> ('a, 'b) t
42 val iter : ('a -> 'b option -> unit) -> ('a, 'b) t -> unit
47 val iter_path : ('a -> 'b option -> unit) -> ('a, 'b) t -> 'a list -> unit
51 val fold : ('a -> 'b option -> 'c -> 'c) -> ('a, 'b) t -> 'c -> 'c
54 val map : ('b -> 'c option) -> ('a,'b) t -> ('a,'c) t
[all …]
/xen/tools/libfsimage/zfs/
A Dzfs_fletcher.c67 uint64_t a, b, c, d; in fletcher_4_native() local
69 for (a = b = c = d = 0; ip < ipend; ip++) { in fletcher_4_native()
71 b += a; in fletcher_4_native()
72 c += b; in fletcher_4_native()
76 ZIO_SET_CHECKSUM(zcp, a, b, c, d); in fletcher_4_native()
84 uint64_t a, b, c, d; in fletcher_4_byteswap() local
86 for (a = b = c = d = 0; ip < ipend; ip++) { in fletcher_4_byteswap()
88 b += a; in fletcher_4_byteswap()
89 c += b; in fletcher_4_byteswap()
93 ZIO_SET_CHECKSUM(zcp, a, b, c, d); in fletcher_4_byteswap()
/xen/xen/arch/x86/pv/
A Demulate.c42 desc.b = desc.a = 0; in pv_emul_read_descriptor()
46 desc.b &= ~_SEGMENT_L; in pv_emul_read_descriptor()
48 *ar = desc.b & 0x00f0ff00; in pv_emul_read_descriptor()
49 if ( !(desc.b & _SEGMENT_L) ) in pv_emul_read_descriptor()
51 *base = ((desc.a >> 16) + ((desc.b & 0xff) << 16) + in pv_emul_read_descriptor()
52 (desc.b & 0xff000000)); in pv_emul_read_descriptor()
53 *limit = (desc.a & 0xffff) | (desc.b & 0x000f0000); in pv_emul_read_descriptor()
54 if ( desc.b & _SEGMENT_G ) in pv_emul_read_descriptor()
/xen/tools/libxl/
A Dlibxlu_cfg_l.c1418 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
1712 if ( ! b ) in yy_create_buffer()
1728 return b; in yy_create_buffer()
1739 if ( ! b ) in yy_delete_buffer()
1787 if ( ! b ) in yy_flush_buffer()
1799 b->yy_buf_pos = &b->yy_ch_buf[0]; in yy_flush_buffer()
1926 if ( ! b ) in yy_scan_buffer()
1930 b->yy_buf_pos = b->yy_ch_buf = base; in yy_scan_buffer()
1933 b->yy_n_chars = b->yy_buf_size; in yy_scan_buffer()
1941 return b; in yy_scan_buffer()
[all …]
/xen/xen/arch/arm/arm32/lib/
A Dfindbit.S35 blo 1b
46 bls 3b
57 b 2b @ loop for next bit
76 blo 1b
87 bls 3b
97 b 2b @ loop for next bit
114 blo 1b
121 bls 3b
133 b 2b @ loop for next bit
148 blo 1b
[all …]
/xen/tools/tests/x86_emulator/
A Devex-disp8.c202 INSN_PFP_NB(movnt, 0f, 2b),
454 INSN(pextrb, 66, 0f3a, 14, el, b, el),
457 INSN(pinsrb, 66, 0f3a, 20, el, b, el),
543 INSN(4fmaddss, f2, 0f38, 9b, el_4, d, vl),
561 INSN(pshufbitqmb, 66, 0f38, 8f, vl, b, vl),
570 INSN(permb, 66, 0f38, 8d, vl, b, vl),
612 INSN(aesdec, 66, 0f38, de, vl, b, vl),
613 INSN(aesdeclast, 66, 0f38, df, vl, b, vl),
614 INSN(aesenc, 66, 0f38, dc, vl, b, vl),
615 INSN(aesenclast, 66, 0f38, dd, vl, b, vl),
[all …]
/xen/xen/tools/kconfig/
A Dnconf.h25 #define max(a, b) ({\ argument
27 typeof(b) _b = b;\
30 #define min(a, b) ({\ argument
32 typeof(b) _b = b;\

Completed in 64 milliseconds

12345678910>>...12