Searched defs:slashp (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dmetainterfaces.c453 char *slashp; local
460 if ((slashp = strstr(cp, "/")) == NULL)
462 numlen = slashp - cp;
473 cp = slashp + 1;
475 if ((slashp = strstr(cp, "/")) == NULL)
479 slashp + 1);
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dslice.c365 char *slashp; local
376 if ((slashp = strstr(rdsk, "/dsk/")) == NULL) {
378 slashp = strstr(rdsk, "/diskette");
381 if (slashp != NULL) {
389 } while (endp != slashp);
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c281 char *cp, *slashp, addr[INET6_ADDRSTRLEN]; local
289 slashp = strchr(cp, '/');
290 (void) strlcpy(addr, cp, (slashp - cp + 1));
/illumos-gate/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c586 char *slashp = strrchr(zc.zc_name, '/'); local
587 if (slashp == NULL)
589 *slashp = '\0';
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c2294 char *p, *slashp; local
2303 slashp = bk_path + strlen(bk_path) - 1;
2304 if (*slashp == '/')
/illumos-gate/usr/src/cmd/make/bin/
H A Dmain.cc2361 char *slashp; local
2363 if (slashp = strrchr(make_state->string_mb, '/')) {
2365 (slashp - make_state->string_mb));
2366 tmp_path[slashp - make_state->string_mb]=0;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c1275 char *slashp; local
1284 slashp = strchr(bpath, '/');
1287 if (slashp == NULL) {
1292 if (str_to_uint64(slashp+1, &objnum)) {
1296 *slashp = '\0';
1298 *slashp = '/';
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c3042 char *slashp; local
3046 if ((slashp = strrchr(buf, '/')) == NULL)
3048 *slashp = '\0';
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c992 char abspath[MAXPATHLEN], *slashp, *slashp_next; local
1025 slashp = &abspath[strlen(rootpath)];
1026 assert(*slashp == '/');
1028 slashp_next = strchr(slashp + 1, '/');
1029 *slashp = '\0';
1039 *slashp = '/';
1040 } while ((slashp = slashp_next) != NULL);
2158 char *slashp = strchr(nwiftabptr->zone_nwif_address, '/'); local
2236 if (slashp != NULL) {
2237 if (addr2netmask(slashp
[all...]
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c4055 char *slashp, part1[MAXHOSTNAMELEN]; local
4064 if ((slashp = strchr(address, '/')) != NULL) {
4065 *slashp = '\0';
4067 *slashp = '/';
4068 prefixlen = atoi(++slashp);
4073 if (ishost && slashp != NULL) {
4083 } else if (slashp == NULL) {
4099 else if (slashp != NULL) {
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c1984 char *slashp, *slashp1, *slashp2; local
2005 slashp = (slashp1 == NULL) ? slashp2 : slashp1;
2006 *slashp = '\0';
2008 *slashp = '/';
2018 char *slashp = strchr(address, '/'); local
2023 if (slashp != NULL)
2024 *slashp = '\0';
2028 if (slashp == NULL)

Completed in 138 milliseconds