Home
last modified time | relevance | path

Searched refs:lastslash (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_props.c375 char *lastslash; in dev_path_fix() local
383 lastslash = strrchr(path, '/'); in dev_path_fix()
384 assert(lastslash != NULL); in dev_path_fix()
391 if (strchr(lastslash, '@') != NULL) in dev_path_fix()
421 char *lastslash; in dev_for_hostbridge() local
432 lastslash = strrchr(path, '/'); in dev_for_hostbridge()
433 assert(lastslash != NULL); in dev_for_hostbridge()
439 comma = strchr(lastslash, ','); in dev_for_hostbridge()
/illumos-gate/usr/src/lib/libdevice/
H A Ddevctl.c1001 char *minorname, *lastslash; in devctl_bus_dev_create() local
1014 lastslash = strrchr(devpath, '/'); in devctl_bus_dev_create()
1015 if (*(lastslash + 1) == '\0') { in devctl_bus_dev_create()
1016 *lastslash = '\0'; in devctl_bus_dev_create()
1018 if ((minorname = strchr(lastslash, ':')) != NULL) in devctl_bus_dev_create()
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c1851 char *lastslash; in putfile() local
2006 lastslash = strrchr(tmpbuf, '/'); in putfile()
2007 if (lastslash == NULL) { in putfile()
2012 *lastslash = '\0'; /* Terminate the prefix */ in putfile()
2023 lastslash = strrchr(longname, '/'); in putfile()
2024 if (lastslash != NULL) in putfile()
2025 i = strlen(lastslash + 1); in putfile()
2030 (void) strcpy(junkbuf, lastslash + 1); in putfile()
2041 "%d\n"), lastslash == NULL ? in putfile()
2042 longname : lastslash + 1, NAMSIZ); in putfile()
[all …]
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c1566 char *lastslash; in creat_hdr() local
1573 lastslash = strrchr(Gen.g_nam_p, '/'); in creat_hdr()
1575 if (lastslash != NULL) { in creat_hdr()
1576 namesize = strlen(++lastslash); in creat_hdr()
1580 lastslash = Gen.g_nam_p; in creat_hdr()
1591 lastslash, NAMSIZ); in creat_hdr()
1594 (void) strncpy(&namebuff[0], lastslash, in creat_hdr()
1835 char *lastslash; in creat_spec() local
1905 lastslash = strrchr(nam_p, '/'); in creat_spec()
1907 if (lastslash != NULL) { in creat_spec()
[all …]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo.c3884 char *copy, *lastslash; in di_lookup_path() local
3893 if ((lastslash = strrchr(copy, '/')) == NULL) { in di_lookup_path()
3899 *lastslash = '\0'; in di_lookup_path()
3907 pname = lastslash + 1; in di_lookup_path()