Searched refs:range_node (Results 1 – 6 of 6) sorted by relevance
| /linux/kernel/bpf/ |
| H A D | range_tree.c | 11 * represented by struct range_node or 'rn' for short. 23 * The alloc/free of range_node-s is done via kmalloc_nolock(). 36 struct range_node { 44 static struct range_node *rb_to_range_node(struct rb_node *rb) 46 return rb_entry(rb, struct range_node, rb_range_size); in rb_to_range_node() 49 static u32 rn_size(struct range_node *rn) 55 static inline struct range_node *__find_range(struct range_tree *rt, u32 len) 58 struct range_node *best = NULL; in __find_range() 61 struct range_node *rn = rb_to_range_node(rb); in __find_range() 76 struct range_node *r in range_tree_find() 37 struct range_node { global() struct 45 __rn_subtree_lastrange_node rb_to_range_node() argument 110 INTERVAL_TREE_DEFINE(struct range_node,rn_rbnode,u32,__rn_subtree_last,START,LAST,static inline __maybe_unused,__range_it) INTERVAL_TREE_DEFINE() argument [all...] |
| /linux/drivers/pci/hotplug/ |
| H A D | ibmphp_res.c | 29 static int add_bus_range(int type, struct range_node *, struct bus_node *); 77 static int __init alloc_bus_range(struct bus_node **new_bus, struct range_node **new_range, struct … in alloc_bus_range() 80 struct range_node *newrange; in alloc_bus_range() 104 newrange = kzalloc(sizeof(struct range_node), GFP_KERNEL); in alloc_bus_range() 183 struct range_node *newrange = NULL; in ibmphp_rsrc_init() 368 static int add_bus_range(int type, struct range_node *range, struct bus_node *bus_cur) in add_bus_range() 370 struct range_node *range_cur = NULL; in add_bus_range() 371 struct range_node *range_prev; in add_bus_range() 487 static void fix_me(struct resource_node *res, struct bus_node *bus_cur, struct range_node *range) in fix_me() 544 struct range_node *range; in fix_resources() [all …]
|
| H A D | ibmphp.h | 320 struct range_node { struct 324 struct range_node *next; argument 330 struct range_node *rangeIO; 332 struct range_node *rangeMem; 334 struct range_node *rangePFMem;
|
| H A D | ibmphp_pci.c | 1605 struct range_node *io_range = NULL; in add_new_bus() 1606 struct range_node *mem_range = NULL; in add_new_bus() 1607 struct range_node *pfmem_range = NULL; in add_new_bus()
|
| /linux/drivers/base/regmap/ |
| H A D | regmap-debugfs.c | 539 struct regmap_range_node *range_node; in regmap_debugfs_init() local 642 range_node = rb_entry(next, struct regmap_range_node, node); in regmap_debugfs_init() 644 if (range_node->name) in regmap_debugfs_init() 645 debugfs_create_file(range_node->name, 0400, in regmap_debugfs_init() 646 map->debugfs, range_node, in regmap_debugfs_init() 649 next = rb_next(&range_node->node); in regmap_debugfs_init()
|
| /linux/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | jit.c | 4278 struct nfp_insn_meta *meta, *range_node = NULL; in nfp_bpf_opt_pkt_cache() local 4312 if (range_node) in nfp_bpf_opt_pkt_cache() 4358 range_node->pkt_cache.range_start = range_start; in nfp_bpf_opt_pkt_cache() 4359 range_node->pkt_cache.range_end = range_end; in nfp_bpf_opt_pkt_cache() 4361 range_node = meta; in nfp_bpf_opt_pkt_cache() 4362 range_node->pkt_cache.do_init = true; in nfp_bpf_opt_pkt_cache() 4363 range_ptr_id = range_node->ptr.id; in nfp_bpf_opt_pkt_cache() 4364 range_ptr_off = range_node->ptr.off; in nfp_bpf_opt_pkt_cache() 4369 if (range_node) { in nfp_bpf_opt_pkt_cache() 4370 range_node->pkt_cache.range_start = range_start; in nfp_bpf_opt_pkt_cache() [all …]
|