/titanic_41/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 = '\0'; [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | dacf_clnt.c | 218 char *path, *pathp; in dacfc_postattach() local 249 if ((pathp = ddi_pathname(devi, path)) == NULL) in dacfc_postattach() 250 pathp = "<unknown>"; in dacfc_postattach() 252 pathp); in dacfc_postattach() 271 char *path, *pathp; in dacfc_predetach() local 303 if ((pathp = ddi_pathname(devi, path)) == NULL) in dacfc_predetach() 304 pathp = "<unknown>"; in dacfc_predetach() 306 "attempting to reconfigure...", pathp); in dacfc_predetach() 314 if ((pathp = ddi_pathname(devi, path)) == NULL) in dacfc_predetach() 315 pathp = "<unknown>"; in dacfc_predetach() [all …]
|
/titanic_41/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_vxvm.c | 61 vm_path_t pathp[]); 303 vm_path_t *pathp; in load_vxvm() local 332 pathp = (vm_path_t *)calloc(MAX_DISKS_DG, psize); in load_vxvm() 333 if (pathp == NULL) { in load_vxvm() 343 free(pathp); in load_vxvm() 351 n_disks = (vxdl_libvxvm_get_disks)(pnp, MAX_DISKS_DG, pathp); in load_vxvm() 357 ppp = (char *)pathp; in load_vxvm() 371 free(pathp); in load_vxvm() 378 free(pathp); in load_vxvm() 392 free(pathp); in load_vxvm()
|
/titanic_41/usr/src/cmd/lp/lib/secure/ |
H A D | secure.c | 241 char * pathp; in rmsecure() local 243 pathp = makepath (Lp_Requests, reqfilep, (char *) 0); in rmsecure() 244 if (! pathp) in rmsecure() 247 n = Unlink (pathp); in rmsecure() 248 Free (pathp); in rmsecure()
|
/titanic_41/usr/src/stand/lib/fs/nfs/ |
H A D | lookup.c | 261 char *pathp; in stlookuppn() local 272 error = nfsgetsymlink(cdp, &pathp); in stlookuppn() 275 error = nfs3getsymlink(cdp, &pathp); in stlookuppn() 278 error = nfs4getsymlink(cdp, &pathp); in stlookuppn() 290 stpn_get(pathp, &linkpath); in stlookuppn()
|
H A D | mount.c | 102 xdr_path(XDR *xdrs, char **pathp) in xdr_path() argument 104 return (xdr_string(xdrs, pathp, MNTPATHLEN)); in xdr_path()
|
/titanic_41/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; in is_apid_configured() local 400 if ((pathp = calloc(1, devlen)) in is_apid_configured() 405 (void) snprintf(pathp, devlen, in is_apid_configured() 409 statep, pathp, l_errnop))) != in is_apid_configured() 411 S_FREE(pathp); in is_apid_configured() 433 char *pathp, *dev_phys; in insert_lun_to_lunlist() local 486 if ((pathp = calloc(1, devlen)) in insert_lun_to_lunlist() 491 (void) snprintf(pathp, devlen, "%s%s", DEVICES_DIR, path_name); in insert_lun_to_lunlist() 494 return (update_lunlist(lunlistpp, *lunp, state, pathp, l_errnop)); in insert_lun_to_lunlist() [all …]
|
/titanic_41/usr/src/lib/libsocket/socket/ |
H A D | _soutil.c | 123 char **pathp, int *prototype) in _s_netconfig_path() argument 160 *pathp = malloc(strlen(net->nc_device) + 1); in _s_netconfig_path() 161 if (*pathp == NULL) { in _s_netconfig_path() 166 (void) strcpy(*pathp, net->nc_device); in _s_netconfig_path()
|
/titanic_41/usr/src/cmd/pcidr/ |
H A D | pcidr.c | 369 char *path, *pathp, *pathend; in parse_path() local 386 pathp = path; in parse_path() 390 sz = strlcat(buf, pathp, bufsize); in parse_path() 411 pathp = lp[i].end + 1; in parse_path() 415 if (pathp < pathend) { in parse_path() 416 sz = strlcat(buf, pathp, bufsize); in parse_path()
|
/titanic_41/usr/src/cmd/mdb/common/modules/mdb_ds/ |
H A D | mdb_ds.c | 367 uintptr_t pathp; in cmd_wr() local 377 if (mdb_vread(&pathp, sizeof (pathp), in cmd_wr() 378 (uintptr_t)dpth.dpth_path) != sizeof (pathp)) { in cmd_wr() 386 if (pathp == NULL) in cmd_wr() 389 if (mdb_readstr(path, sizeof (path), pathp) < 0) { in cmd_wr() 390 mdb_warn("failed to read path at %p", pathp); in cmd_wr()
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | umount.c | 123 umount2(char *pathp, int flag) in umount2() argument 145 if (error = pn_get(pathp, UIO_USERSPACE, &pn)) in umount2()
|
/titanic_41/usr/src/lib/libshare/common/ |
H A D | libshare_zfs.c | 1274 char *pathp; in sa_share_zfs() local 1290 pathp = path; in sa_share_zfs() 1291 while ((dataset = get_zfs_dataset(sahandle, pathp, B_TRUE)) == NULL) { in sa_share_zfs() 1294 if (pathp == path) { in sa_share_zfs() 1296 pathp = newpath; in sa_share_zfs() 1307 while (*pathp == '/' && *(pathp + 1) == '/') in sa_share_zfs() 1308 pathp++; in sa_share_zfs() 1314 if ((strlen(pathp) > 1) && (p = strrchr(pathp, '/'))) { in sa_share_zfs() 1315 if (pathp == p) { in sa_share_zfs()
|
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ib_cma.c | 1094 ibt_path_info_t *pathp; in ibcma_udp_connect() local 1104 pathp = ibchanp->chan_pathp; in ibcma_udp_connect() 1105 addr_vect = &((pathp->pi_prim_cep_path).cep_adds_vect); in ibcma_udp_connect() 1156 ibt_path_info_t *pathp) in ibcma_init_devinfo() argument 1168 status = ibt_query_hca_ports_byguid(pathp->pi_hca_guid, in ibcma_init_devinfo() 1169 pathp->pi_prim_cep_path.cep_hca_port_num, in ibcma_init_devinfo() 1178 index = pathp->pi_prim_cep_path.cep_pkey_ix; in ibcma_init_devinfo() 1186 devp->dev_node_guid = pathp->pi_hca_guid; in ibcma_init_devinfo() 1187 devp->dev_port_num = pathp->pi_prim_cep_path.cep_hca_port_num; in ibcma_init_devinfo() 1188 devp->dev_pkey_ix = pathp->pi_prim_cep_path.cep_pkey_ix; in ibcma_init_devinfo() [all …]
|
H A D | sol_kverbs.c | 1615 set_av(struct ib_ah_attr *attr, ibt_cep_path_t *pathp) in set_av() argument 1617 ibt_adds_vect_t *av = &pathp->cep_adds_vect; in set_av() 1619 pathp->cep_hca_port_num = attr->port_num; in set_av()
|
/titanic_41/usr/src/cmd/mdb/common/modules/nsctl/ |
H A D | nsctl.c | 1108 uintptr_t pathp; in nsc_fd() local 1133 if (mdb_vread(&pathp, sizeof (pathp), in nsc_fd() 1135 sizeof (pathp)) { in nsc_fd() 1140 if (mdb_readstr(path, sizeof (path), pathp) == -1) { in nsc_fd() 1277 uintptr_t pathp; in nsc_iodev() local 1300 if (mdb_vread(&pathp, sizeof (pathp), in nsc_iodev() 1302 sizeof (pathp)) { in nsc_iodev() 1307 if (mdb_readstr(path, sizeof (path), pathp) == -1) { in nsc_iodev()
|
/titanic_41/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) in fh_remove_mc_link() argument 568 if ((pathp == NULL) || (*pathp == NULL)) { in fh_remove_mc_link() 572 str = *pathp; in fh_remove_mc_link() 586 fh_remove(char *fhpath, fhandle_t *dfh, char *name, char **pathp) in fh_remove() argument 605 (void) fh_remove_mc_link(fhpath, dfh, name, pathp); in fh_remove() 2266 char *pathp = fh_print_absolute(fhpath, fh, name); in nfslog_get_path() local 2269 (void) printf(" %s: path '%s', fh ", prtstr, pathp); in nfslog_get_path() 2273 return (pathp); in nfslog_get_path()
|
/titanic_41/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) in ibtl_fillin_sgid() argument 738 port = pathp->cep_hca_port_num; in ibtl_fillin_sgid() 739 sgid_ix = pathp->cep_adds_vect.av_sgid_ix; in ibtl_fillin_sgid() 742 pathp->cep_adds_vect.av_sgid.gid_prefix = 0; in ibtl_fillin_sgid() 743 pathp->cep_adds_vect.av_sgid.gid_guid = 0; in ibtl_fillin_sgid() 747 pathp->cep_adds_vect.av_sgid = sgidp[sgid_ix]; in ibtl_fillin_sgid()
|
/titanic_41/usr/src/uts/common/krtld/ |
H A D | kobj.c | 3442 char *pathp; in kobj_open_path() local 3453 pathp = ""; /* use name as specified */ in kobj_open_path() 3455 pathp = kobj_module_path; in kobj_open_path() 3458 pathpsave = pathp; /* keep this for error reporting */ in kobj_open_path() 3469 maxpathlen = strlen(pathp) + strlen(name) + 3; in kobj_open_path() 3476 if (*pathp != '\0' && *pathp != '/') in kobj_open_path() 3478 while (*pathp && *pathp != ':' && *pathp != ' ') in kobj_open_path() 3479 *p++ = *pathp++; in kobj_open_path() 3506 while (*pathp == ' ' || *pathp == ':') in kobj_open_path() 3507 pathp++; in kobj_open_path() [all …]
|
/titanic_41/usr/src/cmd/svc/startd/ |
H A D | graph.c | 1173 graph_insert_dependency(graph_vertex_t *fv, graph_vertex_t *tv, int **pathp) in graph_insert_dependency() argument 1185 *pathp = is_path_to(tv, fv); in graph_insert_dependency() 1186 if (*pathp) in graph_insert_dependency() 2062 int **pathp) in graph_change_restarter() argument 2123 err = graph_insert_dependency(v, rv, pathp); in graph_change_restarter() 2320 int **pathp; /* return circular dependency path */ member 2446 info->err = graph_insert_dependency(depgroup_v, v, info->pathp); in process_dependency_fmri() 2520 int **pathp; /* return circular dependency path */ member 2648 err = graph_insert_dependency(info->v, depgrp, info->pathp); in process_dependency_pg() 2658 linfo.pathp = info->pathp; in process_dependency_pg() [all …]
|
/titanic_41/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_ncallio.c | 59 nsc_ncio_split(char *node_and_path, char **pathp) in nsc_ncio_split() argument 80 *pathp = cp + 1; in nsc_ncio_split()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/ |
H A D | wanboot-cgi.c | 186 free_path(char **pathp) in free_path() argument 188 if (*pathp != NULL) { in free_path() 189 free(*pathp); in free_path() 190 *pathp = NULL; in free_path()
|
/titanic_41/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_impl.c | 1423 char *path, *pathp; in amd_iommu_probe() local 1439 if ((pathp = ddi_pathname(rdip, path)) == NULL) in amd_iommu_probe() 1440 pathp = "<unknown>"; in amd_iommu_probe() 1447 pathp); in amd_iommu_probe() 1456 pathp); in amd_iommu_probe()
|
/titanic_41/usr/src/cmd/hotplug/ |
H A D | hotplug.c | 949 parse_target(int argc, char *argv[], char **pathp, char **connectionp, in parse_target() argument 955 *pathp = argv[optind++]; in parse_target()
|
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_qp.c | 1268 uverbs_qp_print_path(ibt_cep_path_t *pathp) in uverbs_qp_print_path() argument 1270 SOL_OFS_DPRINTF_L2(sol_uverbs_dbg_str, "qp_print_pathp %p", pathp); in uverbs_qp_print_path() 1272 "cep_hca_port_num %x", pathp->cep_pkey_ix, pathp->cep_hca_port_num); in uverbs_qp_print_path()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nfs4.c | 583 static void detail_pathname4(pathname4 *pathp, char *); 3527 sum_pathname4(char *buf, size_t buflen, pathname4 *pathp) in sum_pathname4() argument 3532 for (component = 0; component < pathp->pathname4_len; in sum_pathname4() 3536 component_name(&pathp->pathname4_val[component])); in sum_pathname4() 3554 detail_pathname4(pathname4 *pathp, char *what) in detail_pathname4() argument 3562 for (component = 0; component < pathp->pathname4_len; component++) { in detail_pathname4() 3564 component_name(&pathp->pathname4_val[component])); in detail_pathname4()
|