Home
last modified time | relevance | path

Searched refs:image (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/freebsd/lib/libpmcstat/
H A Dlibpmcstat_image.c60 pmcstat_image_add_symbols(struct pmcstat_image *image, Elf *e, in pmcstat_image_add_symbols() argument
92 firsttime = image->pi_symbols == NULL; in pmcstat_image_add_symbols()
93 symptr = reallocarray(image->pi_symbols, in pmcstat_image_add_symbols()
94 image->pi_symcount + nfuncsyms, sizeof(*symptr)); in pmcstat_image_add_symbols()
95 if (symptr == image->pi_symbols) /* realloc() failed. */ in pmcstat_image_add_symbols()
97 image->pi_symbols = symptr; in pmcstat_image_add_symbols()
102 symptr += image->pi_symcount; in pmcstat_image_add_symbols()
113 if (!firsttime && pmcstat_symbol_search(image, sym.st_value)) in pmcstat_image_add_symbols()
139 symptr->ps_start = sym.st_value - image->pi_vaddr; in pmcstat_image_add_symbols()
146 image->pi_symcount += newsyms; in pmcstat_image_add_symbols()
[all …]
H A Dlibpmcstat_symbol.c59 struct pmcstat_image *image; in pmcstat_symbol_search_by_name() local
72 image = pcm->ppm_image; in pmcstat_symbol_search_by_name()
73 if (image->pi_name == NULL) in pmcstat_symbol_search_by_name()
75 name1 = pmcstat_string_unintern(image->pi_name); in pmcstat_symbol_search_by_name()
82 if (!found || image->pi_symbols == NULL) in pmcstat_symbol_search_by_name()
87 for (i = 0; i < image->pi_symcount; i++) { in pmcstat_symbol_search_by_name()
88 sym = &image->pi_symbols[i]; in pmcstat_symbol_search_by_name()
99 *addr_start = (image->pi_vaddr - image->pi_start + in pmcstat_symbol_search_by_name()
101 *addr_end = (image->pi_vaddr - image->pi_start + in pmcstat_symbol_search_by_name()
131 pmcstat_symbol_search(struct pmcstat_image *image, uintfptr_t addr) in pmcstat_symbol_search() argument
[all …]
H A Dlibpmcstat_process.c61 struct pmcstat_image *image, uintptr_t baseaddr) in pmcstat_process_aout_exec() argument
64 (void) image; in pmcstat_process_aout_exec()
75 struct pmcstat_image *image, uintptr_t baseaddr, uintptr_t dynaddr, in pmcstat_process_elf_exec() argument
81 assert(image->pi_type == PMCSTAT_IMAGE_ELF32 || in pmcstat_process_elf_exec()
82 image->pi_type == PMCSTAT_IMAGE_ELF64); in pmcstat_process_elf_exec()
89 pmcstat_image_link(pp, image, image->pi_vaddr + dynaddr); in pmcstat_process_elf_exec()
99 if (image->pi_isdynamic) { in pmcstat_process_elf_exec()
117 rtldimage = pmcstat_image_from_path(image->pi_dynlinkerpath, in pmcstat_process_elf_exec()
121 pmcstat_string_unintern(image->pi_dynlinkerpath)); in pmcstat_process_elf_exec()
132 pmcstat_string_unintern(image->pi_dynlinkerpath)); in pmcstat_process_elf_exec()
[all …]
/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_image.c109 void pt_image_init(struct pt_image *image, const char *name) in pt_image_init() argument
111 if (!image) in pt_image_init()
114 memset(image, 0, sizeof(*image)); in pt_image_init()
116 image->name = dupstr(name); in pt_image_init()
119 void pt_image_fini(struct pt_image *image) in pt_image_fini() argument
121 if (!image) in pt_image_fini()
124 pt_section_list_free_tail(image->sections); in pt_image_fini()
125 free(image->name); in pt_image_fini()
127 memset(image, 0, sizeof(*image)); in pt_image_fini()
132 struct pt_image *image; in pt_image_alloc() local
[all …]
H A Dpt_insn.c228 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/contrib/processor-trace/libipt/test/src/
H A Dptunit-image.c97 struct pt_image image; member
423 struct pt_image image; in init() local
425 memset(&image, 0xcd, sizeof(image)); in init()
427 pt_image_init(&image, NULL); in init()
428 ptu_null(image.name); in init()
429 ptu_null(image.sections); in init()
430 ptu_null((void *) (uintptr_t) image.readmem.callback); in init()
431 ptu_null(image.readmem.context); in init()
438 memset(&ifix->image, 0xcd, sizeof(ifix->image)); in init_name()
440 pt_image_init(&ifix->image, "image-name"); in init_name()
[all …]
H A Dptunit-msec_cache.c118 int pt_image_validate(struct pt_image *image, struct pt_mapped_section *msec, in pt_image_validate() argument
126 if (!image || !msec) in pt_image_validate()
129 section = image->section; in pt_image_validate()
139 int pt_image_find(struct pt_image *image, struct pt_mapped_section *msec, in pt_image_find() argument
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()
214 status = pt_msec_cache_read(&mcache, NULL, &image, 0ull); in read_null()
[all …]
/freebsd/usr.sbin/pmcstat/
H A Dpmcpl_gprof.c124 struct pmcstat_image *image) in pmcstat_gmon_create_file() argument
137 gm.lpc = image->pi_start; in pmcstat_gmon_create_file()
138 gm.hpc = image->pi_end; in pmcstat_gmon_create_file()
179 pmcstat_gmon_create_name(const char *samplesdir, struct pmcstat_image *image, in pmcstat_gmon_create_name() argument
191 pmcstat_string_unintern(image->pi_samplename)); in pmcstat_gmon_create_name()
236 pmcstat_gmon_append_arc(struct pmcstat_image *image, pmc_id_t pmcid, in pmcstat_gmon_append_arc() argument
243 if ((pgf = pmcstat_image_find_gmonfile(image, pmcid)) == NULL) in pmcstat_gmon_append_arc()
252 arc.raw_frompc = rawfrom + image->pi_vaddr; in pmcstat_gmon_append_arc()
253 arc.raw_selfpc = rawto + image->pi_vaddr; in pmcstat_gmon_append_arc()
261 pmcstat_image_find_gmonfile(struct pmcstat_image *image, pmc_id_t pmcid) in pmcstat_image_find_gmonfile() argument
[all …]
H A Dpmcpl_annotate_cg.c87 struct pmcstat_image *image; in pmcpl_annotate_cg_process() local
97 image = NULL; in pmcpl_annotate_cg_process()
105 image = map->ppm_image; in pmcpl_annotate_cg_process()
107 (image->pi_vaddr - image->pi_start)); in pmcpl_annotate_cg_process()
108 sym = pmcstat_symbol_search(image, newpc); in pmcpl_annotate_cg_process()
111 if (map != NULL && image != NULL && sym != NULL) { in pmcpl_annotate_cg_process()
112 (void) pmcstat_image_addr2line(image, cc[i], in pmcpl_annotate_cg_process()
H A Dpmcpl_annotate.c84 struct pmcstat_image *image; in pmcpl_annotate_process() local
97 image = map->ppm_image; in pmcpl_annotate_process()
99 (image->pi_vaddr - image->pi_start)); in pmcpl_annotate_process()
100 sym = pmcstat_symbol_search(image, newpc); in pmcpl_annotate_process()
108 image->pi_vaddr), (uintmax_t)(sym->ps_end + in pmcpl_annotate_process()
109 image->pi_vaddr)); in pmcpl_annotate_process()
H A Dpmcpl_callgraph.c93 pmcstat_cgnode_allocate(struct pmcstat_image *image, uintfptr_t pc) in pmcstat_cgnode_allocate() argument
100 cg->pcg_image = image; in pmcstat_cgnode_allocate()
134 struct pmcstat_image *image; in pmcstat_cgnode_hash_lookup_pc() local
144 image = ppm->ppm_image; in pmcstat_cgnode_hash_lookup_pc()
146 loadaddress = ppm->ppm_lowpc + image->pi_vaddr - image->pi_start; in pmcstat_cgnode_hash_lookup_pc()
147 pc -= loadaddress; /* Convert to an offset in the image. */ in pmcstat_cgnode_hash_lookup_pc()
154 if ((sym = pmcstat_symbol_search(image, pc)) != NULL) in pmcstat_cgnode_hash_lookup_pc()
175 if (cg->pcg_image == image && cg->pcg_func == pc) in pmcstat_cgnode_hash_lookup_pc()
183 cg = pmcstat_cgnode_allocate(image, p in pmcstat_cgnode_hash_lookup_pc()
223 pmcstat_cgnode_find(struct pmcstat_cgnode * parent,struct pmcstat_image * image,uintfptr_t pcoffset) pmcstat_cgnode_find() argument
332 struct pmcstat_image *image; pmcpl_cg_process() local
[all...]
/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_memory.c42 _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/contrib/processor-trace/libipt/internal/include/
H A Dpt_image.h70 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/contrib/file/magic/Magdir/
H A Dterminfo9 # Workaround for Targa image type by Joerg Jenderek
11 # Targa image type 1 with 26 long identification field
14 # 5th character of terminal name list, but not Targa image pixel size (15 16 24 32)
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
[all …]
H A Djpeg10 # both of which turn into "JPEG image data" here.
12 0 belong 0xffd8fff7 JPEG-LS image data
13 !:mime image/jls
17 0 belong&0xffffff00 0xffd8ff00 JPEG image data
18 !:mime image/jpeg
27 # in a vain attempt to add image size reporting for JFIF. Note that these
33 # Next, the resolution or aspect ratio of the image:
95 # D8: Start of image
96 # D9: End of image
110 0 string hsi1 JPEG image data, HSI proprietary
[all …]
H A Dimages4 # images: file(1) magic for image formats (see also "iff", and "c-lang" for
32 # Targa image data (strength=70=110-40) before some Commodore disc image (strength=70=70+0 ./c64) l…
41 # skip more garbage like *.iso by looking for positive image type
43 # skip some compiled terminfo like xterm+tmux by looking for image type less equal 33
49 # skip few Commodore D64 disc image like "The Great Gianna Sisters.d64" and
52 >>>>>>>0 use tga-image
54 >>>>>>0 use tga-image
56 >>>>>>0 use tga-image
58 >>>>>>0 use tga-image
60 >>>>>>0 use tga-image
[all …]
H A Dcad40 # test for level 8 and type 9 for INGR raster image
44 >>>>0 use ingr-image
111 0 name ingr-image
114 >4 uleshort x Intergraph raster image
116 !:mime image/x-intergraph-rle
119 !:mime image/x-intergraph-cit
122 !:mime image/x-intergraph-rgb
126 !:mime image/x-intergraph
131 # ApplicationType: 0~generic raster image 3~drawing, scanning
180 # and https://www.iana.org/assignments/media-types/image/vnd.dwg
[all …]
H A Dconsole14 0 name nes-rom-image-ines
49 0 string NES\x1A NES ROM image (iNES)
51 >0 use nes-rom-image-ines
54 0 belong 0x4E455300 NES ROM image (Wii U Virtual Console)
56 >0 use nes-rom-image-ines
67 >4 lelong <16 NES ROM image (UNIF v%d format)
86 >0x11 string *NINTENDO-HVC* Famicom Disk System disk image:
93 1 string *NINTENDO-HVC* Famicom Disk System disk image:
102 0 string TNES NES ROM image (Nintendo 3DS Virtual Console)
194 >0x143 byte&0x80 0x80 Game Boy Color ROM image
[all …]
/freebsd/release/
H A DMakefile.oci15 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}}
29 …sh ${.CURDIR}/scripts/make-oci-image.sh ${.CURDIR} ${REVISION} ${BRANCH} ${TARGET_ARCH} ${_IMG} co…
/freebsd/usr.bin/mkimg/tests/
H A Dmkimg_test.sh72 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/tools/tools/nanobsd/embedded/
H A DREADME22 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/sys/contrib/dev/iwlwifi/fw/
H A Dpaging.c41 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()
126 if (image->sec[sec_idx].offset == PAGING_SEPARATOR_SECTION) { in iwl_fill_paging_mem()
136 if (sec_idx >= image->num_sec - 1) { in iwl_fill_paging_mem()
146 if (image->sec[sec_idx].len > fwrt->fw_paging_db[0].fw_paging_size) { 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()
[all …]
/freebsd/release/scripts/
H A Dmake-oci-image.sh9 image=$1; shift
18 echo "Building OCI freebsd${major}-${image} image for ${abi}"
20 . ${curdir}/tools/oci-image-${image}.conf
95 local image=$1; shift
122 …_size},\"annotations\":{\"org.opencontainers.image.ref.name\":\"freebsd-${image}:${ver}\"}}]}" > $…
133 workdir=${PWD}/container-image-${image}
137 base_workdir=${PWD}/container-image-${OCI_BASE_IMAGE}
144 commit_container ${workdir} ${image} ${output}
/freebsd/contrib/ncurses/misc/
H A Dmagic38 # Workaround for Targa image type by Joerg Jenderek
40 # Targa image type 1 with 26 long identification field
43 # 5th character of terminal name list, but not Targa image pixel size (15 16 24 32)
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
[all …]
/freebsd/sys/dev/iwm/
H A Dif_iwm_fw.c142 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()

12345678910>>...16