/Linux-v4.19/include/linux/mtd/ |
D | map.h | 36 #define map_bankwidth(map) 1 argument 37 #define map_bankwidth_is_1(map) (map_bankwidth(map) == 1) argument 38 #define map_bankwidth_is_large(map) (0) argument 39 #define map_words(map) (1) argument 42 #define map_bankwidth_is_1(map) (0) argument 48 # define map_bankwidth(map) ((map)->bankwidth) argument 50 # define map_bankwidth(map) 2 argument 51 # define map_bankwidth_is_large(map) (0) argument 52 # define map_words(map) (1) argument 54 #define map_bankwidth_is_2(map) (map_bankwidth(map) == 2) argument [all …]
|
D | cfi_endian.h | 41 #define cpu_to_cfi8(map, x) (x) argument 42 #define cfi8_to_cpu(map, x) (x) argument 43 #define cpu_to_cfi16(map, x) _cpu_to_cfi(16, (map)->swap, (x)) argument 44 #define cpu_to_cfi32(map, x) _cpu_to_cfi(32, (map)->swap, (x)) argument 45 #define cpu_to_cfi64(map, x) _cpu_to_cfi(64, (map)->swap, (x)) argument 46 #define cfi16_to_cpu(map, x) _cfi_to_cpu(16, (map)->swap, (x)) argument 47 #define cfi32_to_cpu(map, x) _cfi_to_cpu(32, (map)->swap, (x)) argument 48 #define cfi64_to_cpu(map, x) _cfi_to_cpu(64, (map)->swap, (x)) argument
|
/Linux-v4.19/tools/perf/util/ |
D | map.h | 23 struct map { struct 41 u64 (*map_ip)(struct map *, u64); argument 43 u64 (*unmap_ip)(struct map *, u64); argument 46 struct map_groups *groups; argument 52 struct kmap { argument 86 static inline u64 map__map_ip(struct map *map, u64 ip) in map__map_ip() 91 static inline u64 map__unmap_ip(struct map *map, u64 ip) in map__unmap_ip() 101 static inline size_t map__size(const struct map *map) in map__size() 122 #define map__for_each_symbol(map, pos, n) \ argument 132 #define __map__for_each_symbol_by_name(map, sym_name, pos) \ argument [all …]
|
D | map.c | 127 void map__init(struct map *map, u64 start, u64 end, u64 pgoff, struct dso *dso) in map__init() 147 struct map *map = malloc(sizeof(*map)); in map__new() local 229 struct map *map = calloc(1, (sizeof(*map) + in map__new2() local 250 bool __map__is_kernel(const struct map *map) in __map__is_kernel() 255 bool __map__is_extra_kernel_map(const struct map *map) in __map__is_extra_kernel_map() 262 bool map__has_symbols(const struct map *map) in map__has_symbols() 267 static void map__exit(struct map *map) in map__exit() 273 void map__delete(struct map *map) in map__delete() 279 void map__put(struct map *map) in map__put() 285 void map__fixup_start(struct map *map) in map__fixup_start() [all …]
|
D | mmap.c | 18 size_t perf_mmap__mmap_len(struct perf_mmap *map) in perf_mmap__mmap_len() 24 static union perf_event *perf_mmap__read(struct perf_mmap *map, in perf_mmap__read() 78 union perf_event *perf_mmap__read_event(struct perf_mmap *map) in perf_mmap__read_event() 100 static bool perf_mmap__empty(struct perf_mmap *map) in perf_mmap__empty() 105 void perf_mmap__get(struct perf_mmap *map) in perf_mmap__get() 110 void perf_mmap__put(struct perf_mmap *map) in perf_mmap__put() 118 void perf_mmap__consume(struct perf_mmap *map) in perf_mmap__consume() 156 void perf_mmap__munmap(struct perf_mmap *map) in perf_mmap__munmap() 167 int perf_mmap__mmap(struct perf_mmap *map, struct mmap_params *mp, int fd, int cpu) in perf_mmap__mmap() 272 int perf_mmap__read_init(struct perf_mmap *map) in perf_mmap__read_init() [all …]
|
/Linux-v4.19/drivers/base/regmap/ |
D | regmap.c | 67 bool regmap_check_range_table(struct regmap *map, unsigned int reg, in regmap_check_range_table() 83 bool regmap_writeable(struct regmap *map, unsigned int reg) in regmap_writeable() 97 bool regmap_cached(struct regmap *map, unsigned int reg) in regmap_cached() 120 bool regmap_readable(struct regmap *map, unsigned int reg) in regmap_readable() 140 bool regmap_volatile(struct regmap *map, unsigned int reg) in regmap_volatile() 157 bool regmap_precious(struct regmap *map, unsigned int reg) in regmap_precious() 171 bool regmap_readable_noinc(struct regmap *map, unsigned int reg) in regmap_readable_noinc() 182 static bool regmap_volatile_range(struct regmap *map, unsigned int reg, in regmap_volatile_range() 194 static void regmap_format_2_6_write(struct regmap *map, in regmap_format_2_6_write() 202 static void regmap_format_4_12_write(struct regmap *map, in regmap_format_4_12_write() [all …]
|
D | regcache.c | 30 static int regcache_hw_init(struct regmap *map) in regcache_hw_init() 119 int regcache_init(struct regmap *map, const struct regmap_config *config) in regcache_init() 210 void regcache_exit(struct regmap *map) in regcache_exit() 237 int regcache_read(struct regmap *map, in regcache_read() 268 int regcache_write(struct regmap *map, in regcache_write() 282 static bool regcache_reg_needs_sync(struct regmap *map, unsigned int reg, in regcache_reg_needs_sync() 298 static int regcache_default_sync(struct regmap *map, unsigned int min, in regcache_default_sync() 343 int regcache_sync(struct regmap *map) in regcache_sync() 412 int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region() 467 int regcache_drop_region(struct regmap *map, unsigned int min, in regcache_drop_region() [all …]
|
D | regmap-debugfs.c | 23 struct regmap *map; member 43 struct regmap *map = file->private_data; in regmap_name_read_file() local 72 static void regmap_debugfs_free_dump_cache(struct regmap *map) in regmap_debugfs_free_dump_cache() 85 static bool regmap_printable(struct regmap *map, unsigned int reg) in regmap_printable() 100 static unsigned int regmap_debugfs_get_dump_start(struct regmap *map, in regmap_debugfs_get_dump_start() 186 static inline void regmap_calc_tot_len(struct regmap *map, in regmap_calc_tot_len() 198 static ssize_t regmap_read_debugfs(struct regmap *map, unsigned int from, in regmap_read_debugfs() 271 struct regmap *map = file->private_data; in regmap_map_read_file() local 293 struct regmap *map = file->private_data; in regmap_map_write_file() local 332 struct regmap *map = range->map; in regmap_range_read_file() local [all …]
|
D | regcache-lzo.c | 33 static int regcache_lzo_block_count(struct regmap *map) in regcache_lzo_block_count() 72 static int regcache_lzo_compress_cache_block(struct regmap *map, in regcache_lzo_compress_cache_block() 90 static int regcache_lzo_decompress_cache_block(struct regmap *map, in regcache_lzo_decompress_cache_block() 108 static inline int regcache_lzo_get_blkindex(struct regmap *map, in regcache_lzo_get_blkindex() 116 static inline int regcache_lzo_get_blkpos(struct regmap *map, in regcache_lzo_get_blkpos() 125 static inline int regcache_lzo_get_blksize(struct regmap *map) in regcache_lzo_get_blksize() 131 static int regcache_lzo_init(struct regmap *map) in regcache_lzo_init() 204 static int regcache_lzo_exit(struct regmap *map) in regcache_lzo_exit() 234 static int regcache_lzo_read(struct regmap *map, in regcache_lzo_read() 271 static int regcache_lzo_write(struct regmap *map, in regcache_lzo_write() [all …]
|
/Linux-v4.19/kernel/bpf/ |
D | local_storage.c | 18 struct bpf_map map; member 26 static struct bpf_cgroup_storage_map *map_to_storage(struct bpf_map *map) in map_to_storage() 47 struct bpf_cgroup_storage_map *map, struct bpf_cgroup_storage_key *key, in cgroup_storage_lookup() 82 static int cgroup_storage_insert(struct bpf_cgroup_storage_map *map, in cgroup_storage_insert() 114 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_lookup_elem() local 125 static int cgroup_storage_update_elem(struct bpf_map *map, void *_key, in cgroup_storage_update_elem() 157 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_get_next_key() local 193 struct bpf_cgroup_storage_map *map; in cgroup_storage_map_alloc() local 232 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_map_free() local 240 static int cgroup_storage_delete_elem(struct bpf_map *map, void *key) in cgroup_storage_delete_elem() [all …]
|
D | arraymap.c | 152 static void *array_map_lookup_elem(struct bpf_map *map, void *key) in array_map_lookup_elem() 164 static u32 array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in array_map_gen_lookup() 194 static void *percpu_array_map_lookup_elem(struct bpf_map *map, void *key) in percpu_array_map_lookup_elem() 205 int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value) in bpf_percpu_array_copy() 232 static int array_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in array_map_get_next_key() 251 static int array_map_update_elem(struct bpf_map *map, void *key, void *value, in array_map_update_elem() 279 int bpf_percpu_array_update(struct bpf_map *map, void *key, void *value, in bpf_percpu_array_update() 318 static int array_map_delete_elem(struct bpf_map *map, void *key) in array_map_delete_elem() 324 static void array_map_free(struct bpf_map *map) in array_map_free() 341 static void array_map_seq_show_elem(struct bpf_map *map, void *key, in array_map_seq_show_elem() [all …]
|
D | xskmap.c | 13 struct bpf_map map; member 73 static void xsk_map_free(struct bpf_map *map) in xsk_map_free() 96 static int xsk_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in xsk_map_get_next_key() 113 struct xdp_sock *__xsk_map_lookup_elem(struct bpf_map *map, u32 key) in __xsk_map_lookup_elem() 125 int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, in __xsk_map_redirect() 142 void __xsk_map_flush(struct bpf_map *map) in __xsk_map_flush() 155 static void *xsk_map_lookup_elem(struct bpf_map *map, void *key) in xsk_map_lookup_elem() 160 static int xsk_map_update_elem(struct bpf_map *map, void *key, void *value, in xsk_map_update_elem() 202 static int xsk_map_delete_elem(struct bpf_map *map, void *key) in xsk_map_delete_elem()
|
/Linux-v4.19/net/sctp/ |
D | tsnmap.c | 50 struct sctp_tsnmap *sctp_tsnmap_init(struct sctp_tsnmap *map, __u16 len, in sctp_tsnmap_init() 72 void sctp_tsnmap_free(struct sctp_tsnmap *map) in sctp_tsnmap_free() 84 int sctp_tsnmap_check(const struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_check() 110 int sctp_tsnmap_mark(struct sctp_tsnmap *map, __u32 tsn, in sctp_tsnmap_mark() 157 static void sctp_tsnmap_iter_init(const struct sctp_tsnmap *map, in sctp_tsnmap_iter_init() 167 static int sctp_tsnmap_next_gap_ack(const struct sctp_tsnmap *map, in sctp_tsnmap_next_gap_ack() 205 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_skip() 243 static void sctp_tsnmap_update(struct sctp_tsnmap *map) in sctp_tsnmap_update() 262 __u16 sctp_tsnmap_pending(struct sctp_tsnmap *map) in sctp_tsnmap_pending() 287 static void sctp_tsnmap_find_gap_ack(unsigned long *map, __u16 off, in sctp_tsnmap_find_gap_ack() [all …]
|
/Linux-v4.19/drivers/mtd/maps/ |
D | pci.c | 33 struct map_info map; member 42 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read8() local 50 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read32() local 58 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_copyfrom() local 64 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write8() local 70 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write32() local 76 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_copyto() local 91 intel_iq80310_init(struct pci_dev *dev, struct map_pci_info *map) in intel_iq80310_init() 119 intel_iq80310_exit(struct pci_dev *dev, struct map_pci_info *map) in intel_iq80310_exit() 127 intel_iq80310_translate(struct map_pci_info *map, unsigned long ofs) in intel_iq80310_translate() [all …]
|
D | dc21285.c | 54 static map_word dc21285_read8(struct map_info *map, unsigned long ofs) in dc21285_read8() 61 static map_word dc21285_read16(struct map_info *map, unsigned long ofs) in dc21285_read16() 68 static map_word dc21285_read32(struct map_info *map, unsigned long ofs) in dc21285_read32() 75 static void dc21285_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in dc21285_copy_from() 80 static void dc21285_write8(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write8() 89 static void dc21285_write16(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write16() 98 static void dc21285_write32(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write32() 105 static void dc21285_copy_to_32(struct map_info *map, unsigned long to, const void *from, ssize_t le… in dc21285_copy_to_32() 117 static void dc21285_copy_to_16(struct map_info *map, unsigned long to, const void *from, ssize_t le… in dc21285_copy_to_16() 129 static void dc21285_copy_to_8(struct map_info *map, unsigned long to, const void *from, ssize_t len) in dc21285_copy_to_8()
|
/Linux-v4.19/include/drm/ |
D | drm_os_linux.h | 16 #define DRM_READ8(map, offset) readb(((void __iomem *)(map)->handle) + (offset)) argument 18 #define DRM_READ16(map, offset) readw(((void __iomem *)(map)->handle) + (offset)) argument 20 #define DRM_READ32(map, offset) readl(((void __iomem *)(map)->handle) + (offset)) argument 22 #define DRM_WRITE8(map, offset, val) writeb(val, ((void __iomem *)(map)->handle) + (offset)) argument 24 #define DRM_WRITE16(map, offset, val) writew(val, ((void __iomem *)(map)->handle) + (offset)) argument 26 #define DRM_WRITE32(map, offset, val) writel(val, ((void __iomem *)(map)->handle) + (offset)) argument 29 #define DRM_READ64(map, offset) readq(((void __iomem *)(map)->handle) + (offset)) argument 31 #define DRM_WRITE64(map, offset, val) writeq(val, ((void __iomem *)(map)->handle) + (offset)) argument
|
/Linux-v4.19/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 158 struct map_info *map = mtd->priv; in fixup_amd_bootblock() local 207 struct map_info *map = mtd->priv; in fixup_use_write_buffers() local 218 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() local 256 struct map_info *map = mtd->priv; in fixup_use_erase_chip() local 278 struct map_info *map = mtd->priv; in fixup_old_sst_eraseregion() local 292 struct map_info *map = mtd->priv; in fixup_sst39vf() local 303 struct map_info *map = mtd->priv; in fixup_sst39vf_rev_b() local 316 struct map_info *map = mtd->priv; in fixup_sst38vf640x_sectorsize() local 332 struct map_info *map = mtd->priv; in fixup_s29gl064n_sectors() local 344 struct map_info *map = mtd->priv; in fixup_s29gl032n_sectors() local [all …]
|
D | cfi_probe.c | 38 #define xip_allowed(base, map) \ argument 45 #define xip_enable(base, map, cfi) \ argument 51 #define xip_disable_qry(base, map, cfi) \ argument 60 #define xip_allowed(base, map) do { } while (0) argument 61 #define xip_enable(base, map, cfi) do { } while (0) argument 62 #define xip_disable_qry(base, map, cfi) do { } while (0) argument 95 static int __xipram cfi_probe_chip(struct map_info *map, __u32 base, in cfi_probe_chip() 194 static int __xipram cfi_chip_setup(struct map_info *map, in cfi_chip_setup() 431 struct mtd_info *cfi_probe(struct map_info *map) in cfi_probe()
|
D | cfi_cmdset_0001.c | 172 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() local 212 struct map_info *map = mtd->priv; in fixup_at49bv640dx_lock() local 224 struct map_info *map = mtd->priv; in fixup_intel_strataflash() local 237 struct map_info *map = mtd->priv; in fixup_no_write_suspend() local 250 struct map_info *map = mtd->priv; in fixup_st_m28w320ct() local 259 struct map_info *map = mtd->priv; in fixup_st_m28w320cb() local 279 struct map_info *map = mtd->priv; in fixup_LH28F640BF() local 299 struct map_info *map = mtd->priv; in fixup_use_point() local 308 struct map_info *map = mtd->priv; in fixup_use_write_buffers() local 322 struct map_info *map = mtd->priv; in fixup_unlock_powerup_lock() local [all …]
|
/Linux-v4.19/net/rds/ |
D | cong.c | 109 struct rds_cong_map *map; in rds_cong_tree_walk() local 140 struct rds_cong_map *map; in rds_cong_from_addr() local 217 void rds_cong_queue_updates(struct rds_cong_map *map) in rds_cong_queue_updates() 253 void rds_cong_map_updated(struct rds_cong_map *map, uint64_t portmask) in rds_cong_map_updated() 299 void rds_cong_set_bit(struct rds_cong_map *map, __be16 port) in rds_cong_set_bit() 313 void rds_cong_clear_bit(struct rds_cong_map *map, __be16 port) in rds_cong_clear_bit() 327 static int rds_cong_test_bit(struct rds_cong_map *map, __be16 port) in rds_cong_test_bit() 351 struct rds_cong_map *map; in rds_cong_remove_socket() local 368 int rds_cong_wait(struct rds_cong_map *map, __be16 port, int nonblock, in rds_cong_wait() 402 struct rds_cong_map *map; in rds_cong_exit() local [all …]
|
/Linux-v4.19/net/netfilter/ipset/ |
D | ip_set_bitmap_gen.h | 37 #define get_ext(set, map, id) ((map)->extensions + ((set)->dsize * (id))) argument 42 struct mtype *map = set->data; in mtype_gc_init() local 51 struct mtype *map = set->data; in mtype_ext_cleanup() local 62 struct mtype *map = set->data; in mtype_destroy() local 78 struct mtype *map = set->data; in mtype_flush() local 89 mtype_memsize(const struct mtype *map, size_t dsize) in mtype_memsize() 98 const struct mtype *map = set->data; in mtype_head() local 123 struct mtype *map = set->data; in mtype_test() local 137 struct mtype *map = set->data; in mtype_add() local 182 struct mtype *map = set->data; in mtype_del() local [all …]
|
/Linux-v4.19/drivers/xen/ |
D | gntdev.c | 86 struct gntdev_grant_map *map; in gntdev_print_maps() local 96 static void gntdev_free_map(struct gntdev_grant_map *map) in gntdev_free_map() 209 struct gntdev_grant_map *map; in gntdev_add_map() local 227 struct gntdev_grant_map *map; in gntdev_find_map_index() local 239 void gntdev_put_map(struct gntdev_priv *priv, struct gntdev_grant_map *map) in gntdev_put_map() 270 struct gntdev_grant_map *map = data; in find_grant_ptes() local 303 int gntdev_map_grant_pages(struct gntdev_grant_map *map) in gntdev_map_grant_pages() 368 static int __unmap_grant_pages(struct gntdev_grant_map *map, int offset, in __unmap_grant_pages() 404 static int unmap_grant_pages(struct gntdev_grant_map *map, int offset, in unmap_grant_pages() 437 struct gntdev_grant_map *map = vma->vm_private_data; in gntdev_vma_open() local [all …]
|
/Linux-v4.19/fs/ocfs2/ |
D | heartbeat.c | 50 static void ocfs2_node_map_init(struct ocfs2_node_map *map) in ocfs2_node_map_init() 84 static inline void __ocfs2_node_map_set_bit(struct ocfs2_node_map *map, in __ocfs2_node_map_set_bit() 91 struct ocfs2_node_map *map, in ocfs2_node_map_set_bit() 102 static inline void __ocfs2_node_map_clear_bit(struct ocfs2_node_map *map, in __ocfs2_node_map_clear_bit() 109 struct ocfs2_node_map *map, in ocfs2_node_map_clear_bit() 121 struct ocfs2_node_map *map, in ocfs2_node_map_test_bit()
|
/Linux-v4.19/kernel/trace/ |
D | tracing_map.c | 201 static int tracing_map_add_field(struct tracing_map *map, in tracing_map_add_field() 226 int tracing_map_add_sum_field(struct tracing_map *map) in tracing_map_add_sum_field() 243 int tracing_map_add_var(struct tracing_map *map) in tracing_map_add_var() 269 int tracing_map_add_key_field(struct tracing_map *map, in tracing_map_add_key_field() 400 static struct tracing_map_elt *tracing_map_elt_alloc(struct tracing_map *map) in tracing_map_elt_alloc() 449 static struct tracing_map_elt *get_free_elt(struct tracing_map *map) in get_free_elt() 464 static void tracing_map_free_elts(struct tracing_map *map) in tracing_map_free_elts() 480 static int tracing_map_alloc_elts(struct tracing_map *map) in tracing_map_alloc_elts() 513 __tracing_map_insert(struct tracing_map *map, void *key, bool lookup_only) in __tracing_map_insert() 631 struct tracing_map_elt *tracing_map_insert(struct tracing_map *map, void *key) in tracing_map_insert() [all …]
|
/Linux-v4.19/arch/x86/include/asm/ |
D | mpspec.h | 99 #define physid_set(physid, map) set_bit(physid, (map).mask) argument 100 #define physid_clear(physid, map) clear_bit(physid, (map).mask) argument 101 #define physid_isset(physid, map) test_bit(physid, (map).mask) argument 102 #define physid_test_and_set(physid, map) \ argument 111 #define physids_clear(map) \ argument 117 #define physids_empty(map) \ argument 123 #define physids_weight(map) \ argument 132 static inline unsigned long physids_coerce(physid_mask_t *map) in physids_coerce() 137 static inline void physids_promote(unsigned long physids, physid_mask_t *map) in physids_promote() 143 static inline void physid_set_mask_of_physid(int physid, physid_mask_t *map) in physid_set_mask_of_physid()
|