Home
last modified time | relevance | path

Searched refs:dname (Results 1 – 25 of 115) sorted by relevance

12345

/titanic_50/usr/src/lib/brand/solaris10/cmd/
H A Ds10_isaexec_wrapper.sh46 dname=`/usr/bin/dirname $0`
47 echo $dname | /usr/bin/grep "^/" >/dev/null || dname=`/bin/pwd`/$dname
48 dname=`(cd $dname 2>/dev/null && /bin/pwd 2>/dev/null)`
50 LC_ALL=C /usr/bin/file $n/$dname/$bname | /usr/bin/grep "64-bit" \
55 if [ ! -f $n$dname/$bname ]; then
56 echo "Error: \"$dname/$bname\" is not installed in the global zone"
68 $n$dname/$bname "$@"
/titanic_50/usr/src/uts/common/syscall/
H A Dmkdir.c52 mkdirat(int fd, char *dname, int dmode) in mkdirat() argument
63 if (dname == NULL) in mkdirat()
65 if ((error = fgetstartvp(fd, dname, &startvp)) != 0) in mkdirat()
70 error = vn_createat(dname, UIO_USERSPACE, &vattr, EXCL, 0, &vp, in mkdirat()
81 mkdir(char *dname, int dmode) in mkdir() argument
83 return (mkdirat(AT_FDCWD, dname, dmode)); in mkdir()
/titanic_50/usr/src/lib/libresolv2/common/resolv/
H A Dres_findzonecut.c154 res_findzonecut(res_state statp, const char *dname, ns_class class, int opts, in res_findzonecut() argument
168 result = res_findzonecut2(statp, dname, class, opts, zname, zsize, in res_findzonecut()
179 res_findzonecut2(res_state statp, const char *dname, ns_class class, int opts, in res_findzonecut2() argument
189 dname, p_class(class), (long)zsize, naddrs)); in res_findzonecut2()
197 if ((n = get_soa(statp, dname, class, opts, zname, zsize, in res_findzonecut2()
269 get_soa(res_state statp, const char *dname, ns_class class, int opts, in get_soa() argument
285 if (ns_makecanon(dname, tname, sizeof tname) < 0) in get_soa()
287 dname = tname; in get_soa()
296 while (*dname == '.') in get_soa()
297 dname++; in get_soa()
[all …]
/titanic_50/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c71 static int dr_bypass_device(char *dname);
203 char *dname, **cpp; in dr_is_unsafe_major() local
206 if ((dname = ddi_major_to_name(major)) == NULL) { in dr_is_unsafe_major()
213 if (strcmp(dname, *cpp++) == 0) in dr_is_unsafe_major()
220 dr_bypass_device(char *dname) in dr_bypass_device() argument
225 if (dname == NULL) in dr_bypass_device()
230 if (strcmp(dname, dr_bypass_list[i++]) == 0) in dr_bypass_device()
278 char *dname; in dr_check_dip() local
287 dname = ddi_binding_name(dip); in dr_check_dip()
289 if (dr_bypass_device(dname)) in dr_check_dip()
[all …]
/titanic_50/usr/src/uts/sun4u/ngdr/io/
H A Ddr_quiesce.c72 static int dr_bypass_device(char *dname);
204 char *dname, **cpp; in dr_is_unsafe_major() local
207 if ((dname = ddi_major_to_name(major)) == NULL) { in dr_is_unsafe_major()
214 if (strcmp(dname, *cpp++) == 0) in dr_is_unsafe_major()
221 dr_bypass_device(char *dname) in dr_bypass_device() argument
226 if (dname == NULL) in dr_bypass_device()
231 if (strcmp(dname, dr_bypass_list[i++]) == 0) in dr_bypass_device()
279 char *dname; in dr_check_dip() local
288 dname = ddi_binding_name(dip); in dr_check_dip()
290 if (dr_bypass_device(dname)) in dr_check_dip()
[all …]
/titanic_50/usr/src/test/zfs-tests/cmd/mkbusy/
H A Dmkbusy.c97 char *arg, *dname, *fname; in main() local
116 dname = strdup("."); in main()
120 dname = strdup(arg); in main()
124 if (dname == NULL || fname == NULL) in main()
126 dlen = strlen(dname); in main()
130 if ((ret = stat(dname, &sbuf)) != 0 || !(sbuf.st_mode & in main()
138 (void) strncpy(fpath, dname, dlen); in main()
141 free(dname); in main()
/titanic_50/usr/src/test/zfs-tests/cmd/mktree/
H A Dmktree.c98 char dname[MAXPATHLEN] = {0}; in mktree() local
106 (void) memset(dname, '\0', sizeof (dname)); in mktree()
107 (void) strcpy(dname, getfdname(pdir, TYPE_D, level, d, 0)); in mktree()
109 if (mkdir(dname, 0777) != 0) { in mktree()
112 dname, errno, strerror(errno)); in mktree()
119 if (mktree(dname, level+1) != 0) { in mktree()
123 getfdname(dname, TYPE_F, level+1, d, f)); in mktree()
/titanic_50/usr/src/lib/nsswitch/ad/common/
H A Dgetspent.c77 char *dname; in getbynam() local
89 if ((dname = strchr(name, '@')) == NULL) in getbynam()
92 *dname = '\0'; in getbynam()
93 dname++; in getbynam()
101 idmaprc = idmap_get_w2u_mapping(NULL, NULL, name, dname, in getbynam()
109 if (update_buffer(be, argp, name, dname) < 0) in getbynam()
H A Dgetgrent.c69 char *dname; in getbynam() local
81 if ((dname = strchr(name, '@')) == NULL) in getbynam()
84 *dname = '\0'; in getbynam()
85 dname++; in getbynam()
92 idmaprc = idmap_get_w2u_mapping(NULL, NULL, name, dname, in getbynam()
100 if (update_buffer(be, argp, name, dname, gid) < 0) in getbynam()
H A Dgetpwnam.c300 char *dname; in getbyname() local
315 if ((dname = strchr(name, '@')) == NULL) in getbyname()
318 *dname = '\0'; in getbyname()
319 dname++; in getbyname()
326 flag = (strcasecmp(dname, WK_DOMAIN) == 0) ? in getbyname()
331 dname, flag, &is_user, &is_wuser, &be->uid, NULL, in getbyname()
338 if (strcasecmp(dname, WK_DOMAIN) != 0) { in getbyname()
347 dname, &try_idmap); in getbyname()
362 idmaprc = idmap_get_w2u_mapping(NULL, NULL, name, dname, in getbyname()
370 if (update_buffer(be, argp, name, dname, in getbyname()
/titanic_50/usr/src/cmd/svr4pkg/pkgmk/
H A Dmkpkgmap.c90 static char *dname[NRECURS], variable
394 basepath(temp, dname[nfp], NULL); in findfile()
437 (void) snprintf(host, sizeof (host), "%s/%s", dname[nfp], basename); in findfile()
465 "%s/%s", dname[nfp], pt); in dosearch()
493 "%s/%s", dname[nfp], pt); in dorsearch()
606 (void) snprintf(file, sizeof (file), "%s/%s", dname[nfp], temp); in doinclude()
714 dname[nfp] = topdir; in pushenv()
717 dname[nfp] = qstrdup(file); in pushenv()
718 if (pt = strrchr(dname[nfp], '/')) in pushenv()
722 free(dname[nfp]); in pushenv()
[all …]
/titanic_50/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_quiesce.c83 static int sbdp_bypass_device(char *dname);
192 sbdp_bypass_device(char *dname) in sbdp_bypass_device() argument
199 if (strcmp(dname, sbdp_bypass_list[i++]) == 0) in sbdp_bypass_device()
244 char *dname; in sbdp_check_dip() local
256 dname = ddi_binding_name(dip); in sbdp_check_dip()
258 if ((strcmp(dname, "pciclass,060940") == 0) || (strcmp(dname, in sbdp_check_dip()
267 if (sbdp_bypass_device(dname)) in sbdp_check_dip()
276 dname, ddi_name_to_major(dname)); in sbdp_check_dip()
313 char *dname; in sbdp_suspend_devices_() local
326 if ((dname = DEVI(dip)->devi_binding_name) != NULL) in sbdp_suspend_devices_()
[all …]
/titanic_50/usr/src/lib/libdiskmgt/common/
H A Dentry.c64 static int build_usage_string(char *dname, char *by, char *data, char **use,
855 char *dname = NULL; in dm_inuse() local
867 dname = getfullblkname(dev_name); in dm_inuse()
872 if (dname == NULL || *dname == '\0') { in dm_inuse()
882 if (ANY_ZPOOL_USE(who) && (err = dm_inuse_swap(dname, errp))) { in dm_inuse()
886 free(dname); in dm_inuse()
891 (void) build_usage_string(dname, DM_USE_MOUNT, "swap", msg, in dm_inuse()
897 free(dname); in dm_inuse()
901 dm_get_slice_stats(dname, &dev_stats, errp); in dm_inuse()
911 free(dname); in dm_inuse()
[all …]
/titanic_50/usr/src/cmd/idmap/idmapd/
H A Dadutils.c591 char **canonname, char **dname, in idmap_batch_add1() argument
617 q->domain = dname; in idmap_batch_add1()
668 if (dname != NULL) in idmap_batch_add1()
669 *dname = NULL; in idmap_batch_add1()
696 const char *name, const char *dname, idmap_id_type esidtype, in idmap_name2sid_batch_add1() argument
720 if (dname == NULL || *dname == '\0') { in idmap_name2sid_batch_add1()
722 dname = state->default_domain; in idmap_name2sid_batch_add1()
723 edomain = strdup(dname); in idmap_name2sid_batch_add1()
729 if ((edomain = strdup(dname)) == NULL) { in idmap_name2sid_batch_add1()
735 if (!adutils_lookup_check_domain(state->qs, dname)) { in idmap_name2sid_batch_add1()
[all …]
H A Dadutils.h110 const char *name, const char *dname, idmap_id_type esidtype,
132 char **dname, idmap_id_type *sid_type, char **unixname,
141 char **name, char **dname, idmap_id_type *sid_type,
150 char **name, char **dname, idmap_id_type *sid_type,
/titanic_50/usr/src/cmd/allocate/
H A Dmkdevalloc.c245 char *dname, *dtype, *dclean; in dotape() local
366 dname = DA_TAPE_NAME; in dotape()
370 dname = "st"; in dotape()
385 dname, i, KV_DELIMITER); in dotape()
411 dname, i, KV_TOKEN_DELIMIT); in dotape()
456 char dname[128]; in doaudio() local
570 (void) strcpy(dname, DA_AUDIO_NAME); in doaudio()
572 len = sizeof (dname) - slen; in doaudio()
579 (void) snprintf(dname+slen, len, "%d", i); in doaudio()
587 dname, KV_DELIMITER); in doaudio()
[all …]
/titanic_50/usr/src/cmd/fm/scripts/
H A Ddictck.pl96 my $dname;
104 $dname = $1;
157 die "$name:$line: name \"$props{'name'}\" doesn't match \"$dname\" from filename\n"
158 unless $props{'name'} eq $dname;
205 open(B, "$buildcode $dname $rhs|") or
/titanic_50/usr/src/lib/libresolv/
H A Dres_mkquery.c123 res_mkquery(op, dname, class, type, data, datalen, newrr, buf, buflen) in res_mkquery() argument
125 char *dname; /* domain name */
140 printf("res_mkquery(%d, %s, %d, %d)\n", op, dname, class, type);
188 if ((n = dn_comp((u_char *)dname, cp, buflen,
262 if ((n = dn_comp((u_char *)dname, cp, buflen,
290 if ((n = dn_comp((u_char *)dname, cp, buflen,
/titanic_50/usr/src/cmd/msgfmt/
H A Dxgettext.c96 char *dname; member
1390 find_domain_node(char *dname) in find_domain_node() argument
1405 if ((dname == NULL) || in find_domain_node()
1406 (dname[0] == NULL) || in find_domain_node()
1407 (strcmp(dname, default_domain) == 0)) { in find_domain_node()
1411 if (strcmp(dname, default_domain) == 0) { in find_domain_node()
1421 if (strcmp(p->dname, dname) == 0) { in find_domain_node()
1428 tmp_dom->dname = strdup(dname); in find_domain_node()
1828 tmp_domain->dname = strdup(tmpstr); in read_po()
1891 char dname [MAX_DOMAIN_LEN]; in write_one_file() local
[all …]
/titanic_50/usr/src/lib/fm/topo/modules/common/nic/
H A Dtopo_nic.c141 char dname[MAXNAMELEN]; in nic_enum() local
160 if (snprintf(dname, sizeof (dname), "%s%d", di_driver_name(din), in nic_enum()
161 di_instance(din)) >= sizeof (dname)) { in nic_enum()
167 if (dladm_dev2linkid(handle, dname, &linkid) != DLADM_STATUS_OK) in nic_enum()
/titanic_50/usr/src/tools/scripts/
H A Dvalidate_flg.pl63 my ($dname, $isincflg);
66 $dname = $fname;
67 $dname =~ s+/[^/]*$++;
104 } elsif ($isincflg && $expfile eq $dname) {
/titanic_50/usr/src/psm/stand/boot/sparc/common/
H A Dsun4dep.c49 char dname[OBP_MAXDRVNAME]; in setup_aux() local
73 prom_getprop(node, OBP_DEVICETYPE, dname) > 0 && in setup_aux()
74 strcmp(dname, "core") == 0)) { in setup_aux()
/titanic_50/usr/src/cmd/ndmpd/tlm/
H A Dtlm_init.c58 char *dname; in read_scsi_page() local
81 dname = sasd_slink_name(slink); in read_scsi_page()
82 dev = open(dname, O_RDWR | O_NDELAY); in read_scsi_page()
85 dname, errno); in read_scsi_page()
90 cdb->scc_cmd, dname, errno); in read_scsi_page()
496 char *dname; in inaccbl_drv_warn() local
509 if (!(dname = tlm_get_tape_name(l, d))) { in inaccbl_drv_warn()
513 NDMP_LOG(LOG_DEBUG, "%s", dname); in inaccbl_drv_warn()
/titanic_50/usr/src/uts/common/fs/hsfs/
H A Dhsfs_node.c1455 char *dname; /* name in directory entry */ in process_dirblock() local
1537 dname = (char *)HDE_name(dirp); in process_dirblock()
1548 hs_namelen(fsp, dname, dnamelen) > fsp->hsfs_namelen) { in process_dirblock()
1576 dname = (char *)&rrip_name_str[0]; in process_dirblock()
1597 if (dname[i] == ';' && in process_dirblock()
1598 dname[i-1] == '\0') { in process_dirblock()
1605 if (dname[i] == ';') in process_dirblock()
1614 dnamelen = strip_trailing(fsp, dname, dnamelen); in process_dirblock()
1620 (void) strncpy(uppercase_name, dname, dnamelen); in process_dirblock()
1622 dnamelen = hs_joliet_cp(dname, uppercase_name, in process_dirblock()
[all …]
/titanic_50/usr/src/lib/pam_modules/authtok_check/
H A Dpacklib.c37 char dname[PATH_MAX]; in PWOpen() local
56 (void) snprintf(dname, sizeof (dname), "%s/%s", path, in PWOpen()
61 if ((fd_d = open(dname, O_RDWR|O_CREAT, 0600)) == -1) in PWOpen()
62 syslog(LOG_ERR, "PWopen: can't open %s: %s", dname, in PWOpen()

12345