/illumos-gate/usr/src/uts/common/syscall/ |
H A D | mkdir.c | 52 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 D | dsr.h | 41 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 D | sun4dep.c | 49 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 D | getspent.c | 77 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 D | getgrent.c | 69 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 D | ad_common.c | 425 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 D | add_cred.c | 179 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 D | packlib.c | 37 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 D | res_mkquery.c | 118 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 D | res_data.c | 163 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 D | res_findzonecut.c | 100 * 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 D | sunw_updrec.c | 218 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 D | ctime_001_pos.c | 149 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 D | mkbusy.c | 97 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 D | mktree.c | 98 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 D | homedir.c | 76 char *dname, *bname, *rp; local 86 dname = dirname(dhome); 88 (void) strcpy(pdir, dname);
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_namespace.c | 34 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 D | mdb_module.c | 466 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 D | usb.c | 438 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 D | dockdeps.c | 84 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 D | smbns_netlogon.c | 440 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 D | hcdi.c | 273 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 D | volume_defaults.c | 228 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 D | srv_query.c | 164 * 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 D | mlsetup.c | 334 char dname[OBP_MAXDRVNAME]; local 356 prom_getprop(node, OBP_DEVICETYPE, dname) > 0 && 357 strcmp(dname, "core") == 0)) {
|