Lines Matching refs:dev_name
388 char dev_name[BUFSIZE]; in get_blockdev_name() local
397 if (fgets(dev_name, BUFSIZE, cmd) == NULL) { in get_blockdev_name()
405 if (strncmp(dev_name, "bullhead", strlen("bullhead")) == 0 || in get_blockdev_name()
406 strncmp(dev_name, "angler", strlen("angler")) == 0 || in get_blockdev_name()
407 strncmp(dev_name, "shamu", strlen("shamu")) == 0 || in get_blockdev_name()
408 strncmp(dev_name, "aosp_gobo", strlen("aosp_gobo")) == 0 || in get_blockdev_name()
409 strncmp(dev_name, "full_k37_y33_gms", strlen("full_k37_y33_gms")) == 0 || in get_blockdev_name()
410 strncmp(dev_name, "fugu", strlen("fugu")) == 0) { in get_blockdev_name()
412 } else if (strncmp(dev_name, "marlin", strlen("marlin")) == 0 || in get_blockdev_name()
413 strncmp(dev_name, "sailfish", strlen("sailfish")) == 0 || in get_blockdev_name()
414 strncmp(dev_name, "taimen", strlen("taimen")) == 0 || in get_blockdev_name()
415 strncmp(dev_name, "walleye", strlen("walleye")) == 0) { in get_blockdev_name()
422 progname, dev_name); in get_blockdev_name()
431 char line[BUFSIZE], dev_name[BUFSIZE]; in read_disk_util_state() local
460 &major, &minor, dev_name, in read_disk_util_state()
465 if (strcmp(dev_name, blockdev_name) == 0) { in read_disk_util_state()