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
69 err = devlink_fmsg_bool_pair_put(fmsg, "test_bool", true); in nsim_dev_dummy_fmsg_put()
72 err = devlink_fmsg_u8_pair_put(fmsg, "test_u8", 1); in nsim_dev_dummy_fmsg_put()
75 err = devlink_fmsg_u32_pair_put(fmsg, "test_u32", 3); in nsim_dev_dummy_fmsg_put()
78 err = devlink_fmsg_u64_pair_put(fmsg, "test_u64", 4); in nsim_dev_dummy_fmsg_put()
81 err = devlink_fmsg_string_pair_put(fmsg, "test_string", "somestring"); in nsim_dev_dummy_fmsg_put()
89 err = devlink_fmsg_binary_pair_put(fmsg, "test_binary", binary, binary_len); in nsim_dev_dummy_fmsg_put()
94 err = devlink_fmsg_pair_nest_start(fmsg, "test_nest"); in nsim_dev_dummy_fmsg_put()
97 err = devlink_fmsg_obj_nest_start(fmsg); in nsim_dev_dummy_fmsg_put()
100 err = devlink_fmsg_bool_pair_put(fmsg, "nested_test_bool", false); in nsim_dev_dummy_fmsg_put()
103 err = devlink_fmsg_u8_pair_put(fmsg, "nested_test_u8", false); in nsim_dev_dummy_fmsg_put()
106 err = devlink_fmsg_obj_nest_end(fmsg); in nsim_dev_dummy_fmsg_put()
109 err = devlink_fmsg_pair_nest_end(fmsg); in nsim_dev_dummy_fmsg_put()
113 err = devlink_fmsg_arr_pair_nest_end(fmsg); in nsim_dev_dummy_fmsg_put()
117 err = devlink_fmsg_arr_pair_nest_start(fmsg, "test_u32_array"); in nsim_dev_dummy_fmsg_put()
121 err = devlink_fmsg_u32_put(fmsg, i); in nsim_dev_dummy_fmsg_put()
125 err = devlink_fmsg_arr_pair_nest_end(fmsg); in nsim_dev_dummy_fmsg_put()
129 err = devlink_fmsg_arr_pair_nest_start(fmsg, "test_array_of_objects"); in nsim_dev_dummy_fmsg_put()
133 err = devlink_fmsg_obj_nest_start(fmsg); in nsim_dev_dummy_fmsg_put()
136 err = devlink_fmsg_bool_pair_put(fmsg, in nsim_dev_dummy_fmsg_put()
141 err = devlink_fmsg_u8_pair_put(fmsg, in nsim_dev_dummy_fmsg_put()
146 err = devlink_fmsg_obj_nest_end(fmsg); in nsim_dev_dummy_fmsg_put()
150 return devlink_fmsg_arr_pair_nest_end(fmsg); in nsim_dev_dummy_fmsg_put()
155 struct devlink_fmsg *fmsg, void *priv_ctx, in nsim_dev_dummy_reporter_dump() argument
163 err = devlink_fmsg_string_pair_put(fmsg, "break_message", in nsim_dev_dummy_reporter_dump()
168 return nsim_dev_dummy_fmsg_put(fmsg, health->binary_len); in nsim_dev_dummy_reporter_dump()
173 struct devlink_fmsg *fmsg, in nsim_dev_dummy_reporter_diagnose() argument
180 err = devlink_fmsg_string_pair_put(fmsg, in nsim_dev_dummy_reporter_diagnose()
186 return nsim_dev_dummy_fmsg_put(fmsg, health->binary_len); in nsim_dev_dummy_reporter_diagnose()