Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 31) sorted by relevance

12

/tools/xenstored/
A Dutils.c29 int bytes; in barf() local
35 bytes = vasprintf(&str, fmt, arglist); in barf()
38 if (bytes >= 0) { in barf()
49 int bytes, err = errno; in barf_perror() local
55 bytes = vasprintf(&str, fmt, arglist); in barf_perror()
58 if (bytes >= 0) { in barf_perror()
A Dtalloc_guide.txt125 around 48 bytes of memory on intel x86 platforms).
322 The talloc_total_size() function returns the total size in bytes used
384 talloc report on 'null_context' (total 267 bytes in 15 blocks)
385 libcli/auth/spnego_parse.c:55 contains 31 bytes in 2 blocks
386 libcli/auth/spnego_parse.c:55 contains 31 bytes in 2 blocks
387 iconv(UTF8,CP850) contains 42 bytes in 2 blocks
388 libcli/auth/spnego_parse.c:55 contains 31 bytes in 2 blocks
389 iconv(CP850,UTF8) contains 42 bytes in 2 blocks
390 iconv(UTF8,UTF-16LE) contains 45 bytes in 2 blocks
391 iconv(UTF-16LE,UTF8) contains 45 bytes in 2 blocks
[all …]
A Dcore.c2154 int bytes; in handle_input() local
2170 bytes = conn->funcs->read(conn, in->hdr.raw + in->used, in handle_input()
2172 if (bytes < 0) { in handle_input()
2176 in->used += bytes; in handle_input()
2206 bytes = conn->funcs->read(conn, in->buffer + in->used, in handle_input()
2208 if (bytes < 0) { in handle_input()
2213 in->used += bytes; in handle_input()
/tools/xenpaging/
A Dfile_ops.c30 int bytes; in file_op() local
38 bytes = fn(fd, page + total, XC_PAGE_SIZE - total); in file_op()
39 if ( bytes <= 0 ) in file_op()
42 total += bytes; in file_op()
/tools/libs/light/
A Dlibxl_genid.c38 ret = libxl__random_bytes(gc, id->bytes, LIBXL_MS_VM_GENID_LEN); in libxl_ms_vm_genid_generate()
51 return memcmp(id->bytes, zero.bytes, LIBXL_MS_VM_GENID_LEN) == 0; in libxl_ms_vm_genid_is_zero()
69 memcpy(genid, id->bytes, LIBXL_MS_VM_GENID_LEN); in libxl__ms_vm_genid_set()
A Dlibxl_x86.c599 uint64_t remaining_bytes = (p->memkb << 10), bytes; in libxl__arch_vnuma_build_vmemrange() local
618 bytes = map[e820_count].size >= remaining_bytes ? in libxl__arch_vnuma_build_vmemrange()
622 vmemranges[nr_vmemrange].end = map[e820_count].addr + bytes; in libxl__arch_vnuma_build_vmemrange()
625 map[e820_count].addr += bytes; in libxl__arch_vnuma_build_vmemrange()
626 map[e820_count].size -= bytes; in libxl__arch_vnuma_build_vmemrange()
631 remaining_bytes -= bytes; in libxl__arch_vnuma_build_vmemrange()
A Dlibxl_save_msgs_gen.pl195 const uint8_t *bytes, uint32_t size)
A Dlibxl_json.c390 s = yajl_gen_integer(hand, p->bytes[i]); in libxl_ms_vm_genid_gen_json()
413 p->bytes[i] = libxl__json_object_get_integer(t); in libxl__ms_vm_genid_parse_json()
/tools/libs/util/
A Dlibxlu_vif.c14 static int vif_parse_rate_bytes_per_sec(XLU_Config *cfg, const char *bytes, in vif_parse_rate_bytes_per_sec() argument
23 if (regexec(&rec, bytes, 0, NULL, 0)) { in vif_parse_rate_bytes_per_sec()
24 xlu__vif_err(cfg, "invalid rate", bytes); in vif_parse_rate_bytes_per_sec()
29 p = bytes; in vif_parse_rate_bytes_per_sec()
32 xlu__vif_err(cfg, "rate overflow", bytes); in vif_parse_rate_bytes_per_sec()
A Dlibxlu_disk_l.h425 YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len , yyscan_t yyscanner );
A Dlibxlu_cfg_l.h445 YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len , yyscan_t yyscanner );
A Dlibxlu_cfg_l.c544 YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len , yyscan_t yyscanner );
/tools/fuzz/x86_instruction_emulator/
A Dfuzz-emul.c137 if ( !input_avail(s, bytes) ) in data_read()
155 input_read(s, dst, bytes); in data_read()
158 for ( i = 0; i < bytes; i++ ) in data_read()
170 unsigned int bytes, in fuzz_read() argument
187 return data_read(ctxt, seg, "read", p_data, bytes); in fuzz_read()
192 unsigned int bytes, in fuzz_read_io() argument
202 unsigned int bytes, in fuzz_insn_fetch() argument
216 if ( bytes == 0 ) in fuzz_insn_fetch()
339 unsigned int bytes, in fuzz_write() argument
354 unsigned int bytes, in fuzz_cmpxchg() argument
[all …]
/tools/libs/guest/
A Dxg_private.c32 unsigned int bytes; in xc_read_image() local
63 bytes = gzread(kernel_gfd, image + *size, CHUNK); in xc_read_image()
64 switch (bytes) in xc_read_image()
80 *size += bytes; in xc_read_image()
/tools/ocaml/libs/xb/
A Dxb.mli68 type partial_buf = HaveHdr of Partial.pkt | NoHdr of int * bytes
74 val read_fd : backend_fd -> 'a -> bytes -> int -> int
75 val read_mmap : backend_mmap -> 'a -> bytes -> int -> int
76 val read : t -> bytes -> int -> int
A Dxs_ring.ml27 external read: Xenmmap.mmap_interface -> bytes -> int -> int = "ml_interface_read"
A Dxb.ml135 type partial_buf = HaveHdr of Partial.pkt | NoHdr of int * bytes
169 …Printf.sprintf "XenBus state: partial_in: %d needed, partial_out: %d bytes, pkt_out: %d packets, %…
/tools/tests/x86_emulator/
A Dtest_x86_emulator.c552 unsigned int bytes, in read() argument
569 memset(p_data, 0, bytes); in read()
579 memcpy(p_data, &value, bytes); in read()
590 memcpy(p_data, &value, bytes); in read()
598 bytes_read += bytes; in read()
608 unsigned int bytes, in fetch() argument
622 unsigned int bytes, in write() argument
637 unsigned int bytes, in rmw() argument
650 unsigned int bytes, in cmpxchg() argument
659 memcpy((void *)offset, new, bytes); in cmpxchg()
[all …]
A Devex-disp8.c748 unsigned int bytes) in record_access() argument
750 while ( bytes-- ) in record_access()
761 unsigned int bytes, struct x86_emulate_ctxt *ctxt) in read() argument
763 if ( !record_access(seg, offset, bytes + !bytes) ) in read()
765 memset(p_data, 0, bytes); in read()
770 unsigned int bytes, struct x86_emulate_ctxt *ctxt) in write() argument
772 if ( !record_access(seg, offset, bytes + !bytes) ) in write()
A Dx86-emulate.h128 unsigned int bytes,
/tools/libs/ctrl/
A Dxc_domain.c1341 uint64_t *bytes) in xc_availheap() argument
1353 *bytes = sysctl.u.availheap.avail_bytes; in xc_availheap()
2209 size_t bytes = sizeof(uint32_t) * num_llc_colors; in xc_domain_set_llc_colors() local
2211 local = xc_hypercall_buffer_alloc(xch, local, bytes); in xc_domain_set_llc_colors()
2217 memcpy(local, llc_colors, bytes); in xc_domain_set_llc_colors()
/tools/golang/xenlight/
A Dxenlight.go394 mvg[i] = byte(cmvg.bytes[i])
402 cmvg.bytes[i] = C.uint8_t(v)
/tools/firmware/vgabios/
A Dclext.c896 stosw ;; bytes per scan line
1359 ;; out - al:bytes per pixel
/tools/firmware/rombios/
A Drombios.c6683 sub di, #0x0200 ; sub 512 bytes from offset
6823 sub si, #0x0200 ; sub 512 bytes from offset
8933 mov 0x0448, al ;; diskette controller bytes written
10645 shl ax, #5 ;; convert 512-bytes blocks to 16-byte increments
10669 mov cx, #0x001f ; 0x1f bytes to copy
10742 db 0,0,0,0,0,0,0,0 ; 8 bytes
10743 db 0,0,0,0,0,0,0,0 ; 16 bytes
10744 db 0,0,0,0,0,0,0,0 ; 24 bytes
10745 db 0,0,0,0,0,0,0 ; 31 bytes
11131 db 0x08 ; Table size (bytes) -Lo
[all …]
/tools/include/
A Dlibxl.h1623 uint8_t bytes[LIBXL_MS_VM_GENID_LEN]; member

Completed in 113 milliseconds

12