New naming convention for internal macros
[ust.git] / libust / buffers.c
index 374ec613240fde5028fbac694b9a4d49a22c20c8..bb5d8c581918c191da90e370dafd00c667dcac08 100644 (file)
@@ -203,7 +203,7 @@ int ust_buffers_create_buf(struct ust_channel *channel, int cpu)
 
 static void ust_buffers_destroy_channel(struct kref *kref)
 {
-       struct ust_channel *chan = container_of(kref, struct ust_channel, kref);
+       struct ust_channel *chan = _ust_container_of(kref, struct ust_channel, kref);
        free(chan);
 }
 
@@ -225,7 +225,7 @@ static void ust_buffers_destroy_buf(struct ust_buffer *buf)
 /* called from kref_put */
 static void ust_buffers_remove_buf(struct kref *kref)
 {
-       struct ust_buffer *buf = container_of(kref, struct ust_buffer, kref);
+       struct ust_buffer *buf = _ust_container_of(kref, struct ust_buffer, kref);
        ust_buffers_destroy_buf(buf);
 }
 
@@ -592,7 +592,7 @@ static void ltt_relay_print_buffer_errors(struct ust_channel *channel, int cpu)
 
 static void ltt_relay_release_channel(struct kref *kref)
 {
-       struct ust_channel *ltt_chan = container_of(kref,
+       struct ust_channel *ltt_chan = _ust_container_of(kref,
                        struct ust_channel, kref);
        free(ltt_chan->buf);
 }
This page took 0.023265 seconds and 4 git commands to generate.