Lines Matching refs:LLIST_NODE_SZ
36 #define LLIST_NODE_SZ sizeof(struct llist_node) macro
521 percpu_size = LLIST_NODE_SZ + sizeof(void *); in bpf_mem_alloc_init()
530 size += LLIST_NODE_SZ; /* room for llist_node */ in bpf_mem_alloc_init()
603 percpu_size = LLIST_NODE_SZ + sizeof(void *); in bpf_mem_alloc_percpu_unit_init()
827 struct llist_node *llnode = ptr - LLIST_NODE_SZ; in unit_free()
831 BUILD_BUG_ON(LLIST_NODE_SZ > 8); in unit_free()
867 struct llist_node *llnode = ptr - LLIST_NODE_SZ; in unit_free_rcu()
898 size += LLIST_NODE_SZ; in bpf_mem_alloc()
904 return !ret ? NULL : ret + LLIST_NODE_SZ; in bpf_mem_alloc()
915 c = *(void **)(ptr - LLIST_NODE_SZ); in bpf_mem_free()
931 c = *(void **)(ptr - LLIST_NODE_SZ); in bpf_mem_free_rcu()
944 return !ret ? NULL : ret + LLIST_NODE_SZ; in bpf_mem_cache_alloc()
978 kfree(ptr - LLIST_NODE_SZ); in bpf_mem_cache_raw_free()
1005 return !ret ? NULL : ret + LLIST_NODE_SZ; in bpf_mem_cache_alloc_flags()
1012 (!percpu && size > BPF_MEM_ALLOC_SIZE_MAX - LLIST_NODE_SZ)) in bpf_mem_alloc_check_size()