Searched defs:supplied (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauth_time.c209 supplied; local
304 /* Caller supplied a uaddr. Fake an endpoint. */
306 supplied.proto = *netid;
308 if (strcmp("udp", supplied.proto) &&
309 strcmp("udp6", supplied.proto) &&
310 strcmp("tcp", supplied.proto) &&
311 strcmp("tcp6", supplied.proto)) {
318 supplied.proto = (strchr(*uaddr, ':') != 0) ?
322 supplied.uaddr = *uaddr;
323 supplied
[all...]
/illumos-gate/usr/src/cmd/cdrw/
H A Ddevice.c87 * also takes the user supplied name and stores it inside the node
443 * Builds an open()able device path from a user supplied node which can be
449 lookup_device(char *supplied, char *found) argument
456 if ((stat(supplied, &statbuf) == 0) && S_ISCHR(statbuf.st_mode) &&
457 ((fd = open(supplied, O_RDONLY|O_NDELAY)) >= 0)) {
459 (void) strlcpy(found, supplied, PATH_MAX);
469 if (fd < 0 && ((strncmp(supplied, "/dev/rdsk/", 10) == 0) ||
470 (strncmp(supplied, "/dev/removable-media/rdsk/", 26) == 0)))
473 if ((strncmp(supplied, "/dev/dsk/", 9) == 0) ||
474 (strncmp(supplied, "/de
[all...]
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c92 static int vol_lookup(char *supplied, char *found);
95 static int lookup_device(char *supplied, char *found);
1309 * and takes the user supplied name and stores it inside the node.
1420 * Builds an open()able device path from a user supplied node which can be
1426 lookup_device(char *supplied, char *found) argument
1436 if ((stat(supplied, &statbuf) == 0) && S_ISCHR(statbuf.st_mode) &&
1437 ((fd = open(supplied, O_RDONLY|O_NDELAY)) >= 0)) {
1439 (void) strlcpy(found, supplied, PATH_MAX);
1448 if (strncmp(supplied, "/dev/rdsk/", 10) == 0)
1449 return (vol_lookup(supplied, foun
1597 vol_lookup(char *supplied, char *found) argument
[all...]

Completed in 48 milliseconds