Lines Matching refs:pbuf
2163 char *pbuf; in lpfc_debugfs_lockstat_write() local
2173 pbuf = &mybuf[0]; in lpfc_debugfs_lockstat_write()
2175 if ((strncmp(pbuf, "reset", strlen("reset")) == 0) || in lpfc_debugfs_lockstat_write()
2176 (strncmp(pbuf, "zero", strlen("zero")) == 0)) { in lpfc_debugfs_lockstat_write()
2640 char *pbuf; in lpfc_debugfs_multixripools_write() local
2653 pbuf = &mybuf[0]; in lpfc_debugfs_multixripools_write()
2655 if ((strncmp(pbuf, "clear", strlen("clear"))) == 0) { in lpfc_debugfs_multixripools_write()
2678 return strlen(pbuf); in lpfc_debugfs_multixripools_write()
2722 char *pbuf; in lpfc_debugfs_nvmestat_write() local
2734 pbuf = &mybuf[0]; in lpfc_debugfs_nvmestat_write()
2737 if ((strncmp(pbuf, "reset", strlen("reset")) == 0) || in lpfc_debugfs_nvmestat_write()
2738 (strncmp(pbuf, "zero", strlen("zero")) == 0)) { in lpfc_debugfs_nvmestat_write()
2863 char *pbuf; in lpfc_debugfs_ioktime_write() local
2872 pbuf = &mybuf[0]; in lpfc_debugfs_ioktime_write()
2874 if ((strncmp(pbuf, "on", sizeof("on") - 1) == 0)) { in lpfc_debugfs_ioktime_write()
2909 return strlen(pbuf); in lpfc_debugfs_ioktime_write()
2910 } else if ((strncmp(pbuf, "off", in lpfc_debugfs_ioktime_write()
2913 return strlen(pbuf); in lpfc_debugfs_ioktime_write()
2914 } else if ((strncmp(pbuf, "zero", in lpfc_debugfs_ioktime_write()
2948 return strlen(pbuf); in lpfc_debugfs_ioktime_write()
2991 char *pbuf; in lpfc_debugfs_nvmeio_trc_write() local
3000 pbuf = &mybuf[0]; in lpfc_debugfs_nvmeio_trc_write()
3002 if ((strncmp(pbuf, "off", sizeof("off") - 1) == 0)) { in lpfc_debugfs_nvmeio_trc_write()
3007 return strlen(pbuf); in lpfc_debugfs_nvmeio_trc_write()
3008 } else if ((strncmp(pbuf, "on", sizeof("on") - 1) == 0)) { in lpfc_debugfs_nvmeio_trc_write()
3013 return strlen(pbuf); in lpfc_debugfs_nvmeio_trc_write()
3021 i = kstrtoul(pbuf, 0, &sz); in lpfc_debugfs_nvmeio_trc_write()
3055 return strlen(pbuf); in lpfc_debugfs_nvmeio_trc_write()
3096 char *pbuf; in lpfc_debugfs_hdwqstat_write() local
3106 pbuf = &mybuf[0]; in lpfc_debugfs_hdwqstat_write()
3108 if ((strncmp(pbuf, "on", sizeof("on") - 1) == 0)) { in lpfc_debugfs_hdwqstat_write()
3114 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3115 } else if ((strncmp(pbuf, "nvme_on", sizeof("nvme_on") - 1) == 0)) { in lpfc_debugfs_hdwqstat_write()
3120 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3121 } else if ((strncmp(pbuf, "scsi_on", sizeof("scsi_on") - 1) == 0)) { in lpfc_debugfs_hdwqstat_write()
3124 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3125 } else if ((strncmp(pbuf, "nvme_off", sizeof("nvme_off") - 1) == 0)) { in lpfc_debugfs_hdwqstat_write()
3128 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3129 } else if ((strncmp(pbuf, "scsi_off", sizeof("scsi_off") - 1) == 0)) { in lpfc_debugfs_hdwqstat_write()
3131 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3132 } else if ((strncmp(pbuf, "off", in lpfc_debugfs_hdwqstat_write()
3135 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3136 } else if ((strncmp(pbuf, "zero", in lpfc_debugfs_hdwqstat_write()
3144 return strlen(pbuf); in lpfc_debugfs_hdwqstat_write()
3177 char *pbuf, *step_str; in lpfc_idiag_cmd_get() local
3187 pbuf = &mybuf[0]; in lpfc_idiag_cmd_get()
3188 step_str = strsep(&pbuf, "\t "); in lpfc_idiag_cmd_get()
3199 step_str = strsep(&pbuf, "\t "); in lpfc_idiag_cmd_get()