/linux-master/net/core/ |
H A D | sock_map.c | 18 struct bpf_map map; member in struct:bpf_stab 27 static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, 29 static struct sk_psock_progs *sock_map_progs(struct bpf_map *map); 46 bpf_map_init_from_attr(&stab->map, attr); 49 stab->sks = bpf_map_area_alloc((u64) stab->map.max_entries * 51 stab->map.numa_node); 57 return &stab->map; 63 struct bpf_map *map; local 71 map = __bpf_map_get(f); 72 if (IS_ERR(map)) 83 struct bpf_map *map; local 128 sock_map_add_link(struct sk_psock *psock, struct sk_psock_link *link, struct bpf_map *map, void *link_raw) argument 148 struct bpf_map *map = link->map; local 213 sock_map_link(struct bpf_map *map, struct sock *sk) argument 332 sock_map_free(struct bpf_map *map) argument 365 sock_map_release_progs(struct bpf_map *map) argument 370 __sock_map_lookup_elem(struct bpf_map *map, u32 key) argument 381 sock_map_lookup(struct bpf_map *map, void *key) argument 393 sock_map_lookup_sys(struct bpf_map *map, void *key) argument 431 sock_map_delete_from_link(struct bpf_map *map, struct sock *sk, void *link_raw) argument 439 sock_map_delete_elem(struct bpf_map *map, void *key) argument 452 sock_map_get_next_key(struct bpf_map *map, void *key, void *next) argument 467 sock_map_update_common(struct bpf_map *map, u32 idx, struct sock *sk, u64 flags) argument 550 sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, u64 flags) argument 591 sock_map_update_elem(struct bpf_map *map, void *key, void *value, u64 flags) argument 695 struct bpf_map *map; member in struct:sock_map_seq_info 803 sock_map_mem_usage(const struct bpf_map *map) argument 849 struct bpf_map map; member in struct:bpf_shtab 883 __sock_hash_lookup_elem(struct bpf_map *map, void *key) argument 906 sock_hash_delete_from_link(struct bpf_map *map, struct sock *sk, void *link_raw) argument 931 sock_hash_delete_elem(struct bpf_map *map, void *key) argument 984 sock_hash_update_common(struct bpf_map *map, void *key, struct sock *sk, u64 flags) argument 1049 sock_hash_get_next_key(struct bpf_map *map, void *key, void *key_next) argument 1137 sock_hash_free(struct bpf_map *map) argument 1189 sock_hash_lookup_sys(struct bpf_map *map, void *key) argument 1204 sock_hash_lookup(struct bpf_map *map, void *key) argument 1216 sock_hash_release_progs(struct bpf_map *map) argument 1299 struct bpf_map *map; member in struct:sock_hash_seq_info 1415 sock_hash_mem_usage(const struct bpf_map *map) argument 1449 sock_map_progs(struct bpf_map *map) argument 1463 sock_map_prog_lookup(struct bpf_map *map, struct bpf_prog ***pprog, u32 which) argument 1497 sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, struct bpf_prog *old, u32 which) argument 1521 struct bpf_map *map; local 1670 struct bpf_map *map; local [all...] |
/linux-master/drivers/base/regmap/ |
H A D | regmap-irq.c | 24 struct regmap *map; member in struct:regmap_irq_chip_data 60 struct regmap *map = data->map; local 67 return data->irq_reg_stride == 1 && map->reg_stride == 1 && 69 !map->use_single_read; 82 struct regmap *map = d->map; local 88 ret = pm_runtime_get_sync(map->dev); 90 dev_err(map->dev, "IRQ sync failed to resume: %d\n", 98 ret = regmap_read(map, re 209 struct regmap *map = d->map; local 238 struct regmap *map = d->map; local 247 struct regmap *map = d->map; local 277 struct regmap *map = d->map; local 308 struct regmap *map = data->map; local 339 struct regmap *map = data->map; local 548 struct regmap *map = data->map; local 628 regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode, struct regmap *map, int irq, int irq_flags, int irq_base, const struct regmap_irq_chip *chip, struct regmap_irq_chip_data **data) argument 920 regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, int irq_base, const struct regmap_irq_chip *chip, struct regmap_irq_chip_data **data) argument 1015 devm_regmap_add_irq_chip_fwnode(struct device *dev, struct fwnode_handle *fwnode, struct regmap *map, int irq, int irq_flags, int irq_base, const struct regmap_irq_chip *chip, struct regmap_irq_chip_data **data) argument 1060 devm_regmap_add_irq_chip(struct device *dev, struct regmap *map, int irq, int irq_flags, int irq_base, const struct regmap_irq_chip *chip, struct regmap_irq_chip_data **data) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | mxm.c | 49 /* These map MXM v2.x digital connection values to the appropriate SOR/link, 81 u16 map = nvbios_rd16(bios, mxm + 4); local 82 if (map) { 83 ver = nvbios_rd08(bios, map); 85 if (conn < nvbios_rd08(bios, map + 3)) { 86 map += nvbios_rd08(bios, map + 1); 87 map += conn; 88 return nvbios_rd08(bios, map); 94 nvkm_warn(subdev, "unknown sor map 118 u16 map = nvbios_rd16(bios, mxm + 6); local [all...] |
/linux-master/fs/adfs/ |
H A D | Makefile | 8 adfs-objs := dir.o dir_f.o dir_fplus.o file.o inode.o map.o super.o
|
/linux-master/drivers/iio/accel/ |
H A D | kxsd9.h | 9 struct regmap *map,
|
/linux-master/include/linux/iio/ |
H A D | driver.h | 3 * Industrial I/O in kernel access map interface. 18 * @map: array of mappings specifying association of channel with client 21 struct iio_map *map); 34 * @maps: Pointer to an IIO map object which is to be registered to this IIO device 36 * This function will call iio_map_array_register() to register an IIO map object 38 * handle de-registration of the IIO map object when the device's refcount goes to
|
/linux-master/drivers/rtc/ |
H A D | rtc-ds1347.c | 52 struct regmap *map = dev_get_drvdata(dev); local 57 err = regmap_read(map, DS1347_STATUS_REG, &status); 65 err = regmap_bulk_read(map, DS1347_CLOCK_BURST, buf, 8); 69 err = regmap_read(map, DS1347_CENTURY_REG, ¢ury); 73 err = regmap_read(map, DS1347_SECONDS_REG, &secs); 91 struct regmap *map = dev_get_drvdata(dev); local 96 err = regmap_update_bits(map, DS1347_STATUS_REG, 110 err = regmap_bulk_write(map, DS1347_CLOCK_BURST, buf, 8); 115 err = regmap_write(map, DS1347_CENTURY_REG, bin2bcd(century)); 119 return regmap_update_bits(map, DS1347_STATUS_RE 132 struct regmap *map; local [all...] |
/linux-master/drivers/firmware/efi/libstub/ |
H A D | bitmap.c | 3 void __bitmap_set(unsigned long *map, unsigned int start, int len) argument 5 unsigned long *p = map + BIT_WORD(start); 23 void __bitmap_clear(unsigned long *map, unsigned int start, int len) argument 25 unsigned long *p = map + BIT_WORD(start);
|
H A D | randomalloc.c | 64 struct efi_boot_memmap *map; local 68 status = efi_get_memory_map(&map, false); 77 /* count the suitable slots in each memory map entry */ 78 for (map_offset = 0; map_offset < map->map_size; map_offset += map->desc_size) { 79 efi_memory_desc_t *md = (void *)map->map + map_offset; 100 * when iterating over the memory map the first time around. 102 * So iterate over the memory map again, subtracting the number of 109 for (map_offset = 0; map_offset < map [all...] |
/linux-master/tools/perf/util/ |
H A D | map_symbol.c | 4 #include "map.h" 9 map__zput(ms->map);
|
/linux-master/drivers/gpu/drm/xe/compat-i915-headers/gem/ |
H A D | i915_gem_object.h | 37 struct ttm_bo_kmap_obj map; local 46 ret = ttm_bo_kmap(&bo->ttm, ofs >> PAGE_SHIFT, 1, &map); 51 src = ttm_kmap_obj_virtual(&map, &is_iomem); 58 ttm_bo_kunmap(&map);
|
/linux-master/tools/perf/tests/ |
H A D | symbols.c | 11 #include "map.h" 46 struct map *map; member in struct:dso_map 49 static int find_map_cb(struct map *map, void *d) argument 53 if (map__dso(map) != data->dso) 55 data->map = map; 59 static struct map *find_module_map(struct machine *machine, struct dso *dso) 65 return data.map; 166 struct map *map = NULL; local [all...] |
H A D | bitmap.c | 13 struct perf_cpu_map *map = perf_cpu_map__new(str); local 19 if (map && bm) { 20 for (i = 0; i < perf_cpu_map__nr(map); i++) 21 __set_bit(perf_cpu_map__cpu(map, i).cpu, bm); 24 if (map) 25 perf_cpu_map__put(map); 45 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1")); 46 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,5")); 47 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,3,5,7,9,11,13,15,17,19,21-40")); 48 TEST_ASSERT_VAL("failed to convert map", test_bitma [all...] |
/linux-master/kernel/trace/ |
H A D | tracing_map.h | 25 * zeroed array of struct tracing_map_entry (stored in the map field 58 * When tracing_map_create() is called to create the tracing map, the 61 * that the map can hold (stored in the max_elts field of struct 93 * calls tracing_map_init() to finish up the tracing map setup. The 139 struct tracing_map *map; member in struct:tracing_map_elt 190 struct tracing_map_array *map; member in struct:tracing_map 230 * claimed by tracing_map_insert() in the context of the map 245 extern int tracing_map_init(struct tracing_map *map); 247 extern int tracing_map_add_sum_field(struct tracing_map *map); 248 extern int tracing_map_add_var(struct tracing_map *map); [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | vmmgf100.c | 33 u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) 35 u64 base = (addr >> 8) | map->type; 38 if (map->ctag && !(map->next & (1ULL << 44))) { 40 data = base | ((map->ctag >> 1) << 44); 41 if (!(map->ctag++ & 1)) 45 base += map->next; 48 map->type += ptes * map->ctag; 52 data += map 32 gf100_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) argument 58 gf100_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument 65 gf100_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument 84 gf100_vmm_pgt_mem(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument 237 gf100_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, struct nvkm_vmm_map *map) argument [all...] |
/linux-master/drivers/leds/ |
H A D | leds-syscon.c | 21 * @map: regmap to access the syscon device backing this LED 28 struct regmap *map; member in struct:syscon_led 50 ret = regmap_update_bits(sled->map, sled->offset, sled->mask, val); 61 struct regmap *map; local 72 map = syscon_node_to_regmap(dev_of_node(parent)); 73 if (IS_ERR(map)) { 75 return PTR_ERR(map); 82 sled->map = map; 95 ret = regmap_update_bits(map, sle [all...] |
/linux-master/tools/testing/radix-tree/ |
H A D | bitmap.c | 5 void bitmap_clear(unsigned long *map, unsigned int start, int len) argument 7 unsigned long *p = map + BIT_WORD(start);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_libbpf_get_fd_by_id_opts.c | 27 int BPF_PROG(check_access, struct bpf_map *map, fmode_t fmode) argument 29 if (map != (struct bpf_map *)&data_input)
|
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_bitmap_ipmac.c | 84 const struct bitmap_ipmac *map, size_t dsize) 88 if (!test_bit(e->id, map->members)) 90 elem = get_const_elem(map->extensions, e->id, dsize); 98 bitmap_ipmac_gc_test(u16 id, const struct bitmap_ipmac *map, size_t dsize) argument 102 if (!test_bit(id, map->members)) 104 elem = get_const_elem(map->extensions, id, dsize); 119 struct bitmap_ipmac *map, int mode) 144 struct bitmap_ipmac *map, u32 flags, size_t dsize) 148 elem = get_elem(map->extensions, e->id, dsize); 149 if (test_bit(e->id, map 83 bitmap_ipmac_do_test(const struct bitmap_ipmac_adt_elem *e, const struct bitmap_ipmac *map, size_t dsize) argument 116 bitmap_ipmac_add_timeout(unsigned long *timeout, const struct bitmap_ipmac_adt_elem *e, const struct ip_set_ext *ext, struct ip_set *set, struct bitmap_ipmac *map, int mode) argument 143 bitmap_ipmac_do_add(const struct bitmap_ipmac_adt_elem *e, struct bitmap_ipmac *map, u32 flags, size_t dsize) argument 181 bitmap_ipmac_do_del(const struct bitmap_ipmac_adt_elem *e, struct bitmap_ipmac *map) argument 188 bitmap_ipmac_do_list(struct sk_buff *skb, const struct bitmap_ipmac *map, u32 id, size_t dsize) argument 201 bitmap_ipmac_do_head(struct sk_buff *skb, const struct bitmap_ipmac *map) argument 212 struct bitmap_ipmac *map = set->data; local 244 const struct bitmap_ipmac *map = set->data; local 299 init_map_ipmac(struct ip_set *set, struct bitmap_ipmac *map, u32 first_ip, u32 last_ip, u32 elements) argument 323 struct bitmap_ipmac *map; local [all...] |
/linux-master/drivers/soc/gemini/ |
H A D | soc-gemini.c | 41 struct regmap *map; local 50 map = syscon_regmap_lookup_by_compatible("cortina,gemini-syscon"); 51 if (IS_ERR(map)) 52 return PTR_ERR(map); 53 ret = regmap_read(map, GLOBAL_WORD_ID, &rev); 61 regmap_update_bits(map,
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_bit.c | 20 xfs_bitmap_empty(uint *map, uint size) argument 25 if (map[i] != 0) 37 xfs_contig_bits(uint *map, uint size, uint start_bit) argument 39 uint * p = ((unsigned int *) map) + (start_bit >> BIT_TO_WORD_SHIFT); 76 int xfs_next_bit(uint *map, uint size, uint start_bit) argument 78 uint * p = ((unsigned int *) map) + (start_bit >> BIT_TO_WORD_SHIFT);
|
/linux-master/drivers/irqchip/ |
H A D | irq-gic-realview.c | 47 struct regmap *map; local 59 map = syscon_node_to_regmap(np); 61 if (!IS_ERR(map)) { 63 regmap_write(map, REALVIEW_SYS_LOCK_OFFSET, 65 regmap_update_bits(map, pld1_ctrl, 68 regmap_write(map, REALVIEW_SYS_LOCK_OFFSET, 0x0000);
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-designware-slave.c | 24 regmap_write(dev->map, DW_IC_TX_TL, 0); 25 regmap_write(dev->map, DW_IC_RX_TL, 0); 28 regmap_write(dev->map, DW_IC_CON, dev->slave_cfg); 29 regmap_write(dev->map, DW_IC_INTR_MASK, DW_IC_INTR_SLAVE_MASK); 53 regmap_write(dev->map, DW_IC_SDA_HOLD, dev->sda_hold_time); 76 regmap_write(dev->map, DW_IC_SAR, slave->addr); 90 regmap_write(dev->map, DW_IC_INTR_MASK, 0); 115 regmap_read(dev->map, DW_IC_INTR_STAT, &stat); 125 regmap_read(dev->map, DW_IC_CLR_TX_ABRT, &dummy); 127 regmap_read(dev->map, DW_IC_CLR_RX_UNDE [all...] |
/linux-master/tools/perf/ |
H A D | builtin-kallsyms.c | 16 #include "map.h" 30 struct map *map; local 32 struct symbol *symbol = machine__find_kernel_symbol_by_name(machine, argv[i], &map); 39 dso = map__dso(map); 42 map__unmap_ip(map, symbol->start), map__unmap_ip(map, symbol->end),
|
/linux-master/sound/soc/codecs/ |
H A D | adau7118-i2c.c | 53 struct regmap *map; local 55 map = devm_regmap_init_i2c(i2c, &adau7118_regmap_config); 56 if (IS_ERR(map)) { 57 dev_err(&i2c->dev, "Failed to init regmap %ld\n", PTR_ERR(map)); 58 return PTR_ERR(map); 61 return adau7118_probe(&i2c->dev, map, false);
|