Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dslice.c321 char *slashp; in dsk2rdsk() local
332 if ((slashp = strstr(rdsk, "/dsk/")) == NULL) { in dsk2rdsk()
334 slashp = strstr(rdsk, "/diskette"); in dsk2rdsk()
337 if (slashp != NULL) { in dsk2rdsk()
345 } while (endp != slashp); in dsk2rdsk()
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c282 char *cp, *slashp, addr[INET6_ADDRSTRLEN]; in i_ipadm_ngz_persist_if() local
290 slashp = strchr(cp, '/'); in i_ipadm_ngz_persist_if()
291 (void) strlcpy(addr, cp, (slashp - cp + 1)); in i_ipadm_ngz_persist_if()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c1039 slashp = &abspath[strlen(rootpath)]; in valid_mount_path()
1040 assert(*slashp == '/'); in valid_mount_path()
1042 slashp_next = strchr(slashp + 1, '/'); in valid_mount_path()
1043 *slashp = '\0'; in valid_mount_path()
1053 *slashp = '/'; in valid_mount_path()
1054 } while ((slashp = slashp_next) != NULL); in valid_mount_path()
2254 if (slashp != NULL) { in configure_one_interface()
2255 if (addr2netmask(slashp + 1, V4_ADDR_LEN, in configure_one_interface()
2257 *slashp = '/'; in configure_one_interface()
2276 if (addr2netmask(slashp + 1, V6_ADDR_LEN, in configure_one_interface()
[all …]
/illumos-gate/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c755 char *slashp = strrchr(fsname, '/'); in recv_impl() local
756 if (slashp == NULL) in recv_impl()
758 *slashp = '\0'; in recv_impl()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c1506 char *slashp; in zfs_parse_bootfs() local
1515 slashp = strchr(bpath, '/'); in zfs_parse_bootfs()
1518 if (slashp == NULL) { in zfs_parse_bootfs()
1523 if (str_to_uint64(slashp+1, &objnum)) { in zfs_parse_bootfs()
1527 *slashp = '\0'; in zfs_parse_bootfs()
1529 *slashp = '/'; in zfs_parse_bootfs()
/illumos-gate/usr/src/cmd/make/bin/
H A Dmain.cc2401 char *slashp; in read_files_and_state() local
2403 if (slashp = strrchr(make_state->string_mb, '/')) { in read_files_and_state()
2405 (slashp - make_state->string_mb)); in read_files_and_state()
2406 tmp_path[slashp - make_state->string_mb]=0; in read_files_and_state()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c2295 char *p, *slashp; in rs_create_new_bkpath() local
2304 slashp = bk_path + strlen(bk_path) - 1; in rs_create_new_bkpath()
2305 if (*slashp == '/') in rs_create_new_bkpath()
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c4059 char *slashp, part1[MAXHOSTNAMELEN]; in validate_net_address_syntax() local
4068 if ((slashp = strchr(address, '/')) != NULL) { in validate_net_address_syntax()
4069 *slashp = '\0'; in validate_net_address_syntax()
4071 *slashp = '/'; in validate_net_address_syntax()
4072 prefixlen = atoi(++slashp); in validate_net_address_syntax()
4077 if (ishost && slashp != NULL) { in validate_net_address_syntax()
4087 } else if (slashp == NULL) { in validate_net_address_syntax()
4103 else if (slashp != NULL) { in validate_net_address_syntax()
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c1986 char *slashp, *slashp1, *slashp2; in zonecfg_same_net_address() local
2007 slashp = (slashp1 == NULL) ? slashp2 : slashp1; in zonecfg_same_net_address()
2008 *slashp = '\0'; in zonecfg_same_net_address()
2010 *slashp = '/'; in zonecfg_same_net_address()
2020 char *slashp = strchr(address, '/'); in zonecfg_valid_net_address() local
2025 if (slashp != NULL) in zonecfg_valid_net_address()
2026 *slashp = '\0'; in zonecfg_valid_net_address()
2030 if (slashp == NULL) in zonecfg_valid_net_address()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c3337 char *slashp; in parent_name() local
3341 if ((slashp = strrchr(buf, '/')) == NULL) in parent_name()
3343 *slashp = '\0'; in parent_name()