Searched refs:map_type (Results 1 - 43 of 43) sorted by relevance

/linux-4.4.14/tools/lib/bpf/
H A Dbpf.h13 int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size,
H A Dbpf.c43 int bpf_create_map(enum bpf_map_type map_type, int key_size, bpf_create_map() argument
50 attr.map_type = map_type; bpf_create_map()
/linux-4.4.14/tools/perf/util/
H A Dmap.h13 enum map_type { enum
36 u8 /* enum map_type */ type;
143 void map__init(struct map *map, enum map_type type,
148 char *filename, enum map_type type, struct thread *thread);
149 struct map *map__new2(u64 start, struct dso *dso, enum map_type type);
186 size_t __map_groups__fprintf_maps(struct map_groups *mg, enum map_type type,
198 struct map_groups *parent, enum map_type type);
216 enum map_type type, u64 addr) map_groups__find()
222 enum map_type type) map_groups__first()
233 enum map_type type, u64 addr,
238 enum map_type type,
259 enum map_type type, const char *name);
H A Dthread.h77 u8 cpumode, enum map_type type, u64 addr,
81 u8 cpumode, enum map_type type, u64 addr,
85 enum map_type type, u64 addr,
H A Ddso.h197 * @type: the 'enum map_type' type of symbols
202 static inline void dso__set_loaded(struct dso *dso, enum map_type type) dso__set_loaded()
226 bool dso__loaded(const struct dso *dso, enum map_type type);
228 bool dso__sorted_by_name(const struct dso *dso, enum map_type type);
229 void dso__set_sorted_by_name(struct dso *dso, enum map_type type);
230 void dso__sort_by_name(struct dso *dso, enum map_type type);
336 enum map_type type, FILE *fp);
337 size_t dso__fprintf(struct dso *dso, enum map_type type, FILE *fp);
H A Dsymbol.h238 struct symbol *dso__find_symbol(struct dso *dso, enum map_type type,
240 struct symbol *dso__find_symbol_by_name(struct dso *dso, enum map_type type,
244 struct symbol *dso__first_symbol(struct dso *dso, enum map_type type);
266 bool symbol_type__is_a(char symbol_type, enum map_type map_type);
280 void __map_groups__fixup_end(struct map_groups *mg, enum map_type type);
H A Dmachine.h51 struct map *__machine__kernel_map(struct machine *machine, enum map_type type) __machine__kernel_map()
174 enum map_type type, u64 addr, machine__find_kernel_symbol()
205 enum map_type type, symbol_filter_t filter);
206 int machine__load_vmlinux_path(struct machine *machine, enum map_type type,
H A Dmap.c127 void map__init(struct map *map, enum map_type type, map__init()
147 enum map_type type, struct thread *thread) map__new()
213 struct map *map__new2(u64 start, struct dso *dso, enum map_type type) map__new2()
540 enum map_type type, u64 addr, map_groups__find_symbol()
583 enum map_type type, map_groups__find_symbol_by_name()
632 size_t __map_groups__fprintf_maps(struct map_groups *mg, enum map_type type, __map_groups__fprintf_maps()
732 struct map_groups *parent, enum map_type type) map_groups__clone()
H A Dsymbol.c64 bool symbol_type__is_a(char symbol_type, enum map_type map_type) symbol_type__is_a() argument
68 switch (map_type) { symbol_type__is_a()
203 void __map_groups__fixup_end(struct map_groups *mg, enum map_type type) __map_groups__fixup_end()
446 enum map_type type; dso__reset_find_symbol_cache()
455 enum map_type type, u64 addr) dso__find_symbol()
465 struct symbol *dso__first_symbol(struct dso *dso, enum map_type type) dso__first_symbol()
486 struct symbol *dso__find_symbol_by_name(struct dso *dso, enum map_type type, dso__find_symbol_by_name()
492 void dso__sort_by_name(struct dso *dso, enum map_type type) dso__sort_by_name()
500 enum map_type type, FILE *fp) dso__fprintf_symbols_by_name()
1093 enum map_type type;
1554 enum map_type type, const char *name) map_groups__find_by_name()
H A Dthread.c226 enum map_type type, u64 addr, thread__find_cpumode_addr_location()
H A Dmachine.c740 enum map_type type; __machine__create_kernel_maps()
768 enum map_type type; machine__destroy_kernel_maps()
870 enum map_type type, symbol_filter_t filter) machine__load_kallsyms()
888 int machine__load_vmlinux_path(struct machine *machine, enum map_type type, machine__load_vmlinux_path()
1264 enum map_type type; machine__process_mmap2_event()
1318 enum map_type type; machine__process_mmap_event()
H A Ddso.c1024 bool dso__loaded(const struct dso *dso, enum map_type type) dso__loaded()
1029 bool dso__sorted_by_name(const struct dso *dso, enum map_type type) dso__sorted_by_name()
1034 void dso__set_sorted_by_name(struct dso *dso, enum map_type type) dso__set_sorted_by_name()
1303 size_t dso__fprintf(struct dso *dso, enum map_type type, FILE *fp) dso__fprintf()
H A Devent.c899 enum map_type type, u64 addr, thread__find_addr_map()
975 u8 cpumode, enum map_type type, u64 addr, thread__find_addr_location()
H A Dsymbol-elf.c104 static bool elf_sym__is_a(GElf_Sym *sym, enum map_type type) elf_sym__is_a()
141 enum map_type type) elf_sec__is_a()
H A Dsession.c1709 enum map_type i; maps__set_kallsyms_ref_reloc_sym()
/linux-4.4.14/samples/bpf/
H A Dlibbpf.c21 int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size, bpf_create_map() argument
25 .map_type = map_type, bpf_create_map()
H A Dlibbpf.h7 int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size,
/linux-4.4.14/fs/cifs/
H A Dcifs_unicode.c32 int map_type; cifs_remap() local
35 map_type = SFM_MAP_UNI_RSVD; cifs_remap()
37 map_type = SFU_MAP_UNI_RSVD; cifs_remap()
39 map_type = NO_MAP_UNI_RSVD; cifs_remap()
41 return map_type; cifs_remap()
116 * @map_type - How should the 7 NTFS/SMB reserved characters be mapped to UCS2?
183 const struct nls_table *codepage, int map_type) cifs_from_utf16()
218 charlen = cifs_mapchar(tmp, ftmp, codepage, map_type); cifs_from_utf16()
224 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, map_type); cifs_from_utf16()
182 cifs_from_utf16(char *to, const __le16 *from, int tolen, int fromlen, const struct nls_table *codepage, int map_type) cifs_from_utf16() argument
H A Dsmb2misc.c384 int map_type; cifs_convert_path_to_utf16() local
387 map_type = SFM_MAP_UNI_RSVD; cifs_convert_path_to_utf16()
389 map_type = SFU_MAP_UNI_RSVD; cifs_convert_path_to_utf16()
391 map_type = NO_MAP_UNI_RSVD; cifs_convert_path_to_utf16()
399 cifs_sb->local_nls, map_type); cifs_convert_path_to_utf16()
H A Dcifs_unicode.h106 const struct nls_table *cp, int map_type);
H A Dreaddir.c713 int map_type; cifs_filldir() local
715 map_type = cifs_remap(cifs_sb); cifs_filldir()
721 (size_t)max_len), nlt, map_type); cifs_filldir()
/linux-4.4.14/drivers/pinctrl/
H A Dpinconf.c389 enum pinctrl_map_type map_type; member in struct:dbg_cfg
420 if (map->type != dbg->map_type) for_each_maps()
511 dbg->map_type = PIN_MAP_TYPE_CONFIGS_PIN; pinconf_dbg_config_write()
513 dbg->map_type = PIN_MAP_TYPE_CONFIGS_GROUP; pinconf_dbg_config_write()
555 if (map->type != dbg->map_type) for_each_maps()
H A Dcore.c1478 static inline const char *map_type(enum pinctrl_map_type type) map_type() function
1505 map->dev_name, map->name, map_type(map->type), for_each_maps()
1553 map_type(setting->type), pinctrl_show()
/linux-4.4.14/drivers/media/tuners/
H A Dtda18271-priv.h189 enum tda18271_map_type map_type,
192 enum tda18271_map_type map_type,
H A Dtda18271-maps.c1068 enum tda18271_map_type map_type, tda18271_lookup_pll_map()
1079 switch (map_type) { tda18271_lookup_pll_map()
1119 enum tda18271_map_type map_type, tda18271_lookup_map()
1130 switch (map_type) { tda18271_lookup_map()
1067 tda18271_lookup_pll_map(struct dvb_frontend *fe, enum tda18271_map_type map_type, u32 *freq, u8 *post_div, u8 *div) tda18271_lookup_pll_map() argument
1118 tda18271_lookup_map(struct dvb_frontend *fe, enum tda18271_map_type map_type, u32 *freq, u8 *val) tda18271_lookup_map() argument
/linux-4.4.14/arch/x86/kernel/apic/
H A Dx2apic_uv_x.c490 enum map_type {map_wb, map_uc}; enum
493 int bshift, int max_pnode, enum map_type map_type) map_high()
504 if (map_type == map_uc) map_high()
492 map_high(char *id, unsigned long base, int pshift, int bshift, int max_pnode, enum map_type map_type) map_high() argument
/linux-4.4.14/kernel/bpf/
H A Dsyscall.c31 if (tl->type == attr->map_type) { find_and_alloc_map()
36 map->map_type = attr->map_type; find_and_alloc_map()
88 if (map->map_type == BPF_MAP_TYPE_PROG_ARRAY) bpf_map_put_uref()
H A Dverifier.c896 switch (map->map_type) { check_map_func_compatibility()
913 if (map->map_type != BPF_MAP_TYPE_PROG_ARRAY) check_map_func_compatibility()
918 if (map->map_type != BPF_MAP_TYPE_PERF_EVENT_ARRAY) check_map_func_compatibility()
927 verbose("cannot pass map_type %d into func %d\n", check_map_func_compatibility()
928 map->map_type, func_id); check_map_func_compatibility()
H A Dcore.c683 if (map->map_type != BPF_MAP_TYPE_PROG_ARRAY) bpf_check_tail_call()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c82 enum mlx5e_dma_map_type map_type) mlx5e_dma_push()
86 sq->dma_fifo[sq->dma_fifo_pc & sq->dma_fifo_mask].type = map_type; mlx5e_dma_push()
79 mlx5e_dma_push(struct mlx5e_sq *sq, dma_addr_t addr, u32 size, enum mlx5e_dma_map_type map_type) mlx5e_dma_push() argument
/linux-4.4.14/include/linux/
H A Dbpf.h35 enum bpf_map_type map_type; member in struct:bpf_map
/linux-4.4.14/include/uapi/linux/
H A Dbpf.h103 __u32 map_type; /* one of enum bpf_map_type */ member in struct:bpf_attr::__anon13933
/linux-4.4.14/tools/perf/tests/
H A Dvmlinux-kallsyms.c28 enum map_type type = MAP__FUNCTION; test__vmlinux_matches_kallsyms()
/linux-4.4.14/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c315 if (tbi->map_type == VMXNET3_MAP_SINGLE) vmxnet3_unmap_tx_buf()
318 else if (tbi->map_type == VMXNET3_MAP_PAGE) vmxnet3_unmap_tx_buf()
322 BUG_ON(tbi->map_type != VMXNET3_MAP_NONE); vmxnet3_unmap_tx_buf()
324 tbi->map_type = VMXNET3_MAP_NONE; /* to help debugging */ vmxnet3_unmap_tx_buf()
416 tq->buf_info[i].map_type != VMXNET3_MAP_NONE); vmxnet3_tq_cleanup()
493 tq->buf_info[i].map_type = VMXNET3_MAP_NONE; vmxnet3_tq_init()
697 tbi->map_type = VMXNET3_MAP_NONE; vmxnet3_map_pkt()
725 tbi->map_type = VMXNET3_MAP_SINGLE; vmxnet3_map_pkt()
767 tbi->map_type = VMXNET3_MAP_PAGE; vmxnet3_map_pkt()
H A Dvmxnet3_int.h189 u32 map_type; member in struct:vmxnet3_tx_buf_info
/linux-4.4.14/drivers/edac/
H A De752x_edac.c219 int map_type; member in struct:e752x_pvt
1055 /* Remap csrow index numbers if map_type is "reverse"
1061 if (!pvt->map_type) remap_csrow_index()
1332 pvt->map_type = ((stat8 & 0x0f) > ((stat8 >> 4) & 0x0f)); e752x_probe1()
/linux-4.4.14/fs/btrfs/
H A Dvolumes.h305 u64 map_type; /* get from map_lookup->type */ member in struct:btrfs_bio
H A Dscrub.c1262 if (bbio->map_type & BTRFS_BLOCK_GROUP_RAID5) scrub_nr_raid_mirrors()
1264 else if (bbio->map_type & BTRFS_BLOCK_GROUP_RAID6) scrub_nr_raid_mirrors()
1270 static inline void scrub_stripe_index_and_offset(u64 logical, u64 map_type, scrub_stripe_index_and_offset() argument
1279 if (map_type & BTRFS_BLOCK_GROUP_RAID56_MASK) { scrub_stripe_index_and_offset()
1387 bbio->map_type, scrub_setup_recheck_block()
1438 (page->recover->bbio->map_type & BTRFS_BLOCK_GROUP_RAID56_MASK); scrub_is_page_on_raid56()
2194 !(bbio->map_type & BTRFS_BLOCK_GROUP_RAID56_MASK))) { scrub_missing_raid56_pages()
H A Draid56.c1002 if (bbio->map_type & BTRFS_BLOCK_GROUP_RAID5) alloc_rbio()
1004 else if (bbio->map_type & BTRFS_BLOCK_GROUP_RAID6) alloc_rbio()
1857 if (rbio->bbio->map_type & BTRFS_BLOCK_GROUP_RAID6) { __raid_recover_end_io()
H A Dvolumes.c5726 bbio->map_type = map->type; __btrfs_map_block()
/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_vm.c78 static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma) drm_dma_prot() argument
/linux-4.4.14/tools/perf/
H A Dbuiltin-trace.c2227 char map_type = 'd'; trace__pgfault() local
2265 map_type = 'x'; trace__pgfault()
2267 map_type = '?'; trace__pgfault()
2272 fprintf(trace->output, " (%c%c)\n", map_type, al.level); trace__pgfault()
/linux-4.4.14/mm/
H A Dmmap.c69 * map_type prot

Completed in 1187 milliseconds