Lines Matching refs:entries
51 struct callchain_cpus_entries *entries; in release_callchain_buffers_rcu() local
54 entries = container_of(head, struct callchain_cpus_entries, rcu_head); in release_callchain_buffers_rcu()
57 kfree(entries->cpu_entries[cpu]); in release_callchain_buffers_rcu()
59 kfree(entries); in release_callchain_buffers_rcu()
64 struct callchain_cpus_entries *entries; in release_callchain_buffers() local
66 entries = callchain_cpus_entries; in release_callchain_buffers()
68 call_rcu(&entries->rcu_head, release_callchain_buffers_rcu); in release_callchain_buffers()
75 struct callchain_cpus_entries *entries; in alloc_callchain_buffers() local
84 entries = kzalloc(size, GFP_KERNEL); in alloc_callchain_buffers()
85 if (!entries) in alloc_callchain_buffers()
91 entries->cpu_entries[cpu] = kmalloc_node(size, GFP_KERNEL, in alloc_callchain_buffers()
93 if (!entries->cpu_entries[cpu]) in alloc_callchain_buffers()
97 rcu_assign_pointer(callchain_cpus_entries, entries); in alloc_callchain_buffers()
103 kfree(entries->cpu_entries[cpu]); in alloc_callchain_buffers()
104 kfree(entries); in alloc_callchain_buffers()
156 struct callchain_cpus_entries *entries; in get_callchain_entry() local
162 entries = rcu_dereference(callchain_cpus_entries); in get_callchain_entry()
163 if (!entries) in get_callchain_entry()
168 return (((void *)entries->cpu_entries[cpu]) + in get_callchain_entry()