Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 25 of 26) sorted by relevance

12

/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/
A Dvhd-util-check.c218 if (vhd_util_check_zeros(header->loc, sizeof(header->loc))) in vhd_util_check_validate_differencing_header()
278 if (vhd_util_check_zeros(loc, sizeof(*loc))) in vhd_util_check_validate_parent_locator()
284 if (!loc->data_offset) in vhd_util_check_validate_parent_locator()
287 if (!loc->data_space) in vhd_util_check_validate_parent_locator()
290 if (!loc->data_len) in vhd_util_check_validate_parent_locator()
297 if (loc->data_offset + vhd_parent_locator_size(loc) > in vhd_util_check_validate_parent_locator()
301 if (loc->res) in vhd_util_check_validate_parent_locator()
670 n = sizeof(vhd->header.loc) / sizeof(vhd->header.loc[0]); in vhd_util_check_parent_locators()
674 loc = vhd->header.loc + i; in vhd_util_check_parent_locators()
686 switch (loc->code) { in vhd_util_check_parent_locators()
[all …]
A Dvhd-util-resize.c608 vhd_parent_locator_t *loc; in vhd_check_for_clobber() local
646 loc = vhd->header.loc + i; in vhd_check_for_clobber()
647 if (loc->code == PLAT_CODE_NONE) in vhd_check_for_clobber()
686 vhd_parent_locator_t *loc; in vhd_shift_metadata() local
700 loc = vhd->header.loc + i; in vhd_shift_metadata()
701 if (loc->code == PLAT_CODE_NONE) in vhd_shift_metadata()
704 if (loc->data_offset < eob) in vhd_shift_metadata()
707 size = vhd_parent_locator_size(loc); in vhd_shift_metadata()
733 loc = vhd->header.loc + i; in vhd_shift_metadata()
735 size = vhd_parent_locator_size(loc); in vhd_shift_metadata()
[all …]
A Dvhd-util-scan.c410 vhd_parent_locator_t *loc; in vhd_util_scan_get_parent_locator() local
412 loc = NULL; in vhd_util_scan_get_parent_locator()
416 loc = vhd->header.loc + i; in vhd_util_scan_get_parent_locator()
421 loc = vhd->header.loc + i; in vhd_util_scan_get_parent_locator()
423 if (!loc && vhd->header.loc[i].code != PLAT_CODE_NONE) in vhd_util_scan_get_parent_locator()
424 loc = vhd->header.loc + i; in vhd_util_scan_get_parent_locator()
427 return loc; in vhd_util_scan_get_parent_locator()
493 if (!loc) in vhd_util_scan_get_volume_parent()
496 copy = *loc; in vhd_util_scan_get_volume_parent()
521 loc = NULL; in vhd_util_scan_get_parent()
[all …]
A Dvhd-util-read.c188 vhd_print_parent(vhd_context_t *vhd, vhd_parent_locator_t *loc) in vhd_print_parent() argument
193 err = vhd_parent_locator_read(vhd, loc, &buf); in vhd_print_parent()
206 vhd_parent_locator_t *loc; in vhd_print_parent_locators() local
210 n = sizeof(vhd->header.loc) / sizeof(struct prt_loc); in vhd_print_parent_locators()
212 loc = &vhd->header.loc[i]; in vhd_print_parent_locators()
214 if (loc->code == PLAT_CODE_NONE) in vhd_print_parent_locators()
219 code_name(loc->code)); in vhd_print_parent_locators()
221 conv(hex, loc->data_space)); in vhd_print_parent_locators()
223 conv(hex, loc->data_len)); in vhd_print_parent_locators()
225 conv(hex, loc->data_offset)); in vhd_print_parent_locators()
[all …]
A Dlibvhd.c647 loc = &ctx->header.loc[i]; in vhd_end_of_headers()
651 loc_end = loc->data_offset + vhd_parent_locator_size(loc); in vhd_end_of_headers()
1554 switch (loc->code) { in vhd_parent_locator_read()
1591 switch (loc->code) { in vhd_parent_locator_read()
1618 "off 0x%"PRIx64"\n", ctx->file, loc->code, loc->data_space, in vhd_parent_locator_read()
1619 loc->data_len, loc->data_offset); in vhd_parent_locator_read()
1640 loc = ctx->header.loc + i; in vhd_parent_locator_get()
1762 loc->res = 0; in vhd_parent_locator_write_at()
2666 vhd_parent_locator_t *loc = child->header.loc + i; in vhd_change_parent() local
2669 switch (loc->code) { in vhd_change_parent()
[all …]
A Dlibvhd-journal.c500 vhd_parent_locator_t *loc; in vhd_journal_add_locators() local
502 loc = vhd->header.loc + i; in vhd_journal_add_locators()
503 err = vhd_validate_platform_code(loc->code); in vhd_journal_add_locators()
507 if (loc->code == PLAT_CODE_NONE) in vhd_journal_add_locators()
510 off = loc->data_offset; in vhd_journal_add_locators()
511 size = vhd_parent_locator_size(loc); in vhd_journal_add_locators()
948 vhd_parent_locator_t *loc; in vhd_journal_restore_locators() local
956 loc = vhd->header.loc + i; in vhd_journal_restore_locators()
957 if (loc->code == PLAT_CODE_NONE) in vhd_journal_restore_locators()
964 size = vhd_parent_locator_size(loc); in vhd_journal_restore_locators()
[all …]
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxlu_cfg.c217 value->loc.first_column); in xlu_cfg_value_get_string()
234 value->loc.first_column); in xlu_cfg_value_get_list()
363 YYLTYPE *loc) in xlu__cfg_string_mk() argument
373 memcpy(&value->loc, loc, sizeof(*loc)); in xlu__cfg_string_mk()
387 YYLTYPE *loc) in xlu__cfg_list_mk() argument
404 memcpy(&value->loc, loc, sizeof(*loc)); in xlu__cfg_list_mk()
554 YYLTYPE loc; in xlu__cfgl_lexicalerror() local
555 loc.first_line= xlu__cfg_yyget_lineno(ctx->scanner); in xlu__cfgl_lexicalerror()
556 xlu__cfg_yyerror(&loc, ctx, msg); in xlu__cfgl_lexicalerror()
557 ctx->lexerrlineno= loc.first_line; in xlu__cfgl_lexicalerror()
[all …]
A Dlibxlu_cfg_i.h29 char *atom, YYLTYPE *loc);
32 YYLTYPE *loc);
A Dlibxlu_internal.h49 YYLTYPE loc; member
A Dlibxlu_disk_l.l72 #define SAVESTRING(what,loc,val) do{ \ argument
73 savestring(DPC, what " respecified", &DPC->disk->loc, (val)); \
A Dlibxlu_disk_l.c923 #define SAVESTRING(what,loc,val) do{ \ argument
924 savestring(DPC, what " respecified", &DPC->disk->loc, (val)); \
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/
A D32bitbios_support.c109 uint32_t *loc, fix; in relocate_32bitbios() local
125 loc = (uint32_t *)&code[rels[j].r_offset]; in relocate_32bitbios()
131 *loc += fix - (uint32_t)loc; in relocate_32bitbios()
135 *loc += fix; in relocate_32bitbios()
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/
A Ddisk_read.c242 const struct hash256 *hash, const sector_t *loc, in load_verify_vtpm_pages() argument
253 page->disk_loc = loc[i]; in load_verify_vtpm_pages()
268 const struct hash256 *hash, const sector_t *loc, int hsize,
272 const struct hash256 *hash, const sector_t *loc, int hsize, in load_verify_vtpm_itree() argument
299 disk_set_used(loc[i], mgr); in load_verify_vtpm_itree()
300 hdr->disk_inuse[inuse_base++] = loc[i]; in load_verify_vtpm_itree()
302 rc = disk_read_crypt_sector(&pt, sizeof(pt), loc[i], mgr); in load_verify_vtpm_itree()
304 printk("Malformed sector %d\n", be32_native(loc[i])); in load_verify_vtpm_itree()
420 group->disk_loc = loc[i]; in load_verify_group_itree()
443 disk_set_used(loc[i], dst); in load_verify_group_itree()
[all …]
A Ddisk_write.c128 struct hash256 *hash, sector_t *loc, int hsize,
132 struct hash256 *hash, sector_t *loc, int hsize, in disk_write_vtpm_itree() argument
145 loc[i] = page->disk_loc; in disk_write_vtpm_itree()
161 disk_write_crypt_sector(&loc[i], &pt, sizeof(pt), mgr); in disk_write_vtpm_itree()
172 memcpy(&hdr->disk_inuse[inuse_base], loc, lsize * sizeof(sector_t)); in disk_write_vtpm_itree()
286 struct hash256 *hash, sector_t *loc, int hsize);
289 struct hash256 *hash, sector_t *loc, int hsize) in disk_write_group_itree() argument
297 loc[i] = group->disk_loc; in disk_write_group_itree()
317 disk_write_crypt_sector(&loc[i], &pt, sizeof(pt), mgr); in disk_write_group_itree()
A Ddisk_io.c97 void disk_set_used(sector_t loc, const struct mem_tpm_mgr *mgr) in disk_set_used() argument
99 uint32_t s = be32_native(loc); in disk_set_used()
A Ddisk_io.h11 void disk_set_used(sector_t loc, const struct mem_tpm_mgr *mgr);
/xen-4.10.0-shim-comet/tools/libfsimage/ufs/
A Dfsys_ufs.c231 int loc, off; in dlook() local
238 loc = 0; in dlook()
239 while (loc < INODE->ic_sizelo) { in dlook()
241 off = blkoff(SUPERBLOCK, loc); in dlook()
244 lbn = lblkno(SUPERBLOCK, loc); in dlook()
260 loc += dp->d_reclen; in dlook()
A Dufs.h216 #define blkoff(fs, loc) ((int)((loc & ~(fs)->fs_bmask))) argument
217 #define lblkno(fs, loc) ((grub_int32_t)((loc) >> (fs)->fs_bshift)) argument
/xen-4.10.0-shim-comet/xen/common/ubsan/
A Dubsan.c60 struct source_location *loc) in print_source_location() argument
62 pr_err("%s %s:%d:%d\n", prefix, loc->file_name, in print_source_location()
63 loc->line & LINE_MASK, loc->column & COLUMN_MASK); in print_source_location()
66 static bool suppress_report(struct source_location *loc) in suppress_report() argument
68 return current->in_ubsan || was_reported(loc); in suppress_report()
152 static bool location_is_valid(struct source_location *loc) in location_is_valid() argument
154 return loc->file_name != NULL; in location_is_valid()
/xen-4.10.0-shim-comet/tools/blktap2/include/
A Dlibvhd.h201 vhd_parent_locator_size(vhd_parent_locator_t *loc) in vhd_parent_locator_size() argument
208 if (loc->data_space < 512) in vhd_parent_locator_size()
209 return vhd_sectors_to_bytes(loc->data_space); in vhd_parent_locator_size()
210 else if (loc->data_space % 512 == 0) in vhd_parent_locator_size()
211 return loc->data_space; in vhd_parent_locator_size()
A Dvhd.h154 struct prt_loc loc[8]; /* Parent locator entries. */ member
/xen-4.10.0-shim-comet/docs/
A Dxen-headers170 my $loc = sdefval($ttype,$tname,'DefLocs');
182 ($loc,$ttype,$tname) = ($loc2,$type2,$name2);
184 next unless defined $loc;
185 return "href=\"$loc#${ttype}_$tname\"";
/xen-4.10.0-shim-comet/stubdom/vtpm/
A Dvtpm.c374 unsigned int loc; in parse_cmd_line() local
375 if (sscanf(pch, "%u", &loc) == 1 && loc < 256) { in parse_cmd_line()
376 uint8_t locality_bit = (1 << (loc & 7)); in parse_cmd_line()
377 int locality_byte = loc >> 3; in parse_cmd_line()
/xen-4.10.0-shim-comet/tools/libfsimage/ext2fs/
A Dfsys_ext2fs.c631 int loc; /* location within a directory */ in ext2fs_dir() local
818 loc = 0; in ext2fs_dir()
824 printf ("dirname=%s, rest=%s, loc=%d\n", dirname, rest, loc); in ext2fs_dir()
829 if (loc >= INODE->i_size) in ext2fs_dir()
846 blk = loc >> EXT2_BLOCK_SIZE_BITS (SUPERBLOCK); in ext2fs_dir()
862 off = loc & (EXT2_BLOCK_SIZE (SUPERBLOCK) - 1); in ext2fs_dir()
865 loc += dp->rec_len; in ext2fs_dir()
/xen-4.10.0-shim-comet/tools/python/scripts/
A Dconvert-legacy-stream449 _, loc = unpack_exact("=IQ")
450 info(" ACPI ioport location: 0x%x" % (loc, ))
451 hvm_params.extend([public.HVM_PARAM_ACPI_IOPORTS_LOCATION, loc])
454 _, loc = unpack_exact("=IQ")
455 info(" Viridian location: 0x%x" % (loc, ))
456 hvm_params.extend([public.HVM_PARAM_VIRIDIAN, loc])

Completed in 50 milliseconds

12