Lines Matching refs:pbuf
2156 char *pbuf; in lpfc_debugfs_lockstat_write() local
2166 pbuf = &mybuf[0]; in lpfc_debugfs_lockstat_write()
2168 if ((strncmp(pbuf, "reset", strlen("reset")) == 0) || in lpfc_debugfs_lockstat_write()
2169 (strncmp(pbuf, "zero", strlen("zero")) == 0)) { in lpfc_debugfs_lockstat_write()
2609 char *pbuf; in lpfc_debugfs_multixripools_write() local
2622 pbuf = &mybuf[0]; in lpfc_debugfs_multixripools_write()
2624 if ((strncmp(pbuf, "clear", strlen("clear"))) == 0) { in lpfc_debugfs_multixripools_write()
2647 return strlen(pbuf); in lpfc_debugfs_multixripools_write()
2691 char *pbuf; in lpfc_debugfs_nvmestat_write() local
2703 pbuf = &mybuf[0]; in lpfc_debugfs_nvmestat_write()
2706 if ((strncmp(pbuf, "reset", strlen("reset")) == 0) || in lpfc_debugfs_nvmestat_write()
2707 (strncmp(pbuf, "zero", strlen("zero")) == 0)) { in lpfc_debugfs_nvmestat_write()
2832 char *pbuf; in lpfc_debugfs_ioktime_write() local
2841 pbuf = &mybuf[0]; in lpfc_debugfs_ioktime_write()
2843 if ((strncmp(pbuf, "on", sizeof("on") - 1) == 0)) { in lpfc_debugfs_ioktime_write()
2878 return strlen(pbuf); in lpfc_debugfs_ioktime_write()
2879 } else if ((strncmp(pbuf, "off", in lpfc_debugfs_ioktime_write()
2882 return strlen(pbuf); in lpfc_debugfs_ioktime_write()
2883 } else if ((strncmp(pbuf, "zero", in lpfc_debugfs_ioktime_write()
2917 return strlen(pbuf); in lpfc_debugfs_ioktime_write()
2960 char *pbuf; in lpfc_debugfs_nvmeio_trc_write() local
2969 pbuf = &mybuf[0]; in lpfc_debugfs_nvmeio_trc_write()
2971 if ((strncmp(pbuf, "off", sizeof("off") - 1) == 0)) { in lpfc_debugfs_nvmeio_trc_write()
2976 return strlen(pbuf); in lpfc_debugfs_nvmeio_trc_write()
2977 } else if ((strncmp(pbuf, "on", sizeof("on") - 1) == 0)) { in lpfc_debugfs_nvmeio_trc_write()
2982 return strlen(pbuf); in lpfc_debugfs_nvmeio_trc_write()
2990 i = kstrtoul(pbuf, 0, &sz); in lpfc_debugfs_nvmeio_trc_write()
3024 return strlen(pbuf); in lpfc_debugfs_nvmeio_trc_write()
3065 char *pbuf; in lpfc_debugfs_hdwqstat_write() local
3075 pbuf = &mybuf[0]; in lpfc_debugfs_hdwqstat_write()
3077 if ((strncmp(pbuf, "on", sizeof("on") - 1) == 0)) { in lpfc_debugfs_hdwqstat_write()
3083 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3084 } else if ((strncmp(pbuf, "nvme_on", sizeof("nvme_on") - 1) == 0)) { in lpfc_debugfs_hdwqstat_write()
3089 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3090 } else if ((strncmp(pbuf, "scsi_on", sizeof("scsi_on") - 1) == 0)) { in lpfc_debugfs_hdwqstat_write()
3093 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3094 } else if ((strncmp(pbuf, "nvme_off", sizeof("nvme_off") - 1) == 0)) { in lpfc_debugfs_hdwqstat_write()
3097 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3098 } else if ((strncmp(pbuf, "scsi_off", sizeof("scsi_off") - 1) == 0)) { in lpfc_debugfs_hdwqstat_write()
3100 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3101 } else if ((strncmp(pbuf, "off", in lpfc_debugfs_hdwqstat_write()
3104 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3105 } else if ((strncmp(pbuf, "zero", in lpfc_debugfs_hdwqstat_write()
3113 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3146 char *pbuf, *step_str; in lpfc_idiag_cmd_get() local
3156 pbuf = &mybuf[0]; in lpfc_idiag_cmd_get()
3157 step_str = strsep(&pbuf, "\t "); in lpfc_idiag_cmd_get()
3168 step_str = strsep(&pbuf, "\t "); in lpfc_idiag_cmd_get()