Searched refs:lname (Results 1 - 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dpname_to_uid.c62 char lname[256]; local
79 sizeof (lname), lname);
86 if (pw = getpwnam(lname))
/illumos-gate/usr/src/common/ctf/
H A Dctf_labels.c85 const char *lname; local
95 if ((lname = ctf_strraw(fp, ctlp->ctl_label)) == NULL) {
102 if ((rc = func(lname, &linfo, arg)) != 0)
115 label_info_cb(const char *lname, const ctf_lblinfo_t *linfo, void *arg) argument
118 * If lname matches the label we are looking for, copy the
121 if (strcmp(lname, ((linfo_cb_arg_t *)arg)->lca_name) == 0) {
135 * Retrieve information about the label with name "lname"
138 ctf_label_info(ctf_file_t *fp, const char *lname, ctf_lblinfo_t *linfo) argument
143 cb_arg.lca_name = lname;
/illumos-gate/usr/src/cmd/tip/
H A Duucplock.c250 char lname[NAMESIZE]; local
254 (void) snprintf(lname, sizeof (lname), "%s/%s.%3.3lu.%3.3lu.%3.3lu",
259 rmlock(lname);
273 char lname[NAMESIZE]; local
277 (void) snprintf(lname, sizeof (lname), "%s/%s.%3.3lu.%3.3lu.%3.3lu",
282 return (ulockf(lname, (time_t)SLCKTIME) < 0 ? FAIL : 0);
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap.c688 char *lname = NULL; local
702 lname = make_name(Pr, lflag, pmp->pr_vaddr, pmp->pr_mapname,
706 if (lname == NULL &&
708 lname = anon_name(mname, Psp, stacks, nstacks, pmp->pr_vaddr,
727 (void) printf(lname ?
731 size_width - 1, size, mflags(pmp->pr_mflags), lname);
763 (void) printf(lname ? "%.*lX %*luK %-6s%s %s\n" :
768 lgrp2str(lgrp), lname);
825 char *lname = NULL; local
840 lname
934 char *lname = NULL; local
983 char *lname = NULL; local
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Derie.c448 char lname[MAXSTRLEN]; local
451 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &lname, size);
453 (void) strcpy(lname, "");
464 if (strcmp(lname, binding_name) != 0) {
465 (void) strlcat(lname, "-", MAXSTRLEN);
466 (void) strlcat(lname, binding_name, MAXSTRLEN);
475 (void) strlcat(lname, "-", MAXSTRLEN);
476 (void) strlcat(lname, compatible, MAXSTRLEN);
484 (void) strcpy(name, lname);
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dinet_matchaddr.c56 char *lname, *mp, *p; local
61 if ((p = lname = strdup(name)) == NULL) {
189 free(lname);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dan_to_ln.c97 * to generate a lname.
103 db_an_to_ln(context, dbname, aname, lnsize, lname)
108 char *lname;
135 strncpy(lname, contents.dptr, lnsize);
138 else if (lname[contents.dsize-1] != '\0')
498 * rule_an_to_ln() - Handle aname to lname translations for RULE rules.
504 rule_an_to_ln(krb5_context context, char *rule, krb5_const_principal aname, const unsigned int lnsize, char *lname) argument
623 strcpy(lname, outstring);
683 * that name is returned as the lname.
686 default_an_to_ln(krb5_context context, krb5_const_principal aname, const unsigned int lnsize, char *lname) argument
754 krb5_aname_to_localname(krb5_context context, krb5_const_principal aname, const int lnsize_in, char *lname) argument
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dulockf.c262 char lname[MAXNAMESIZE]; local
281 (void) sprintf(lname, "%s.%s", pre, BASENAME(name, '/'));
282 BASENAME(lname, '/')[MAXBASENAME] = '\0';
283 return(mklock(lname));
/illumos-gate/usr/src/cmd/ttymon/
H A Dulockf.c261 char lname[MAXNAMESIZE]; local
280 (void) sprintf(lname, "%s.%s", pre, BASENAME(name, '/'));
281 BASENAME(lname, '/')[MAXBASENAME] = '\0';
282 return(mklock(lname));
/illumos-gate/usr/src/cmd/luxadm/
H A Dhotplug.c2123 char lname[MAXPATHLEN]; local
2147 (void) sprintf(lname, SES_DIR"/%s", dirent->d_name);
2148 if (lstat(lname, &ses_stat) < 0) {
2150 lname);
2155 if (strstr(lname, bl1->b_physical_path))
2532 char lname[MAXPATHLEN], *ptr; local
2556 (void) sprintf(lname, DEV_DSK_DIR"/%s", dirent->d_name);
2557 if (readlink((const char *)lname, (char *)link,
2562 lname);
2571 (void) unlink(lname);
2598 char link[MAXPATHLEN], lname[MAXPATHLEN]; local
2721 char lname[MAXPATHLEN], *d1; local
2921 char lname[MAXPATHLEN], link[MAXPATHLEN]; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/
H A Dfksmbcl_main.c553 * get rname [lname]
560 char *lname; local
578 lname = argv[2];
585 lname = rname;
590 lfd = open(lname, oflg, 0644);
592 perror(lname);
630 * put lname [rname]
638 char *lname; local
651 fprintf(stderr, "lname required\n");
654 lname
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinterface.c404 insert_lif(dhcp_pif_t *pif, const char *lname, int *error) argument
412 "%s", lname);
426 if (strlcpy(lif->lif_name, lname, LIFNAMSIZ) >= LIFNAMSIZ) {
428 lname);
433 (void) strlcpy(lifr.lifr_name, lname, LIFNAMSIZ);
447 dhcpmsg(MSG_ERR, "insert_lif: SIOCGLIFADDR for %s", lname);
457 dhcpmsg(MSG_ERR, "insert_lif: SIOCGLIFNETMASK for %s", lname);
464 dhcpmsg(MSG_ERR, "insert_lif: SIOCGLIFFLAGS for %s", lname);
483 lname);
491 lname);
642 lookup_lif_by_name(const char *lname, const dhcp_pif_t *pif) argument
1105 attach_lif(const char *lname, boolean_t isv6, int *error) argument
[all...]
/illumos-gate/usr/src/tools/cpcgen/
H A Dcpcgen.c914 char *event, *lname, *brief = NULL, *public = NULL, *errata = NULL; local
926 if ((lname = strdup(event)) == NULL) {
929 for (i = 0; lname[i] != '\0'; i++) {
930 lname[i] = tolower(event[i]);
945 if (fprintf(f, ".It Sy %s\n", lname) == -1) {
947 free(lname);
954 free(lname);
960 free(lname);
970 free(lname);
975 free(lname);
1025 char *ecode, *umask, *name, *counter, *lname, *cmask; local
[all...]
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_iter.c65 const char *lname = zpool_get_name(l); local
68 return (strcmp(lname, rname));
/illumos-gate/usr/src/cmd/fm/fmtopo/common/
H A Dfmtopo.c135 char *aname = NULL, *fname = NULL, *lname = NULL; local
143 (void) topo_node_label(node, &lname, &err);
158 if (lname != NULL) {
159 (void) printf("\tLabel: %s\n", lname);
160 topo_hdl_strfree(thp, lname);
1122 char *aname = NULL, *fname = NULL, *lname = NULL; local
1130 (void) topo_fmri_label(thp, nvl, &lname, &err);
1147 if (lname != NULL) {
1148 (void) printf("\tLabel: %s\n", lname);
1149 topo_hdl_strfree(thp, lname);
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.h219 extern int create_symlink(char *todir, char *rname, char *lname);
/illumos-gate/usr/src/cmd/stat/common/
H A Dacquire_iodevs.c686 get_lti(char *s, char *lname, int *l, char *tname, int *t, char *iname, int *i) argument
690 num = sscanf(s, "%[a-z]%d%*[.]%[a-z]%d%*[.]%[a-z_]%d", lname, l,
712 char *ptr, lname[KSTAT_STRLEN]; local
715 (void) get_lti(io->is_name, lname, &l1, tname, &t1, iname, &i1);
718 (void) snprintf(name, size, "%s%05d", lname, l1);
721 (void) snprintf(name, size, "%s%05d%s", lname, l1, ptr);
724 lname, l1, tname, t1, iname, i1);
728 (void) strlcpy(mod, lname, modlen);
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_quiesce.c195 char **lname; local
197 for (i = 0, lname = &sbdp_bypass_list[i]; **lname != '\0'; lname++) {
198 SBDP_DBG_QR("Checking %s\n", *lname);
/illumos-gate/usr/src/tools/btxld/
H A Dbtxld.c89 static const char *lname = NULL; variable
157 lname = optarg;
179 if (lname != NULL && bname != NULL)
226 fname = i == I_LDR ? lname : i == I_BTX ? bname : iname;
279 fname = i == I_LDR ? lname : i == I_BTX ? bname : iname;
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_pragma.c205 dt_pragma_depends_finddep(dtrace_hdl_t *dtp, const char *lname, char *lib, argument
214 (void) snprintf(lib, len, "%s/%s", dirp->dir_path, lname);
224 "failed to find dependency in libpath: %s", lname);
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_iter.c213 const char *lname = zfs_get_name(l); local
219 lat = (char *)strchr(lname, '@');
227 ret = strcmp(lname, rname);
/illumos-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.c1911 char *lasts, *lname, *oldlist; local
1956 for (lname = strtok_r(oldlist, " ", &lasts);
1957 lname != NULL;
1958 lname = strtok_r(NULL, " ", &lasts)) {
1959 if (stat(lname, &rmstat) != 0) {
1991 for (lname = strtok_r(oldlist, " ", &lasts);
1992 lname != NULL;
1993 lname = strtok_r(NULL, " ", &lasts)) {
1994 if (strcmp(lname, link) == 0)
1996 nlen = strlen(lname)
[all...]
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c223 char **lname; local
229 for (i = 0, lname = &dr_bypass_list[i]; **lname != '\0'; lname++) {
/illumos-gate/usr/src/cmd/ptools/pmadvise/
H A Dpmadvise.c565 char *lname = NULL; local
584 lname = make_name(Pr, lflag, pmp->pr_vaddr, pmp->pr_mapname,
592 if (lname == NULL && (pmp->pr_mflags & MA_ANON)) {
593 lname = anon_name(newmap->label, Psp, stacks, nstacks,
/illumos-gate/usr/src/cmd/print/scripts/
H A Dppdmgr1120 for lname in $(/bin/ls "${1}" 2>/dev/null) ; do
1121 if [[ -d "${1}/${lname}" ]] ; then
1122 if ! reserved_label "${lname}" ; then
1123 echo "${lname} "

Completed in 368 milliseconds

12