Lines Matching refs:dev_name
386 char dev_name[BUFSIZE];
395 if (fgets(dev_name, BUFSIZE, cmd) == NULL) {
403 if (strncmp(dev_name, "bullhead", strlen("bullhead")) == 0 ||
404 strncmp(dev_name, "angler", strlen("angler")) == 0 ||
405 strncmp(dev_name, "shamu", strlen("shamu")) == 0 ||
406 strncmp(dev_name, "aosp_gobo", strlen("aosp_gobo")) == 0 ||
407 strncmp(dev_name, "full_k37_y33_gms", strlen("full_k37_y33_gms")) == 0 ||
408 strncmp(dev_name, "fugu", strlen("fugu")) == 0) {
410 } else if (strncmp(dev_name, "marlin", strlen("marlin")) == 0 ||
411 strncmp(dev_name, "sailfish", strlen("sailfish")) == 0 ||
412 strncmp(dev_name, "taimen", strlen("taimen")) == 0 ||
413 strncmp(dev_name, "walleye", strlen("walleye")) == 0) {
420 progname, dev_name);
429 char line[BUFSIZE], dev_name[BUFSIZE];
458 &major, &minor, dev_name,
463 if (strcmp(dev_name, blockdev_name) == 0) {