Lines Matching refs:dev_name
382 char dev_name[BUFSIZE]; in get_blockdev_name() local
391 if (fgets(dev_name, BUFSIZE, cmd) == NULL) { in get_blockdev_name()
399 if (strncmp(dev_name, "bullhead", strlen("bullhead")) == 0 || in get_blockdev_name()
400 strncmp(dev_name, "angler", strlen("angler")) == 0 || in get_blockdev_name()
401 strncmp(dev_name, "shamu", strlen("shamu")) == 0 || in get_blockdev_name()
402 strncmp(dev_name, "aosp_gobo", strlen("aosp_gobo")) == 0 || in get_blockdev_name()
403 strncmp(dev_name, "full_k37_y33_gms", strlen("full_k37_y33_gms")) == 0 || in get_blockdev_name()
404 strncmp(dev_name, "fugu", strlen("fugu")) == 0) { in get_blockdev_name()
406 } else if (strncmp(dev_name, "marlin", strlen("marlin")) == 0 || in get_blockdev_name()
407 strncmp(dev_name, "sailfish", strlen("sailfish")) == 0 || in get_blockdev_name()
408 strncmp(dev_name, "taimen", strlen("taimen")) == 0 || in get_blockdev_name()
409 strncmp(dev_name, "walleye", strlen("walleye")) == 0) { in get_blockdev_name()
416 progname, dev_name); in get_blockdev_name()
425 char line[BUFSIZE], dev_name[BUFSIZE]; in read_disk_util_state() local
454 &major, &minor, dev_name, in read_disk_util_state()
459 if (strcmp(dev_name, blockdev_name) == 0) { in read_disk_util_state()