Lines Matching refs:snprintf
712 return snprintf(buf, PAGE_SIZE, "%s\n", serial_num); in bfad_im_serial_num_show()
726 return snprintf(buf, PAGE_SIZE, "%s\n", model); in bfad_im_model_show()
744 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
747 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
750 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
753 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
756 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
759 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
762 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
765 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
768 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
771 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
774 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
777 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
780 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
784 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
787 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
790 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
793 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
797 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
800 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
803 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
806 return snprintf(buf, PAGE_SIZE, "%s\n", model_descr); in bfad_im_model_desc_show()
820 return snprintf(buf, PAGE_SIZE, "0x%llx\n", cpu_to_be64(nwwn)); in bfad_im_node_name_show()
837 return snprintf(buf, PAGE_SIZE, "%s\n", symname); in bfad_im_symbolic_name_show()
851 return snprintf(buf, PAGE_SIZE, "%s\n", hw_ver); in bfad_im_hw_version_show()
858 return snprintf(buf, PAGE_SIZE, "%s\n", BFAD_DRIVER_VERSION); in bfad_im_drv_version_show()
872 return snprintf(buf, PAGE_SIZE, "%s\n", optrom_ver); in bfad_im_optionrom_version_show()
886 return snprintf(buf, PAGE_SIZE, "%s\n", fw_ver); in bfad_im_fw_version_show()
898 return snprintf(buf, PAGE_SIZE, "%d\n", in bfad_im_num_of_ports_show()
906 return snprintf(buf, PAGE_SIZE, "%s\n", BFAD_DRIVER_NAME); in bfad_im_drv_name_show()
925 return snprintf(buf, PAGE_SIZE, "Failed\n"); in bfad_im_num_of_discovered_ports_show()
932 return snprintf(buf, PAGE_SIZE, "%d\n", nrports); in bfad_im_num_of_discovered_ports_show()