Lines Matching refs:fmsg

13 			     struct devlink_fmsg *fmsg, void *priv_ctx,  in nsim_dev_empty_reporter_dump()  argument
21 struct devlink_fmsg *fmsg, in nsim_dev_empty_reporter_diagnose() argument
63 static int nsim_dev_dummy_fmsg_put(struct devlink_fmsg *fmsg, u32 binary_len) in nsim_dev_dummy_fmsg_put() argument
68 devlink_fmsg_bool_pair_put(fmsg, "test_bool", true); in nsim_dev_dummy_fmsg_put()
69 devlink_fmsg_u8_pair_put(fmsg, "test_u8", 1); in nsim_dev_dummy_fmsg_put()
70 devlink_fmsg_u32_pair_put(fmsg, "test_u32", 3); in nsim_dev_dummy_fmsg_put()
71 devlink_fmsg_u64_pair_put(fmsg, "test_u64", 4); in nsim_dev_dummy_fmsg_put()
72 devlink_fmsg_string_pair_put(fmsg, "test_string", "somestring"); in nsim_dev_dummy_fmsg_put()
78 devlink_fmsg_binary_pair_put(fmsg, "test_binary", binary, binary_len); in nsim_dev_dummy_fmsg_put()
81 devlink_fmsg_pair_nest_start(fmsg, "test_nest"); in nsim_dev_dummy_fmsg_put()
82 devlink_fmsg_obj_nest_start(fmsg); in nsim_dev_dummy_fmsg_put()
83 devlink_fmsg_bool_pair_put(fmsg, "nested_test_bool", false); in nsim_dev_dummy_fmsg_put()
84 devlink_fmsg_u8_pair_put(fmsg, "nested_test_u8", false); in nsim_dev_dummy_fmsg_put()
85 devlink_fmsg_obj_nest_end(fmsg); in nsim_dev_dummy_fmsg_put()
86 devlink_fmsg_pair_nest_end(fmsg); in nsim_dev_dummy_fmsg_put()
87 devlink_fmsg_arr_pair_nest_end(fmsg); in nsim_dev_dummy_fmsg_put()
88 devlink_fmsg_arr_pair_nest_start(fmsg, "test_u32_array"); in nsim_dev_dummy_fmsg_put()
91 devlink_fmsg_u32_put(fmsg, i); in nsim_dev_dummy_fmsg_put()
92 devlink_fmsg_arr_pair_nest_end(fmsg); in nsim_dev_dummy_fmsg_put()
93 devlink_fmsg_arr_pair_nest_start(fmsg, "test_array_of_objects"); in nsim_dev_dummy_fmsg_put()
96 devlink_fmsg_obj_nest_start(fmsg); in nsim_dev_dummy_fmsg_put()
97 devlink_fmsg_bool_pair_put(fmsg, "in_array_nested_test_bool", in nsim_dev_dummy_fmsg_put()
99 devlink_fmsg_u8_pair_put(fmsg, "in_array_nested_test_u8", i); in nsim_dev_dummy_fmsg_put()
100 devlink_fmsg_obj_nest_end(fmsg); in nsim_dev_dummy_fmsg_put()
102 devlink_fmsg_arr_pair_nest_end(fmsg); in nsim_dev_dummy_fmsg_put()
109 struct devlink_fmsg *fmsg, void *priv_ctx, in nsim_dev_dummy_reporter_dump() argument
116 devlink_fmsg_string_pair_put(fmsg, "break_message", ctx->break_msg); in nsim_dev_dummy_reporter_dump()
118 return nsim_dev_dummy_fmsg_put(fmsg, health->binary_len); in nsim_dev_dummy_reporter_dump()
123 struct devlink_fmsg *fmsg, in nsim_dev_dummy_reporter_diagnose() argument
129 devlink_fmsg_string_pair_put(fmsg, "recovered_break_message", in nsim_dev_dummy_reporter_diagnose()
132 return nsim_dev_dummy_fmsg_put(fmsg, health->binary_len); in nsim_dev_dummy_reporter_diagnose()