/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | slice.c | 321 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 D | ipadm_ngz.c | 282 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 D | vplat.c | 1006 char abspath[MAXPATHLEN], *slashp, *slashp_next; in valid_mount_path() local 1039 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() 2176 char *slashp = strchr(nwiftabptr->zone_nwif_address, '/'); in configure_one_interface() local 2254 if (slashp != NULL) { in configure_one_interface() 2255 if (addr2netmask(slashp + 1, V4_ADDR_LEN, in configure_one_interface() [all …]
|
/illumos-gate/usr/src/lib/libzfs_core/common/ |
H A D | libzfs_core.c | 755 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 D | zfs_vfsops.c | 1527 char *slashp; in zfs_parse_bootfs() local 1536 slashp = strchr(bpath, '/'); in zfs_parse_bootfs() 1539 if (slashp == NULL) { in zfs_parse_bootfs() 1544 if (str_to_uint64(slashp+1, &objnum)) { in zfs_parse_bootfs() 1548 *slashp = '\0'; in zfs_parse_bootfs() 1550 *slashp = '/'; in zfs_parse_bootfs()
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | main.cc | 2401 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 D | tlm_restore_writer.c | 2295 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 D | zonecfg.c | 4059 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 D | libzonecfg.c | 1986 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 D | libzfs_dataset.c | 3337 char *slashp; in parent_name() local 3341 if ((slashp = strrchr(buf, '/')) == NULL) in parent_name() 3343 *slashp = '\0'; in parent_name()
|