/titanic_51/usr/src/lib/brand/solaris10/cmd/ |
H A D | s10_isaexec_wrapper.sh | 46 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/ [all...] |
/titanic_51/usr/src/uts/common/syscall/ |
H A D | mkdir.c | 52 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_51/usr/src/lib/libresolv2/common/resolv/ |
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, in res_findzonecut() argument 168 result = res_findzonecut2(statp, dname, clas in res_findzonecut() 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) res_findzonecut2() 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) get_soa() argument 660 find_ns(rrset_ns * nsrrsp,const char * dname) find_ns() argument 670 do_query(res_state statp,const char * dname,ns_class class,ns_type qtype,u_char * resp,ns_msg * msg) do_query() argument [all...] |
/titanic_51/usr/src/uts/i86pc/io/dr/ |
H A D | dr_quiesce.c | 71 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() 348 char *dname; dr_suspend_devices() local 991 char *dname; drerr_int() local [all...] |
/titanic_51/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_quiesce.c | 72 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() 349 char *dname; dr_suspend_devices() local 1054 char *dname; drerr_int() local [all...] |
/titanic_51/usr/src/test/zfs-tests/cmd/mkbusy/ |
H A D | mkbusy.c | 97 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_51/usr/src/test/zfs-tests/cmd/mktree/ |
H A D | mktree.c | 98 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_51/usr/src/lib/nsswitch/ad/common/ |
H A D | getspent.c | 77 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 D | getgrent.c | 69 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 D | getpwnam.c | 300 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() [all...] |
/titanic_51/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | mkpkgmap.c | 90 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[nf in pushenv() [all...] |
/titanic_51/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_quiesce.c | 83 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; sbdp_suspend_devices_() local [all...] |
/titanic_51/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 64 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, in dm_inuse() 1249 build_usage_string(char * dname,char * by,char * data,char ** msg,int * found,int * errp) build_usage_string() argument [all...] |
/titanic_51/usr/src/cmd/idmap/idmapd/ |
H A D | adutils.c | 591 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() 721 /* 'name' not qualified and dname not given */ in idmap_name2sid_batch_add1() 722 dname = state->default_domain; in idmap_name2sid_batch_add1() 723 edomain = strdup(dname); in idmap_name2sid_batch_add1() 771 idmap_sid2name_batch_add1(idmap_query_state_t * state,const char * sid,const rid_t * rid,idmap_id_type esidtype,char ** dn,char ** attr,char ** value,char ** name,char ** dname,idmap_id_type * sid_type,char ** unixname,posix_id_t * pid,idmap_retcode * rc) idmap_sid2name_batch_add1() argument 813 idmap_unixname2sid_batch_add1(idmap_query_state_t * state,const char * unixname,int is_user,int is_wuser,char ** dn,char ** attr,char ** value,char ** sid,rid_t * rid,char ** name,char ** dname,idmap_id_type * sid_type,idmap_retcode * rc) idmap_unixname2sid_batch_add1() argument 862 idmap_pid2sid_batch_add1(idmap_query_state_t * state,posix_id_t pid,int is_user,char ** dn,char ** attr,char ** value,char ** sid,rid_t * rid,char ** name,char ** dname,idmap_id_type * sid_type,idmap_retcode * rc) idmap_pid2sid_batch_add1() argument [all...] |
H A D | adutils.h | 99 * - 'dname' is optional; if NULL or empty string then 'name' has to be 102 * passed in 'dname'. 110 const char *name, const char *dname, idmap_id_type esidtype, 122 * - 'dname' is optional; if NULL then the fully qualified user/group 124 * *dname and the user/group name will be stored in *name without a 127 * The caller must free() *name and *dname (if present). 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_51/usr/src/cmd/allocate/ |
H A D | mkdevalloc.c | 245 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_DELIMITE in doaudio() 659 char *dname, *dclean; dofloppy() local 828 char *dname, *dclean; docd() local [all...] |
/titanic_51/usr/src/cmd/fm/scripts/ |
H A D | dictck.pl | 96 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_51/usr/src/lib/libresolv/ |
H A D | res_mkquery.c | 123 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_51/usr/src/cmd/msgfmt/ |
H A D | xgettext.c | 81 * dname : domain name. NULL if default domain. 96 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 in find_domain_node() 1891 char dname [MAX_DOMAIN_LEN]; write_one_file() local [all...] |
/titanic_51/usr/src/lib/fm/topo/modules/common/nic/ |
H A D | topo_nic.c | 141 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_51/usr/src/tools/scripts/ |
H A D | validate_flg.pl | 63 my ($dname, $isincflg); 66 $dname = $fname; 67 $dname =~ s+/[^/]*$++; 104 } elsif ($isincflg && $expfile eq $dname) {
|
/titanic_51/usr/src/psm/stand/boot/sparc/common/ |
H A D | sun4dep.c | 49 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_51/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_init.c | 58 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_51/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_node.c | 1455 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() 1586 * make sure that we get rid of ';' in the dname of 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, dnamele in process_dirblock() [all...] |
/titanic_51/usr/src/lib/pam_modules/authtok_check/ |
H A D | packlib.c | 37 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()
|