Home
last modified time | relevance | path

Searched refs:map_info (Results 1 – 73 of 73) sorted by relevance

/linux-4.4.14/include/linux/mtd/
Dmap.h208 struct map_info { struct
224 map_word (*read)(struct map_info *, unsigned long); argument
225 void (*copy_from)(struct map_info *, void *, unsigned long, ssize_t); argument
227 void (*write)(struct map_info *, const map_word, unsigned long); argument
228 void (*copy_to)(struct map_info *, unsigned long, const void *, ssize_t); argument
239 void (*inval_cache)(struct map_info *, unsigned long, ssize_t); argument
243 void (*set_vpp)(struct map_info *, int); argument
254 struct mtd_info *(*probe)(struct map_info *map); argument
264 struct mtd_info *do_map_probe(const char *name, struct map_info *map);
274 static inline int map_word_equal(struct map_info *map, map_word val1, map_word val2) in map_word_equal()
[all …]
Dcfi.h288 struct mtd_info *(*cmdset_setup)(struct map_info *);
300 struct map_info *map, struct cfi_private *cfi);
302 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi);
305 unsigned long cfi_merge_status(map_word val, struct map_info *map,
310 struct map_info *map, struct cfi_private *cfi,
313 static inline uint8_t cfi_read_query(struct map_info *map, uint32_t addr) in cfi_read_query()
329 static inline uint16_t cfi_read_query16(struct map_info *map, uint32_t addr) in cfi_read_query16()
347 int __xipram cfi_qry_present(struct map_info *map, __u32 base,
349 int __xipram cfi_qry_mode_on(uint32_t base, struct map_info *map,
351 void __xipram cfi_qry_mode_off(uint32_t base, struct map_info *map,
[all …]
Dgen_probe.h31 int (*probe_chip)(struct map_info *map, __u32 base,
35 struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp);
Dqinfo.h78 static inline map_word lpddr_build_cmd(u_long cmd, struct map_info *map) in lpddr_build_cmd()
88 struct mtd_info *lpddr_cmdset(struct map_info *);
Dphysmap.h21 struct map_info;
Dlatch-addr-flash.h13 struct map_info;
Dpfow.h99 static inline void send_pfow_command(struct map_info *map, in send_pfow_command()
/linux-4.4.14/drivers/mtd/maps/
Ddc21285.c54 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()
[all …]
Dmap_funcs.c12 static map_word __xipram simple_map_read(struct map_info *map, unsigned long ofs) in simple_map_read()
17 static void __xipram simple_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in simple_map_write()
22 static void __xipram simple_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize… in simple_map_copy_from()
27 static void __xipram simple_map_copy_to(struct map_info *map, unsigned long to, const void *from, s… in simple_map_copy_to()
32 void simple_map_init(struct map_info *map) in simple_map_init()
Dtsunami_flash.c17 static inline map_word tsunami_flash_read8(struct map_info *map, unsigned long offset) in tsunami_flash_read8()
24 static void tsunami_flash_write8(struct map_info *map, map_word value, unsigned long offset) in tsunami_flash_write8()
30 struct map_info *map, void *addr, unsigned long offset, ssize_t len) in tsunami_flash_copy_from()
43 struct map_info *map, unsigned long offset, in tsunami_flash_copy_to()
61 static struct map_info tsunami_flash_map = {
Dsbc_gxx.c103 static inline void sbc_gxx_page(struct map_info *map, unsigned long ofs) in sbc_gxx_page()
114 static map_word sbc_gxx_read8(struct map_info *map, unsigned long ofs) in sbc_gxx_read8()
124 static void sbc_gxx_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in sbc_gxx_copy_from()
141 static void sbc_gxx_write8(struct map_info *map, map_word d, unsigned long adr) in sbc_gxx_write8()
149 static void sbc_gxx_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) in sbc_gxx_copy_to()
166 static struct map_info sbc_gxx_map = {
Dlantiq-flash.c44 struct map_info *map;
50 ltq_read16(struct map_info *map, unsigned long adr) in ltq_read16()
64 ltq_write16(struct map_info *map, map_word d, unsigned long adr) in ltq_write16()
83 ltq_copy_from(struct map_info *map, void *to, in ltq_copy_from()
97 ltq_copy_to(struct map_info *map, unsigned long to, in ltq_copy_to()
136 ltq_mtd->map = devm_kzalloc(&pdev->dev, sizeof(struct map_info), in ltq_mtd_probe()
Duclinux.c36 extern struct map_info uclinux_ram_map;
38 struct map_info uclinux_ram_map = {
61 struct map_info *map = mtd->priv; in uclinux_point()
74 struct map_info *mapp; in uclinux_mtd_init()
Dpci.c33 struct map_info map;
40 static map_word mtd_pci_read8(struct map_info *_map, unsigned long ofs) in mtd_pci_read8()
48 static map_word mtd_pci_read32(struct map_info *_map, unsigned long ofs) in mtd_pci_read32()
56 static void mtd_pci_copyfrom(struct map_info *_map, void *to, unsigned long from, ssize_t len) in mtd_pci_copyfrom()
62 static void mtd_pci_write8(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write8()
68 static void mtd_pci_write32(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write32()
74 static void mtd_pci_copyto(struct map_info *_map, unsigned long to, const void *from, ssize_t len) in mtd_pci_copyto()
80 static const struct map_info mtd_pci_map = {
Dpcmciamtd.c36 struct map_info pcmcia_map;
83 static caddr_t remap_window(struct map_info *map, unsigned long to) in remap_window()
108 static map_word pcmcia_read8_remap(struct map_info *map, unsigned long ofs) in pcmcia_read8_remap()
123 static map_word pcmcia_read16_remap(struct map_info *map, unsigned long ofs) in pcmcia_read16_remap()
138 static void pcmcia_copy_from_remap(struct map_info *map, void *to, unsigned long from, ssize_t len) in pcmcia_copy_from_remap()
164 static void pcmcia_write8_remap(struct map_info *map, map_word d, unsigned long adr) in pcmcia_write8_remap()
176 static void pcmcia_write16_remap(struct map_info *map, map_word d, unsigned long adr) in pcmcia_write16_remap()
187 static void pcmcia_copy_to_remap(struct map_info *map, unsigned long to, const void *from, ssize_t … in pcmcia_copy_to_remap()
217 static map_word pcmcia_read8(struct map_info *map, unsigned long ofs) in pcmcia_read8()
232 static map_word pcmcia_read16(struct map_info *map, unsigned long ofs) in pcmcia_read16()
[all …]
Dixp4xx.c88 static map_word ixp4xx_read16(struct map_info *map, unsigned long ofs) in ixp4xx_read16()
100 static void ixp4xx_copy_from(struct map_info *map, void *to, in ixp4xx_copy_from()
131 static void ixp4xx_probe_write16(struct map_info *map, map_word d, unsigned long adr) in ixp4xx_probe_write16()
140 static void ixp4xx_write16(struct map_info *map, map_word d, unsigned long adr) in ixp4xx_write16()
147 struct map_info map;
Dbfin-async-flash.c39 struct map_info map;
70 static map_word bfin_flash_read(struct map_info *map, unsigned long ofs) in bfin_flash_read()
86 static void bfin_flash_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in bfin_flash_copy_from()
97 static void bfin_flash_write(struct map_info *map, map_word d1, unsigned long ofs) in bfin_flash_write()
112 static void bfin_flash_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t le… in bfin_flash_copy_to()
Dgpio-addr-flash.c45 struct map_info map;
82 static map_word gf_read(struct map_info *map, unsigned long ofs) in gf_read()
105 static void gf_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in gf_copy_from()
131 static void gf_write(struct map_info *map, map_word d1, unsigned long ofs) in gf_write()
151 static void gf_copy_to(struct map_info *map, unsigned long to, in gf_copy_to()
Dlatch-addr-flash.c26 struct map_info map;
38 static map_word lf_read(struct map_info *map, unsigned long ofs) in lf_read()
55 static void lf_write(struct map_info *map, map_word datum, unsigned long ofs) in lf_write()
69 static void lf_copy_from(struct map_info *map, void *to, in lf_copy_from()
Dsolutionengine.c22 struct map_info soleng_eprom_map = {
28 struct map_info soleng_flash_map = {
Dl440gx.c32 static void l440gx_set_vpp(struct map_info *map, int vpp) in l440gx_set_vpp()
47 static struct map_info l440gx_map = {
Dsun_uflash.c40 struct map_info map; /* mtd map info */
44 struct map_info uflash_map_templ = {
Dpxa2xx-flash.c28 static void pxa2xx_map_inval_cache(struct map_info *map, unsigned long from, in pxa2xx_map_inval_cache()
44 struct map_info map;
Dscb2_flash.c64 static struct map_info scb2_map = {
75 struct map_info *map = mtd->priv; in scb2_fixup_mtd()
Dpmcmsp-flash.c47 static struct map_info *msp_maps;
78 msp_flash = kmalloc(fcnt * sizeof(struct map_info *), GFP_KERNEL); in init_msp_flash()
Dts5500_flash.c39 static struct map_info ts5500_map = {
Dnetsc520.c82 static struct map_info netsc520_map = {
Dcfi_flagadm.c58 static struct map_info flagadm_map = {
Dsa1100-flash.c28 struct map_info map;
41 static void sa1100_set_vpp(struct map_info *map, int on) in sa1100_set_vpp()
Dphysmap.c29 struct map_info map[MAX_RESOURCES];
63 static void physmap_set_vpp(struct map_info *map, int state) in physmap_set_vpp()
Dnettel.c66 static struct map_info nettel_intel_map = {
104 static struct map_info nettel_amd_map = {
Dimpa7.c34 static struct map_info impa7_map[NUM_FLASHBANKS] = {
Dphysmap_of.c30 struct map_info map;
78 struct map_info *map) in obsolete_probe()
Drbtx4939-flash.c26 struct map_info map;
Dsc520cdp.c86 static struct map_info sc520cdp_map[] = {
Dscx200_docflash.c71 static struct map_info scx200_docflash_map = {
Dplat-ram.c45 struct map_info map;
Dintel_vr_nor.c44 struct map_info map;
Damd76xrom.c41 struct map_info map;
Dck804xrom.c45 struct map_info map;
Dichxrom.c46 struct map_info map;
Desb2rom.c107 struct map_info map;
/linux-4.4.14/drivers/infiniband/core/
Diwpm_util.c123 struct iwpm_mapping_info *map_info; in iwpm_create_mapinfo() local
129 map_info = kzalloc(sizeof(struct iwpm_mapping_info), GFP_KERNEL); in iwpm_create_mapinfo()
130 if (!map_info) { in iwpm_create_mapinfo()
134 memcpy(&map_info->local_sockaddr, local_sockaddr, in iwpm_create_mapinfo()
136 memcpy(&map_info->mapped_sockaddr, mapped_sockaddr, in iwpm_create_mapinfo()
138 map_info->nl_client = nl_client; in iwpm_create_mapinfo()
143 &map_info->local_sockaddr, in iwpm_create_mapinfo()
144 &map_info->mapped_sockaddr); in iwpm_create_mapinfo()
146 hlist_add_head(&map_info->hlist_node, hash_bucket_head); in iwpm_create_mapinfo()
160 struct iwpm_mapping_info *map_info = NULL; in iwpm_remove_mapinfo() local
[all …]
/linux-4.4.14/drivers/mtd/lpddr/
Dqinfo_probe.c34 static int lpddr_chip_setup(struct map_info *map, struct lpddr_private *lpddr);
35 struct mtd_info *lpddr_probe(struct map_info *map);
36 static struct lpddr_private *lpddr_probe_chip(struct map_info *map);
37 static int lpddr_pfow_present(struct map_info *map,
58 static long lpddr_get_qinforec_pos(struct map_info *map, char *id_str) in lpddr_get_qinforec_pos()
77 static uint16_t lpddr_info_query(struct map_info *map, char *id_str) in lpddr_info_query()
105 static int lpddr_pfow_present(struct map_info *map, struct lpddr_private *lpddr) in lpddr_pfow_present()
134 static int lpddr_chip_setup(struct map_info *map, struct lpddr_private *lpddr) in lpddr_chip_setup()
159 static struct lpddr_private *lpddr_probe_chip(struct map_info *map) in lpddr_probe_chip()
198 struct mtd_info *lpddr_probe(struct map_info *map) in lpddr_probe()
Dlpddr2_nvm.c129 static inline u_long ow_reg_add(struct map_info *map, u_long offset) in ow_reg_add()
145 static inline void ow_enable(struct map_info *map) in ow_enable()
160 static inline void ow_disable(struct map_info *map) in ow_disable()
172 static int lpddr2_nvm_do_op(struct map_info *map, u_long cmd_code, in lpddr2_nvm_do_op()
245 struct map_info *map = mtd->priv; in lpddr2_nvm_do_block_op()
272 static int lpddr2_nvm_pfow_present(struct map_info *map) in lpddr2_nvm_pfow_present()
310 struct map_info *map = mtd->priv; in lpddr2_nvm_read()
328 struct map_info *map = mtd->priv; in lpddr2_nvm_write()
416 struct map_info *map; in lpddr2_nvm_probe()
442 *map = (struct map_info) { in lpddr2_nvm_probe()
Dlpddr_cmds.c44 static int get_chip(struct map_info *map, struct flchip *chip, int mode);
45 static int chip_ready(struct map_info *map, struct flchip *chip, int mode);
46 static void put_chip(struct map_info *map, struct flchip *chip);
48 struct mtd_info *lpddr_cmdset(struct map_info *map) in lpddr_cmdset()
111 static int wait_for_ready(struct map_info *map, struct flchip *chip, in wait_for_ready()
184 static int get_chip(struct map_info *map, struct flchip *chip, int mode) in get_chip()
280 static int chip_ready(struct map_info *map, struct flchip *chip, int mode) in chip_ready()
334 static void put_chip(struct map_info *map, struct flchip *chip) in put_chip()
389 static int do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer()
472 struct map_info *map = mtd->priv; in do_erase_oneblock()
[all …]
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-flash.c30 static struct map_info cobalt_flash_map = {
37 static map_word flash_read16(struct map_info *map, unsigned long offset) in flash_read16()
50 static void flash_write16(struct map_info *map, const map_word datum, in flash_write16()
58 static void flash_copy_from(struct map_info *map, void *to, in flash_copy_from()
76 static void flash_copy_to(struct map_info *map, unsigned long to, in flash_copy_to()
99 struct map_info *map = &cobalt_flash_map; in cobalt_flash_probe()
/linux-4.4.14/drivers/mtd/chips/
Dgen_probe.c15 static struct mtd_info *check_cmd_set(struct map_info *, int);
16 static struct cfi_private *genprobe_ident_chips(struct map_info *map,
18 static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp,
21 struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp) in mtd_do_chip_probe()
59 static struct cfi_private *genprobe_ident_chips(struct map_info *map, struct chip_probe *cp) in genprobe_ident_chips()
165 static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp, in genprobe_new_chip()
193 typedef struct mtd_info *cfi_cmdset_fn_t(struct map_info *, int);
199 static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map, in cfi_cmdset_unknown()
230 static struct mtd_info *check_cmd_set(struct map_info *map, int primary) in check_cmd_set()
Dmap_ram.c22 static struct mtd_info *map_ram_probe(struct map_info *map);
33 static struct mtd_info *map_ram_probe(struct map_info *map) in map_ram_probe()
95 struct map_info *map = mtd->priv; in mapram_unmapped_area()
101 struct map_info *map = mtd->priv; in mapram_read()
110 struct map_info *map = mtd->priv; in mapram_write()
121 struct map_info *map = mtd->priv; in mapram_erase()
Dmap_rom.c21 static struct mtd_info *map_rom_probe(struct map_info *map);
32 static unsigned int default_erasesize(struct map_info *map) in default_erasesize()
41 static struct mtd_info *map_rom_probe(struct map_info *map) in map_rom_probe()
79 struct map_info *map = mtd->priv; in maprom_unmapped_area()
85 struct map_info *map = mtd->priv; in maprom_read()
Dcfi_util.c41 struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd_addr()
67 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd()
130 unsigned long cfi_merge_status(map_word val, struct map_info *map, in cfi_merge_status()
198 struct map_info *map, struct cfi_private *cfi, in cfi_send_gen_cmd()
214 int __xipram cfi_qry_present(struct map_info *map, __u32 base, in cfi_qry_present()
242 int __xipram cfi_qry_mode_on(uint32_t base, struct map_info *map, in cfi_qry_mode_on()
280 void __xipram cfi_qry_mode_off(uint32_t base, struct map_info *map, in cfi_qry_mode_off()
293 __xipram cfi_read_pri(struct map_info *map, __u16 adr, __u16 size, const char* name) in cfi_read_pri()
338 struct map_info *map = mtd->priv; in cfi_fixup()
355 struct map_info *map = mtd->priv; in cfi_varsize_frob()
Dcfi_cmdset_0002.c79 struct mtd_info *cfi_cmdset_0002(struct map_info *, int);
82 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
83 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
158 struct map_info *map = mtd->priv; in fixup_amd_bootblock()
207 struct map_info *map = mtd->priv; in fixup_use_write_buffers()
218 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri()
256 struct map_info *map = mtd->priv; in fixup_use_erase_chip()
278 struct map_info *map = mtd->priv; in fixup_old_sst_eraseregion()
292 struct map_info *map = mtd->priv; in fixup_sst39vf()
303 struct map_info *map = mtd->priv; in fixup_sst39vf_rev_b()
[all …]
Dcfi_cmdset_0001.c87 struct mtd_info *cfi_cmdset_0001(struct map_info *, int);
96 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
97 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
98 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
171 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri()
211 struct map_info *map = mtd->priv; in fixup_at49bv640dx_lock()
223 struct map_info *map = mtd->priv; in fixup_intel_strataflash()
236 struct map_info *map = mtd->priv; in fixup_no_write_suspend()
249 struct map_info *map = mtd->priv; in fixup_st_m28w320ct()
258 struct map_info *map = mtd->priv; in fixup_st_m28w320cb()
[all …]
Dcfi_probe.c27 static int cfi_probe_chip(struct map_info *map, __u32 base,
29 static int cfi_chip_setup(struct map_info *map, struct cfi_private *cfi);
31 struct mtd_info *cfi_probe(struct map_info *map);
71 static int __xipram cfi_probe_chip(struct map_info *map, __u32 base, in cfi_probe_chip()
154 static int __xipram cfi_chip_setup(struct map_info *map, in cfi_chip_setup()
389 struct mtd_info *cfi_probe(struct map_info *map) in cfi_probe()
Dcfi_cmdset_0020.c50 struct mtd_info *cfi_cmdset_0020(struct map_info *, int);
52 static struct mtd_info *cfi_staa_setup (struct map_info *);
113 struct mtd_info *cfi_cmdset_0020(struct map_info *map, int primary) in cfi_cmdset_0020()
166 static struct mtd_info *cfi_staa_setup(struct map_info *map) in cfi_staa_setup()
247 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len… in do_read_onechip()
384 struct map_info *map = mtd->priv; in cfi_staa_read()
419 static inline int do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer()
608 struct map_info *map = mtd->priv; in cfi_staa_write_buffers()
731 static inline int do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_erase_oneblock()
891 { struct map_info *map = mtd->priv; in cfi_staa_erase_varsize()
[all …]
Dchipreg.c57 struct mtd_info *do_map_probe(const char *name, struct map_info *map) in do_map_probe()
87 struct map_info *map = mtd->priv; in map_destroy()
Dmap_absent.c33 static struct mtd_info *map_absent_probe(struct map_info *map);
44 static struct mtd_info *map_absent_probe(struct map_info *map) in map_absent_probe()
Dfwh_lock.h28 static int fwh_xxlock_oneblock(struct map_info *map, struct flchip *chip, in fwh_xxlock_oneblock()
Djedec_probe.c1878 static inline u32 jedec_read_mfr(struct map_info *map, uint32_t base, in jedec_read_mfr()
1899 static inline u32 jedec_read_id(struct map_info *map, uint32_t base, in jedec_read_id()
1910 static void jedec_reset(u32 base, struct map_info *map, struct cfi_private *cfi) in jedec_reset()
1938 static int cfi_jedec_setup(struct map_info *map, struct cfi_private *cfi, int index) in cfi_jedec_setup()
1997 struct map_info *map, in jedec_match()
2115 static int jedec_probe_chip(struct map_info *map, __u32 base, in jedec_probe_chip()
2250 static struct mtd_info *jedec_probe(struct map_info *map) in jedec_probe()
/linux-4.4.14/arch/mips/cavium-octeon/
Dflash_setup.c20 static struct map_info flash_map;
30 static map_word octeon_flash_map_read(struct map_info *map, unsigned long ofs) in octeon_flash_map_read()
41 static void octeon_flash_map_write(struct map_info *map, const map_word datum, in octeon_flash_map_write()
49 static void octeon_flash_map_copy_from(struct map_info *map, void *to, in octeon_flash_map_copy_from()
57 static void octeon_flash_map_copy_to(struct map_info *map, unsigned long to, in octeon_flash_map_copy_to()
/linux-4.4.14/arch/cris/arch-v10/drivers/
Daxisflashmap.c55 static map_word flash_read(struct map_info *map, unsigned long ofs) in flash_read()
62 static void flash_copy_from(struct map_info *map, void *to, in flash_copy_from()
68 static void flash_write(struct map_info *map, map_word d, unsigned long adr) in flash_write()
88 static struct map_info map_cse0 = {
104 static struct map_info map_cse1 = {
193 static struct mtd_info *probe_cs(struct map_info *map_cs) in probe_cs()
/linux-4.4.14/fs/xfs/
Dxfs_dir2_readdir.c489 struct xfs_dir2_leaf_map_info *map_info; in xfs_dir2_leaf_getdents() local
505 map_info = kmem_zalloc(offsetof(struct xfs_dir2_leaf_map_info, map) + in xfs_dir2_leaf_getdents()
508 map_info->map_size = length; in xfs_dir2_leaf_getdents()
520 map_info->map_off = xfs_dir2_db_to_da(geo, in xfs_dir2_leaf_getdents()
538 error = xfs_dir2_leaf_readbuf(args, bufsize, map_info, in xfs_dir2_leaf_getdents()
541 if (error || !map_info->map_valid) in xfs_dir2_leaf_getdents()
548 map_info->curdb, 0); in xfs_dir2_leaf_getdents()
559 map_info->curdb); in xfs_dir2_leaf_getdents()
644 kmem_free(map_info); in xfs_dir2_leaf_getdents()
/linux-4.4.14/arch/cris/arch-v32/drivers/
Daxisflashmap.c60 static map_word flash_read(struct map_info *map, unsigned long ofs) in flash_read()
67 static void flash_copy_from(struct map_info *map, void *to, in flash_copy_from()
73 static void flash_write(struct map_info *map, map_word d, unsigned long adr) in flash_write()
93 static struct map_info map_cse0 = {
109 static struct map_info map_cse1 = {
227 static struct mtd_info *probe_cs(struct map_info *map_cs) in probe_cs()
/linux-4.4.14/include/linux/
Ddevice-mapper.h24 union map_info { union
50 union map_info *map_context);
53 union map_info *map_context,
69 union map_info *map_context);
408 union map_info *dm_get_rq_mapinfo(struct request *rq);
/linux-4.4.14/drivers/md/
Ddm-target.c135 union map_info *map_context) in io_err_map_rq()
141 union map_info *map_context, in io_err_clone_and_map_rq()
Ddm-mpath.c225 static int set_mapinfo(struct multipath *m, union map_info *info) in set_mapinfo()
239 static void clear_mapinfo(struct multipath *m, union map_info *info) in clear_mapinfo()
380 union map_info *map_context, in __multipath_map()
452 union map_info *map_context) in multipath_map()
458 union map_info *map_context, in multipath_clone_and_map()
1291 int error, union map_info *map_context) in multipath_end_io()
Ddm.c89 union map_info info;
109 union map_info *dm_get_rq_mapinfo(struct request *rq) in dm_get_rq_mapinfo()
/linux-4.4.14/kernel/events/
Duprobes.c697 struct map_info { struct
698 struct map_info *next; argument
703 static inline struct map_info *free_map_info(struct map_info *info) in free_map_info() argument
705 struct map_info *next = info->next; in free_map_info()
710 static struct map_info *
715 struct map_info *curr = NULL; in build_map_info()
716 struct map_info *prev = NULL; in build_map_info()
717 struct map_info *info; in build_map_info()
731 prev = kmalloc(sizeof(struct map_info), in build_map_info()
764 info = kmalloc(sizeof(struct map_info), GFP_KERNEL); in build_map_info()
[all …]
/linux-4.4.14/arch/mips/include/asm/txx9/
Drbtx4939.h134 struct map_info;
139 void (*map_init)(struct map_info *map);
/linux-4.4.14/arch/mips/txx9/rbtx4939/
Dsetup.c309 static map_word rbtx4939_flash_read16(struct map_info *map, unsigned long ofs) in rbtx4939_flash_read16()
318 static void rbtx4939_flash_write16(struct map_info *map, const map_word datum, in rbtx4939_flash_write16()
326 static void rbtx4939_flash_copy_from(struct map_info *map, void *to, in rbtx4939_flash_copy_from()
367 static void rbtx4939_flash_map_init(struct map_info *map) in rbtx4939_flash_map_init()
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dmach-nexcoder.c89 static struct map_info nexcoder_nor_map = {
/linux-4.4.14/arch/blackfin/kernel/
Dsetup.c56 extern struct map_info uclinux_ram_map;
/linux-4.4.14/drivers/mtd/
Dmtdchar.c1131 struct map_info *map = mtd->priv; in mtdchar_mmap()