Home
last modified time | relevance | path

Searched refs:slashp (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/lib/libdiskmgt/common/
H A Dslice.c364 char *slashp; in dsk2rdsk() local
375 if ((slashp = strstr(rdsk, "/dsk/")) == NULL) { in dsk2rdsk()
377 slashp = strstr(rdsk, "/diskette"); in dsk2rdsk()
380 if (slashp != NULL) { in dsk2rdsk()
388 } while (endp != slashp); in dsk2rdsk()
/titanic_50/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c577 char *slashp = strrchr(zc.zc_name, '/'); in recv_impl() local
578 if (slashp == NULL) in recv_impl()
580 *slashp = '\0'; in recv_impl()
/titanic_50/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c281 char *cp, *slashp, addr[INET6_ADDRSTRLEN]; in i_ipadm_ngz_persist_if() local
289 slashp = strchr(cp, '/'); in i_ipadm_ngz_persist_if()
290 (void) strlcpy(addr, cp, (slashp - cp + 1)); in i_ipadm_ngz_persist_if()
/titanic_50/usr/src/cmd/zoneadmd/
H A Dvplat.c991 char abspath[MAXPATHLEN], *slashp, *slashp_next; in valid_mount_path() local
1024 slashp = &abspath[strlen(rootpath)]; in valid_mount_path()
1025 assert(*slashp == '/'); in valid_mount_path()
1027 slashp_next = strchr(slashp + 1, '/'); in valid_mount_path()
1028 *slashp = '\0'; in valid_mount_path()
1038 *slashp = '/'; in valid_mount_path()
1039 } while ((slashp = slashp_next) != NULL); in valid_mount_path()
2157 char *slashp = strchr(nwiftabptr->zone_nwif_address, '/'); in configure_one_interface() local
2235 if (slashp != NULL) { in configure_one_interface()
2236 if (addr2netmask(slashp + 1, V4_ADDR_LEN, in configure_one_interface()
[all …]
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c1289 char *slashp; in zfs_parse_bootfs() local
1298 slashp = strchr(bpath, '/'); in zfs_parse_bootfs()
1301 if (slashp == NULL) { in zfs_parse_bootfs()
1306 if (str_to_uint64(slashp+1, &objnum)) { in zfs_parse_bootfs()
1310 *slashp = '\0'; in zfs_parse_bootfs()
1312 *slashp = '/'; in zfs_parse_bootfs()
/titanic_50/usr/src/cmd/make/bin/
H A Dmain.cc2361 char *slashp; in read_files_and_state() local
2363 if (slashp = strrchr(make_state->string_mb, '/')) { in read_files_and_state()
2365 (slashp - make_state->string_mb)); in read_files_and_state()
2366 tmp_path[slashp - make_state->string_mb]=0; in read_files_and_state()
/titanic_50/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c2294 char *p, *slashp; in rs_create_new_bkpath() local
2303 slashp = bk_path + strlen(bk_path) - 1; in rs_create_new_bkpath()
2304 if (*slashp == '/') in rs_create_new_bkpath()
/titanic_50/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c1979 char *slashp, *slashp1, *slashp2; in zonecfg_same_net_address() local
2000 slashp = (slashp1 == NULL) ? slashp2 : slashp1; in zonecfg_same_net_address()
2001 *slashp = '\0'; in zonecfg_same_net_address()
2003 *slashp = '/'; in zonecfg_same_net_address()
2013 char *slashp = strchr(address, '/'); in zonecfg_valid_net_address() local
2018 if (slashp != NULL) in zonecfg_valid_net_address()
2019 *slashp = '\0'; in zonecfg_valid_net_address()
2023 if (slashp == NULL) in zonecfg_valid_net_address()
/titanic_50/usr/src/cmd/zonecfg/
H A Dzonecfg.c3893 char *slashp, part1[MAXHOSTNAMELEN]; in validate_net_address_syntax() local
3902 if ((slashp = strchr(address, '/')) != NULL) { in validate_net_address_syntax()
3903 *slashp = '\0'; in validate_net_address_syntax()
3905 *slashp = '/'; in validate_net_address_syntax()
3906 prefixlen = atoi(++slashp); in validate_net_address_syntax()
3911 if (ishost && slashp != NULL) { in validate_net_address_syntax()
3921 } else if (slashp == NULL) { in validate_net_address_syntax()
3937 else if (slashp != NULL) { in validate_net_address_syntax()
/titanic_50/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c3037 char *slashp; in parent_name() local
3041 if ((slashp = strrchr(buf, '/')) == NULL) in parent_name()
3043 *slashp = '\0'; in parent_name()