Lines Matching refs:device
48 * <device [<NAME="value"> ...]>device_name</device>
51 * <ID="id"> unique (within this file) ID number of this device
55 * The following tags may be present, depending on the device contents
133 * line starts with "<device" return 1 -> continue parsing line
149 if (!strncmp(p, "<device", 7)) {
150 DBG(DEBUG_READ, printf("found device header: %8s\n", p));
168 if (!strncmp(*cp, "</device>", 9)) {
169 DBG(DEBUG_READ, printf("found device trailer %9s\n", *cp));
178 * Allocate a new device struct with device name filled in. Will handle
179 * finding the device on lines of the form:
180 * <device foo=bar>devname</device>
181 * <device>devname<foo>bar</foo></device>
200 DBG(DEBUG_READ, printf("device should be %*s\n",
212 printf("blkid: missing </device> ending: %s\n", end));
217 DBG(DEBUG_READ, printf("blkid: empty device name: %s\n", *cp));
316 /* Some tags are stored directly in the device struct */
334 * Add the new device to the cache struct, if one was read.
336 * Lines are of the form <device [TAG="value" ...]>/dev/foo</device>
340 * If a valid device was read, *dev_p is non-NULL, otherwise it is NULL
366 printf("blkid: device %s has no TYPE\n",dev->bid_name));