Lines Matching refs:entries
50 struct callchain_cpus_entries *entries; in release_callchain_buffers_rcu() local
53 entries = container_of(head, struct callchain_cpus_entries, rcu_head); in release_callchain_buffers_rcu()
56 kfree(entries->cpu_entries[cpu]); in release_callchain_buffers_rcu()
58 kfree(entries); in release_callchain_buffers_rcu()
63 struct callchain_cpus_entries *entries; in release_callchain_buffers() local
65 entries = callchain_cpus_entries; in release_callchain_buffers()
67 call_rcu(&entries->rcu_head, release_callchain_buffers_rcu); in release_callchain_buffers()
74 struct callchain_cpus_entries *entries; in alloc_callchain_buffers() local
83 entries = kzalloc(size, GFP_KERNEL); in alloc_callchain_buffers()
84 if (!entries) in alloc_callchain_buffers()
90 entries->cpu_entries[cpu] = kmalloc_node(size, GFP_KERNEL, in alloc_callchain_buffers()
92 if (!entries->cpu_entries[cpu]) in alloc_callchain_buffers()
96 rcu_assign_pointer(callchain_cpus_entries, entries); in alloc_callchain_buffers()
102 kfree(entries->cpu_entries[cpu]); in alloc_callchain_buffers()
103 kfree(entries); in alloc_callchain_buffers()
155 struct callchain_cpus_entries *entries; in get_callchain_entry() local
161 entries = rcu_dereference(callchain_cpus_entries); in get_callchain_entry()
162 if (!entries) { in get_callchain_entry()
169 return (((void *)entries->cpu_entries[cpu]) + in get_callchain_entry()