Home
last modified time | relevance | path

Searched refs:LLIST_NODE_SZ (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/bpf/
A Dmemalloc.c36 #define LLIST_NODE_SZ sizeof(struct llist_node) macro
524 percpu_size = LLIST_NODE_SZ + sizeof(void *); in bpf_mem_alloc_init()
606 percpu_size = LLIST_NODE_SZ + sizeof(void *); in bpf_mem_alloc_percpu_unit_init()
834 BUILD_BUG_ON(LLIST_NODE_SZ > 8); in unit_free()
901 size += LLIST_NODE_SZ; in bpf_mem_alloc()
907 return !ret ? NULL : ret + LLIST_NODE_SZ; in bpf_mem_alloc()
918 c = *(void **)(ptr - LLIST_NODE_SZ); in bpf_mem_free()
934 c = *(void **)(ptr - LLIST_NODE_SZ); in bpf_mem_free_rcu()
947 return !ret ? NULL : ret + LLIST_NODE_SZ; in bpf_mem_cache_alloc()
981 kfree(ptr - LLIST_NODE_SZ); in bpf_mem_cache_raw_free()
[all …]
A Dhashtab.c2254 #define LLIST_NODE_SZ sizeof(struct llist_node) in htab_map_mem_usage() macro
2259 usage += (htab->elem_size + LLIST_NODE_SZ) * num_entries; in htab_map_mem_usage()
2261 usage += (LLIST_NODE_SZ + sizeof(void *)) * num_entries; in htab_map_mem_usage()

Completed in 13 milliseconds