Lines Matching refs:log_msg
94 struct log_msg { struct
106 BUILD_ASSERT(sizeof(struct log_msg) % Z_LOG_MSG_ALIGNMENT == 0, argument
120 struct log_msg log;
169 (struct log_msg *)_ld_buf : (struct log_msg *)_ll_buf; \
192 ptr = (len > 128) ? (struct log_msg *)_ld_buf256 : \
193 ((len > 64) ? (struct log_msg *)_ld_buf128 : \
194 ((len > 48) ? (struct log_msg *)_ld_buf64 : \
195 ((len > 32) ? (struct log_msg *)_ld_buf48 : \
196 (struct log_msg *)_ld_buf32)));\
198 ptr = (len > 128) ? (struct log_msg *)_ll_buf256 : \
199 ((len > 64) ? (struct log_msg *)_ll_buf128 : \
200 ((len > 48) ? (struct log_msg *)_ll_buf64 : \
201 ((len > 32) ? (struct log_msg *)_ll_buf48 : \
202 (struct log_msg *)_ll_buf32)));\
211 offsetof(struct log_msg, data)
214 (offsetof(struct log_msg, data) + (pkg_len) + (data_len))
340 struct log_msg *_msg; \
364 struct log_msg *_msg = z_log_msg_alloc(_msg_wlen); \
595 struct log_msg *z_log_msg_alloc(uint32_t wlen);
610 void z_log_msg_finalize(struct log_msg *msg, const void *source,
746 const struct log_msg *msg = (const struct log_msg *)generic_msg; in log_msg_generic_get_wlen()
760 static inline uint8_t log_msg_get_domain(struct log_msg *msg) in log_msg_get_domain()
771 static inline uint8_t log_msg_get_level(struct log_msg *msg) in log_msg_get_level()
782 static inline const void *log_msg_get_source(struct log_msg *msg) in log_msg_get_source()
793 int16_t log_msg_get_source_id(struct log_msg *msg);
801 static inline log_timestamp_t log_msg_get_timestamp(struct log_msg *msg) in log_msg_get_timestamp()
812 static inline void *log_msg_get_tid(struct log_msg *msg) in log_msg_get_tid()
830 static inline uint8_t *log_msg_get_data(struct log_msg *msg, size_t *len) in log_msg_get_data()
845 static inline uint8_t *log_msg_get_package(struct log_msg *msg, size_t *len) in log_msg_get_package()