/osnet-11/usr/src/lib/libproc/common/ |
H A D | pr_getrctl.c | 41 pr_getrctl(struct ps_prochandle *Pr, const char *rname, argument 50 return (getrctl(rname, old_blk, new_blk, rflag)); 61 adp->arg_object = (void *)rname; 64 adp->arg_size = strlen(rname) + 1; 123 pr_setrctl(struct ps_prochandle *Pr, const char *rname, argument 132 return (setrctl(rname, old_blk, new_blk, rflag)); 143 adp->arg_object = (void *)rname; 146 adp->arg_size = strlen(rname) + 1; 205 pr_setprojrctl(struct ps_prochandle *Pr, const char *rname, argument 214 return (setprojrctl(rname, new_bl [all...] |
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_repartition.c | 60 char *rname; local 63 rname = dnp->rname; 64 if ((fd = open(rname, (O_RDONLY|O_NDELAY), 0)) < 0) { 70 return (mdsyserror(ep, errno, rname)); 72 len = strlen(rname) + 3; 74 (void) snprintf(n, len, "%ss0", rname); 79 return (mdsyserror(ep, open_errno, rname)); 122 return (mddeverror(ep, MDE_NOT_DISK, NODEV, rname)); 125 return (mdsyserror(ep, err, rname)); [all...] |
H A D | meta_set_prv.c | 128 char *rname = NULL; local 151 if ((rminor = meta_getminor_name(np->rname, ep)) != NULL) { 171 np->rname, &rname, NULL, ep); 188 np->rname, &rname, NULL, ep); 215 if (dev == NODEV64 || rname == (char *)NULL || 216 strcmp(rname, "") == 0) { 223 * The rname returned from the remote node maybe different 224 * to the rname o [all...] |
H A D | meta_nameinfo.c | 488 mdname_t *np, /* only rname, drivenamep, are setup */ 497 char *rname = np->rname; local 529 (void) mdsyserror(ep, dnp->errnum, rname); 535 if ((fd = open(rname, (O_RDONLY|O_NDELAY), 0)) < 0) { 536 (void) mdsyserror(ep, errno, rname); 550 "%s has no device id\n"), np->rname); 574 np->rname); 588 (void) mddeverror(ep, MDE_NOT_DISK, NODEV, rname); 592 (void) mdsyserror(ep, err, rname); 728 char *rname = np->rname; local 799 char *rname = np->rname; local [all...] |
H A D | meta_name.c | 1091 if (np->rname != NULL) 1092 Free(np->rname); 1143 if (dnp->rname != NULL) 1144 Free(dnp->rname); 1385 char *rname; local 1395 if ((rname = rawname(uname)) != NULL) { 1397 * If the returned rname does not match with 1400 if (strncmp(rname, "/dev/md", strlen("/dev/md")) == 0) { 1413 return (rname); 1455 rname 1580 char *rname = NULL; local 1676 getnslice( char *rname, char *dname, uint_t *slicep ) argument 1822 char *rname = NULL; local 1882 getparts( mddrivename_t *dnp, char *rname, char *dname, meta_device_type_t uname_type, uint_t *npartsp, uint_t *partnop, md_error_t *ep ) argument 1978 char *rname = np->rname; local 2095 getnames( mdsetname_t *sp, mdname_t *np, char *rname, md_error_t *ep ) argument 2163 setup_slice( mdsetname_t *sp, meta_device_type_t uname_type, mddrivename_t *dnp, char *uname, char *rname, char *dname, uint_t partno, md_error_t *ep ) argument 2524 char *rname = NULL; local 2712 char *rname = NULL; local 2847 char *rname = NULL; local [all...] |
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | svcauth_des.c | 75 char *rname; /* client's name */ member in struct:cache_entry 257 if (entry->rname == NULL) { 286 _rpc_authdes_cache[sid].rname); 350 _rpc_authdes_cache[sid].rname); 364 _rpc_authdes_cache[sid].rname); 378 _rpc_authdes_cache[sid].rname); 405 _rpc_authdes_cache[sid].rname); 428 _rpc_authdes_cache[sid].rname); 443 if (entry->rname != NULL) 444 free(entry->rname); [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/net/ |
H A D | bootp.c | 168 char rname[grub_strlen (name) + sizeof (":default")]; local 175 grub_snprintf (rname, sizeof (rname), "%s:default", name); 176 grub_net_add_route_gw (rname, target, gw); 259 char rname[grub_strlen (name) + sizeof (":gw")]; local 266 grub_snprintf (rname, sizeof (rname), "%s:gw", name); 267 grub_net_add_route_gw (rname, target, gw);
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_provider.c | 512 const char *fname, const char *rname, uint32_t offset, int isenabled) 523 ((rname == NULL && pip->pi_rname[0] == '\0') || 524 (rname != NULL && strcmp(pip->pi_rname, rname)) == 0)) 546 if (rname != NULL) { 547 if (strlen(rname) + 1 > sizeof (pip->pi_rname)) { 552 (void) strcpy(pip->pi_rname, rname); 592 rname != NULL ? rname : fname); 511 dt_probe_define(dt_provider_t *pvp, dt_probe_t *prp, const char *fname, const char *rname, uint32_t offset, int isenabled) argument
|
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_fault.c | 115 char *rname; local 122 rname = strdup(name); 124 for (cp = rname; *cp != '\0'; cp++) 127 return (rname);
|
/osnet-11/usr/src/lib/libshare/common/ |
H A D | libshare_upgrade.c | 1301 char *propname, *rname; local 1338 &rname); 1340 if (rname != NULL && (ret == SA_OK)) 1342 rname, resource);
|
/osnet-11/usr/src/lib/fm/topo/modules/common/usb/common/ |
H A D | usb.c | 568 char *rname; local 598 rname = topo_node_name(rnode); 599 topo_mod_dprintf(mod, "usb_enum: parent name %s", rname); 601 if (strncmp(rname, HOSTBRIDGE, 16) == 0) { 608 } else if (strncmp(rname, PCI_FUNCTION, 16) == 0 || 609 strncmp(rname, PCIEX_FUNCTION, 16) == 0) { 616 "invalid parent %s", rname);
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_xml.c | 916 const char *rname, const char *ppgrp_name) 1035 if (strcmp(rname, topo_node_name(tmp)) == 0) { 1096 pgroup_record(topo_mod_t *mp, xmlNodePtr pxn, tnode_t *tn, const char *rname, argument 1169 if (pmeth_record(mp, (const char *)name, cn, tn, rname, 1193 pgroups_record(topo_mod_t *mp, xmlNodePtr pxn, tnode_t *tn, const char *rname, argument 1203 if (pgroup_record(mp, cn, tn, rname, rpad, pi++, ppgrp) 915 pmeth_record(topo_mod_t *mp, const char *pg_name, xmlNodePtr xn, tnode_t *tn, const char *rname, const char *ppgrp_name) argument
|
/osnet-11/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 4777 char *rname; local 4780 rname = rctl.zone_rctl_name; 4783 while (get_priv_rctl(p.pr, rname, rblk)) { 4784 if (pr_setrctl(p.pr, rname, NULL, rblk, RCTL_DELETE) != 4800 if (pr_setrctl(p.pr, rname, NULL, rblk, RCTL_INSERT)) {
|