/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | expand.c | 32 char *pathp; variable 91 path = tpathp = pathp = pathbuf; 92 *pathp = '\0'; 215 tpathp = pathp = cp - 1; 217 tpathp = pathp = path; 220 *pathp = '\0'; 258 spathp = pathp; 274 cp--, pathp--; 276 cp++, pathp++; 277 *pathp [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | dacf_clnt.c | 218 char *path, *pathp; local 249 if ((pathp = ddi_pathname(devi, path)) == NULL) 250 pathp = "<unknown>"; 252 pathp); 271 char *path, *pathp; local 303 if ((pathp = ddi_pathname(devi, path)) == NULL) 304 pathp = "<unknown>"; 306 "attempting to reconfigure...", pathp); 314 if ((pathp = ddi_pathname(devi, path)) == NULL) 315 pathp [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_vxvm.c | 61 vm_path_t pathp[]); 303 vm_path_t *pathp; local 332 pathp = (vm_path_t *)calloc(MAX_DISKS_DG, psize); 333 if (pathp == NULL) { 343 free(pathp); 351 n_disks = (vxdl_libvxvm_get_disks)(pnp, MAX_DISKS_DG, pathp); 357 ppp = (char *)pathp; 371 free(pathp); 378 free(pathp); 392 free(pathp); [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | ls.c | 54 static int ls_getdir(char **pathp); 154 ls_getdir(char **pathp) argument 164 path = malloc(strlen(*pathp) + 2); 165 strcpy(path, *pathp); 195 *pathp = path; 200 *pathp = NULL;
|
/illumos-gate/usr/src/lib/libsocket/socket/ |
H A D | _soutil.c | 123 char **pathp, int *prototype) 160 *pathp = malloc(strlen(net->nc_device) + 1); 161 if (*pathp == NULL) { 166 (void) strcpy(*pathp, net->nc_device); 122 _s_netconfig_path(int family, int type, int protocol, char **pathp, int *prototype) argument
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | lookup.c | 261 char *pathp; local 272 error = nfsgetsymlink(cdp, &pathp); 275 error = nfs3getsymlink(cdp, &pathp); 278 error = nfs4getsymlink(cdp, &pathp); 290 stpn_get(pathp, &linkpath);
|
H A D | mount.c | 102 xdr_path(XDR *xdrs, char **pathp) argument 104 return (xdr_string(xdrs, pathp, MNTPATHLEN));
|
/illumos-gate/usr/src/cmd/lp/lib/secure/ |
H A D | secure.c | 241 char * pathp; local 243 pathp = makepath (Lp_Requests, reqfilep, (char *) 0); 244 if (! pathp) 247 n = Unlink (pathp); 248 Free (pathp);
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | umount.c | 123 umount2(char *pathp, int flag) argument 145 if (error = pn_get(pathp, UIO_USERSPACE, &pn))
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_cvt.c | 39 uint_t state, char *pathp, int *l_errnop); 191 *pathp = NULL; local 400 if ((pathp = calloc(1, devlen)) 405 (void) snprintf(pathp, devlen, 409 statep, pathp, l_errnop))) != 411 S_FREE(pathp); 433 char *pathp, *dev_phys; local 486 if ((pathp = calloc(1, devlen)) 491 (void) snprintf(pathp, devlen, "%s%s", DEVICES_DIR, path_name); 494 return (update_lunlist(lunlistpp, *lunp, state, pathp, l_errno 498 update_lunlist( struct luninfo_list **lunlistpp, int lun, uint_t state, char *pathp, int *l_errnop) argument [all...] |
/illumos-gate/usr/src/cmd/pcidr/ |
H A D | pcidr.c | 366 char *path, *pathp, *pathend; local 383 pathp = path; 387 sz = strlcat(buf, pathp, bufsize); 408 pathp = lp[i].end + 1; 412 if (pathp < pathend) { 413 sz = strlcat(buf, pathp, bufsize);
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare_zfs.c | 1274 char *pathp; local 1290 pathp = path; 1291 while ((dataset = get_zfs_dataset(sahandle, pathp, B_TRUE)) == NULL) { 1294 if (pathp == path) { 1296 pathp = newpath; 1307 while (*pathp == '/' && *(pathp + 1) == '/') 1308 pathp++; 1314 if ((strlen(pathp) > 1) && (p = strrchr(pathp, '/'))) { [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ds/ |
H A D | mdb_ds.c | 367 uintptr_t pathp; local 377 if (mdb_vread(&pathp, sizeof (pathp), 378 (uintptr_t)dpth.dpth_path) != sizeof (pathp)) { 386 if (pathp == NULL) 389 if (mdb_readstr(path, sizeof (path), pathp) < 0) { 390 mdb_warn("failed to read path at %p", pathp);
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ib_cma.c | 1094 ibt_path_info_t *pathp; local 1104 pathp = ibchanp->chan_pathp; 1105 addr_vect = &((pathp->pi_prim_cep_path).cep_adds_vect); 1156 ibt_path_info_t *pathp) 1168 status = ibt_query_hca_ports_byguid(pathp->pi_hca_guid, 1169 pathp->pi_prim_cep_path.cep_hca_port_num, 1178 index = pathp->pi_prim_cep_path.cep_pkey_ix; 1186 devp->dev_node_guid = pathp->pi_hca_guid; 1187 devp->dev_port_num = pathp->pi_prim_cep_path.cep_hca_port_num; 1188 devp->dev_pkey_ix = pathp 1155 ibcma_init_devinfo(struct rdma_cm_id *idp, ibcma_chan_t *ibchanp, ibt_path_info_t *pathp) argument 1243 ibcma_path_hdlr(void *arg, ibt_status_t retval, ibt_path_info_t *pathp, uint8_t num_paths, ibt_path_ip_src_t *src_ip_p) argument 2287 ibt_path2ah(ibt_path_info_t *pathp, struct ib_ah_attr *ah_attr) argument 2321 ibt_path2sa_path(ibt_path_info_t *pathp, struct ib_sa_path_rec *sa_pathp, ib_lid_t base_lid) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/nsctl/ |
H A D | nsctl.c | 1108 uintptr_t pathp; local 1133 if (mdb_vread(&pathp, sizeof (pathp), 1135 sizeof (pathp)) { 1140 if (mdb_readstr(path, sizeof (path), pathp) == -1) { 1277 uintptr_t pathp; local 1300 if (mdb_vread(&pathp, sizeof (pathp), 1302 sizeof (pathp)) { 1307 if (mdb_readstr(path, sizeof (path), pathp) [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | fhtab.c | 92 char **pathp); 93 static int fh_remove(char *fhpath, fhandle_t *dfh, char *name, char **pathp); 562 fh_remove_mc_link(char *fhpath, fhandle_t *dfh, char *name, char **pathp) argument 568 if ((pathp == NULL) || (*pathp == NULL)) { 572 str = *pathp; 586 fh_remove(char *fhpath, fhandle_t *dfh, char *name, char **pathp) argument 605 (void) fh_remove_mc_link(fhpath, dfh, name, pathp); 2266 char *pathp = fh_print_absolute(fhpath, fh, name); local 2269 (void) printf(" %s: path '%s', fh ", prtstr, pathp); [all...] |
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_qp.c | 732 ibtl_fillin_sgid(ibt_cep_path_t *pathp, ibtl_hca_devinfo_t *hca_devp) argument 738 port = pathp->cep_hca_port_num; 739 sgid_ix = pathp->cep_adds_vect.av_sgid_ix; 742 pathp->cep_adds_vect.av_sgid.gid_prefix = 0; 743 pathp->cep_adds_vect.av_sgid.gid_guid = 0; 747 pathp->cep_adds_vect.av_sgid = sgidp[sgid_ix];
|
/illumos-gate/usr/src/common/ficl/emu/ |
H A D | loader_emu.c | 76 static int ls_getdir(char **pathp); 1573 ls_getdir(char **pathp) argument 1582 path = malloc(strlen(*pathp) + 2); 1583 strcpy(path, *pathp); 1614 *pathp = path; 1620 *pathp = NULL;
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj.c | 3442 char *pathp; local 3453 pathp = ""; /* use name as specified */ 3455 pathp = kobj_module_path; 3458 pathpsave = pathp; /* keep this for error reporting */ 3469 maxpathlen = strlen(pathp) + strlen(name) + 3; 3476 if (*pathp != '\0' && *pathp != '/') 3478 while (*pathp && *pathp != ':' && *pathp ! [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | graph.c | 1174 graph_insert_dependency(graph_vertex_t *fv, graph_vertex_t *tv, int **pathp) argument 1186 *pathp = is_path_to(tv, fv); 1187 if (*pathp) 2057 * if the dependency would create a cycle. In the last case, *pathp will 2063 int **pathp) 2124 err = graph_insert_dependency(v, rv, pathp); 2321 int **pathp; /* return circular dependency path */ member in struct:depfmri_info 2333 * ELOOP - Adding the dependency creates a circular dependency. *info->pathp 2447 info->err = graph_insert_dependency(depgroup_v, v, info->pathp); 2521 int **pathp; /* retur member in struct:deppg_info 2062 graph_change_restarter(graph_vertex_t *v, const char *fmri_arg, scf_handle_t *h, int **pathp) argument 2695 set_dependencies(graph_vertex_t *v, scf_instance_t *inst, int **pathp) argument [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_ncallio.c | 59 nsc_ncio_split(char *node_and_path, char **pathp) argument 80 *pathp = cp + 1;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/ |
H A D | wanboot-cgi.c | 186 free_path(char **pathp) argument 188 if (*pathp != NULL) { 189 free(*pathp); 190 *pathp = NULL;
|
/illumos-gate/usr/src/boot/sys/boot/fdt/ |
H A D | fdt_loader_cmd.c | 1333 fdt_extract_nameloc(char **pathp, char **namep, int *nodeoff) argument 1336 char *path = *pathp, *name = NULL, *subpath = NULL; 1363 *pathp = path;
|
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_impl.c | 1423 char *path, *pathp; local 1439 if ((pathp = ddi_pathname(rdip, path)) == NULL) 1440 pathp = "<unknown>"; 1447 pathp); 1456 pathp);
|
/illumos-gate/usr/src/cmd/hotplug/ |
H A D | hotplug.c | 949 parse_target(int argc, char *argv[], char **pathp, char **connectionp, argument 955 *pathp = argv[optind++];
|