fmsg 19 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c struct devlink_fmsg *fmsg) fmsg 32 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c rc = devlink_fmsg_string_pair_put(fmsg, "Description", fmsg 37 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c rc = devlink_fmsg_string_pair_put(fmsg, "Description", fmsg 44 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c rc = devlink_fmsg_u32_pair_put(fmsg, "Error code", val >> 16); fmsg 50 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c rc = devlink_fmsg_u32_pair_put(fmsg, "Reset count", val); fmsg 859 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mlx5_devlink_fmsg_fill_trace(struct devlink_fmsg *fmsg, fmsg 864 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = devlink_fmsg_obj_nest_start(fmsg); fmsg 868 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = devlink_fmsg_u64_pair_put(fmsg, "timestamp", trace_data->timestamp); fmsg 872 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = devlink_fmsg_bool_pair_put(fmsg, "lost", trace_data->lost); fmsg 876 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = devlink_fmsg_u8_pair_put(fmsg, "event_id", trace_data->event_id); fmsg 880 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = devlink_fmsg_string_pair_put(fmsg, "msg", trace_data->msg); fmsg 884 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = devlink_fmsg_obj_nest_end(fmsg); fmsg 891 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c struct devlink_fmsg *fmsg) fmsg 909 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = devlink_fmsg_arr_pair_nest_start(fmsg, "dump fw traces"); fmsg 914 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = mlx5_devlink_fmsg_fill_trace(fmsg, &straces[index]); fmsg 921 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = devlink_fmsg_arr_pair_nest_end(fmsg); fmsg 193 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h struct devlink_fmsg *fmsg); fmsg 7 drivers/net/ethernet/mellanox/mlx5/core/en/health.c int mlx5e_reporter_named_obj_nest_start(struct devlink_fmsg *fmsg, char *name) fmsg 11 drivers/net/ethernet/mellanox/mlx5/core/en/health.c err = devlink_fmsg_pair_nest_start(fmsg, name); fmsg 15 drivers/net/ethernet/mellanox/mlx5/core/en/health.c err = devlink_fmsg_obj_nest_start(fmsg); fmsg 22 drivers/net/ethernet/mellanox/mlx5/core/en/health.c int mlx5e_reporter_named_obj_nest_end(struct devlink_fmsg *fmsg) fmsg 26 drivers/net/ethernet/mellanox/mlx5/core/en/health.c err = devlink_fmsg_obj_nest_end(fmsg); fmsg 30 drivers/net/ethernet/mellanox/mlx5/core/en/health.c err = devlink_fmsg_pair_nest_end(fmsg); fmsg 37 drivers/net/ethernet/mellanox/mlx5/core/en/health.c int mlx5e_reporter_cq_diagnose(struct mlx5e_cq *cq, struct devlink_fmsg *fmsg) fmsg 52 drivers/net/ethernet/mellanox/mlx5/core/en/health.c err = mlx5e_reporter_named_obj_nest_start(fmsg, "CQ"); fmsg 56 drivers/net/ethernet/mellanox/mlx5/core/en/health.c err = devlink_fmsg_u32_pair_put(fmsg, "cqn", cq->mcq.cqn); fmsg 60 drivers/net/ethernet/mellanox/mlx5/core/en/health.c err = devlink_fmsg_u8_pair_put(fmsg, "HW status", hw_status); fmsg 64 drivers/net/ethernet/mellanox/mlx5/core/en/health.c err = mlx5e_reporter_named_obj_nest_end(fmsg); fmsg 71 drivers/net/ethernet/mellanox/mlx5/core/en/health.c int mlx5e_reporter_cq_common_diagnose(struct mlx5e_cq *cq, struct devlink_fmsg *fmsg) fmsg 80 drivers/net/ethernet/mellanox/mlx5/core/en/health.c err = mlx5e_reporter_named_obj_nest_start(fmsg, "CQ"); fmsg 84 drivers/net/ethernet/mellanox/mlx5/core/en/health.c err = devlink_fmsg_u64_pair_put(fmsg, "stride size", BIT(cq_log_stride)); fmsg 88 drivers/net/ethernet/mellanox/mlx5/core/en/health.c err = devlink_fmsg_u32_pair_put(fmsg, "size", cq_sz); fmsg 92 drivers/net/ethernet/mellanox/mlx5/core/en/health.c err = mlx5e_reporter_named_obj_nest_end(fmsg); fmsg 23 drivers/net/ethernet/mellanox/mlx5/core/en/health.h int mlx5e_reporter_cq_diagnose(struct mlx5e_cq *cq, struct devlink_fmsg *fmsg); fmsg 24 drivers/net/ethernet/mellanox/mlx5/core/en/health.h int mlx5e_reporter_cq_common_diagnose(struct mlx5e_cq *cq, struct devlink_fmsg *fmsg); fmsg 25 drivers/net/ethernet/mellanox/mlx5/core/en/health.h int mlx5e_reporter_named_obj_nest_start(struct devlink_fmsg *fmsg, char *name); fmsg 26 drivers/net/ethernet/mellanox/mlx5/core/en/health.h int mlx5e_reporter_named_obj_nest_end(struct devlink_fmsg *fmsg); fmsg 235 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c struct devlink_fmsg *fmsg) fmsg 260 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_obj_nest_start(fmsg); fmsg 264 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_u32_pair_put(fmsg, "channel ix", rq->channel->ix); fmsg 268 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_u32_pair_put(fmsg, "rqn", rq->rqn); fmsg 272 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_u8_pair_put(fmsg, "HW state", hw_state); fmsg 276 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_u8_pair_put(fmsg, "SW state", rq->state); fmsg 280 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_u32_pair_put(fmsg, "posted WQEs", wqes_sz); fmsg 284 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_u32_pair_put(fmsg, "cc", wq_head); fmsg 288 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_u8_pair_put(fmsg, "ICOSQ HW state", icosq_hw_state); fmsg 292 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = mlx5e_reporter_cq_diagnose(&rq->cq, fmsg); fmsg 296 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_obj_nest_end(fmsg); fmsg 304 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c struct devlink_fmsg *fmsg) fmsg 321 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = mlx5e_reporter_named_obj_nest_start(fmsg, "Common config"); fmsg 325 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = mlx5e_reporter_named_obj_nest_start(fmsg, "RQ"); fmsg 329 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_u8_pair_put(fmsg, "type", params->rq_wq_type); fmsg 333 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_u64_pair_put(fmsg, "stride size", rq_stride); fmsg 337 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_u32_pair_put(fmsg, "size", rq_sz); fmsg 341 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = mlx5e_reporter_named_obj_nest_end(fmsg); fmsg 345 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = mlx5e_reporter_cq_common_diagnose(&generic_rq->cq, fmsg); fmsg 349 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = mlx5e_reporter_named_obj_nest_end(fmsg); fmsg 353 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_arr_pair_nest_start(fmsg, "RQs"); fmsg 360 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = mlx5e_rx_reporter_build_diagnose_output(rq, fmsg); fmsg 364 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c err = devlink_fmsg_arr_pair_nest_end(fmsg); fmsg 148 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c mlx5e_tx_reporter_build_diagnose_output(struct devlink_fmsg *fmsg, fmsg 160 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_obj_nest_start(fmsg); fmsg 164 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_u32_pair_put(fmsg, "channel ix", sq->ch_ix); fmsg 168 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_u32_pair_put(fmsg, "tc", tc); fmsg 172 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_u32_pair_put(fmsg, "txq ix", sq->txq_ix); fmsg 176 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_u32_pair_put(fmsg, "sqn", sq->sqn); fmsg 180 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_u8_pair_put(fmsg, "HW state", state); fmsg 184 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_bool_pair_put(fmsg, "stopped", stopped); fmsg 188 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_u32_pair_put(fmsg, "cc", sq->cc); fmsg 192 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_u32_pair_put(fmsg, "pc", sq->pc); fmsg 196 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = mlx5e_reporter_cq_diagnose(&sq->cq, fmsg); fmsg 200 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_obj_nest_end(fmsg); fmsg 208 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c struct devlink_fmsg *fmsg) fmsg 224 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = mlx5e_reporter_named_obj_nest_start(fmsg, "Common Config"); fmsg 228 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = mlx5e_reporter_named_obj_nest_start(fmsg, "SQ"); fmsg 232 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_u64_pair_put(fmsg, "stride size", sq_stride); fmsg 236 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_u32_pair_put(fmsg, "size", sq_sz); fmsg 240 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = mlx5e_reporter_cq_common_diagnose(&generic_sq->cq, fmsg); fmsg 244 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = mlx5e_reporter_named_obj_nest_end(fmsg); fmsg 248 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = mlx5e_reporter_named_obj_nest_end(fmsg); fmsg 252 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_arr_pair_nest_start(fmsg, "SQs"); fmsg 262 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = mlx5e_tx_reporter_build_diagnose_output(fmsg, sq, tc); fmsg 267 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c err = devlink_fmsg_arr_pair_nest_end(fmsg); fmsg 401 drivers/net/ethernet/mellanox/mlx5/core/health.c struct devlink_fmsg *fmsg) fmsg 410 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_u8_pair_put(fmsg, "Syndrome", synd); fmsg 413 drivers/net/ethernet/mellanox/mlx5/core/health.c return devlink_fmsg_string_pair_put(fmsg, "Description", hsynd_str(synd)); fmsg 422 drivers/net/ethernet/mellanox/mlx5/core/health.c mlx5_fw_reporter_ctx_pairs_put(struct devlink_fmsg *fmsg, fmsg 427 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_u8_pair_put(fmsg, "syndrome", fmsg 431 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_u32_pair_put(fmsg, "fw_miss_counter", fmsg 440 drivers/net/ethernet/mellanox/mlx5/core/health.c struct devlink_fmsg *fmsg) fmsg 450 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_pair_nest_start(fmsg, "health buffer"); fmsg 453 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_obj_nest_start(fmsg); fmsg 456 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_arr_pair_nest_start(fmsg, "assert_var"); fmsg 461 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_u32_put(fmsg, ioread32be(h->assert_var + i)); fmsg 465 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_arr_pair_nest_end(fmsg); fmsg 468 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_u32_pair_put(fmsg, "assert_exit_ptr", fmsg 472 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_u32_pair_put(fmsg, "assert_callra", fmsg 476 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_u32_pair_put(fmsg, "hw_id", ioread32be(&h->hw_id)); fmsg 479 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_u8_pair_put(fmsg, "irisc_index", fmsg 483 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_u8_pair_put(fmsg, "synd", ioread8(&h->synd)); fmsg 486 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_u32_pair_put(fmsg, "ext_synd", fmsg 490 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_u32_pair_put(fmsg, "raw_fw_ver", fmsg 494 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_obj_nest_end(fmsg); fmsg 497 drivers/net/ethernet/mellanox/mlx5/core/health.c return devlink_fmsg_pair_nest_end(fmsg); fmsg 502 drivers/net/ethernet/mellanox/mlx5/core/health.c struct devlink_fmsg *fmsg, void *priv_ctx) fmsg 514 drivers/net/ethernet/mellanox/mlx5/core/health.c err = mlx5_fw_reporter_ctx_pairs_put(fmsg, fw_reporter_ctx); fmsg 519 drivers/net/ethernet/mellanox/mlx5/core/health.c err = mlx5_fw_reporter_heath_buffer_data_put(dev, fmsg); fmsg 522 drivers/net/ethernet/mellanox/mlx5/core/health.c return mlx5_fw_tracer_get_saved_traces_objects(dev->tracer, fmsg); fmsg 566 drivers/net/ethernet/mellanox/mlx5/core/health.c struct devlink_fmsg *fmsg, void *priv_ctx) fmsg 588 drivers/net/ethernet/mellanox/mlx5/core/health.c err = mlx5_fw_reporter_ctx_pairs_put(fmsg, fw_reporter_ctx); fmsg 593 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_arr_pair_nest_start(fmsg, "crdump_data"); fmsg 601 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_binary_put(fmsg, (char *)cr_data + offset, fmsg 606 drivers/net/ethernet/mellanox/mlx5/core/health.c err = devlink_fmsg_arr_pair_nest_end(fmsg); fmsg 512 include/net/devlink.h struct devlink_fmsg *fmsg, void *priv_ctx); fmsg 514 include/net/devlink.h struct devlink_fmsg *fmsg); fmsg 905 include/net/devlink.h int devlink_fmsg_obj_nest_start(struct devlink_fmsg *fmsg); fmsg 906 include/net/devlink.h int devlink_fmsg_obj_nest_end(struct devlink_fmsg *fmsg); fmsg 908 include/net/devlink.h int devlink_fmsg_pair_nest_start(struct devlink_fmsg *fmsg, const char *name); fmsg 909 include/net/devlink.h int devlink_fmsg_pair_nest_end(struct devlink_fmsg *fmsg); fmsg 911 include/net/devlink.h int devlink_fmsg_arr_pair_nest_start(struct devlink_fmsg *fmsg, fmsg 913 include/net/devlink.h int devlink_fmsg_arr_pair_nest_end(struct devlink_fmsg *fmsg); fmsg 915 include/net/devlink.h int devlink_fmsg_bool_put(struct devlink_fmsg *fmsg, bool value); fmsg 916 include/net/devlink.h int devlink_fmsg_u8_put(struct devlink_fmsg *fmsg, u8 value); fmsg 917 include/net/devlink.h int devlink_fmsg_u32_put(struct devlink_fmsg *fmsg, u32 value); fmsg 918 include/net/devlink.h int devlink_fmsg_u64_put(struct devlink_fmsg *fmsg, u64 value); fmsg 919 include/net/devlink.h int devlink_fmsg_string_put(struct devlink_fmsg *fmsg, const char *value); fmsg 920 include/net/devlink.h int devlink_fmsg_binary_put(struct devlink_fmsg *fmsg, const void *value, fmsg 923 include/net/devlink.h int devlink_fmsg_bool_pair_put(struct devlink_fmsg *fmsg, const char *name, fmsg 925 include/net/devlink.h int devlink_fmsg_u8_pair_put(struct devlink_fmsg *fmsg, const char *name, fmsg 927 include/net/devlink.h int devlink_fmsg_u32_pair_put(struct devlink_fmsg *fmsg, const char *name, fmsg 929 include/net/devlink.h int devlink_fmsg_u64_pair_put(struct devlink_fmsg *fmsg, const char *name, fmsg 931 include/net/devlink.h int devlink_fmsg_string_pair_put(struct devlink_fmsg *fmsg, const char *name, fmsg 933 include/net/devlink.h int devlink_fmsg_binary_pair_put(struct devlink_fmsg *fmsg, const char *name, fmsg 4133 net/core/devlink.c struct devlink_fmsg *fmsg; fmsg 4135 net/core/devlink.c fmsg = kzalloc(sizeof(*fmsg), GFP_KERNEL); fmsg 4136 net/core/devlink.c if (!fmsg) fmsg 4139 net/core/devlink.c INIT_LIST_HEAD(&fmsg->item_list); fmsg 4141 net/core/devlink.c return fmsg; fmsg 4144 net/core/devlink.c static void devlink_fmsg_free(struct devlink_fmsg *fmsg) fmsg 4148 net/core/devlink.c list_for_each_entry_safe(item, tmp, &fmsg->item_list, list) { fmsg 4152 net/core/devlink.c kfree(fmsg); fmsg 4155 net/core/devlink.c static int devlink_fmsg_nest_common(struct devlink_fmsg *fmsg, fmsg 4165 net/core/devlink.c list_add_tail(&item->list, &fmsg->item_list); fmsg 4170 net/core/devlink.c int devlink_fmsg_obj_nest_start(struct devlink_fmsg *fmsg) fmsg 4172 net/core/devlink.c return devlink_fmsg_nest_common(fmsg, DEVLINK_ATTR_FMSG_OBJ_NEST_START); fmsg 4176 net/core/devlink.c static int devlink_fmsg_nest_end(struct devlink_fmsg *fmsg) fmsg 4178 net/core/devlink.c return devlink_fmsg_nest_common(fmsg, DEVLINK_ATTR_FMSG_NEST_END); fmsg 4181 net/core/devlink.c int devlink_fmsg_obj_nest_end(struct devlink_fmsg *fmsg) fmsg 4183 net/core/devlink.c return devlink_fmsg_nest_end(fmsg); fmsg 4189 net/core/devlink.c static int devlink_fmsg_put_name(struct devlink_fmsg *fmsg, const char *name) fmsg 4204 net/core/devlink.c list_add_tail(&item->list, &fmsg->item_list); fmsg 4209 net/core/devlink.c int devlink_fmsg_pair_nest_start(struct devlink_fmsg *fmsg, const char *name) fmsg 4213 net/core/devlink.c err = devlink_fmsg_nest_common(fmsg, DEVLINK_ATTR_FMSG_PAIR_NEST_START); fmsg 4217 net/core/devlink.c err = devlink_fmsg_put_name(fmsg, name); fmsg 4225 net/core/devlink.c int devlink_fmsg_pair_nest_end(struct devlink_fmsg *fmsg) fmsg 4227 net/core/devlink.c return devlink_fmsg_nest_end(fmsg); fmsg 4231 net/core/devlink.c int devlink_fmsg_arr_pair_nest_start(struct devlink_fmsg *fmsg, fmsg 4236 net/core/devlink.c err = devlink_fmsg_pair_nest_start(fmsg, name); fmsg 4240 net/core/devlink.c err = devlink_fmsg_nest_common(fmsg, DEVLINK_ATTR_FMSG_ARR_NEST_START); fmsg 4248 net/core/devlink.c int devlink_fmsg_arr_pair_nest_end(struct devlink_fmsg *fmsg) fmsg 4252 net/core/devlink.c err = devlink_fmsg_nest_end(fmsg); fmsg 4256 net/core/devlink.c err = devlink_fmsg_nest_end(fmsg); fmsg 4264 net/core/devlink.c static int devlink_fmsg_put_value(struct devlink_fmsg *fmsg, fmsg 4281 net/core/devlink.c list_add_tail(&item->list, &fmsg->item_list); fmsg 4286 net/core/devlink.c int devlink_fmsg_bool_put(struct devlink_fmsg *fmsg, bool value) fmsg 4288 net/core/devlink.c return devlink_fmsg_put_value(fmsg, &value, sizeof(value), NLA_FLAG); fmsg 4292 net/core/devlink.c int devlink_fmsg_u8_put(struct devlink_fmsg *fmsg, u8 value) fmsg 4294 net/core/devlink.c return devlink_fmsg_put_value(fmsg, &value, sizeof(value), NLA_U8); fmsg 4298 net/core/devlink.c int devlink_fmsg_u32_put(struct devlink_fmsg *fmsg, u32 value) fmsg 4300 net/core/devlink.c return devlink_fmsg_put_value(fmsg, &value, sizeof(value), NLA_U32); fmsg 4304 net/core/devlink.c int devlink_fmsg_u64_put(struct devlink_fmsg *fmsg, u64 value) fmsg 4306 net/core/devlink.c return devlink_fmsg_put_value(fmsg, &value, sizeof(value), NLA_U64); fmsg 4310 net/core/devlink.c int devlink_fmsg_string_put(struct devlink_fmsg *fmsg, const char *value) fmsg 4312 net/core/devlink.c return devlink_fmsg_put_value(fmsg, value, strlen(value) + 1, fmsg 4317 net/core/devlink.c int devlink_fmsg_binary_put(struct devlink_fmsg *fmsg, const void *value, fmsg 4320 net/core/devlink.c return devlink_fmsg_put_value(fmsg, value, value_len, NLA_BINARY); fmsg 4324 net/core/devlink.c int devlink_fmsg_bool_pair_put(struct devlink_fmsg *fmsg, const char *name, fmsg 4329 net/core/devlink.c err = devlink_fmsg_pair_nest_start(fmsg, name); fmsg 4333 net/core/devlink.c err = devlink_fmsg_bool_put(fmsg, value); fmsg 4337 net/core/devlink.c err = devlink_fmsg_pair_nest_end(fmsg); fmsg 4345 net/core/devlink.c int devlink_fmsg_u8_pair_put(struct devlink_fmsg *fmsg, const char *name, fmsg 4350 net/core/devlink.c err = devlink_fmsg_pair_nest_start(fmsg, name); fmsg 4354 net/core/devlink.c err = devlink_fmsg_u8_put(fmsg, value); fmsg 4358 net/core/devlink.c err = devlink_fmsg_pair_nest_end(fmsg); fmsg 4366 net/core/devlink.c int devlink_fmsg_u32_pair_put(struct devlink_fmsg *fmsg, const char *name, fmsg 4371 net/core/devlink.c err = devlink_fmsg_pair_nest_start(fmsg, name); fmsg 4375 net/core/devlink.c err = devlink_fmsg_u32_put(fmsg, value); fmsg 4379 net/core/devlink.c err = devlink_fmsg_pair_nest_end(fmsg); fmsg 4387 net/core/devlink.c int devlink_fmsg_u64_pair_put(struct devlink_fmsg *fmsg, const char *name, fmsg 4392 net/core/devlink.c err = devlink_fmsg_pair_nest_start(fmsg, name); fmsg 4396 net/core/devlink.c err = devlink_fmsg_u64_put(fmsg, value); fmsg 4400 net/core/devlink.c err = devlink_fmsg_pair_nest_end(fmsg); fmsg 4408 net/core/devlink.c int devlink_fmsg_string_pair_put(struct devlink_fmsg *fmsg, const char *name, fmsg 4413 net/core/devlink.c err = devlink_fmsg_pair_nest_start(fmsg, name); fmsg 4417 net/core/devlink.c err = devlink_fmsg_string_put(fmsg, value); fmsg 4421 net/core/devlink.c err = devlink_fmsg_pair_nest_end(fmsg); fmsg 4429 net/core/devlink.c int devlink_fmsg_binary_pair_put(struct devlink_fmsg *fmsg, const char *name, fmsg 4434 net/core/devlink.c err = devlink_fmsg_pair_nest_start(fmsg, name); fmsg 4438 net/core/devlink.c err = devlink_fmsg_binary_put(fmsg, value, value_len); fmsg 4442 net/core/devlink.c err = devlink_fmsg_pair_nest_end(fmsg); fmsg 4496 net/core/devlink.c devlink_fmsg_prepare_skb(struct devlink_fmsg *fmsg, struct sk_buff *skb, fmsg 4508 net/core/devlink.c list_for_each_entry(item, &fmsg->item_list, list) { fmsg 4545 net/core/devlink.c static int devlink_fmsg_snd(struct devlink_fmsg *fmsg, fmsg 4570 net/core/devlink.c err = devlink_fmsg_prepare_skb(fmsg, skb, &index); fmsg 4599 net/core/devlink.c static int devlink_fmsg_dumpit(struct devlink_fmsg *fmsg, struct sk_buff *skb, fmsg 4615 net/core/devlink.c err = devlink_fmsg_prepare_skb(fmsg, skb, &index); fmsg 5122 net/core/devlink.c struct devlink_fmsg *fmsg; fmsg 5134 net/core/devlink.c fmsg = devlink_fmsg_alloc(); fmsg 5135 net/core/devlink.c if (!fmsg) { fmsg 5140 net/core/devlink.c err = devlink_fmsg_obj_nest_start(fmsg); fmsg 5144 net/core/devlink.c err = reporter->ops->diagnose(reporter, fmsg); fmsg 5148 net/core/devlink.c err = devlink_fmsg_obj_nest_end(fmsg); fmsg 5152 net/core/devlink.c err = devlink_fmsg_snd(fmsg, info, fmsg 5156 net/core/devlink.c devlink_fmsg_free(fmsg);