Lines Matching defs:driver
115 * - datalink name (which is driver name plus PPA), for e.g. bge0 or
151 * Given a `linkname' of the form drv(ppa), parse it into `driver' and `ppa'.
152 * If the `dsize' for the `driver' is not atleast MAXLINKNAMELEN then part of
153 * the driver name will be copied to `driver'.
155 * This function also validates driver name and PPA and therefore callers can
156 * call this function with `driver' and `ppa' set to NULL, to just verify the
160 dlparse_drvppa(const char *linknamep, char *driver, uint_t dsize, uint_t *ppa)
194 if (driver != NULL)
195 (void) strlcpy(driver, linkname, dsize);