Home | History | Annotate | Download | only in blkid

Lines Matching refs:device

49  *	<device [<NAME="value"> ...]>device_name</device>
52 * <ID="id"> unique (within this file) ID number of this device
56 * The following tags may be present, depending on the device contents
134 * line starts with "<device" return 1 -> continue parsing line
150 if (!strncmp(p, "<device", 7)) {
151 DBG(DEBUG_READ, printf("found device header: %8s\n", p));
169 if (!strncmp(*cp, "</device>", 9)) {
170 DBG(DEBUG_READ, printf("found device trailer %9s\n", *cp));
179 * Allocate a new device struct with device name filled in. Will handle
180 * finding the device on lines of the form:
181 * <device foo=bar>devname</device>
182 * <device>devname<foo>bar</foo></device>
201 DBG(DEBUG_READ, printf("device should be %*s\n",
213 printf("blkid: missing </device> ending: %s\n", end));
218 DBG(DEBUG_READ, printf("blkid: empty device name: %s\n", *cp));
317 /* 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));