Lines Matching refs:cptr
683 char *cptr; in sbdp_get_diag() local
691 if ((cptr = strstr(opts->copts, "diag=")) != NULL) { in sbdp_get_diag()
695 cptr += strlen("diag="); in sbdp_get_diag()
697 if (strncmp(cptr, "off", sizeof ("off")) == 0) { in sbdp_get_diag()
699 } else if (strncmp(cptr, "init", sizeof ("init")) == 0) { in sbdp_get_diag()
701 } else if (strncmp(cptr, "quick", sizeof ("quick")) == 0) { in sbdp_get_diag()
703 } else if (strncmp(cptr, "min", sizeof ("min")) == 0) { in sbdp_get_diag()
705 } else if (strncmp(cptr, "default", sizeof ("default")) == 0 || in sbdp_get_diag()
706 strncmp(cptr, "max", sizeof ("max")) == 0) { in sbdp_get_diag()
708 } else if (strncmp(cptr, "mem1", sizeof ("mem1")) == 0) { in sbdp_get_diag()
710 } else if (strncmp(cptr, "mem2", sizeof ("mem2")) == 0) { in sbdp_get_diag()