Searched refs:rb_map (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.10/kernel/bpf/ |
| D | ringbuf.c | 152 struct bpf_ringbuf_map *rb_map; in ringbuf_map_alloc() local 170 rb_map = kzalloc(sizeof(*rb_map), GFP_USER); in ringbuf_map_alloc() 171 if (!rb_map) in ringbuf_map_alloc() 174 bpf_map_init_from_attr(&rb_map->map, attr); in ringbuf_map_alloc() 179 err = bpf_map_charge_init(&rb_map->map.memory, cost); in ringbuf_map_alloc() 183 rb_map->rb = bpf_ringbuf_alloc(attr->max_entries, rb_map->map.numa_node); in ringbuf_map_alloc() 184 if (IS_ERR(rb_map->rb)) { in ringbuf_map_alloc() 185 err = PTR_ERR(rb_map->rb); in ringbuf_map_alloc() 189 return &rb_map->map; in ringbuf_map_alloc() 192 bpf_map_charge_finish(&rb_map->map.memory); in ringbuf_map_alloc() [all …]
|
| /Linux-v5.10/drivers/edac/ |
| D | xgene_edac.c | 51 struct regmap *rb_map; member 1471 if (!ctx->edac->rb_map) in xgene_edac_rb_report() 1481 if (regmap_read(ctx->edac->rb_map, RBCSR, ®)) in xgene_edac_rb_report() 1487 if (regmap_read(ctx->edac->rb_map, RBEIR, ®)) in xgene_edac_rb_report() 1506 if (regmap_write(ctx->edac->rb_map, RBEIR, 0)) in xgene_edac_rb_report() 1508 if (regmap_write(ctx->edac->rb_map, RBCSR, 0)) in xgene_edac_rb_report() 1899 edac->rb_map = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, in xgene_edac_probe() 1901 if (IS_ERR(edac->rb_map)) { in xgene_edac_probe() 1903 edac->rb_map = NULL; in xgene_edac_probe()
|
| /Linux-v5.10/include/linux/ |
| D | fsl_ifc.h | 804 __be32 rb_map; member
|