/linux-master/tools/perf/ui/browsers/ |
H A D | map.h | 4 struct map; 6 int map__browse(struct map *map);
|
/linux-master/tools/perf/util/ |
H A D | map.h | 26 DECLARE_RC_STRUCT(map) { 42 struct kmap *__map__kmap(struct map *map); 43 struct kmap *map__kmap(struct map *map); 44 struct maps *map__kmaps(struct map *map); 46 static inline struct dso *map__dso(const struct map *map) argument 48 return RC_CHK_ACCESS(map) 51 map__start(const struct map *map) argument 56 map__end(const struct map *map) argument 61 map__pgoff(const struct map *map) argument 66 map__reloc(const struct map *map) argument 71 map__flags(const struct map *map) argument 76 map__prot(const struct map *map) argument 81 map__priv(const struct map *map) argument 86 map__refcnt(struct map *map) argument 91 map__erange_warned(struct map *map) argument 96 map__size(const struct map *map) argument 102 map__dso_map_ip(const struct map *map, u64 ip) argument 108 map__dso_unmap_ip(const struct map *map, u64 rip) argument 113 map__map_ip(const struct map *map, u64 ip_or_rip) argument 121 map__unmap_ip(const struct map *map, u64 ip_or_rip) argument 179 map__get(struct map *map) argument 191 __map__zput(struct map **map) argument 222 __map__is_kmodule(const struct map *map) argument 260 map__set_start(struct map *map, u64 start) argument 265 map__set_end(struct map *map, u64 end) argument 270 map__set_pgoff(struct map *map, u64 pgoff) argument 275 map__add_pgoff(struct map *map, u64 inc) argument 280 map__set_reloc(struct map *map, u64 reloc) argument 285 map__set_priv(struct map *map, int priv) argument 290 map__set_erange_warned(struct map *map, bool erange_warned) argument 295 map__set_dso(struct map *map, struct dso *dso) argument 300 map__set_mapping_type(struct map *map, enum mapping_type type) argument 305 map__mapping_type(struct map *map) argument [all...] |
H A D | hashmap.h | 4 * Generic non-thread safe hash map implementation. 83 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, 88 void hashmap__clear(struct hashmap *map); 89 void hashmap__free(struct hashmap *map); 91 size_t hashmap__size(const struct hashmap *map); 92 size_t hashmap__capacity(const struct hashmap *map); 129 int hashmap_insert(struct hashmap *map, long key, long value, 133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ 134 hashmap_insert((map), (long)(key), (long)(value), (strategy), \ 138 #define hashmap__add(map, ke [all...] |
H A D | hashmap.c | 4 * Generic non-thread safe hash map implementation. 38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, argument 41 map->hash_fn = hash_fn; 42 map->equal_fn = equal_fn; 43 map->ctx = ctx; 45 map->buckets = NULL; 46 map->cap = 0; 47 map->cap_bits = 0; 48 map->sz = 0; 55 struct hashmap *map local 63 hashmap__clear(struct hashmap *map) argument 76 hashmap__free(struct hashmap *map) argument 85 hashmap__size(const struct hashmap *map) argument 90 hashmap__capacity(const struct hashmap *map) argument 95 hashmap_needs_to_grow(struct hashmap *map) argument 101 hashmap_grow(struct hashmap *map) argument 130 hashmap_find_entry(const struct hashmap *map, const long key, size_t hash, struct hashmap_entry ***pprev, struct hashmap_entry **entry) argument 154 hashmap_insert(struct hashmap *map, long key, long value, enum hashmap_insert_strategy strategy, long *old_key, long *old_value) argument 206 hashmap_find(const struct hashmap *map, long key, long *value) argument 220 hashmap_delete(struct hashmap *map, long key, long *old_key, long *old_value) argument [all...] |
/linux-master/drivers/base/regmap/ |
H A D | regcache.c | 24 static int regcache_hw_init(struct regmap *map) argument 32 if (!map->num_reg_defaults_raw) 36 for (count = 0, i = 0; i < map->num_reg_defaults_raw; i++) 37 if (regmap_readable(map, i * map->reg_stride) && 38 !regmap_volatile(map, i * map->reg_stride)) 43 map->cache_bypass = true; 47 map->num_reg_defaults = count; 48 map 113 regcache_init(struct regmap *map, const struct regmap_config *config) argument 212 regcache_exit(struct regmap *map) argument 239 regcache_read(struct regmap *map, unsigned int reg, unsigned int *value) argument 270 regcache_write(struct regmap *map, unsigned int reg, unsigned int value) argument 284 regcache_reg_needs_sync(struct regmap *map, unsigned int reg, unsigned int val) argument 303 regcache_default_sync(struct regmap *map, unsigned int min, unsigned int max) argument 355 regcache_sync(struct regmap *map) argument 448 regcache_sync_region(struct regmap *map, unsigned int min, unsigned int max) argument 506 regcache_drop_region(struct regmap *map, unsigned int min, unsigned int max) argument 538 regcache_cache_only(struct regmap *map, bool enable) argument 562 regcache_mark_dirty(struct regmap *map) argument 582 regcache_cache_bypass(struct regmap *map, bool enable) argument 600 regcache_reg_cached(struct regmap *map, unsigned int reg) argument 615 regcache_set_val(struct regmap *map, void *base, unsigned int idx, unsigned int val) argument 649 regcache_get_val(struct regmap *map, const void *base, unsigned int idx) argument 691 regcache_lookup_reg(struct regmap *map, unsigned int reg) argument 716 regcache_sync_val(struct regmap *map, unsigned int reg, unsigned int val) argument 740 regcache_sync_block_single(struct regmap *map, void *block, unsigned long *cache_present, unsigned int block_base, unsigned int start, unsigned int end) argument 764 regcache_sync_block_raw_flush(struct regmap *map, const void **data, unsigned int base, unsigned int cur) argument 792 regcache_sync_block_raw(struct regmap *map, void *block, unsigned long *cache_present, unsigned int block_base, unsigned int start, unsigned int end) argument 834 regcache_sync_block(struct regmap *map, void *block, unsigned long *cache_present, unsigned int block_base, unsigned int start, unsigned int end) argument [all...] |
H A D | regcache-flat.c | 15 static inline unsigned int regcache_flat_get_index(const struct regmap *map, argument 18 return regcache_get_index_by_order(map, reg); 21 static int regcache_flat_init(struct regmap *map) argument 26 if (!map || map->reg_stride_order < 0 || !map->max_register_is_set) 29 map->cache = kcalloc(regcache_flat_get_index(map, map->max_register) 31 if (!map 46 regcache_flat_exit(struct regmap *map) argument 54 regcache_flat_read(struct regmap *map, unsigned int reg, unsigned int *value) argument 65 regcache_flat_write(struct regmap *map, unsigned int reg, unsigned int value) argument [all...] |
H A D | regmap.c | 3 // Register map access API 36 static inline bool regmap_should_log(struct regmap *map) argument 38 return (map->dev && strcmp(dev_name(map->dev), LOG_DEVICE) == 0); 41 static inline bool regmap_should_log(struct regmap *map) { return false; } argument 45 static int _regmap_update_bits(struct regmap *map, unsigned int reg, 74 bool regmap_check_range_table(struct regmap *map, unsigned int reg, argument 90 bool regmap_writeable(struct regmap *map, unsigned int reg) argument 92 if (map->max_register_is_set && reg > map 104 regmap_cached(struct regmap *map, unsigned int reg) argument 127 regmap_readable(struct regmap *map, unsigned int reg) argument 147 regmap_volatile(struct regmap *map, unsigned int reg) argument 164 regmap_precious(struct regmap *map, unsigned int reg) argument 178 regmap_writeable_noinc(struct regmap *map, unsigned int reg) argument 189 regmap_readable_noinc(struct regmap *map, unsigned int reg) argument 200 regmap_volatile_range(struct regmap *map, unsigned int reg, size_t num) argument 212 regmap_format_12_20_write(struct regmap *map, unsigned int reg, unsigned int val) argument 224 regmap_format_2_6_write(struct regmap *map, unsigned int reg, unsigned int val) argument 232 regmap_format_4_12_write(struct regmap *map, unsigned int reg, unsigned int val) argument 239 regmap_format_7_9_write(struct regmap *map, unsigned int reg, unsigned int val) argument 246 regmap_format_7_17_write(struct regmap *map, unsigned int reg, unsigned int val) argument 256 regmap_format_10_14_write(struct regmap *map, unsigned int reg, unsigned int val) argument 396 struct regmap *map = __map; local 403 struct regmap *map = __map; local 410 struct regmap *map = __map; local 418 struct regmap *map = __map; local 425 struct regmap *map = __map; local 432 struct regmap *map = __map; local 444 struct regmap *map = __map; local 450 struct regmap *map = __map; local 457 struct regmap *map = __map; variable in typeref:struct:regmap 467 struct regmap *map = __map; variable in typeref:struct:regmap 474 struct regmap *map = __map; variable in typeref:struct:regmap 484 struct regmap *map = __map; variable in typeref:struct:regmap 497 _regmap_range_add(struct regmap *map, struct regmap_range_node *data) argument 522 _regmap_range_lookup(struct regmap *map, unsigned int reg) argument 542 regmap_range_exit(struct regmap *map) argument 558 regmap_set_name(struct regmap *map, const struct regmap_config *config) argument 573 regmap_attach_dev(struct device *dev, struct regmap *map, const struct regmap_config *config) argument 671 struct regmap *map; local 1408 regmap_reinit_cache(struct regmap *map, const struct regmap_config *config) argument 1443 regmap_exit(struct regmap *map) argument 1518 regmap_get_device(struct regmap *map) argument 1524 _regmap_select_page(struct regmap *map, unsigned int *reg, struct regmap_range_node *range, unsigned int val_num) argument 1572 regmap_set_work_buf_flag_mask(struct regmap *map, int max_bytes, unsigned long mask) argument 1587 regmap_reg_addr(struct regmap *map, unsigned int reg) argument 1599 _regmap_raw_write_impl(struct regmap *map, unsigned int reg, const void *val, size_t val_len, bool noinc) argument 1804 regmap_can_raw_write(struct regmap *map) argument 1815 regmap_get_raw_read_max(struct regmap *map) argument 1826 regmap_get_raw_write_max(struct regmap *map) argument 1837 struct regmap *map = context; local 1863 struct regmap *map = context; local 1881 struct regmap *map = context; local 1895 _regmap_map_get_context(struct regmap *map) argument 1900 _regmap_write(struct regmap *map, unsigned int reg, unsigned int val) argument 1940 regmap_write(struct regmap *map, unsigned int reg, unsigned int val) argument 1967 regmap_write_async(struct regmap *map, unsigned int reg, unsigned int val) argument 1988 _regmap_raw_write(struct regmap *map, unsigned int reg, const void *val, size_t val_len, bool noinc) argument 2042 regmap_raw_write(struct regmap *map, unsigned int reg, const void *val, size_t val_len) argument 2062 regmap_noinc_readwrite(struct regmap *map, unsigned int reg, void *val, unsigned int val_len, bool write) argument 2161 regmap_noinc_write(struct regmap *map, unsigned int reg, const void *val, size_t val_len) argument 2306 regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val, size_t val_count) argument 2376 _regmap_raw_multi_reg_write(struct regmap *map, const struct reg_sequence *regs, size_t num_regs) argument 2425 _regmap_register_page(struct regmap *map, unsigned int reg, struct regmap_range_node *range) argument 2434 _regmap_range_multi_paged_reg_write(struct regmap *map, struct reg_sequence *regs, size_t num_regs) argument 2515 _regmap_multi_reg_write(struct regmap *map, const struct reg_sequence *regs, size_t num_regs) argument 2613 regmap_multi_reg_write(struct regmap *map, const struct reg_sequence *regs, int num_regs) argument 2646 regmap_multi_reg_write_bypassed(struct regmap *map, const struct reg_sequence *regs, int num_regs) argument 2690 regmap_raw_write_async(struct regmap *map, unsigned int reg, const void *val, size_t val_len) argument 2714 _regmap_raw_read(struct regmap *map, unsigned int reg, void *val, unsigned int val_len, bool noinc) argument 2749 struct regmap *map = context; local 2768 struct regmap *map = context; local 2782 _regmap_read(struct regmap *map, unsigned int reg, unsigned int *val) argument 2824 regmap_read(struct regmap *map, unsigned int reg, unsigned int *val) argument 2852 regmap_raw_read(struct regmap *map, unsigned int reg, void *val, size_t val_len) argument 2951 regmap_noinc_read(struct regmap *map, unsigned int reg, void *val, size_t val_len) argument 3078 regmap_bulk_read(struct regmap *map, unsigned int reg, void *val, size_t val_count) argument 3139 _regmap_update_bits(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change, bool force_write) argument 3194 regmap_update_bits_base(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change, bool async, bool force) argument 3225 regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits) argument 3239 struct regmap *map = async->map; local 3258 regmap_async_is_done(struct regmap *map) argument 3278 regmap_async_complete(struct regmap *map) argument 3319 regmap_register_patch(struct regmap *map, const struct reg_sequence *regs, int num_regs) argument 3369 regmap_get_val_bytes(struct regmap *map) argument 3386 regmap_get_max_register(struct regmap *map) argument 3400 regmap_get_reg_stride(struct regmap *map) argument 3413 regmap_might_sleep(struct regmap *map) argument 3419 regmap_parse_val(struct regmap *map, const void *buf, unsigned int *val) argument [all...] |
/linux-master/net/sctp/ |
H A D | tsnmap.c | 29 static void sctp_tsnmap_update(struct sctp_tsnmap *map); 30 static void sctp_tsnmap_find_gap_ack(unsigned long *map, __u16 off, 32 static int sctp_tsnmap_grow(struct sctp_tsnmap *map, u16 size); 35 struct sctp_tsnmap *sctp_tsnmap_init(struct sctp_tsnmap *map, __u16 len, argument 38 if (!map->tsn_map) { 39 map->tsn_map = kzalloc(len>>3, gfp); 40 if (map->tsn_map == NULL) 43 map->len = len; 45 bitmap_zero(map->tsn_map, map 57 sctp_tsnmap_free(struct sctp_tsnmap *map) argument 69 sctp_tsnmap_check(const struct sctp_tsnmap *map, __u32 tsn) argument 95 sctp_tsnmap_mark(struct sctp_tsnmap *map, __u32 tsn, struct sctp_transport *trans) argument 142 sctp_tsnmap_iter_init(const struct sctp_tsnmap *map, struct sctp_tsnmap_iter *iter) argument 152 sctp_tsnmap_next_gap_ack(const struct sctp_tsnmap *map, struct sctp_tsnmap_iter *iter, __u16 *start, __u16 *end) argument 190 sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn) argument 228 sctp_tsnmap_update(struct sctp_tsnmap *map) argument 247 sctp_tsnmap_pending(struct sctp_tsnmap *map) argument 272 sctp_tsnmap_find_gap_ack(unsigned long *map, __u16 off, __u16 len, __u16 *start, __u16 *end) argument 300 sctp_tsnmap_renege(struct sctp_tsnmap *map, __u32 tsn) argument 317 sctp_tsnmap_num_gabs(struct sctp_tsnmap *map, struct sctp_gap_ack_block *gabs) argument 341 sctp_tsnmap_grow(struct sctp_tsnmap *map, u16 size) argument [all...] |
/linux-master/include/linux/mtd/ |
H A D | map.h | 22 #define map_bankwidth(map) 1 23 #define map_bankwidth_is_1(map) (map_bankwidth(map) == 1) 24 #define map_bankwidth_is_large(map) (0) 25 #define map_words(map) (1) 28 #define map_bankwidth_is_1(map) (0) 34 # define map_bankwidth(map) ((map)->bankwidth) 36 # define map_bankwidth(map) 2 37 # define map_bankwidth_is_large(map) ( 129 map_bankwidth(void *map) argument 321 map_word_load(struct map_info *map, const void *ptr) argument 343 map_word_load_partial(struct map_info *map, map_word orig, const unsigned char *buf, int start, int len) argument 373 map_word_ff(struct map_info *map) argument 389 inline_map_read(struct map_info *map, unsigned long ofs) argument 411 inline_map_write(struct map_info *map, const map_word datum, unsigned long ofs) argument 430 inline_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) argument 438 inline_map_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument [all...] |
/linux-master/include/net/sctp/ |
H A D | tsnmap.h | 87 void sctp_tsnmap_free(struct sctp_tsnmap *map); 102 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn); 105 static inline __u32 sctp_tsnmap_get_ctsn(const struct sctp_tsnmap *map) argument 107 return map->cumulative_tsn_ack_point; 111 static inline __u32 sctp_tsnmap_get_max_tsn_seen(const struct sctp_tsnmap *map) argument 113 return map->max_tsn_seen; 117 static inline __u16 sctp_tsnmap_num_dups(struct sctp_tsnmap *map) argument 119 return map->num_dup_tsns; 123 static inline __be32 *sctp_tsnmap_get_dups(struct sctp_tsnmap *map) argument 125 map 137 sctp_tsnmap_has_gap(const struct sctp_tsnmap *map) argument 145 sctp_tsnmap_mark_dup(struct sctp_tsnmap *map, __u32 tsn) argument [all...] |
/linux-master/tools/lib/perf/ |
H A D | threadmap.c | 10 static void perf_thread_map__reset(struct perf_thread_map *map, int start, int nr) argument 12 size_t size = (nr - start) * sizeof(map->map[0]); 14 memset(&map->map[start], 0, size); 15 map->err_thread = -1; 18 struct perf_thread_map *perf_thread_map__realloc(struct perf_thread_map *map, int nr) argument 20 size_t size = sizeof(*map) + sizeof(map->map[ 35 perf_thread_map__set_pid(struct perf_thread_map *map, int idx, pid_t pid) argument 40 perf_thread_map__comm(struct perf_thread_map *map, int idx) argument 80 perf_thread_map__get(struct perf_thread_map *map) argument 87 perf_thread_map__put(struct perf_thread_map *map) argument 98 perf_thread_map__pid(struct perf_thread_map *map, int idx) argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_bpf_map.c | 13 struct bpf_map *map = ctx->map; local 15 if (map == (void *)0) { 23 BPF_SEQ_PRINTF(seq, "%8u %8ld %8ld %10lu\n", map->id, map->refcnt.counter, 24 map->usercnt.counter,
|
H A D | map_percpu_stats.c | 10 __s64 bpf_map_sum_elem_count(struct bpf_map *map) __ksym; 16 struct bpf_map *map = ctx->map; local 18 if (map && map->id == target_id) 19 BPF_SEQ_PRINTF(seq, "%lld", bpf_map_sum_elem_count(map));
|
/linux-master/arch/nios2/boot/ |
H A D | install.sh | 16 # $3 - kernel map file 23 if [ -f $4/System.map ]; then 24 mv $4/System.map $4/System.old 28 cp $3 $4/System.map
|
/linux-master/arch/sparc/boot/ |
H A D | install.sh | 16 # $3 - kernel map file 23 if [ -f $4/System.map ]; then 24 mv $4/System.map $4/System.old 28 cp $3 $4/System.map
|
/linux-master/arch/m68k/ |
H A D | install.sh | 16 # $3 - kernel map file 23 if [ -f $4/System.map ]; then 24 mv $4/System.map $4/System.old 28 cp $3 $4/System.map
|
/linux-master/arch/parisc/ |
H A D | install.sh | 16 # $3 - kernel map file 34 # Install system map file 35 if [ -f $4/System.map-$1 ]; then 36 mv $4/System.map-$1 $4/System.map-$1.old 38 cp $3 $4/System.map-$1
|
/linux-master/arch/riscv/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/arch/arm64/boot/ |
H A D | install.sh | 17 # $3 - kernel map file 36 # Install system map file 37 if [ -f $4/System.map-$1 ]; then 38 mv $4/System.map-$1 $4/System.map-$1.old 40 cp $3 $4/System.map-$1
|
/linux-master/drivers/mtd/maps/ |
H A D | pci.c | 7 * Generic PCI memory map driver. We support the following boards: 17 #include <linux/mtd/map.h> 23 int (*init)(struct pci_dev *dev, struct map_pci_info *map); 24 void (*exit)(struct pci_dev *dev, struct map_pci_info *map); 25 unsigned long (*translate)(struct map_pci_info *map, unsigned long ofs); 30 struct map_info map; member in struct:map_pci_info 32 void (*exit)(struct pci_dev *dev, struct map_pci_info *map); 33 unsigned long (*translate)(struct map_pci_info *map, unsigned long ofs); 39 struct map_pci_info *map = (struct map_pci_info *)_map; local 41 val.x[0]= readb(map 47 struct map_pci_info *map = (struct map_pci_info *)_map; local 55 struct map_pci_info *map = (struct map_pci_info *)_map; local 61 struct map_pci_info *map = (struct map_pci_info *)_map; local 67 struct map_pci_info *map = (struct map_pci_info *)_map; local 73 struct map_pci_info *map = (struct map_pci_info *)_map; local 88 intel_iq80310_init(struct pci_dev *dev, struct map_pci_info *map) argument 116 intel_iq80310_exit(struct pci_dev *dev, struct map_pci_info *map) argument 124 intel_iq80310_translate(struct map_pci_info *map, unsigned long ofs) argument 156 intel_dc21285_init(struct pci_dev *dev, struct map_pci_info *map) argument 200 intel_dc21285_exit(struct pci_dev *dev, struct map_pci_info *map) argument 212 intel_dc21285_translate(struct map_pci_info *map, unsigned long ofs) argument 255 struct map_pci_info *map = NULL; local 308 struct map_pci_info *map = mtd->priv; local [all...] |
/linux-master/tools/lib/bpf/ |
H A D | hashmap.h | 4 * Generic non-thread safe hash map implementation. 83 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, 88 void hashmap__clear(struct hashmap *map); 89 void hashmap__free(struct hashmap *map); 91 size_t hashmap__size(const struct hashmap *map); 92 size_t hashmap__capacity(const struct hashmap *map); 129 int hashmap_insert(struct hashmap *map, long key, long value, 133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ 134 hashmap_insert((map), (long)(key), (long)(value), (strategy), \ 138 #define hashmap__add(map, ke [all...] |
H A D | hashmap.c | 4 * Generic non-thread safe hash map implementation. 38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, argument 41 map->hash_fn = hash_fn; 42 map->equal_fn = equal_fn; 43 map->ctx = ctx; 45 map->buckets = NULL; 46 map->cap = 0; 47 map->cap_bits = 0; 48 map->sz = 0; 55 struct hashmap *map local 63 hashmap__clear(struct hashmap *map) argument 76 hashmap__free(struct hashmap *map) argument 85 hashmap__size(const struct hashmap *map) argument 90 hashmap__capacity(const struct hashmap *map) argument 95 hashmap_needs_to_grow(struct hashmap *map) argument 101 hashmap_grow(struct hashmap *map) argument 130 hashmap_find_entry(const struct hashmap *map, const long key, size_t hash, struct hashmap_entry ***pprev, struct hashmap_entry **entry) argument 154 hashmap_insert(struct hashmap *map, long key, long value, enum hashmap_insert_strategy strategy, long *old_key, long *old_value) argument 206 hashmap_find(const struct hashmap *map, long key, long *value) argument 220 hashmap_delete(struct hashmap *map, long key, long *old_key, long *old_value) argument [all...] |
/linux-master/drivers/mtd/lpddr/ |
H A D | qinfo_probe.c | 16 #include <linux/mtd/map.h> 20 static int lpddr_chip_setup(struct map_info *map, struct lpddr_private *lpddr); 21 struct mtd_info *lpddr_probe(struct map_info *map); 22 static struct lpddr_private *lpddr_probe_chip(struct map_info *map); 23 static int lpddr_pfow_present(struct map_info *map, 44 static long lpddr_get_qinforec_pos(struct map_info *map, char *id_str) argument 48 int bankwidth = map_bankwidth(map) * 8; 58 printk(KERN_ERR"%s qinfo id string is wrong! \n", map->name); 63 static uint16_t lpddr_info_query(struct map_info *map, char *id_str) argument 66 int bits_per_chip = map_bankwidth(map) * 91 lpddr_pfow_present(struct map_info *map, struct lpddr_private *lpddr) argument 120 lpddr_chip_setup(struct map_info *map, struct lpddr_private *lpddr) argument 145 lpddr_probe_chip(struct map_info *map) argument 184 lpddr_probe(struct map_info *map) argument [all...] |
/linux-master/fs/ocfs2/ |
H A D | heartbeat.c | 30 static void ocfs2_node_map_init(struct ocfs2_node_map *map) argument 32 map->num_nodes = OCFS2_NODE_MAP_MAX_NODES; 33 bitmap_zero(map->map, OCFS2_NODE_MAP_MAX_NODES); 64 struct ocfs2_node_map *map, 69 BUG_ON(bit >= map->num_nodes); 71 set_bit(bit, map->map); 76 struct ocfs2_node_map *map, 81 BUG_ON(bit >= map 63 ocfs2_node_map_set_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument 75 ocfs2_node_map_clear_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument 87 ocfs2_node_map_test_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument [all...] |
/linux-master/tools/perf/tests/ |
H A D | mem2node.c | 15 const char *map; member in struct:node 17 { .node = 0, .map = "0" }, 18 { .node = 1, .map = "1-2" }, 19 { .node = 3, .map = "5-7,9" }, 26 struct perf_cpu_map *map = perf_cpu_map__new(str); local 31 if (map && bm) { 35 perf_cpu_map__for_each_cpu(cpu, i, map) 39 if (map) 40 perf_cpu_map__put(map); 44 return bm && map 49 struct mem2node map; local [all...] |