Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dmedia.c86 char mname[MAXPATHLEN]; in media_get_assocs() local
88 if (!media_read_name(dp->p.disk, mname, sizeof (mname))) { in media_get_assocs()
222 char mname[MAXPATHLEN]; in media_make_descriptors() local
226 if (media_read_name(dp, mname, sizeof (mname))) { in media_make_descriptors()
275 mname[0] = 0; in media_read_name()
286 return (get_rmm_name(dp, mname, size)); in media_read_name()
353 char mname[MAXPATHLEN]; in desc_ok() local
355 if (!media_read_name(dp->p.disk, mname, sizeof (mname))) { in desc_ok()
359 if (mname[0] == 0) { in desc_ok()
554 (void) strlcpy(mname,
[all …]
H A Dslice.c165 char mname[MAXPATHLEN]; in slice_get_descriptor_by_name() local
171 mname[0] = 0; in slice_get_descriptor_by_name()
172 (void) media_read_name(dp, mname, sizeof (mname)); in slice_get_descriptor_by_name()
174 return (cache_get_desc(DM_SLICE, dp, name, mname, in slice_get_descriptor_by_name()
296 char mname[MAXPATHLEN]; in desc_ok() local
298 if (!media_read_name(dp->p.disk, mname, sizeof (mname))) { in desc_ok()
302 if (mname[0] == 0) { in desc_ok()
305 return (libdiskmgt_str_eq(dp->secondary_name, mname)); in desc_ok()
640 char mname[MAXPATHLEN]; in make_fixed_descriptors() local
650 mname[0] = 0; in make_fixed_descriptors()
[all …]
H A Dpartition.c364 char mname[MAXPATHLEN]; in partition_make_descriptors() local
377 mname[0] = 0; in partition_make_descriptors()
378 (void) media_read_name(dp, mname, sizeof (mname)); in partition_make_descriptors()
406 part_name, mname, &error); in partition_make_descriptors()
701 char mname[MAXPATHLEN]; in desc_ok() local
703 if (!media_read_name(dp->p.disk, mname, sizeof (mname))) { in desc_ok()
707 if (mname[0] == 0) { in desc_ok()
710 return (libdiskmgt_str_eq(dp->secondary_name, mname)); in desc_ok()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dcommon.c47 char *mname, *p; in getnet() local
63 if (NULL != (mname = strrchr(name, '/'))) { in getnet()
64 i = (int)(mname - name); in getnet()
69 mname++; in getnet()
74 if (mname == NULL && strcasecmp(name, "default") == 0) in getnet()
89 if (mname == NULL) { in getnet()
94 mask = (uint32_t)strtoul(mname, &p, 0); in getnet()
95 if (*p != '\0' || mask > 32 || mname == p) in getnet()
/illumos-gate/usr/src/cmd/svc/startd/
H A Dmethod.c666 const char *mname; in method_run() local
689 mname = method_names[type]; in method_run()
702 inst->ri_i.i_fmri, mname); in method_run()
725 inst->ri_i.i_fmri, mname); in method_run()
737 inst->ri_i.i_fmri, mname); in method_run()
739 "is not present.", mname); in method_run()
776 mname); in method_run()
779 write_status(inst, mname, 0); in method_run()
800 mname); in method_run()
927 write_status(inst, mname, 0); in method_run()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddtrace_link.c58 char *mname = di_minor_name(minor); in dtrace() local
61 (void) snprintf(path, sizeof (path), "dtrace/%s", mname); in dtrace()
70 char *mname = di_minor_name(minor); in dtrace_provider() local
73 (void) snprintf(path, sizeof (path), "dtrace/provider/%s", mname); in dtrace_provider()
H A Dvscan_link.c51 char *mname = di_minor_name(minor); in vscan() local
54 (void) snprintf(path, sizeof (path), "vscan/%s", mname); in vscan()
/illumos-gate/usr/src/cmd/smbsrv/smbadm/
H A Dsmbadm.c1294 char **mname; in smbadm_group_addmember() local
1315 free(mname); in smbadm_group_addmember()
1322 free(mname); in smbadm_group_addmember()
1329 free(mname); in smbadm_group_addmember()
1340 free(mname); in smbadm_group_addmember()
1351 char **mname; in smbadm_group_delmember() local
1371 free(mname); in smbadm_group_delmember()
1378 free(mname); in smbadm_group_delmember()
1385 free(mname); in smbadm_group_delmember()
1398 free(mname); in smbadm_group_delmember()
[all …]
/illumos-gate/usr/src/lib/sun_sas/common/
H A Ddevlink_disco.c153 lookupLink(char *path, char *link, const char *dir, const char *mname) in lookupLink() argument
210 (void) strlcat(tmpPath, mname, MAXPATHLEN); in lookupLink()
239 const char mname[] = ":scsi"; in lookupControllerLink() local
240 return (lookupLink(path, link, dir, mname)); in lookupControllerLink()
252 const char mname[] = ":smp"; in lookupSMPLink() local
253 return (lookupLink(path, link, dir, mname)); in lookupSMPLink()
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd.c79 char mname[FMNAMESZ + 1]; in main() local
131 if (!ioctl(0, I_LOOK, mname) && ((strcmp(mname, "sockmod") == 0) || in main()
132 (strcmp(mname, "timod") == 0))) { in main()
147 if (strcmp(mname, "sockmod") == 0) { in main()
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd.c97 char mname[FMNAMESZ + 1]; in main() local
144 if (!ioctl(0, I_LOOK, mname) && ((strcmp(mname, "sockmod") == 0) || in main()
145 (strcmp(mname, "timod") == 0))) { in main()
161 if (strcmp(mname, "sockmod") == 0) { in main()
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_findzonecut.c179 char mname[NS_MAXDNAME]; in res_findzonecut2() local
194 mname, sizeof mname, &nsrrs)) < 0 || in res_findzonecut2()
196 (n = satisfy(statp, mname, &nsrrs, addrs, naddrs)) > 0)) in res_findzonecut2()
202 (n = satisfy(statp, mname, &nsrrs, addrs, naddrs)) > 0)) in res_findzonecut2()
207 n = satisfy(statp, mname, &nsrrs, addrs, naddrs); in res_findzonecut2()
219 satisfy(res_state statp, const char *mname, rrset_ns *nsrrsp, in satisfy() argument
226 nsrr = find_ns(nsrrsp, mname); in satisfy()
236 if (ns_samename(nsrr->name, mname) != 1) { in satisfy()
242 DPRINTF(("satisfy(%s): %d", mname, n)); in satisfy()
266 char *zname, size_t zsize, char *mname, size_t msize, in get_soa() argument
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dan_to_ln.c77 char *mname; in aname_full_to_mapping_name() local
79 mname = (char *) NULL; in aname_full_to_mapping_name()
86 if ((mname = (char *) malloc(mlen+1))) { in aname_full_to_mapping_name()
87 strncpy(mname, fprincname, mlen); in aname_full_to_mapping_name()
88 mname[mlen] = '\0'; in aname_full_to_mapping_name()
91 return(mname); in aname_full_to_mapping_name()
759 char *mname; in krb5_aname_to_localname() local
778 if ((mname = aname_full_to_mapping_name(pname))) { in krb5_aname_to_localname()
787 hierarchy[3] = mname; in krb5_aname_to_localname()
897 free(mname); in krb5_aname_to_localname()
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_construct.c218 const char *mname) in bootfs_construct_entry() argument
225 const char *p = mname; in bootfs_construct_entry()
296 char paddr[64], psize[64], pname[64], *mname; in bootfs_construct() local
331 DDI_PROP_DONTPASS, pname, &mname) != DDI_PROP_SUCCESS) in bootfs_construct()
334 ret = bootfs_construct_entry(bfs, addr, size, mname); in bootfs_construct()
339 ddi_prop_free(mname); in bootfs_construct()
/illumos-gate/usr/src/uts/common/os/
H A Ddevpolicy.c201 char *mname = NULL; in match_policy() local
222 if (mname == NULL && in match_policy()
223 ddi_lyr_get_minor_name(dev, spec, &mname) != DDI_SUCCESS) in match_policy()
230 int slen = strlen(mname); in match_policy()
232 char *sp = mname; in match_policy()
261 } else if (strcmp(de->dpe_expr, mname) == 0) { in match_policy()
273 if (mname != NULL) in match_policy()
274 kmem_free(mname, strlen(mname) + 1); in match_policy()
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_default.c143 krb5_def_store_mkey(context, keyfile, mname, key, master_pwd) in krb5_def_store_mkey() argument
146 krb5_principal mname;
154 krb5_data *realm = krb5_princ_realm(context, mname);
209 krb5_principal mname, in krb5_db_def_fetch_mkey() argument
217 krb5_data *realm = krb5_princ_realm(context, mname); in krb5_db_def_fetch_mkey()
/illumos-gate/usr/src/cmd/fs.d/
H A Dumount.c151 char *mname, *is_special; in main() local
235 mname = argv[optind]; in main()
236 is_special = realpath(mname, resolve); in main()
253 mget.mnt_mountp = mname; /* assume mount point */ in main()
285 if ((mp = getmntlast(mntll, NULL, mname)) == NULL) in main()
289 mp = getmntlast(mntll, mname, NULL); in main()
305 rpterr(mname); in main()
311 myname, mname); in main()
319 mget.mnt_special = mget.mnt_mountp = mname; in main()
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap.c687 char mname[PATH_MAX]; in look_map() local
703 mname, sizeof (mname)); in look_map()
708 lname = anon_name(mname, Psp, stacks, nstacks, pmp->pr_vaddr, in look_map()
824 char mname[PATH_MAX]; in look_smap() local
841 mname, sizeof (mname)); in look_smap()
846 lname = anon_name(mname, Psp, stacks, nstacks, pmp->pr_vaddr, in look_smap()
933 char mname[PATH_MAX]; in look_xmap() local
945 mname, sizeof (mname)); in look_xmap()
952 lname = anon_name(mname, Psp, stacks, nstacks, pmp->pr_vaddr, in look_xmap()
982 char mname[PATH_MAX]; in look_xmap_nopgsz() local
[all …]
/illumos-gate/usr/src/cmd/xhci/
H A Dxhci_portsc.c255 char *mname, *path; in xp_devinfo_cb() local
257 mname = di_minor_name(minor); in xp_devinfo_cb()
258 if (mname == NULL) in xp_devinfo_cb()
260 if (strcmp(mname, "hubd") != 0) in xp_devinfo_cb()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_program.c457 char *mname, *fname; in dt_header_probe() local
465 mname = alloca(strlen(prp->pr_name) + 1); in dt_header_probe()
466 dt_header_fmt_macro(mname, prp->pr_name); in dt_header_probe()
472 infop->dthi_pmname, mname) < 0) in dt_header_probe()
514 infop->dthi_pmname, mname, in dt_header_probe()
516 infop->dthi_pmname, mname, in dt_header_probe()
522 infop->dthi_pmname, mname) < 0) in dt_header_probe()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c311 const char *mname; in handle_pppoe_input() local
347 mname = "PADM"; in handle_pppoe_input()
351 mname = "PADN"; in handle_pppoe_input()
371 dbglog("ignored PPPoE %s; no %s script", mname, in handle_pppoe_input()
374 dbglog("PPPoE %s: started PID %d", mname, rpid); in handle_pppoe_input()
/illumos-gate/usr/src/cmd/devfsadm/i386/
H A Dxen_link.c104 char *mname = di_minor_name(minor); in xdt() local
107 (void) snprintf(path, sizeof (path), "dtrace/provider/%s", mname); in xdt()
/illumos-gate/usr/src/cmd/ahciem/
H A Dahciem.c172 char *mname = di_minor_name(m); in ahciem_devinfo() local
174 if (mname != NULL && strcmp("devctl", mname) == 0) in ahciem_devinfo()
/illumos-gate/usr/src/test/util-tests/tests/ctf/
H A Dcheck-common.c460 ctftest_check_member_count(const char *mname, ctf_id_t mtype, ulong_t bitoff, in ctftest_check_member_count() argument
469 ctftest_check_members_cb(const char *mname, ctf_id_t mtype, ulong_t bitoff, in ctftest_check_members_cb() argument
481 if (strcmp(mname, members[i].cm_name) != 0) in ctftest_check_members_cb()
486 "found %lu, expected %lu", mname, cmc->cmc_name, in ctftest_check_members_cb()
493 mname, ctf_errmsg(ctf_errno(fp))); in ctftest_check_members_cb()
497 mname, buf, members[i].cm_type); in ctftest_check_members_cb()
504 warnx("found no matching entry for member %s of type %s", mname, in ctftest_check_members_cb()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/krb5/
H A Dkdb.h299 krb5_principal mname,
303 krb5_principal mname,
454 krb5_principal mname,
461 krb5_principal mname,

123