Home
last modified time | relevance | path

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

/linux-6.3-rc2/kernel/bpf/
A Dmemalloc.c36 #define LLIST_NODE_SZ sizeof(struct llist_node) macro
392 percpu_size = LLIST_NODE_SZ + sizeof(void *); in bpf_mem_alloc_init()
394 size += LLIST_NODE_SZ; /* room for llist_node */ in bpf_mem_alloc_init()
604 struct llist_node *llnode = ptr - LLIST_NODE_SZ; in unit_free()
608 BUILD_BUG_ON(LLIST_NODE_SZ > 8); in unit_free()
642 idx = bpf_mem_cache_idx(size + LLIST_NODE_SZ); in bpf_mem_alloc()
647 return !ret ? NULL : ret + LLIST_NODE_SZ; in bpf_mem_alloc()
657 idx = bpf_mem_cache_idx(ksize(ptr - LLIST_NODE_SZ)); in bpf_mem_free()
669 return !ret ? NULL : ret + LLIST_NODE_SZ; in bpf_mem_cache_alloc()

Completed in 4 milliseconds