Home
last modified time | relevance | path

Searched refs:pldm_msgbuf_ro (Results 1 – 10 of 10) sorted by relevance

/openbmc/libpldm/tests/
H A Dmsgbuf_generic.c31 struct pldm_msgbuf_ro _ctx; in test_msgbuf_extract_generic_uint8()
32 struct pldm_msgbuf_ro* ctx = &_ctx; in test_msgbuf_extract_generic_uint8()
44 struct pldm_msgbuf_ro _ctx; in test_msgbuf_extract_generic_int8()
45 struct pldm_msgbuf_ro* ctx = &_ctx; in test_msgbuf_extract_generic_int8()
57 struct pldm_msgbuf_ro _ctx; in test_msgbuf_extract_generic_uint16()
58 struct pldm_msgbuf_ro* ctx = &_ctx; in test_msgbuf_extract_generic_uint16()
70 struct pldm_msgbuf_ro _ctx; in test_msgbuf_extract_generic_int16()
71 struct pldm_msgbuf_ro* ctx = &_ctx; in test_msgbuf_extract_generic_int16()
83 struct pldm_msgbuf_ro _ctx; in test_msgbuf_extract_generic_uint32()
84 struct pldm_msgbuf_ro* ctx = &_ctx; in test_msgbuf_extract_generic_uint32()
[all …]
H A Dmsgbuf.cpp65 struct pldm_msgbuf_ro _ctx; in TEST()
66 struct pldm_msgbuf_ro* ctx = &_ctx; in TEST()
78 struct pldm_msgbuf_ro _ctx; in TEST()
79 struct pldm_msgbuf_ro* ctx = &_ctx; in TEST()
92 struct pldm_msgbuf_ro _ctx; in TEST()
93 struct pldm_msgbuf_ro* ctx = &_ctx; in TEST()
105 struct pldm_msgbuf_ro _ctx; in TEST()
106 struct pldm_msgbuf_ro* ctx = &_ctx; in TEST()
118 struct pldm_msgbuf_ro _ctx; in TEST()
119 struct pldm_msgbuf_ro* ctx = &_ctx; in TEST()
[all …]
H A Dmsgbuf.hpp38 LIBPLDM_CC_ALWAYS_INLINE int pldm_msgbuf_init_errno(struct pldm_msgbuf_ro* ctx, in pldm_msgbuf_init_errno()
52 LIBPLDM_CC_ALWAYS_INLINE int pldm_msgbuf_validate(struct pldm_msgbuf_ro* ctx) in pldm_msgbuf_validate()
63 LIBPLDM_CC_ALWAYS_INLINE int pldm__msgbuf_invalidate(struct pldm_msgbuf_ro* ctx) in pldm__msgbuf_invalidate()
74 LIBPLDM_CC_ALWAYS_INLINE int pldm_msgbuf_consumed(struct pldm_msgbuf_ro* ctx) in pldm_msgbuf_consumed()
84 LIBPLDM_CC_ALWAYS_INLINE int pldm_msgbuf_discard(struct pldm_msgbuf_ro* ctx, in pldm_msgbuf_discard()
96 LIBPLDM_CC_ALWAYS_INLINE int pldm_msgbuf_complete(struct pldm_msgbuf_ro* ctx) in pldm_msgbuf_complete()
107 pldm_msgbuf_complete_consumed(struct pldm_msgbuf_ro* ctx) in pldm_msgbuf_complete_consumed()
119 pldm_msgbuf_span_required(struct pldm_msgbuf_ro* ctx, size_t required, in pldm_msgbuf_span_required()
140 pldm_msgbuf_span_string_ascii(struct pldm_msgbuf_ro* ctx, in pldm_msgbuf_span_string_ascii()
146 LIBPLDM_CC_ALWAYS_INLINE int pldm_msgbuf_span_string_utf16(pldm_msgbuf_ro* ctx, in pldm_msgbuf_span_string_utf16()
[all …]
/openbmc/libpldm/src/
H A Dmsgbuf.h32 struct pldm_msgbuf_ro *: pldm_msgbuf_ro_init_errno)( \
38 struct pldm_msgbuf_ro *: pldm_msgbuf_ro_discard)(ctx, error)
43 struct pldm_msgbuf_ro *: pldm_msgbuf_ro_complete)(ctx)
48 struct pldm_msgbuf_ro *: pldm_msgbuf_ro_complete_consumed)( \
54 struct pldm_msgbuf_ro *: pldm_msgbuf_ro_validate)(ctx)
59 struct pldm_msgbuf_ro *: pldm_msgbuf_ro_consumed)(ctx)
64 struct pldm_msgbuf_ro *: pldm__msgbuf_ro_invalidate)(ctx)
69 struct pldm_msgbuf_ro *: pldm_msgbuf_ro_span_required)( \
75 struct pldm_msgbuf_ro *: pldm_msgbuf_ro_span_until)( \
81 struct pldm_msgbuf_ro *: pldm_msgbuf_ro_span_string_utf16)( \
[all …]
/openbmc/libpldm/src/msgbuf/
H A Dplatform.h12 pldm_msgbuf_extract_value_pdr_hdr(struct pldm_msgbuf_ro *ctx, in pldm_msgbuf_extract_value_pdr_hdr()
39 pldm_msgbuf_extract_sensor_data(struct pldm_msgbuf_ro *ctx, in pldm_msgbuf_extract_sensor_data()
67 pldm_msgbuf_extract_sensor_value(struct pldm_msgbuf_ro *ctx, in pldm_msgbuf_extract_sensor_value()
94 struct pldm_msgbuf_ro *ctx, enum pldm_range_field_format tag, void *rff) in pldm__msgbuf_extract_range_field_format()
132 pldm_msgbuf_extract_effecter_value(struct pldm_msgbuf_ro *ctx, in pldm_msgbuf_extract_effecter_value()
158 pldm__msgbuf_extract_effecter_data(struct pldm_msgbuf_ro *ctx, in pldm__msgbuf_extract_effecter_data()
196 pldm_msgbuf_typecheck_range_field_format(struct pldm_msgbuf_ro *ctx, in pldm_msgbuf_typecheck_range_field_format()
H A Dcore.h74 struct pldm_msgbuf_ro { struct
98 void pldm__msgbuf_ro_cleanup(struct pldm_msgbuf_ro *ctx LIBPLDM_CC_UNUSED) in pldm__msgbuf_ro_cleanup() argument
123 int pldm__msgbuf_ro_invalidate(struct pldm_msgbuf_ro *ctx) in pldm__msgbuf_ro_invalidate()
197 pldm_msgbuf_ro_init_errno(struct pldm_msgbuf_ro *ctx, size_t minsize, in pldm_msgbuf_ro_init_errno()
231 int pldm_msgbuf_ro_validate(struct pldm_msgbuf_ro *ctx) in pldm_msgbuf_ro_validate()
274 int pldm_msgbuf_ro_consumed(struct pldm_msgbuf_ro *ctx) in pldm_msgbuf_ro_consumed()
323 int pldm_msgbuf_ro_discard(struct pldm_msgbuf_ro *ctx, int error) in pldm_msgbuf_ro_discard()
353 int pldm_msgbuf_ro_complete(struct pldm_msgbuf_ro *ctx) in pldm_msgbuf_ro_complete()
391 int pldm_msgbuf_ro_complete_consumed(struct pldm_msgbuf_ro *ctx) in pldm_msgbuf_ro_complete_consumed()
489 pldm__msgbuf_extract_uint8(struct pldm_msgbuf_ro *ctx, void *dst) in pldm__msgbuf_extract_uint8()
[all …]
/openbmc/libpldm/tests/fuzz/
H A Dfd-fuzz.cpp52 struct pldm_msgbuf_ro* fuzz_ctrl;
/openbmc/libpldm/tests/dsp/
H A Dpdr.cpp50 static void getEntity(struct pldm_msgbuf_ro* buf, pldm_entity_test& entity) in getEntity()
58 getAssociationPdrDetails(struct pldm_msgbuf_ro* buf, in getAssociationPdrDetails()
72 verifyEntityAssociationPdr(struct pldm_msgbuf_ro* buf, in verifyEntityAssociationPdr()
1762 struct pldm_msgbuf_ro _buf; in TEST()
1763 struct pldm_msgbuf_ro* buf = &_buf; in TEST()
/openbmc/libpldm/src/dsp/
H A Dpdr.c623 struct pldm_msgbuf_ro _buf; in pldm_pdr_delete_by_record_handle()
624 struct pldm_msgbuf_ro *buf = &_buf; in pldm_pdr_delete_by_record_handle()
H A Dfirmware_update.c642 static int pldm_msgbuf_init_dynamic_uint16(struct pldm_msgbuf_ro *buf, in pldm_msgbuf_init_dynamic_uint16()