/freebsd/contrib/processor-trace/libipt/internal/include/ |
H A D | pt_section.h | 45 struct pt_section { struct 104 int (*unmap)(struct pt_section *sec); argument 112 int (*read)(const struct pt_section *sec, uint8_t *buffer, argument 121 int (*memsize)(const struct pt_section *section, uint64_t *size); argument 172 extern int pt_mk_section(struct pt_section **psection, const char *filename, argument 182 extern int pt_section_lock(struct pt_section *section); 191 extern int pt_section_unlock(struct pt_section *section); 202 extern int pt_section_get(struct pt_section *section); 214 extern int pt_section_put(struct pt_section *section); 226 extern int pt_section_attach(struct pt_section *section, [all …]
|
H A D | pt_image_section_cache.h | 38 struct pt_section; 48 struct pt_section *section; 60 struct pt_section *section; 141 struct pt_section *section, uint64_t laddr); 166 struct pt_section **section, uint64_t *laddr, 187 struct pt_section *section); 204 struct pt_section *section, uint64_t size);
|
H A D | pt_section_file.h | 39 struct pt_section; 71 extern int pt_sec_file_map(struct pt_section *section, FILE *file); 81 extern int pt_sec_file_unmap(struct pt_section *section); 91 extern int pt_sec_file_read(const struct pt_section *section, uint8_t *buffer, 103 extern int pt_sec_file_memsize(const struct pt_section *section,
|
H A D | pt_mapped_section.h | 41 struct pt_section *section; 66 struct pt_section *section, in pt_msec_init() 129 static inline struct pt_section * 171 struct pt_section *section; in pt_msec_read()
|
H A D | pt_image.h | 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,
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_section.c | 40 int pt_mk_section(struct pt_section **psection, const char *filename, in pt_mk_section() 43 struct pt_section *section; in pt_mk_section() 126 int pt_section_lock(struct pt_section *section) in pt_section_lock() 144 int pt_section_unlock(struct pt_section *section) in pt_section_unlock() 162 static void pt_section_free(struct pt_section *section) in pt_section_free() 179 int pt_section_get(struct pt_section *section) in pt_section_get() 202 int pt_section_put(struct pt_section *section) in pt_section_put() 232 static int pt_section_lock_attach(struct pt_section *section) in pt_section_lock_attach() 250 static int pt_section_unlock_attach(struct pt_section *section) in pt_section_unlock_attach() 268 int pt_section_attach(struct pt_section *section, in pt_section_attach() [all …]
|
H A D | pt_image_section_cache.c | 175 const struct pt_section *section; in pt_iscache_find_locked() 268 struct pt_section *section) in pt_isache_lru_new() 321 struct pt_section *section) in pt_iscache_lru_add() 352 const struct pt_section *section) in pt_iscache_lru_remove() 382 struct pt_section *section, uint64_t memsize) in pt_iscache_lru_resize() 467 const struct pt_section *section; in pt_iscache_find_section_locked() 478 const struct pt_section *sec; in pt_iscache_find_section_locked() 525 struct pt_section *section, uint64_t laddr) in pt_iscache_add() 595 struct pt_section *sec; in pt_iscache_add() 776 struct pt_section **section, uint64_t *laddr, int isid) in pt_iscache_lookup() [all …]
|
H A D | pt_image.c | 58 static struct pt_section_list *pt_mk_section_list(struct pt_section *section, in pt_mk_section_list() 155 int pt_image_add(struct pt_image *image, struct pt_section *section, in pt_image_add() 182 struct pt_section *lsec; in pt_image_add() 267 int pt_image_remove(struct pt_image *image, struct pt_section *section, in pt_image_remove() 277 const struct pt_section *sec; in pt_image_remove() 311 struct pt_section *section; in pt_image_add_file() 389 const struct pt_section *sec; in pt_image_remove_by_filename() 579 struct pt_section *section; in pt_image_read() 628 struct pt_section *section; in pt_image_add_cached() 661 struct pt_section *section; in pt_image_find()
|
H A D | pt_section_file.c | 108 int pt_sec_file_map(struct pt_section *section, FILE *file) in pt_sec_file_map() 174 int pt_sec_file_unmap(struct pt_section *section) in pt_sec_file_unmap() 197 int pt_sec_file_read(const struct pt_section *section, uint8_t *buffer, in pt_sec_file_read() 244 int pt_sec_file_memsize(const struct pt_section *section, uint64_t *size) in pt_sec_file_memsize()
|
H A D | pt_msec_cache.c | 57 struct pt_section *section; in pt_msec_cache_invalidate() 105 struct pt_section *section; in pt_msec_cache_fill()
|
H A D | pt_block_decoder.c | 2472 struct pt_section *section; in pt_blk_msec_fill() 2534 struct pt_section *section; in pt_blk_proceed_no_event()
|
/freebsd/contrib/processor-trace/libipt/internal/include/posix/ |
H A D | pt_section_posix.h | 35 struct pt_section; 65 extern int pt_sec_posix_map(struct pt_section *section, int fd); 75 extern int pt_sec_posix_unmap(struct pt_section *section); 85 extern int pt_sec_posix_read(const struct pt_section *section, uint8_t *buffer, 97 extern int pt_sec_posix_memsize(const struct pt_section *section,
|
/freebsd/contrib/processor-trace/libipt/internal/include/windows/ |
H A D | pt_section_windows.h | 36 struct pt_section; 71 extern int pt_sec_windows_map(struct pt_section *section, int fd); 83 extern int pt_sec_windows_unmap(struct pt_section *section); 95 extern int pt_sec_windows_read(const struct pt_section *section, 108 extern int pt_sec_windows_memsize(const struct pt_section *section,
|
/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-image_section_cache.c | 38 struct pt_section { struct 72 extern int pt_mk_section(struct pt_section **psection, const char *filename, argument 75 extern int pt_section_get(struct pt_section *section); 76 extern int pt_section_put(struct pt_section *section); 77 extern int pt_section_attach(struct pt_section *section, 79 extern int pt_section_detach(struct pt_section *section, 82 extern int pt_section_map(struct pt_section *section); 83 extern int pt_section_map_share(struct pt_section *section); 84 extern int pt_section_unmap(struct pt_section *section); 85 extern int pt_section_request_bcache(struct pt_section *section); [all …]
|
H A D | ptunit-msec_cache.c | 36 int pt_section_get(struct pt_section *section) in pt_section_get() 51 int pt_section_put(struct pt_section *section) in pt_section_put() 66 int pt_section_map(struct pt_section *section) in pt_section_map() 85 int pt_section_unmap(struct pt_section *section) in pt_section_unmap() 110 struct pt_section *section; 121 struct pt_section *section; in pt_image_validate() 142 struct pt_section *section; in pt_image_find() 164 struct pt_section section; 250 struct pt_section *section; in invalidate() 282 struct pt_section *section; in read() [all …]
|
H A D | ptunit-mapped_section.c | 39 struct pt_section sec; in begin() 53 struct pt_section sec; in end() 67 struct pt_section sec; in offset() 81 struct pt_section sec; in size() 155 static struct pt_section section; in section() 157 struct pt_section *psection; in section() 170 struct pt_section *psection; in section_null()
|
H A D | ptunit-section-file.c | 100 static int pt_section_map_success(struct pt_section *section) in pt_section_map_success() 129 int pt_section_map(struct pt_section *section) in pt_section_map()
|
H A D | ptunit-image.c | 80 struct pt_section *section[ifix_nsecs]; 90 struct pt_section **section, uint64_t *laddr, 106 struct pt_section section[ifix_nsecs]; 125 static void ifix_init_section(struct pt_section *section, char *filename, in ifix_init_section() 167 struct pt_section *section, uint64_t laddr) in ifix_cache_section() 187 const char *pt_section_filename(const struct pt_section *section) in pt_section_filename() 195 uint64_t pt_section_offset(const struct pt_section *section) in pt_section_offset() 203 uint64_t pt_section_size(const struct pt_section *section) in pt_section_size() 211 int pt_mk_section(struct pt_section **psection, const char *filename, in pt_mk_section() 223 int pt_section_get(struct pt_section *section) in pt_section_get() [all …]
|
H A D | ptunit-section.c | 47 struct pt_section *section); 49 struct pt_section *section, uint64_t size); 52 struct pt_section *section) in pt_iscache_notify_map() 67 struct pt_section *section, uint64_t size) in pt_iscache_notify_resize() 127 struct pt_section *section; 301 struct pt_section section; in attach_null() 319 struct pt_section section; in detach_null()
|
/freebsd/contrib/processor-trace/libipt/src/posix/ |
H A D | pt_section_posix.c | 73 static int check_file_status(struct pt_section *section, int fd) in check_file_status() 99 int pt_sec_posix_map(struct pt_section *section, int fd) in pt_sec_posix_map() 162 static int pt_sec_posix_map_success(struct pt_section *section) in pt_sec_posix_map_success() 198 int pt_section_map(struct pt_section *section) in pt_section_map() 265 int pt_sec_posix_unmap(struct pt_section *section) in pt_sec_posix_unmap() 287 int pt_sec_posix_read(const struct pt_section *section, uint8_t *buffer, in pt_sec_posix_read() 312 int pt_sec_posix_memsize(const struct pt_section *section, uint64_t *size) in pt_sec_posix_memsize()
|
/freebsd/contrib/processor-trace/libipt/src/windows/ |
H A D | pt_section_windows.c | 90 static int check_file_status(struct pt_section *section, int fd) in check_file_status() 125 int pt_sec_windows_map(struct pt_section *section, int fd) in pt_sec_windows_map() 195 static int pt_sec_windows_map_success(struct pt_section *section) in pt_sec_windows_map_success() 231 int pt_section_map(struct pt_section *section) in pt_section_map() 325 int pt_sec_windows_unmap(struct pt_section *section) in pt_sec_windows_unmap() 349 int pt_sec_windows_read(const struct pt_section *section, uint8_t *buffer, in pt_sec_windows_read() 375 int pt_sec_windows_memsize(const struct pt_section *section, uint64_t *size) in pt_sec_windows_memsize()
|
/freebsd/lib/libipt/ |
H A D | Makefile | 41 pt_section.c \
|
/freebsd/contrib/processor-trace/libipt/ |
H A D | CMakeLists.txt | 32 src/pt_section.c 154 src/pt_section.c
|