Searched defs:rname (Results 1 - 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_getrctl.c41 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...]
/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dkvm_isadep.c50 const char *rname, mdb_tgt_reg_t *rp)
59 if (strcmp(rname, rdp->rd_name) == 0) {
77 kt_putareg(mdb_tgt_t *t, mdb_tgt_tid_t tid, const char *rname, mdb_tgt_reg_t r) argument
86 if (strcmp(rname, rdp->rd_name) == 0) {
49 kt_getareg(mdb_tgt_t *t, mdb_tgt_tid_t tid, const char *rname, mdb_tgt_reg_t *rp) argument
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_repartition.c60 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 Dmeta_set_prv.c98 char *rname = NULL; local
114 np->rname, &rname, NULL, ep);
138 if (dev == NODEV64 || rname == (char *)NULL ||
139 strcmp(rname, "") == 0) {
146 * The rname returned from the remote node maybe different
147 * to the rname on this node, therefore we need to build up
148 * a dnp for this new rname.
150 if (strcmp(np->rname, rname) !
[all...]
H A Dmeta_nameinfo.c488 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 Dmeta_name.c1035 if (np->rname != NULL)
1036 Free(np->rname);
1087 if (dnp->rname != NULL)
1088 Free(dnp->rname);
1329 char *rname; local
1339 if ((rname = rawname(uname)) != NULL) {
1341 * If the returned rname does not match with
1344 if (strncmp(rname, "/dev/md", strlen("/dev/md")) == 0) {
1357 return (rname);
1399 rname
1524 char *rname = NULL; local
1620 getnslice( char *rname, char *dname, uint_t *slicep ) argument
1766 char *rname = NULL; local
1826 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
1922 char *rname = np->rname; local
2039 getnames( mdsetname_t *sp, mdname_t *np, char *rname, md_error_t *ep ) argument
2107 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
2468 char *rname = NULL; local
2656 char *rname = NULL; local
2786 char *rname = NULL; local
[all...]
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/
H A Dkvm_v9dep.c68 const char *rname, mdb_tgt_reg_t *rp)
77 if (strcmp(rname, rdp->rd_name) == 0) {
87 kt_putareg(mdb_tgt_t *t, mdb_tgt_tid_t tid, const char *rname, mdb_tgt_reg_t r) argument
96 if (strcmp(rname, rdp->rd_name) == 0) {
67 kt_getareg(mdb_tgt_t *t, mdb_tgt_tid_t tid, const char *rname, mdb_tgt_reg_t *rp) argument
H A Dkvm_v7dep.c113 const char *rname, mdb_tgt_reg_t *rp)
122 if (strcmp(rname, rdp->rd_name) == 0) {
132 kt_putareg(mdb_tgt_t *t, mdb_tgt_tid_t tid, const char *rname, mdb_tgt_reg_t r) argument
141 if (strcmp(rname, rdp->rd_name) == 0) {
112 kt_getareg(mdb_tgt_t *t, mdb_tgt_tid_t tid, const char *rname, mdb_tgt_reg_t *rp) argument
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dfault.c89 char *class = NULL, *rname = NULL, *aname = NULL, *fname = NULL; local
104 rname = fmdump_nvl2str(rsrc);
131 rname ? rname : "-");
144 free(rname);
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_svcout.c76 p_xdrfunc(char *rname, char *typename) argument
79 f_print(fout, "\t\t_xdr_%s = (xdrproc_t)\n", rname);
83 rname, stringfix(typename));
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dmain.c92 find_realm_data(char *rname, krb5_ui_4 rsize) argument
97 !strncmp(rname, kdc_realmlist[i]->realm_name, rsize))
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_iter.c66 const char *rname = zpool_get_name(r); local
68 return (strcmp(lname, rname));
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvcauth_des.c75 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...]
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsvcauthdes.c93 char *rname; /* client's name */ member in struct:authdes_cache_entry
362 cred->adc_fullname.name = nick_entry->rname;
504 if (!(new->rname = kmem_alloc(strlen(fullname) + 1, KM_NOSLEEP))) {
511 kmem_free(new->rname, strlen(fullname) + 1);
516 (void) strcpy(new->rname, fullname);
619 kmem_free(p->rname, strlen(p->rname) + 1);
668 kmem_free(p->rname, strlen(p->rname) + 1);
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_iter.c214 const char *rname = zfs_get_name(r); local
220 rat = (char *)strchr(rname, '@');
227 ret = strcmp(lname, rname);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_provider.c531 const char *fname, const char *rname, uint32_t offset, int isenabled)
542 ((rname == NULL && pip->pi_rname[0] == '\0') ||
543 (rname != NULL && strcmp(pip->pi_rname, rname)) == 0))
565 if (rname != NULL) {
566 if (strlen(rname) + 1 > sizeof (pip->pi_rname)) {
571 (void) strcpy(pip->pi_rname, rname);
611 rname != NULL ? rname : fname);
530 dt_probe_define(dt_provider_t *pvp, dt_probe_t *prp, const char *fname, const char *rname, uint32_t offset, int isenabled) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c68 static void sendf(char *rname, int opts);
237 char *rname; local
255 rname = exptilde(target, sizeof (target), src);
256 if (rname == NULL)
267 while (*rname == '/')
268 rname++;
271 rname = rindex(target, '/');
272 if (rname == NULL)
273 rname = target;
275 rname
[all...]
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_drive.c1091 char *rname, /* raw drive name */
1103 if ((dp = mhd_find_drive(rname)) != NULL) {
1126 rname0 = Malloc(strlen(rname) + strlen("s0") + 1);
1127 (void) strcpy(rname0, rname);
1133 dp->dr_rname = Strdup(rname);
1166 char *rname,
1178 if ((dp = mhd_find_drive(rname)) != NULL)
1183 dp = mhd_create_drive(null_sp, rname, fdp, mhep);
1089 mhd_create_drive( mhd_drive_set_t *sp, char *rname, int *fdp, mhd_error_t *mhep ) argument
1165 mhd_create_drive_anyset( char *rname, int *fdp, mhd_error_t *mhep ) argument
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c469 char rname[MAXNAMELEN + 1]; local
492 n = readlink(path, rname, MAXNAMELEN);
500 rname[n] = '\0';
504 if ((strlen(BACKUP) + strlen(rname) + 2) <=
506 (void) strcpy(tail, rname);
892 char rname[MAXNAMELEN + 1]; /* +1 for the terminating NULL */ local
903 n = readlink(from, rname, MAXNAMELEN);
911 rname[n] = '\0';
916 if (create_symlink(todir, rname, file) != 0) {
943 * Create a symbolic link named `lname' to regular file `rname'
947 create_symlink(char *todir, char *rname, char *lname) argument
1028 char rname[MAXNAMELEN + 1]; /* +1 for NULL term */ local
1114 char rname[MAXNAMELEN + 1]; /* +1 for term NULL */ local
[all...]
H A Dsm_svc.c354 char rname[MAXNAMELEN + 1]; local
380 n = readlink(path, rname, MAXNAMELEN);
388 rname[n] = '\0';
390 (void) create_symlink(to_dir, rname, dirp->d_name);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dstreams.c1036 char wname[32], rname[32], info1[256], *info2; local
1045 (void) mdb_qname(_RD(q), rname, sizeof (rname)); local
1057 mdb_printf("| %<b>%-21s%</b> | %<b>%-21s%</b> |", wname, rname);
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Ddlfcns.c2068 const char *dname, *rname; local
2081 rname = dfip->dld_refname;
2097 SLOOKUP_INIT(sl, rname, lmp, lmp, ld_entry_cnt,
2098 elf_hash(rname), 0, 0, 0, LKUP_SYMNDX);
2099 SRESULT_INIT(sr, rname);
2103 MSG_INTL(MSG_DEF_NOSYMFOUND), rname); local
2131 MSG_INTL(MSG_DEF_NOSYMFOUND), rname); local
2148 if (strcmp(rname, dyip->di_name) == 0)
2162 if (strcmp(rname, oname) == 0)
2170 rname);
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_modapi.c210 mdb_getareg(mdb_tid_t tid, const char *rname, mdb_reg_t *rp) argument
212 return (mdb_tgt_getareg(mdb.m_target, tid, rname, rp));
H A Dmdb_target.c1800 const char *rname, mdb_tgt_reg_t *rp)
1802 return (t->t_ops->t_getareg(t, tid, rname, rp));
1807 const char *rname, mdb_tgt_reg_t r)
1809 return (t->t_ops->t_putareg(t, tid, rname, r));
1799 mdb_tgt_getareg(mdb_tgt_t *t, mdb_tgt_tid_t tid, const char *rname, mdb_tgt_reg_t *rp) argument
1806 mdb_tgt_putareg(mdb_tgt_t *t, mdb_tgt_tid_t tid, const char *rname, mdb_tgt_reg_t r) argument
/illumos-gate/usr/src/cmd/backup/restore/
H A Dtape.c755 char *rname; local
768 resolve(name, &dfd, &rname);
774 rname, strerror(saverr));
785 rname, (ulong_t)(mode&IFMT));
791 vprintf(stdout, gettext("skipped socket %s\n"), rname);
802 rname);
811 vprintf(stdout, gettext("extract file %s\n"), rname);
812 result = genliteraldir(rname, curfile.ino);
822 rname);
826 if ((result = lf_linkit(lnkbuf, rname, SYMLIN
[all...]

Completed in 149 milliseconds

12