Lines Matching defs:value
58 * Locate a device name from a token (NAME=value string), or (name, value)
59 * pair. In the case of a token, value is ignored. If the "token" is not
60 * of the form "NAME=value" and there is no value given, then it is assumed
64 const char *value)
80 printf("looking for %s%s%s %s\n", token, value ? "=" : "",
81 value ? value : "", cache ? "in cache" : "from disk"));
83 if (!value) {
90 value = v;
93 dev = blkid_find_dev_with_tag(c, token, value);
111 char *value;
116 fprintf(stderr, "Usage:\t%s tagname=value\n"
119 "Find what the value of a tag is in a device\n",
129 value = blkid_get_tag_value(cache, argv[1], argv[2]);
131 value ? value : "<missing>");
133 value = blkid_get_devname(cache, argv[1], NULL);
134 printf("%s has tag %s\n", value ? value : "<none>", argv[1]);
137 return value ? 0 : 1;