Rename struct lib_ring_buffer_ctx to struct lttng_kernel_ring_buffer_ctx
[lttng-modules.git] / src / lttng-ring-buffer-event-notifier-client.h
index 3b9dbfb7e02b24739f3f2a8696103886b81af631..9f4382583be17d95cf162bd99c23230b48bc33bb 100644 (file)
@@ -40,7 +40,7 @@ static inline
 size_t record_header_size(const struct lib_ring_buffer_config *config,
                                 struct channel *chan, size_t offset,
                                 size_t *pre_header_padding,
-                                struct lib_ring_buffer_ctx *ctx,
+                                struct lttng_kernel_ring_buffer_ctx *ctx,
                                 void *client_ctx)
 {
        size_t orig_offset = offset;
@@ -67,7 +67,7 @@ static
 size_t client_record_header_size(const struct lib_ring_buffer_config *config,
                                 struct channel *chan, size_t offset,
                                 size_t *pre_header_padding,
-                                struct lib_ring_buffer_ctx *ctx,
+                                struct lttng_kernel_ring_buffer_ctx *ctx,
                                 void *client_ctx)
 {
        return record_header_size(config, chan, offset,
@@ -288,7 +288,7 @@ void lttng_buffer_read_close(struct lib_ring_buffer *buf)
 
 static
 void lttng_write_event_notifier_header(const struct lib_ring_buffer_config *config,
-                           struct lib_ring_buffer_ctx *ctx)
+                           struct lttng_kernel_ring_buffer_ctx *ctx)
 {
        uint32_t data_size;
 
@@ -302,7 +302,7 @@ void lttng_write_event_notifier_header(const struct lib_ring_buffer_config *conf
 }
 
 static
-int lttng_event_reserve(struct lib_ring_buffer_ctx *ctx)
+int lttng_event_reserve(struct lttng_kernel_ring_buffer_ctx *ctx)
 {
        struct channel *chan = ctx->client_priv;
        int ret;
@@ -321,34 +321,34 @@ int lttng_event_reserve(struct lib_ring_buffer_ctx *ctx)
 }
 
 static
-void lttng_event_commit(struct lib_ring_buffer_ctx *ctx)
+void lttng_event_commit(struct lttng_kernel_ring_buffer_ctx *ctx)
 {
        lib_ring_buffer_commit(&client_config, ctx);
 }
 
 static
-void lttng_event_write(struct lib_ring_buffer_ctx *ctx, const void *src,
+void lttng_event_write(struct lttng_kernel_ring_buffer_ctx *ctx, const void *src,
                     size_t len)
 {
        lib_ring_buffer_write(&client_config, ctx, src, len);
 }
 
 static
-void lttng_event_write_from_user(struct lib_ring_buffer_ctx *ctx,
+void lttng_event_write_from_user(struct lttng_kernel_ring_buffer_ctx *ctx,
                               const void __user *src, size_t len)
 {
        lib_ring_buffer_copy_from_user_inatomic(&client_config, ctx, src, len);
 }
 
 static
-void lttng_event_memset(struct lib_ring_buffer_ctx *ctx,
+void lttng_event_memset(struct lttng_kernel_ring_buffer_ctx *ctx,
                int c, size_t len)
 {
        lib_ring_buffer_memset(&client_config, ctx, c, len);
 }
 
 static
-void lttng_event_strcpy(struct lib_ring_buffer_ctx *ctx, const char *src,
+void lttng_event_strcpy(struct lttng_kernel_ring_buffer_ctx *ctx, const char *src,
                size_t len)
 {
        lib_ring_buffer_strcpy(&client_config, ctx, src, len, '#');
This page took 0.023354 seconds and 4 git commands to generate.