Home
last modified time | relevance | path

Searched refs:rb_map (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/bpf/
H A Dringbuf.c191 struct bpf_ringbuf_map *rb_map; in ringbuf_map_alloc() local
201 rb_map = bpf_map_area_alloc(sizeof(*rb_map), NUMA_NO_NODE); in ringbuf_map_alloc()
202 if (!rb_map) in ringbuf_map_alloc()
205 bpf_map_init_from_attr(&rb_map->map, attr); in ringbuf_map_alloc()
207 rb_map->rb = bpf_ringbuf_alloc(attr->max_entries, rb_map->map.numa_node); in ringbuf_map_alloc()
208 if (!rb_map->rb) { in ringbuf_map_alloc()
209 bpf_map_area_free(rb_map); in ringbuf_map_alloc()
213 return &rb_map->map; in ringbuf_map_alloc()
232 struct bpf_ringbuf_map *rb_map; in ringbuf_map_free() local
234 rb_map = container_of(map, struct bpf_ringbuf_map, map); in ringbuf_map_free()
[all …]
/linux/drivers/edac/
H A Dxgene_edac.c51 struct regmap *rb_map; member
1470 if (!ctx->edac->rb_map) in xgene_edac_rb_report()
1480 if (regmap_read(ctx->edac->rb_map, RBCSR, &reg)) in xgene_edac_rb_report()
1486 if (regmap_read(ctx->edac->rb_map, RBEIR, &reg)) in xgene_edac_rb_report()
1505 if (regmap_write(ctx->edac->rb_map, RBEIR, 0)) in xgene_edac_rb_report()
1507 if (regmap_write(ctx->edac->rb_map, RBCSR, 0)) in xgene_edac_rb_report()
1897 edac->rb_map = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, in xgene_edac_probe()
1899 if (IS_ERR(edac->rb_map)) { in xgene_edac_probe()
1901 edac->rb_map = NULL; in xgene_edac_probe()
/linux/include/linux/
H A Dfsl_ifc.h804 __be32 rb_map; member