Lines Matching refs:strlcpy
84 ret = strlcpy(buf, nvme_ctrl_info_model(ctrl), buflen); in nvmeadm_list_common_ofmt_cb()
87 ret = strlcpy(buf, nvme_ctrl_info_serial(ctrl), buflen); in nvmeadm_list_common_ofmt_cb()
90 ret = strlcpy(buf, nvme_ctrl_info_fwrev(ctrl), buflen); in nvmeadm_list_common_ofmt_cb()
98 ret = strlcpy(buf, list->nloa_name, buflen); in nvmeadm_list_common_ofmt_cb()
176 ret = strlcpy(buf, list->nloa_disk, buflen); in nvmeadm_list_nsid_ofmt_cb()
206 ret = strlcpy(buf, list->nloa_state, buflen); in nvmeadm_list_nsid_ofmt_cb()
293 ret = strlcpy(buf, list->nlloa_name, buflen); in nvmeadm_list_logs_ofmt_cb()
296 ret = strlcpy(buf, nvme_log_disc_name(disc), buflen); in nvmeadm_list_logs_ofmt_cb()
299 ret = strlcpy(buf, nvme_log_disc_desc(disc), buflen); in nvmeadm_list_logs_ofmt_cb()
313 ret = strlcpy(buf, "nvm", buflen); in nvmeadm_list_logs_ofmt_cb()
316 ret = strlcpy(buf, "kv", buflen); in nvmeadm_list_logs_ofmt_cb()
319 ret = strlcpy(buf, "zns", buflen); in nvmeadm_list_logs_ofmt_cb()
346 ret = strlcpy(buf, nvme_log_disc_impl(disc) ? "yes" : "no", in nvmeadm_list_logs_ofmt_cb()
357 ret = strlcpy(buf, "mandatory", buflen); in nvmeadm_list_logs_ofmt_cb()
360 ret = strlcpy(buf, "optional", buflen); in nvmeadm_list_logs_ofmt_cb()
363 ret = strlcpy(buf, "vendor-specific", buflen); in nvmeadm_list_logs_ofmt_cb()
460 ret = strlcpy(buf, nlfo->nlfoa_name, buflen); in nvmeadm_list_features_ofmt_cb()
463 ret = strlcpy(buf, nvme_feat_disc_short(feat), buflen); in nvmeadm_list_features_ofmt_cb()
466 ret = strlcpy(buf, nvme_feat_disc_spec(feat), buflen); in nvmeadm_list_features_ofmt_cb()
478 ret = strlcpy(buf, "mandatory", buflen); in nvmeadm_list_features_ofmt_cb()
481 ret = strlcpy(buf, "optional", buflen); in nvmeadm_list_features_ofmt_cb()
484 ret = strlcpy(buf, "vendor-specific", buflen); in nvmeadm_list_features_ofmt_cb()
494 ret = strlcpy(buf, "none", buflen); in nvmeadm_list_features_ofmt_cb()
523 ret = strlcpy(buf, "-", buflen); in nvmeadm_list_features_ofmt_cb()
532 ret = strlcpy(buf, "unknown", buflen); in nvmeadm_list_features_ofmt_cb()
535 ret = strlcpy(buf, "no", buflen); in nvmeadm_list_features_ofmt_cb()
538 ret = strlcpy(buf, "yes", buflen); in nvmeadm_list_features_ofmt_cb()