/linux-master/drivers/acpi/arm64/ |
H A D | dma.c | 12 const struct bus_dma_region *map = NULL; local 30 ret = acpi_dma_get_range(dev, &map); 31 if (!ret && map) { 32 const struct bus_dma_region *r = map; 40 dev->dma_range_map = map;
|
/linux-master/tools/perf/arch/powerpc/tests/ |
H A D | dwarf-unwind.c | 5 #include "map.h" 17 struct map *map; local 29 map = maps__find(thread__maps(thread), (u64)sp); 30 if (!map) { 31 pr_debug("failed to get stack map\n"); 36 stack_size = map__end(map) - sp;
|
/linux-master/tools/perf/arch/arm64/tests/ |
H A D | dwarf-unwind.c | 5 #include "map.h" 17 struct map *map; local 29 map = maps__find(thread__maps(thread), (u64)sp); 30 if (!map) { 31 pr_debug("failed to get stack map\n"); 36 stack_size = map__end(map) - sp;
|
/linux-master/tools/perf/arch/arm/tests/ |
H A D | dwarf-unwind.c | 5 #include "map.h" 17 struct map *map; local 29 map = maps__find(thread__maps(thread), (u64)sp); 30 if (!map) { 31 pr_debug("failed to get stack map\n"); 36 stack_size = map__end(map) - sp;
|
/linux-master/include/linux/ |
H A D | completion.h | 38 #define COMPLETION_INITIALIZER_ONSTACK_MAP(work, map) \ 39 (*({ init_completion_map(&(work), &(map)); &(work); })) 70 # define DECLARE_COMPLETION_ONSTACK_MAP(work, map) \ 71 struct completion work = COMPLETION_INITIALIZER_ONSTACK_MAP(work, map) 74 # define DECLARE_COMPLETION_ONSTACK_MAP(work, map) DECLARE_COMPLETION(work)
|
/linux-master/drivers/mtd/maps/ |
H A D | sa1100-flash.c | 19 #include <linux/mtd/map.h> 29 struct map_info map; member in struct:sa_subdev_info 42 static void sa1100_set_vpp(struct map_info *map, int on) argument 44 struct sa_subdev_info *subdev = container_of(map, struct sa_subdev_info, map); 62 if (subdev->map.virt) 63 iounmap(subdev->map.virt); 64 release_mem_region(subdev->map.phys, subdev->map.size); 86 subdev->map [all...] |
/linux-master/drivers/firmware/efi/libstub/ |
H A D | loongarch.c | 26 static efi_status_t exit_boot_func(struct efi_boot_memmap *map, void *priv) argument 31 * Update the memory map with virtual addresses. The function will also 35 efi_get_virtmap(map->map, map->map_size, map->desc_size, 58 efi_err("Unable to retrieve UEFI memory map.\n"); 69 /* Install the new virtual address map */
|
/linux-master/tools/perf/util/ |
H A D | mmap.h | 52 int mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, struct perf_cpu cpu); 53 void mmap__munmap(struct mmap *map); 55 union perf_event *perf_mmap__read_forward(struct mmap *map); 58 int push(struct mmap *map, void *to, void *buf, size_t size)); 60 size_t mmap__mmap_len(struct mmap *map);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_spin_lock_fail.c | 71 void *map; local 73 map = bpf_map_lookup_elem(&map_of_maps, &key); 74 if (!map) 76 f = bpf_map_lookup_elem(map, &key); 89 void *map; \ 91 map = bpf_map_lookup_elem(&map_of_maps, &key); \ 92 if (!map) \ 94 iv = bpf_map_lookup_elem(map, &key); \ 152 void *map; local 154 map 176 void *map; local [all...] |
H A D | timer_crash.c | 33 void *map = crash_map ? (void *)&hmap : (void *)&amap; local 40 bpf_map_update_elem(map, &(int){0}, &value, 0); 41 /* For array map, doing bpf_map_update_elem will do a 46 e = bpf_map_lookup_elem(map, &(int){0});
|
/linux-master/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 9 #include "map.h" 117 struct map *vmlinux_map; 121 static int test__vmlinux_matches_kallsyms_cb1(struct map *map, void *data) argument 124 struct dso *dso = map__dso(map); 131 struct map *pair = maps__find_by_name(args->kallsyms.kmaps, 142 map__fprintf(map, stderr); 147 static int test__vmlinux_matches_kallsyms_cb2(struct map *map, void *data) argument 150 struct map *pai 176 test__vmlinux_matches_kallsyms_cb3(struct map *map, void *data) argument [all...] |
/linux-master/drivers/clk/ |
H A D | clk-gemini.c | 69 * @map: regmap to access the registers 74 struct regmap *map; member in struct:clk_gemini_pci 80 * @map: regmap to access the containing system controller 84 struct regmap *map; member in struct:gemini_reset 108 * memory map. 125 regmap_read(pciclk->map, GEMINI_GLOBAL_MISC_CONTROL, &val); 146 return regmap_update_bits(pciclk->map, 150 return regmap_update_bits(pciclk->map, 160 regmap_update_bits(pciclk->map, GEMINI_GLOBAL_CLOCK_CONTROL, 169 regmap_update_bits(pciclk->map, GEMINI_GLOBAL_CLOCK_CONTRO 191 gemini_pci_clk_setup(const char *name, const char *parent_name, struct regmap *map) argument 274 struct regmap *map; local 392 struct regmap *map; local [all...] |
/linux-master/drivers/pinctrl/ |
H A D | devicetree.c | 20 * @map: the mapping table entries 26 struct pinctrl_map *map; member in struct:pinctrl_dt_map 31 struct pinctrl_map *map, unsigned int num_maps) 36 kfree_const(map[i].dev_name); 37 map[i].dev_name = NULL; 43 ops->dt_free_map(pctldev, map, num_maps); 46 kfree(map); 55 pinctrl_unregister_mappings(dt_map->map); 57 dt_free_map(dt_map->pctldev, dt_map->map, 67 struct pinctrl_map *map, unsigne 30 dt_free_map(struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned int num_maps) argument 65 dt_remember_or_free_map(struct pinctrl *p, const char *statename, struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned int num_maps) argument 118 struct pinctrl_map *map; local 184 struct pinctrl_map *map; local [all...] |
H A D | pinconf.h | 26 int pinconf_validate_map(const struct pinctrl_map *map, int i); 27 int pinconf_map_to_setting(const struct pinctrl_map *map, 51 static inline int pinconf_validate_map(const struct pinctrl_map *map, int i) argument 56 static inline int pinconf_map_to_setting(const struct pinctrl_map *map, argument 81 void pinconf_show_map(struct seq_file *s, const struct pinctrl_map *map); 90 const struct pinctrl_map *map) 89 pinconf_show_map(struct seq_file *s, const struct pinctrl_map *map) argument
|
/linux-master/arch/mips/pci/ |
H A D | pci-malta.c | 81 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; local 105 map = GT_READ(GT_PCI0M0REMAP_OFS); 115 map = map1; 119 BUG_ON((start & GT_PCI_HD_MSK) != (map & GT_PCI_HD_MSK) && 123 gt64120_controller.mem_offset = (start & mask) - (map & mask); 132 map = GT_READ(GT_PCI0IOREMAP_OFS); 136 BUG_ON((start & GT_PCI_HD_MSK) != (map & GT_PCI_HD_MSK) && 138 gt64120_io_resource.start = map & mask; 139 gt64120_io_resource.end = (map & mask) | ~mask; 151 map [all...] |
/linux-master/arch/x86/pci/ |
H A D | i386.c | 60 struct pcibios_fwaddrmap *map; local 64 list_for_each_entry(map, &pcibios_fwaddrmappings, list) 65 if (map->dev == dev) 66 return map; 75 struct pcibios_fwaddrmap *map; local 81 map = pcibios_fwaddrmap_lookup(dev); 82 if (!map) { 84 map = kzalloc(sizeof(*map), GFP_KERNEL); 85 if (!map) 102 struct pcibios_fwaddrmap *map; local [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_bit.h | 67 extern int xfs_bitmap_empty(uint *map, uint size); 69 /* Count continuous one bits in map starting with start_bit */ 70 extern int xfs_contig_bits(uint *map, uint size, uint start_bit); 72 /* Find next set bit in map */ 73 extern int xfs_next_bit(uint *map, uint size, uint start_bit);
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_prime.c | 57 int qxl_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map) argument 62 ret = qxl_bo_vmap_locked(bo, map); 70 struct iosys_map *map) 69 qxl_gem_prime_vunmap(struct drm_gem_object *obj, struct iosys_map *map) argument
|
/linux-master/drivers/firmware/tegra/ |
H A D | ivc.c | 95 static inline bool tegra_ivc_empty(struct tegra_ivc *ivc, struct iosys_map *map) argument 102 u32 tx = tegra_ivc_header_read_field(map, tx.count); 103 u32 rx = tegra_ivc_header_read_field(map, rx.count); 121 static inline bool tegra_ivc_full(struct tegra_ivc *ivc, struct iosys_map *map) argument 123 u32 tx = tegra_ivc_header_read_field(map, tx.count); 124 u32 rx = tegra_ivc_header_read_field(map, rx.count); 133 static inline u32 tegra_ivc_available(struct tegra_ivc *ivc, struct iosys_map *map) argument 135 u32 tx = tegra_ivc_header_read_field(map, tx.count); 136 u32 rx = tegra_ivc_header_read_field(map, rx.count); 149 unsigned int count = tegra_ivc_header_read_field(&ivc->tx.map, t 226 tegra_ivc_frame_virt(struct tegra_ivc *ivc, const struct iosys_map *header, unsigned int frame, struct iosys_map *map) argument 279 tegra_ivc_read_get_next_frame(struct tegra_ivc *ivc, struct iosys_map *map) argument 343 tegra_ivc_write_get_next_frame(struct tegra_ivc *ivc, struct iosys_map *map) argument 630 iosys_map_get_address(const struct iosys_map *map) argument 638 iosys_map_get_vaddr(const struct iosys_map *map) argument [all...] |
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_gem_prime.c | 25 int msm_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map) argument 32 iosys_map_set_vaddr(map, vaddr); 37 void msm_gem_prime_vunmap(struct drm_gem_object *obj, struct iosys_map *map) argument
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_gsc_submit.h | 15 u32 xe_gsc_emit_header(struct xe_device *xe, struct iosys_map *map, u32 offset, 17 void xe_gsc_poison_header(struct xe_device *xe, struct iosys_map *map, u32 offset); 24 struct iosys_map *map, u32 offset,
|
/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3-css-pool.c | 11 struct imgu_css_map *map, size_t size) 13 if (map->size < size && map->vaddr) { 15 map->size, size); 17 imgu_dmamap_free(imgu, map); 18 if (!imgu_dmamap_alloc(imgu, map, size)) 86 * The nth entry from last or null map to indicate no frame stored. 10 imgu_css_dma_buffer_resize(struct imgu_device *imgu, struct imgu_css_map *map, size_t size) argument
|
/linux-master/kernel/bpf/ |
H A D | bpf_task_storage.c | 57 task_storage_lookup(struct task_struct *task, struct bpf_map *map, argument 68 smap = (struct bpf_local_storage_map *)map; 90 static void *bpf_pid_task_storage_lookup_elem(struct bpf_map *map, void *key) argument 114 sdata = task_storage_lookup(task, map, true); 123 static long bpf_pid_task_storage_update_elem(struct bpf_map *map, void *key, argument 149 task, (struct bpf_local_storage_map *)map, value, map_flags, 159 static int task_storage_delete(struct task_struct *task, struct bpf_map *map, argument 164 sdata = task_storage_lookup(task, map, false); 176 static long bpf_pid_task_storage_delete_elem(struct bpf_map *map, void *key) argument 199 err = task_storage_delete(task, map, tru 207 __bpf_task_storage_get(struct bpf_map *map, struct task_struct *task, void *value, u64 flags, gfp_t gfp_flags, bool nobusy) argument 305 notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) argument 315 task_storage_map_free(struct bpf_map *map) argument [all...] |
/linux-master/include/linux/mtd/ |
H A D | cfi.h | 14 #include <linux/mtd/map.h> 294 struct map_info *map, struct cfi_private *cfi); 296 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi); 297 #define CMD(x) cfi_build_cmd((x), map, cfi) 299 unsigned long cfi_merge_status(map_word val, struct map_info *map, 301 #define MERGESTATUS(x) cfi_merge_status((x), map, cfi) 304 struct map_info *map, struct cfi_private *cfi, 307 static inline uint8_t cfi_read_query(struct map_info *map, uint32_t addr) argument 309 map_word val = map_read(map, addr); 311 if (map_bankwidth_is_1(map)) { 323 cfi_read_query16(struct map_info *map, uint32_t addr) argument [all...] |
/linux-master/tools/lib/perf/include/perf/ |
H A D | cpumap.h | 9 /** A wrapper around a CPU to avoid confusion with the perf_cpu_map's map's indices. */ 22 * perf_cpu_map__new_any_cpu - a map with a singular "any CPU"/dummy -1 value. 26 * perf_cpu_map__new_online_cpus - a map read from 28 * available. If reading wasn't possible a map 35 * perf_cpu_map__new - create a map from the given cpu_list such as "0-7". If no 41 LIBPERF_API struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map); 46 LIBPERF_API void perf_cpu_map__put(struct perf_cpu_map *map); 53 * perf_cpu_map__nr - for an empty map returns 1, as perf_cpu_map__cpu returns a 54 * cpu of -1 for an invalid index, this makes an empty map 56 * the result is the number CPUs in the map plu [all...] |