| /freebsd-14.2/lib/libpmcstat/ |
| H A D | libpmcstat_image.c | 98 image->pi_symbols = symptr; in pmcstat_image_add_symbols() 103 symptr += image->pi_symcount; in pmcstat_image_add_symbols() 148 if (image->pi_symcount == 0) in pmcstat_image_add_symbols() 157 image->pi_symbols = reallocarray(image->pi_symbols, in pmcstat_image_add_symbols() 163 qsort(image->pi_symbols, image->pi_symcount, sizeof(*symptr), in pmcstat_image_add_symbols() 172 symptr < image->pi_symbols + (image->pi_symcount - 1); in pmcstat_image_add_symbols() 228 pcmnew->ppm_image = image; in pmcstat_image_link() 322 image->pi_isdynamic = 0; in pmcstat_image_get_elf_params() 324 image->pi_vaddr = 0; in pmcstat_image_get_elf_params() 451 image->pi_start = minva; in pmcstat_image_get_elf_params() [all …]
|
| H A D | libpmcstat_symbol.c | 60 struct pmcstat_image *image; in pmcstat_symbol_search_by_name() local 73 image = pcm->ppm_image; in pmcstat_symbol_search_by_name() 74 if (image->pi_name == NULL) in pmcstat_symbol_search_by_name() 76 name1 = pmcstat_string_unintern(image->pi_name); in pmcstat_symbol_search_by_name() 83 if (!found || image->pi_symbols == NULL) in pmcstat_symbol_search_by_name() 88 for (i = 0; i < image->pi_symcount; i++) { in pmcstat_symbol_search_by_name() 89 sym = &image->pi_symbols[i]; in pmcstat_symbol_search_by_name() 100 *addr_start = (image->pi_vaddr - image->pi_start + in pmcstat_symbol_search_by_name() 102 *addr_end = (image->pi_vaddr - image->pi_start + in pmcstat_symbol_search_by_name() 136 if (image->pi_symbols == NULL) in pmcstat_symbol_search() [all …]
|
| H A D | libpmcstat_process.c | 65 (void) image; in pmcstat_process_aout_exec() 82 assert(image->pi_type == PMCSTAT_IMAGE_ELF32 || in pmcstat_process_elf_exec() 83 image->pi_type == PMCSTAT_IMAGE_ELF64); in pmcstat_process_elf_exec() 90 pmcstat_image_link(pp, image, image->pi_vaddr + dynaddr); in pmcstat_process_elf_exec() 100 if (image->pi_isdynamic) { in pmcstat_process_elf_exec() 151 struct pmcstat_image *image; in pmcstat_process_exec() local 153 if ((image = pmcstat_image_from_path(path, 0, in pmcstat_process_exec() 159 if (image->pi_type == PMCSTAT_IMAGE_UNKNOWN) in pmcstat_process_exec() 160 pmcstat_image_determine_type(image, args); in pmcstat_process_exec() 162 assert(image->pi_type != PMCSTAT_IMAGE_UNKNOWN); in pmcstat_process_exec() [all …]
|
| /freebsd-14.2/contrib/processor-trace/libipt/src/ |
| H A D | pt_image.c | 111 if (!image) in pt_image_init() 114 memset(image, 0, sizeof(*image)); in pt_image_init() 121 if (!image) in pt_image_fini() 127 memset(image, 0, sizeof(*image)); in pt_image_fini() 134 image = malloc(sizeof(*image)); in pt_image_alloc() 135 if (image) in pt_image_alloc() 138 return image; in pt_image_alloc() 144 free(image); in pt_image_free() 149 if (!image) in pt_image_name() 429 if (!image) in pt_image_remove_by_asid() [all …]
|
| H A D | pt_insn.c | 228 struct pt_image *image, in pt_insn_decode_retry() argument 247 size = pt_image_read(image, &isid, &insn->raw[isize], remaining, asid, in pt_insn_decode_retry() 289 return pt_insn_decode_retry(insn, iext, image, asid); in pt_insn_decode_retry() 310 struct pt_image *image, const struct pt_asid *asid) in pt_insn_decode() argument 318 size = pt_image_read(image, &insn->isid, insn->raw, sizeof(insn->raw), in pt_insn_decode() 339 return pt_insn_decode_retry(insn, iext, image, asid); in pt_insn_decode() 346 enum pt_exec_mode mode, struct pt_image *image, in pt_insn_range_is_contiguous() argument 363 errcode = pt_insn_decode(&insn, &iext, image, asid); in pt_insn_range_is_contiguous()
|
| /freebsd-14.2/contrib/processor-trace/libipt/test/src/ |
| H A D | ptunit-image.c | 97 struct pt_image image; member 423 struct pt_image image; in init() local 425 memset(&image, 0xcd, sizeof(image)); in init() 428 ptu_null(image.name); in init() 438 memset(&ifix->image, 0xcd, sizeof(ifix->image)); in init_name() 461 struct pt_image image; in fini() local 472 pt_image_fini(&image); in fini() 483 struct pt_image image; in fini_empty() local 486 pt_image_fini(&image); in fini_empty() 512 struct pt_image image; in name_none() local [all …]
|
| H A D | ptunit-msec_cache.c | 126 if (!image || !msec) in pt_image_validate() 129 section = image->section; in pt_image_validate() 146 if (!image || !msec || !asid) in pt_image_find() 149 section = image->section; in pt_image_find() 170 struct pt_image image; member 208 struct pt_image image; in read_null() local 211 status = pt_msec_cache_read(NULL, &msec, &image, 0ull); in read_null() 227 struct pt_image image; in fill_null() local 345 memset(&tfix->image, 0, sizeof(tfix->image)); in sfix_init() 354 tfix->image.section = &tfix->section; in ifix_init() [all …]
|
| /freebsd-14.2/release/ |
| H A D | Makefile.oci | 15 cp -p ${.OBJDIR}/container-image-${_IMG}.txz ${DESTDIR}/ociimages 21 OCI_DEPS_dynamic= container-image-static.txz 22 OCI_DEPS_minimal= container-image-dynamic.txz 25 OCI_TARGETS+= container-image-${_IMG}.txz 26 container-image-${_IMG}.txz: ${OCI_DEPS_${_IMG}} 27 sh ${.CURDIR}/scripts/make-oci-image.sh ${.CURDIR} ${REVISION} ${BRANCH} ${TARGET_ARCH} ${_IMG} 30 …oci-archive:${.OBJDIR}/container-image-${_IMG}.tar:freebsd${REVISION:R}-${_IMG}:${REVISION}-${BRAN… 31 ${XZ_CMD} < ${.OBJDIR}/container-image-${_IMG}.tar > ${.OBJDIR}/container-image-${_IMG}.txz
|
| /freebsd-14.2/usr.sbin/pmcstat/ |
| H A D | pmcpl_gprof.c | 125 struct pmcstat_image *image) in pmcstat_gmon_create_file() argument 138 gm.lpc = image->pi_start; in pmcstat_gmon_create_file() 139 gm.hpc = image->pi_end; in pmcstat_gmon_create_file() 253 arc.raw_frompc = rawfrom + image->pi_vaddr; in pmcstat_gmon_append_arc() 254 arc.raw_selfpc = rawto + image->pi_vaddr; in pmcstat_gmon_append_arc() 416 struct pmcstat_image *image; in pmcpl_gmon_process() local 434 image = map->ppm_image; in pmcpl_gmon_process() 471 image, pmcid); in pmcpl_gmon_process() 473 assert(image->pi_end > image->pi_start); in pmcpl_gmon_process() 474 pgf->pgf_nbuckets = howmany(image->pi_end - image->pi_start, in pmcpl_gmon_process() [all …]
|
| H A D | pmcpl_annotate_cg.c | 88 struct pmcstat_image *image; in pmcpl_annotate_cg_process() local 98 image = NULL; in pmcpl_annotate_cg_process() 106 image = map->ppm_image; in pmcpl_annotate_cg_process() 108 (image->pi_vaddr - image->pi_start)); in pmcpl_annotate_cg_process() 109 sym = pmcstat_symbol_search(image, newpc); in pmcpl_annotate_cg_process() 112 if (map != NULL && image != NULL && sym != NULL) { in pmcpl_annotate_cg_process() 113 (void) pmcstat_image_addr2line(image, cc[i], in pmcpl_annotate_cg_process()
|
| H A D | pmcpl_annotate.c | 85 struct pmcstat_image *image; in pmcpl_annotate_process() local 98 image = map->ppm_image; in pmcpl_annotate_process() 100 (image->pi_vaddr - image->pi_start)); in pmcpl_annotate_process() 101 sym = pmcstat_symbol_search(image, newpc); in pmcpl_annotate_process() 109 image->pi_vaddr), (uintmax_t)(sym->ps_end + in pmcpl_annotate_process() 110 image->pi_vaddr)); in pmcpl_annotate_process()
|
| H A D | pmcpl_callgraph.c | 101 cg->pcg_image = image; in pmcstat_cgnode_allocate() 135 struct pmcstat_image *image; in pmcstat_cgnode_hash_lookup_pc() local 145 image = ppm->ppm_image; in pmcstat_cgnode_hash_lookup_pc() 147 loadaddress = ppm->ppm_lowpc + image->pi_vaddr - image->pi_start; in pmcstat_cgnode_hash_lookup_pc() 184 cg = pmcstat_cgnode_allocate(image, pc); in pmcstat_cgnode_hash_lookup_pc() 230 if (child->pcg_image == image && in pmcstat_cgnode_find() 239 child = pmcstat_cgnode_allocate(image, pcoffset); in pmcstat_cgnode_find() 333 struct pmcstat_image *image; in pmcpl_cg_process() local 390 image = ppm->ppm_image; in pmcpl_cg_process() 392 image->pi_start; in pmcpl_cg_process() [all …]
|
| /freebsd-14.2/contrib/elftoolchain/libelf/ |
| H A D | libelf_memory.c | 42 _libelf_memory(unsigned char *image, size_t sz, int reporterror) in _libelf_memory() argument 49 assert(image != NULL); in _libelf_memory() 56 e->e_rawfile = image; in _libelf_memory() 64 if (sz > EI_NIDENT && LIBELF_IS_ELF(image)) { in _libelf_memory() 65 e_byteorder = image[EI_DATA]; in _libelf_memory() 66 e_class = image[EI_CLASS]; in _libelf_memory() 67 e_version = image[EI_VERSION]; in _libelf_memory() 92 strncmp((const char *) image, ARMAG, (size_t) SARMAG) == 0) in _libelf_memory()
|
| /freebsd-14.2/contrib/processor-trace/libipt/internal/include/ |
| H A D | pt_image.h | 70 extern void pt_image_init(struct pt_image *image, const char *name); 76 extern void pt_image_fini(struct pt_image *image); 88 extern int pt_image_add(struct pt_image *image, struct pt_section *section, 97 extern int pt_image_remove(struct pt_image *image, struct pt_section *section, 108 extern int pt_image_read(struct pt_image *image, int *isid, uint8_t *buffer, 122 extern int pt_image_find(struct pt_image *image, struct pt_mapped_section *msec, 136 extern int pt_image_validate(const struct pt_image *image,
|
| /freebsd-14.2/contrib/file/magic/Magdir/ |
| H A D | terminfo | 9 # Workaround for Targa image type by Joerg Jenderek 11 # Targa image type 1 with 26 long identification field 39 0 beshort 0433 SVr2 curses screen image, big-endian 41 0 beshort 0434 SVr3 curses screen image, big-endian 42 0 beshort 0435 SVr4 curses screen image, big-endian 44 0 leshort 0433 SVr2 curses screen image, little-endian 45 0 leshort 0434 SVr3 curses screen image, little-endian 46 0 leshort 0435 SVr4 curses screen image, little-endian 56 >7 regex \^BG=[0-9]+,[0-9]+, Solaris xcurses screen image 60 0 string \210\210\210\210ncurses ncurses6 screen image [all …]
|
| H A D | jpeg | 13 !:mime image/jls 18 !:mime image/jpeg 96 # D9: End of image 112 !:mime image/x-hsi 128 # aliases image/jpeg2000, image/jpeg2000-image, image/x-jpeg2000-image 129 !:mime image/jp2 135 !:mime image/jpx 141 !:mime image/jpm 178 !:mime image/jxr 242 !:mime image/jxl [all …]
|
| H A D | images | 57 0 name tga-image 59 !:mime image/x-tga 313 !:mime image/tiff 317 !:mime image/tiff 468 !:mime image/tiff 495 !:mime image/png 503 !:mime image/png 530 !:mime image/gif 672 !:mime image/cgm 696 !:mime image/cgm [all …]
|
| H A D | cad | 44 >>>>0 use ingr-image 111 0 name ingr-image 182 !:mime image/vnd.dwg 184 !:mime image/vnd.dwg 186 !:mime image/vnd.dwg 188 !:mime image/vnd.dwg 190 !:mime image/vnd.dwg 192 !:mime image/vnd.dwg 194 !:mime image/vnd.dwg 196 !:mime image/vnd.dwg [all …]
|
| H A D | console | 14 0 name nes-rom-image-ines 49 0 string NES\x1A NES ROM image (iNES) 51 >0 use nes-rom-image-ines 56 >0 use nes-rom-image-ines 245 >0x104 string \ IAC Sega Pico ROM image 329 >0 byte x ROM image: 515 >0 byte x ROM image 890 # Type: Nintendo GameCube disc image 907 # Type: Nintendo Wii disc image 973 >0x48 belong x disc image (WIA format): [all …]
|
| /freebsd-14.2/usr.bin/mkimg/tests/ |
| H A D | mkimg_test.sh | 72 local baseline image result tmpfile update 74 image=$1 77 baseline=$image.hex 92 rm $image $result _tmp-* 114 image=`makeimage $format $scheme $blksz $geom img $partinfo` 115 result=$image.out 116 hexdump -C $image > $result 118 mkimg_rebase $image $result 120 baseline=`atf_get_srcdir`/$image
|
| /freebsd-14.2/tools/tools/nanobsd/embedded/ |
| H A D | README | 22 beaglebone.cfg Create a bootable beaglebone image 23 qemu-amd64.cfg Create a bootable amd64 image for qemu (W) 24 qemu-i386.cfg Create a bootable i386 image for qemu (W) 25 qemu-powerpc.cfg Create a bootable 32-bit powerpc image for 27 qemu-powerpc64.cfg Create a bootable 64-bit IBM-flavor image for 29 rpi.cfg Create a bootable image for Raspberry Pi B 30 rpi2.cfg Create a bootable image for Raspberry Pi2 34 i386: qemu-system-i386 -m 512 -hda _.disk.image.qemu-i386.qcow2 -nographic 35 amd64: qemu-system-amd64 -m 512 -hda _.disk.image.qemu-amd64.qcow2 -nographic
|
| /freebsd-14.2/sys/contrib/dev/iwlwifi/fw/ |
| H A D | paging.c | 41 const struct fw_img *image) in iwl_alloc_fw_paging_mem() argument 53 num_of_pages = image->paging_mem_size / FW_PAGING_SIZE; in iwl_alloc_fw_paging_mem() 109 const struct fw_img *image) in iwl_fill_paging_mem() argument 125 for (sec_idx = 0; sec_idx < image->num_sec; sec_idx++) { in iwl_fill_paging_mem() 136 if (sec_idx >= image->num_sec - 1) { in iwl_fill_paging_mem() 153 image->sec[sec_idx].data, in iwl_fill_paging_mem() 154 image->sec[sec_idx].len); in iwl_fill_paging_mem() 155 fwrt->fw_paging_db[0].fw_offs = image->sec[sec_idx].offset; in iwl_fill_paging_mem() 174 int remaining = image->sec[sec_idx].len - offset; in iwl_fill_paging_mem() 200 (const u8 *)image->sec[sec_idx].data + offset, len); in iwl_fill_paging_mem() [all …]
|
| /freebsd-14.2/contrib/ncurses/misc/ |
| H A D | magic | 38 # Workaround for Targa image type by Joerg Jenderek 40 # Targa image type 1 with 26 long identification field 68 0 beshort 0433 SVr2 curses screen image, big-endian 69 0 beshort 0434 SVr3 curses screen image, big-endian 70 0 beshort 0435 SVr4 curses screen image, big-endian 72 0 leshort 0433 SVr2 curses screen image, little-endian 73 0 leshort 0434 SVr3 curses screen image, little-endian 74 0 leshort 0435 SVr4 curses screen image, little-endian 84 >7 regex \^BG=[0-9]+,[0-9]+, Solaris xcurses screen image 88 0 string \210\210\210\210ncurses ncurses6 screen image [all …]
|
| /freebsd-14.2/sys/dev/iwm/ |
| H A D | if_iwm_fw.c | 142 iwm_fill_paging_mem(struct iwm_softc *sc, const struct iwm_fw_img *image) in iwm_fill_paging_mem() argument 159 if (image->sec[sec_idx].offset == IWM_PAGING_SEPARATOR_SECTION) { in iwm_fill_paging_mem() 169 if (sec_idx >= nitems(image->sec) - 1) { in iwm_fill_paging_mem() 182 image->sec[sec_idx].data, in iwm_fill_paging_mem() 199 (const char *)image->sec[sec_idx].data + offset, in iwm_fill_paging_mem() 213 (const char *)image->sec[sec_idx].data + offset, in iwm_fill_paging_mem() 225 iwm_alloc_fw_paging_mem(struct iwm_softc *sc, const struct iwm_fw_img *image) in iwm_alloc_fw_paging_mem() argument 245 num_of_pages = image->paging_mem_size / IWM_FW_PAGING_SIZE; in iwm_alloc_fw_paging_mem()
|
| /freebsd-14.2/usr.sbin/makefs/ |
| H A D | msdos.c | 143 msdos_makefs(const char *image, const char *dir, fsnode *root, fsinfo_t *fsopts) in msdos_makefs() argument 150 assert(image != NULL); in msdos_makefs() 173 printf("Creating `%s'\n", image); in msdos_makefs() 175 if (mkfs_msdos(image, NULL, &msdos_opt->options) == -1) in msdos_makefs() 179 fsopts->fd = open(image, O_RDWR); in msdos_makefs() 190 image, dir, root); in msdos_makefs() 193 printf("Populating `%s'\n", image); in msdos_makefs() 196 errx(1, "Image file `%s' not created.", image); in msdos_makefs() 208 printf("Image `%s' complete\n", image); in msdos_makefs()
|