/linux-master/tools/lib/perf/include/perf/ |
H A D | mmap.h | 10 LIBPERF_API void perf_mmap__consume(struct perf_mmap *map); 11 LIBPERF_API int perf_mmap__read_init(struct perf_mmap *map); 12 LIBPERF_API void perf_mmap__read_done(struct perf_mmap *map); 13 LIBPERF_API union perf_event *perf_mmap__read_event(struct perf_mmap *map);
|
/linux-master/drivers/base/regmap/ |
H A D | regmap-debugfs.c | 3 // Register map access API - debugfs 19 struct regmap *map; member in struct:regmap_debugfs_node 38 struct regmap *map = file->private_data; local 47 if (map->dev && map->dev->driver) 48 name = map->dev->driver->name; 67 static void regmap_debugfs_free_dump_cache(struct regmap *map) argument 71 while (!list_empty(&map->debugfs_off_cache)) { 72 c = list_first_entry(&map->debugfs_off_cache, 80 static bool regmap_printable(struct regmap *map, unsigne argument 95 regmap_debugfs_get_dump_start(struct regmap *map, unsigned int base, loff_t from, loff_t *pos) argument 181 regmap_calc_tot_len(struct regmap *map, void *buf, size_t count) argument 193 regmap_next_readable_reg(struct regmap *map, int reg) argument 215 regmap_read_debugfs(struct regmap *map, unsigned int from, unsigned int to, char __user *user_buf, size_t count, loff_t *ppos) argument 287 struct regmap *map = file->private_data; local 309 struct regmap *map = file->private_data; local 348 struct regmap *map = range->map; local 364 struct regmap *map = file->private_data; local 436 struct regmap *map = s->private; local 463 struct regmap *map = container_of(file->private_data, local 510 struct regmap *map = container_of(file->private_data, local 546 regmap_debugfs_init(struct regmap *map) argument 666 regmap_debugfs_exit(struct regmap *map) argument [all...] |
H A D | trace.h | 18 TP_PROTO(struct regmap *map, unsigned int reg, 21 TP_ARGS(map, reg, val), 24 __string( name, regmap_name(map) ) 30 __assign_str(name, regmap_name(map)); 40 TP_PROTO(struct regmap *map, unsigned int reg, 43 TP_ARGS(map, reg, val) 48 TP_PROTO(struct regmap *map, unsigned int reg, 51 TP_ARGS(map, reg, val) 56 TP_PROTO(struct regmap *map, unsigned int reg, 59 TP_ARGS(map, re [all...] |
H A D | internal.h | 3 * Register map access API internal header 36 void (*format_write)(struct regmap *map, 46 struct regmap *map; member in struct:regmap_async 157 /* if set, the HW registers are known to match map->reg_defaults */ 186 int (*init)(struct regmap *map); 187 int (*exit)(struct regmap *map); 189 void (*debugfs_init)(struct regmap *map); 191 int (*read)(struct regmap *map, unsigned int reg, unsigned int *value); 192 int (*write)(struct regmap *map, unsigned int reg, unsigned int value); 193 int (*sync)(struct regmap *map, unsigne 211 struct regmap *map; member in struct:regmap_range_node 240 regmap_debugfs_disable(struct regmap *map) argument 247 regmap_debugfs_init(struct regmap *map) argument 248 regmap_debugfs_exit(struct regmap *map) argument 249 regmap_debugfs_disable(struct regmap *map) argument 267 regcache_get_val_addr(struct regmap *map, const void *base, unsigned int idx) argument 294 regmap_name(const struct regmap *map) argument 302 regmap_get_offset(const struct regmap *map, unsigned int index) argument 311 regcache_get_index_by_order(const struct regmap *map, unsigned int reg) argument [all...] |
/linux-master/include/linux/crush/ |
H A D | mapper.h | 14 extern int crush_find_rule(const struct crush_map *map, int ruleset, int type, int size); 15 int crush_do_rule(const struct crush_map *map, 26 static inline size_t crush_work_size(const struct crush_map *map, argument 29 return map->working_size + result_max * 3 * sizeof(__u32); 32 void crush_init_workspace(const struct crush_map *map, void *v);
|
/linux-master/drivers/md/dm-vdo/ |
H A D | int-map.h | 18 * The map is implemented as hash table, which should provide constant-time insert, query, and 20 * number of entries in the map. The table will grow as needed to hold new entries, but will not 28 void vdo_int_map_free(struct int_map *map); 30 size_t vdo_int_map_size(const struct int_map *map); 32 void *vdo_int_map_get(struct int_map *map, u64 key); 34 int __must_check vdo_int_map_put(struct int_map *map, u64 key, void *new_value, 37 void *vdo_int_map_remove(struct int_map *map, u64 key);
|
/linux-master/tools/perf/util/ |
H A D | map.c | 12 #include "map.h" 105 void map__init(struct map *map, u64 start, u64 end, u64 pgoff, struct dso *dso) argument 107 map__set_start(map, start); 108 map__set_end(map, end); 109 map__set_pgoff(map, pgoff); 110 map__set_reloc(map, 0); 111 map__set_dso(map, dso__get(dso)); 112 map__set_mapping_type(map, MAPPING_TYPE__DSO); 113 map__set_erange_warned(map, fals 237 __map__is_kernel(const struct map *map) argument 244 __map__is_extra_kernel_map(const struct map *map) argument 251 __map__is_bpf_prog(const struct map *map) argument 268 __map__is_bpf_image(const struct map *map) argument 285 __map__is_ool(const struct map *map) argument 292 map__has_symbols(const struct map *map) argument 297 map__exit(struct map *map) argument 303 map__delete(struct map *map) argument 309 map__put(struct map *map) argument 317 map__fixup_start(struct map *map) argument 330 map__fixup_end(struct map *map) argument 344 map__load(struct map *map) argument 385 map__find_symbol(struct map *map, u64 addr) argument 393 map__find_symbol_by_name_idx(struct map *map, const char *name, size_t *idx) argument 406 map__find_symbol_by_name(struct map *map, const char *name) argument 432 map__fprintf(struct map *map, FILE *fp) argument 447 __map__fprintf_dsoname(struct map *map, bool print_off, FILE *fp) argument 468 map__fprintf_dsoname(struct map *map, FILE *fp) argument 473 map__fprintf_dsoname_dsoff(struct map *map, bool print_off, u64 addr, FILE *fp) argument 489 map__srcline(struct map *map, u64 addr, struct symbol *sym) argument 497 map__fprintf_srcline(struct map *map, u64 addr, const char *prefix, FILE *fp) argument 529 map__rip_2objdump(struct map *map, u64 rip) argument 574 map__objdump_2mem(struct map *map, u64 ip) argument 590 map__contains_symbol(const struct map *map, const struct symbol *sym) argument 597 __map__kmap(struct map *map) argument 606 map__kmap(struct map *map) argument 615 map__kmaps(struct map *map) argument [all...] |
H A D | maps.h | 12 struct map; 30 static inline void __maps__zput(struct maps **map) argument 32 maps__put(*map); 33 *map = NULL; 36 #define maps__zput(map) __maps__zput(&map) 40 /* Iterate over map calling cb for each entry. */ 41 int maps__for_each_map(struct maps *maps, int (*cb)(struct map *map, void *data), void *data); 42 /* Iterate over map removin [all...] |
/linux-master/drivers/mtd/maps/ |
H A D | ichxrom.c | 15 #include <linux/mtd/map.h> 47 struct map_info map; member in struct:ichxrom_map_info 59 struct ichxrom_map_info *map, *scratch; local 70 list_for_each_entry_safe(map, scratch, &window->maps, list) { 71 if (map->rsrc.parent) 72 release_resource(&map->rsrc); 73 mtd_device_unregister(map->mtd); 74 map_destroy(map->mtd); 75 list_del(&map->list); 76 kfree(map); 95 struct ichxrom_map_info *map = NULL; local [all...] |
H A D | ck804xrom.c | 18 #include <linux/mtd/map.h> 46 struct map_info map; member in struct:ck804xrom_map_info 84 struct ck804xrom_map_info *map, *scratch; local 94 list_for_each_entry_safe(map, scratch, &window->maps, list) { 95 if (map->rsrc.parent) 96 release_resource(&map->rsrc); 98 mtd_device_unregister(map->mtd); 99 map_destroy(map->mtd); 100 list_del(&map->list); 101 kfree(map); 123 struct ck804xrom_map_info *map = NULL; local [all...] |
H A D | amd76xrom.c | 15 #include <linux/mtd/map.h> 42 struct map_info map; member in struct:amd76xrom_map_info 71 struct amd76xrom_map_info *map, *scratch; local 82 list_for_each_entry_safe(map, scratch, &window->maps, list) { 83 if (map->rsrc.parent) { 84 release_resource(&map->rsrc); 86 mtd_device_unregister(map->mtd); 87 map_destroy(map->mtd); 88 list_del(&map->list); 89 kfree(map); 110 struct amd76xrom_map_info *map = NULL; local [all...] |
H A D | map_funcs.c | 3 * Out-of-line map I/O functions for simple maps when CONFIG_COMPLEX_MAPPINGS 10 #include <linux/mtd/map.h> 13 static map_word __xipram simple_map_read(struct map_info *map, unsigned long ofs) argument 15 return inline_map_read(map, ofs); 18 static void __xipram simple_map_write(struct map_info *map, const map_word datum, unsigned long ofs) argument 20 inline_map_write(map, datum, ofs); 23 static void __xipram simple_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) argument 25 inline_map_copy_from(map, to, from, len); 28 static void __xipram simple_map_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument 30 inline_map_copy_to(map, t 33 simple_map_init(struct map_info *map) argument [all...] |
H A D | physmap-versatile.h | 3 #include <linux/mtd/map.h> 8 struct map_info *map); 13 struct map_info *map) 11 of_flash_probe_versatile(struct platform_device *pdev, struct device_node *np, struct map_info *map) argument
|
H A D | physmap-gemini.h | 3 #include <linux/mtd/map.h> 8 struct map_info *map); 13 struct map_info *map) 11 of_flash_probe_gemini(struct platform_device *pdev, struct device_node *np, struct map_info *map) argument
|
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | index-page-map.c | 6 #include "index-page-map.h" 20 * The index page map is conceptually a two-dimensional array indexed by chapter number and index 39 struct index_page_map *map; local 41 result = vdo_allocate(1, struct index_page_map, "page map", &map); 45 map->geometry = geometry; 46 map->entries_per_chapter = geometry->index_pages_per_chapter - 1; 48 &map->entries); 50 uds_free_index_page_map(map); 54 *map_ptr = map; 58 uds_free_index_page_map(struct index_page_map *map) argument 66 uds_update_index_page_map(struct index_page_map *map, u64 virtual_chapter_number, u32 chapter_number, u32 index_page_number, u32 delta_list_number) argument 80 uds_find_index_page_number(const struct index_page_map *map, const struct uds_record_name *name, u32 chapter_number) argument 95 uds_get_list_number_bounds(const struct index_page_map *map, u32 chapter_number, u32 index_page_number, u32 *lowest_list, u32 *highest_list) argument 113 uds_write_index_page_map(struct index_page_map *map, struct buffered_writer *writer) argument 139 uds_read_index_page_map(struct index_page_map *map, struct buffered_reader *reader) argument [all...] |
/linux-master/tools/testing/selftests/mm/ |
H A D | soft-dirty.c | 18 char *map; local 20 map = aligned_alloc(pagesize, pagesize); 21 if (!map) 27 if (pagemap_is_softdirty(pagemap_fd, map) == 1) { 34 map[0]++; 36 if (pagemap_is_softdirty(pagemap_fd, map) == 0) { 43 free(map); 50 char *map, *map2; local 52 map = mmap(NULL, pagesize, (PROT_READ | PROT_WRITE), (MAP_PRIVATE | MAP_ANON), -1, 0); 53 if (map 79 char *map; local 132 char *map; local [all...] |
H A D | mlock2-tests.c | 179 static int unlock_lock_check(char *map) argument 181 if (is_vmflag_set((unsigned long)map, LOCKED)) { 191 char *map; local 194 map = mmap(NULL, 2 * page_size, PROT_READ | PROT_WRITE, 196 if (map == MAP_FAILED) 199 if (mlock2_(map, 2 * page_size, 0)) { 200 munmap(map, 2 * page_size); 204 ksft_test_result(lock_check((unsigned long)map), "%s: Locked\n", __func__); 207 if (munlock(map, 2 * page_size)) { 208 munmap(map, 216 onfault_check(char *map) argument 227 unlock_onfault_check(char *map) argument 242 char *map; local 269 char *map; local 292 char *map; local 318 char *map; local 358 void *map; local 444 void *map; local [all...] |
/linux-master/kernel/dma/ |
H A D | map_benchmark.c | 38 struct map_benchmark_data *map = data; local 39 int npages = map->bparam.granule; 58 if (map->dir != DMA_FROM_DEVICE) 62 dma_addr = dma_map_single(map->dev, buf, size, map->dir); 63 if (unlikely(dma_mapping_error(map->dev, dma_addr))) { 65 dev_name(map->dev)); 73 ndelay(map->bparam.dma_trans_ns); 76 dma_unmap_single(map->dev, dma_addr, size, map 99 do_map_benchmark(struct map_benchmark_data *map) argument 183 struct map_benchmark_data *map = file->private_data; local 273 struct map_benchmark_data *map = (struct map_benchmark_data *)data; local 281 struct map_benchmark_data *map; local [all...] |
/linux-master/arch/powerpc/boot/ |
H A D | install.sh | 16 # $3 - kernel map file 32 if [ -f $4/System.map-$1 ]; then 33 mv $4/System.map-$1 $4/System-$1.old 37 cp $3 $4/System.map-$1
|
/linux-master/arch/arm/boot/ |
H A D | install.sh | 17 # $3 - kernel map file 35 # Install system map file 36 if [ -f $4/System.map-$1 ]; then 37 mv $4/System.map-$1 $4/System.map-$1.old 39 cp $3 $4/System.map-$1
|
/linux-master/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_resource.h | 28 void link_get_cur_res_map(const struct dc *dc, uint32_t *map); 29 void link_restore_res_map(const struct dc *dc, uint32_t *map);
|
/linux-master/drivers/mtd/chips/ |
H A D | map_ram.c | 3 * Common code to handle map devices which are simple RAM 16 #include <linux/mtd/map.h> 23 static struct mtd_info *map_ram_probe(struct map_info *map); 35 static struct mtd_info *map_ram_probe(struct map_info *map) argument 41 map_write8(map, 0x55, 0); 42 if (map_read8(map, 0) != 0x55) 45 map_write8(map, 0xAA, 0); 46 if (map_read8(map, 0) != 0xAA) 50 map_write8(map, 0x55, map 94 struct map_info *map = mtd->priv; local 112 struct map_info *map = mtd->priv; local 121 struct map_info *map = mtd->priv; local 132 struct map_info *map = mtd->priv; local [all...] |
/linux-master/fs/ntfs3/ |
H A D | bitfunc.c | 36 const u8 *map = (u8 *)lmap + (bit >> 3); local 40 return !nbits || !(*map & fill_mask[pos + nbits] & 43 if (*map++ & zero_mask[pos]) 48 pos = ((size_t)map) & (sizeof(size_t) - 1); 52 for (nbits -= pos * 8; pos; pos--, map++) { 53 if (*map) 59 for (pos = nbits / BITS_IN_SIZE_T; pos; pos--, map += sizeof(size_t)) { 60 if (*((size_t *)map)) 64 for (pos = (nbits % BITS_IN_SIZE_T) >> 3; pos; pos--, map++) { 65 if (*map) 85 const u8 *map = (u8 *)lmap + (bit >> 3); local [all...] |
/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3-dmamap.h | 11 void *imgu_dmamap_alloc(struct imgu_device *imgu, struct imgu_css_map *map, 13 void imgu_dmamap_free(struct imgu_device *imgu, struct imgu_css_map *map); 16 int nents, struct imgu_css_map *map); 17 void imgu_dmamap_unmap(struct imgu_device *imgu, struct imgu_css_map *map);
|
/linux-master/include/linux/mtd/ |
H A D | pfow.h | 100 static inline void send_pfow_command(struct map_info *map, argument 104 int bits_per_chip = map_bankwidth(map) * 8; 106 map_write(map, CMD(cmd_code), map->pfow_base + PFOW_COMMAND_CODE); 107 map_write(map, CMD(adr & ((1<<bits_per_chip) - 1)), 108 map->pfow_base + PFOW_COMMAND_ADDRESS_L); 109 map_write(map, CMD(adr>>bits_per_chip), 110 map->pfow_base + PFOW_COMMAND_ADDRESS_H); 112 map_write(map, CMD(len & ((1<<bits_per_chip) - 1)), 113 map [all...] |