Searched refs:mname (Results 1 - 25 of 51) sorted by relevance

123

/illumos-gate/usr/src/cmd/devfsadm/
H A Dvscan_link.c51 char *mname = di_minor_name(minor); local
54 (void) snprintf(path, sizeof (path), "vscan/%s", mname);
H A Ddtrace_link.c58 char *mname = di_minor_name(minor); local
61 (void) snprintf(path, sizeof (path), "dtrace/%s", mname);
70 char *mname = di_minor_name(minor); local
73 (void) snprintf(path, sizeof (path), "dtrace/provider/%s", mname);
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dmedia.c50 static int get_rmm_name(disk_t *dp, char *mname, int size);
86 char mname[MAXPATHLEN]; local
88 if (!media_read_name(dp->p.disk, mname, sizeof (mname))) {
108 media[0] = cache_get_desc(DM_MEDIA, dp->p.disk, mname, NULL, errp);
222 char mname[MAXPATHLEN]; local
226 if (media_read_name(dp, mname, sizeof (mname))) {
227 cache_load_desc(DM_MEDIA, dp, mname, NULL, &error);
273 media_read_name(disk_t *dp, char *mname, in argument
353 char mname[MAXPATHLEN]; local
538 get_rmm_name(disk_t *dp, char *mname, int size) argument
[all...]
H A Dslice.c165 char mname[MAXPATHLEN]; local
171 mname[0] = 0;
172 (void) media_read_name(dp, mname, sizeof (mname));
174 return (cache_get_desc(DM_SLICE, dp, name, mname,
296 char mname[MAXPATHLEN]; local
298 if (!media_read_name(dp->p.disk, mname, sizeof (mname))) {
302 if (mname[0] == 0) {
305 return (libdiskmgt_str_eq(dp->secondary_name, mname));
640 char mname[MAXPATHLEN]; local
[all...]
H A Dpartition.c364 char mname[MAXPATHLEN]; local
377 mname[0] = 0;
378 (void) media_read_name(dp, mname, sizeof (mname));
406 part_name, mname, &error);
701 char mname[MAXPATHLEN]; local
703 if (!media_read_name(dp->p.disk, mname, sizeof (mname))) {
707 if (mname[0] == 0) {
710 return (libdiskmgt_str_eq(dp->secondary_name, mname));
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dcommon.c47 char *mname, *p; local
63 if (NULL != (mname = strrchr(name, '/'))) {
64 i = (int)(mname - name);
69 mname++;
74 if (mname == NULL && strcasecmp(name, "default") == 0)
89 if (mname == NULL) {
94 mask = (uint32_t)strtoul(mname, &p, 0);
95 if (*p != '\0' || mask > 32 || mname == p)
/illumos-gate/usr/src/lib/sun_sas/common/
H A Ddevlink_disco.c153 lookupLink(char *path, char *link, const char *dir, const char *mname) argument
210 (void) strlcat(tmpPath, mname, MAXPATHLEN);
239 const char mname[] = ":scsi"; local
240 return (lookupLink(path, link, dir, mname));
252 const char mname[] = ":smp"; local
253 return (lookupLink(path, link, dir, mname));
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd.c102 char mname[FMNAMESZ + 1]; local
150 if (!ioctl(0, I_LOOK, mname) &&
151 ((strcmp(mname, "sockmod") == 0) ||
152 (strcmp(mname, "timod") == 0))) {
168 if (strcmp(mname, "sockmod") == 0) {
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd.c82 char mname[FMNAMESZ + 1]; local
134 if (!ioctl(0, I_LOOK, mname) &&
135 ((strcmp(mname, "sockmod") == 0) ||
136 (strcmp(mname, "timod") == 0))) {
152 if (strcmp(mname, "sockmod") == 0) {
/illumos-gate/usr/src/cmd/devfsadm/i386/
H A Dxen_link.c104 char *mname = di_minor_name(minor); local
107 (void) snprintf(path, sizeof (path), "dtrace/provider/%s", mname);
/illumos-gate/usr/src/cmd/svc/startd/
H A Dmethod.c603 write_status(restarter_inst_t *inst, const char *mname, int stat) argument
611 r = libscf_write_method_status(inst->ri_m_inst, mname, stat);
628 "for %s method of %s: %s.\n", mname,
666 const char *mname; local
689 mname = method_names[type];
702 inst->ri_i.i_fmri, mname);
725 inst->ri_i.i_fmri, mname);
728 "defined. Treating as :true.", mname);
731 "group '%s' is not present.", mname);
737 inst->ri_i.i_fmri, mname);
[all...]
/illumos-gate/usr/src/cmd/smbsrv/smbadm/
H A Dsmbadm.c1294 char **mname; local
1301 mname = (char **)malloc(argc * sizeof (char *));
1302 if (mname == NULL) {
1306 bzero(mname, argc * sizeof (char *));
1311 mname[mcnt++] = optarg;
1315 free(mname);
1322 free(mname);
1329 free(mname);
1334 if (mname[i] == NULL)
1337 gname, mname[
1351 char **mname; local
1403 smbadm_group_add_del_member(char *gname, char *mname, smbadm_grp_action_t act) argument
[all...]
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_default.c143 krb5_def_store_mkey(context, keyfile, mname, key, master_pwd)
146 krb5_principal mname;
154 krb5_data *realm = krb5_princ_realm(context, mname);
209 krb5_principal mname,
217 krb5_data *realm = krb5_princ_realm(context, mname);
208 krb5_db_def_fetch_mkey( krb5_context context, krb5_principal mname, krb5_keyblock *key, int *kvno, char *db_args) argument
H A Dkdb5.h152 krb5_principal mname,
157 krb5_principal mname,
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_findzonecut.c179 char mname[NS_MAXDNAME]; local
194 mname, sizeof mname, &nsrrs)) < 0 ||
196 (n = satisfy(statp, mname, &nsrrs, addrs, naddrs)) > 0))
202 (n = satisfy(statp, mname, &nsrrs, addrs, naddrs)) > 0))
207 n = satisfy(statp, mname, &nsrrs, addrs, naddrs);
219 satisfy(res_state statp, const char *mname, rrset_ns *nsrrsp, argument
226 nsrr = find_ns(nsrrsp, mname);
236 if (ns_samename(nsrr->name, mname) != 1) {
242 DPRINTF(("satisfy(%s): %d", mname,
265 get_soa(res_state statp, const char *dname, ns_class class, int opts, char *zname, size_t zsize, char *mname, size_t msize, rrset_ns *nsrrsp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_construct.c218 const char *mname)
225 const char *p = mname;
296 char paddr[64], psize[64], pname[64], *mname; local
331 DDI_PROP_DONTPASS, pname, &mname) != DDI_PROP_SUCCESS)
334 ret = bootfs_construct_entry(bfs, addr, size, mname);
339 ddi_prop_free(mname);
217 bootfs_construct_entry(bootfs_t *bfs, uintptr_t addr, uint64_t size, const char *mname) argument
/illumos-gate/usr/src/cmd/xhci/
H A Dxhci_portsc.c255 char *mname, *path; local
257 mname = di_minor_name(minor);
258 if (mname == NULL)
260 if (strcmp(mname, "hubd") != 0)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dan_to_ln.c77 char *mname; local
79 mname = (char *) NULL;
86 if ((mname = (char *) malloc(mlen+1))) {
87 strncpy(mname, fprincname, mlen);
88 mname[mlen] = '\0';
91 return(mname);
759 char *mname; local
778 if ((mname = aname_full_to_mapping_name(pname))) {
787 hierarchy[3] = mname;
897 free(mname);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c311 const char *mname; local
347 mname = "PADM";
351 mname = "PADN";
371 dbglog("ignored PPPoE %s; no %s script", mname,
374 dbglog("PPPoE %s: started PID %d", mname, rpid);
/illumos-gate/usr/src/cmd/fs.d/
H A Dumount.c151 char *mname, *is_special; local
235 mname = argv[optind];
236 is_special = realpath(mname, resolve);
253 mget.mnt_mountp = mname; /* assume mount point */
285 if ((mp = getmntlast(mntll, NULL, mname)) == NULL)
289 mp = getmntlast(mntll, mname, NULL);
305 rpterr(mname);
311 myname, mname);
319 mget.mnt_special = mget.mnt_mountp = mname;
/illumos-gate/usr/src/uts/common/os/
H A Ddevpolicy.c201 char *mname = NULL; local
222 if (mname == NULL &&
223 ddi_lyr_get_minor_name(dev, spec, &mname) != DDI_SUCCESS)
224 /* mname can be set after the function fails */
230 int slen = strlen(mname);
232 char *sp = mname;
261 } else if (strcmp(de->dpe_expr, mname) == 0) {
273 if (mname != NULL)
274 kmem_free(mname, strlen(mname)
[all...]
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap.c687 char mname[PATH_MAX]; local
703 mname, sizeof (mname));
708 lname = anon_name(mname, Psp, stacks, nstacks, pmp->pr_vaddr,
824 char mname[PATH_MAX]; local
841 mname, sizeof (mname));
846 lname = anon_name(mname, Psp, stacks, nstacks, pmp->pr_vaddr,
933 char mname[PATH_MAX]; local
945 mname, sizeo
982 char mname[PATH_MAX]; local
[all...]
/illumos-gate/usr/src/cmd/ahciem/
H A Dahciem.c172 char *mname = di_minor_name(m); local
174 if (mname != NULL && strcmp("devctl", mname) == 0)
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_program.c457 char *mname, *fname; local
465 mname = alloca(strlen(prp->pr_name) + 1);
466 dt_header_fmt_macro(mname, prp->pr_name);
472 infop->dthi_pmname, mname) < 0)
514 infop->dthi_pmname, mname,
516 infop->dthi_pmname, mname,
522 infop->dthi_pmname, mname) < 0)
/illumos-gate/usr/src/test/util-tests/tests/ctf/
H A Dcheck-common.c454 ctftest_check_member_count(const char *mname, ctf_id_t mtype, ulong_t bitoff, argument
463 ctftest_check_members_cb(const char *mname, ctf_id_t mtype, ulong_t bitoff, argument
475 if (strcmp(mname, members[i].cm_name) != 0)
480 "found %lu, expected %lu", mname, cmc->cmc_name,
487 mname, ctf_errmsg(ctf_errno(fp)));
491 mname, buf, members[i].cm_type);
498 warnx("found no matching entry for member %s of type %s", mname,

Completed in 104 milliseconds

123