Lines Matching +defs:val +defs:name
17 * information: Portions Copyright [yyyy] [name of copyright owner]
40 extract_uint(const char *valstr, uint_t *val)
49 *val = (uint_t)ul;
94 * If the device name does not end with a digit or the device
95 * name is a sequence of numbers or a PPA contains a leading
114 * Given an IP interface name, which is either a
115 * - datalink name (which is driver name plus PPA), for e.g. bge0 or
116 * - datalink name plus a logical interface identifier (delimited by ':'),
153 * the driver name will be copied to `driver'.
155 * This function also validates driver name and PPA and therefore callers can
182 * Now check for the validity of the device name. The legal characters
183 * in a device name are: alphanumeric (a-z, A-Z, 0-9),
185 * name cannot be a digit and should be an alphabetic character.
213 dlparse_zonelinkname(const char *name, char *link_name, zoneid_t *zoneidp)
227 if ((namelen = strlcpy(buffer, name, sizeof (buffer))) >=
234 /* If there are no other strings, return given name as linkname */
239 (void) strlcpy(link_name, name, MAXLINKNAMELEN);
249 * name then we return failure. We only support a single