Lines Matching refs:LLIST_NODE_SZ
36 #define LLIST_NODE_SZ sizeof(struct llist_node) macro
524 percpu_size = LLIST_NODE_SZ + sizeof(void *); in bpf_mem_alloc_init()
533 size += LLIST_NODE_SZ; /* room for llist_node */ in bpf_mem_alloc_init()
606 percpu_size = LLIST_NODE_SZ + sizeof(void *); in bpf_mem_alloc_percpu_unit_init()
830 struct llist_node *llnode = ptr - LLIST_NODE_SZ; in unit_free()
834 BUILD_BUG_ON(LLIST_NODE_SZ > 8); in unit_free()
870 struct llist_node *llnode = ptr - LLIST_NODE_SZ; in unit_free_rcu()
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()
1008 return !ret ? NULL : ret + LLIST_NODE_SZ; in bpf_mem_cache_alloc_flags()
1015 (!percpu && size > BPF_MEM_ALLOC_SIZE_MAX - LLIST_NODE_SZ)) in bpf_mem_alloc_check_size()