Searched defs:dname (Results 1 - 25 of 111) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/syscall/
H A Dmkdir.c52 mkdirat(int fd, char *dname, int dmode) argument
63 if (dname == NULL)
65 if ((error = fgetstartvp(fd, dname, &startvp)) != 0)
70 error = vn_createat(dname, UIO_USERSPACE, &vattr, EXCL, 0, &vp,
81 mkdir(char *dname, int dmode) argument
83 return (mkdirat(AT_FDCWD, dname, dmode));
/illumos-gate/usr/src/cmd/stat/common/
H A Ddsr.h41 char *dname; /* in form of /dev/dsk/cNtNdN */ member in struct:list_of_disks
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dsun4dep.c49 char dname[OBP_MAXDRVNAME]; local
73 prom_getprop(node, OBP_DEVICETYPE, dname) > 0 &&
74 strcmp(dname, "core") == 0)) {
/illumos-gate/usr/src/lib/nsswitch/ad/common/
H A Dgetspent.c77 char *dname; local
89 if ((dname = strchr(name, '@')) == NULL)
92 *dname = '\0';
93 dname++;
101 idmaprc = idmap_get_w2u_mapping(NULL, NULL, name, dname,
109 if (update_buffer(be, argp, name, dname) < 0)
H A Dgetgrent.c69 char *dname; local
81 if ((dname = strchr(name, '@')) == NULL)
84 *dname = '\0';
85 dname++;
92 idmaprc = idmap_get_w2u_mapping(NULL, NULL, name, dname,
100 if (update_buffer(be, argp, name, dname, gid) < 0)
H A Dad_common.c425 const char *dname, int *try_idmap)
435 stat = ad_lookup(searchfilter, be->attrs, dname, &be->result);
423 _nss_ad_lookup(ad_backend_ptr be, nss_XbyY_args_t *argp, const char *database, const char *searchfilter, const char *dname, int *try_idmap) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dadd_cred.c179 krb5_principal dname = (krb5_principal) desired_name; local
181 int kret = krb5_unparse_name(context, dname, &s_name);
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacklib.c37 char dname[PATH_MAX]; local
56 (void) snprintf(dname, sizeof (dname), "%s/%s", path,
61 if ((fd_d = open(dname, O_RDWR|O_CREAT, 0600)) == -1)
62 syslog(LOG_ERR, "PWopen: can't open %s: %s", dname,
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkquery.c118 const char *dname, /*!< domain name */
136 _res_opcodes[op], dname, p_class(class), p_type(type));
176 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs,
116 res_nmkquery(res_state statp, int op, const char *dname, int class, int type, const u_char *data, int datalen, const u_char *newrr_in, u_char *buf, int buflen) argument
H A Dres_data.c163 const char *dname, /*!< domain name */
175 return (res_nmkquery(&_res, op, dname, class, type,
162 res_mkquery(int op, const char *dname, int class, int type, const u_char *data, int datalen, const u_char *newrr_in, u_char *buf, int buflen) argument
H A Dres_findzonecut.c100 * find enclosing zone for a <dname,class>, and some server addresses
104 *\li dname - domain name whose enclosing zone is desired
105 *\li class - class of dname (and its enclosing zone)
121 *\li we start by asking for an SOA<dname,class>. if we get one as an
122 * answer, that just means <dname,class> is a zone top, which is fine.
135 * match our dname (since that would have been returned in the answer
136 * section). an authority section SOA has to be "above" our dname.
140 * ripping labels off the front of our dname -- this is known as "doing
154 res_findzonecut(res_state statp, const char *dname, ns_class class, int opts, argument
168 result = res_findzonecut2(statp, dname, clas
179 res_findzonecut2(res_state statp, const char *dname, ns_class class, int opts, char *zname, size_t zsize, union res_sockaddr_union *addrs, int naddrs) argument
269 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
660 find_ns(rrset_ns *nsrrsp, const char *dname) argument
670 do_query(res_state statp, const char *dname, ns_class class, ns_type qtype, u_char *resp, ns_msg *msg) argument
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_updrec.c218 res_mkupdrec(int section, const char *dname, uint_t class, uint_t type, argument
224 n = __ISC_res_mkupdrec(section, dname, class, type, ttl);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/ctime/
H A Dctime_001_pos.c149 char *dname; local
159 dname = dirname(strdup(pfile));
160 (void) snprintf(link_file, BUFSIZ, "%s/%s", dname, "link_file");
/illumos-gate/usr/src/test/zfs-tests/cmd/mkbusy/
H A Dmkbusy.c97 char *arg, *dname, *fname; local
116 dname = strdup(".");
120 dname = strdup(arg);
124 if (dname == NULL || fname == NULL)
126 dlen = strlen(dname);
130 if ((ret = stat(dname, &sbuf)) != 0 || !(sbuf.st_mode &
138 (void) strncpy(fpath, dname, dlen);
141 free(dname);
/illumos-gate/usr/src/test/zfs-tests/cmd/mktree/
H A Dmktree.c98 char dname[MAXPATHLEN] = {0}; local
106 (void) memset(dname, '\0', sizeof (dname));
107 (void) strcpy(dname, getfdname(pdir, TYPE_D, level, d, 0));
109 if (mkdir(dname, 0777) != 0) {
112 dname, errno, strerror(errno));
119 if (mktree(dname, level+1) != 0) {
123 getfdname(dname, TYPE_F, level+1, d, f));
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dhomedir.c76 char *dname, *bname, *rp; local
86 dname = dirname(dhome);
88 (void) strcpy(pdir, dname);
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_namespace.c34 char *dname; /* driver for the device */ member in struct:deviceinfo
402 char *dname,
417 (void) strncpy(nm.drvnm, dname, sizeof (nm.drvnm));
465 Free(devlist[sideno].dname);
475 char *dname,
480 devlist[sideno].dname = Strdup(dname);
499 char *dname = NULL; local
506 &bname, &dname, &mnum, ep)) == -1)
513 add_to_devicelist(sideno, bname, dname, mnu
398 add_name( mdsetname_t *sp, side_t sideno, mdkey_t key, char *dname, minor_t mnum, char *bname, char *minorname, ddi_devid_t devid, md_error_t *ep ) argument
472 add_to_devicelist( side_t sideno, char *bname, char *dname, minor_t mnum ) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_module.c466 mdb_module_remove_dcmd(mdb_module_t *mod, const char *dname) argument
468 mdb_var_t *v = mdb_nv_lookup(&mod->mod_dcmds, dname);
475 mdb_dprintf(MDB_DBG_DCMD, "removed dcmd %s`%s\n", mod->mod_name, dname);
/illumos-gate/usr/src/cmd/mdb/common/modules/usba/
H A Dusb.c438 char dname[MODMAXNAMELEN + 1] = "<unatt>"; /* Driver name */ local
493 (void) mdb_devinfo2driver(dip_addr, (char *)dname, sizeof (dname));
507 mdb_printf("%-15s %2d %-?p %s\n", dname, devinfo.devi_instance,
590 "%s_statep", dname);
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Ddockdeps.c84 static void ckpreq(FILE *fp, char *dname, boolean_t a_preinstallCheck);
403 ckpreq(FILE *fp, char *dname, boolean_t a_preinstallCheck) argument
425 deponme(dname, "", a_preinstallCheck);
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netlogon.c440 struct name_entry dname; local
447 0, 0, 0, 0, 0, &dname);
450 smb_netbios_name_logf(&dname);
451 if ((dest = smb_name_find_name(&dname)) != 0) {
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dhcdi.c273 const char *dname = ddi_driver_name(hcdi->hcdi_dip); local
279 dname, instance);
309 dname, instance);
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_defaults.c228 char *dname = NULL; local
232 devconfig_get_name(d, &dname);
237 (name == NULL && dname == NULL) ||
240 (name != NULL && dname != NULL &&
241 strcmp(name, dname) == 0)) {
/illumos-gate/usr/src/lib/libadutils/common/
H A Dsrv_query.c164 * If dname == NULL then search (as in res_nsearch(3RESOLV), honoring any
170 srv_query(res_state state, const char *svc_name, const char *dname, argument
186 if (dname == NULL) {
187 dname = "*";
202 } else { /* dname != NULL */
205 svc_name, dname);
208 len = res_nquerydomain(state, svc_name, dname, C_IN, T_SRV,
214 svc_name, dname,
/illumos-gate/usr/src/uts/sun4/os/
H A Dmlsetup.c334 char dname[OBP_MAXDRVNAME]; local
356 prom_getprop(node, OBP_DEVICETYPE, dname) > 0 &&
357 strcmp(dname, "core") == 0)) {

Completed in 570 milliseconds

12345