/titanic_50/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_dispq.c | 45 fmd_dispqelem_t *dep = fmd_alloc(sizeof (fmd_dispqelem_t), FMD_SLEEP); in fmd_dispqelem_create() local 47 dep->dq_name = fmd_strdup(name, FMD_SLEEP); in fmd_dispqelem_create() 48 dep->dq_link = NULL; in fmd_dispqelem_create() 49 dep->dq_hashlen = fmd.d_str_buckets; in fmd_dispqelem_create() 50 dep->dq_hash = fmd_zalloc(sizeof (void *) * dep->dq_hashlen, FMD_SLEEP); in fmd_dispqelem_create() 51 dep->dq_list = NULL; in fmd_dispqelem_create() 52 dep->dq_refs = 0; in fmd_dispqelem_create() 54 return (dep); in fmd_dispqelem_create() 58 fmd_dispqelem_destroy(fmd_dispqelem_t *dep) in fmd_dispqelem_destroy() argument 64 for (dlp = dep->dq_list; dlp != NULL; dlp = nlp) { in fmd_dispqelem_destroy() [all …]
|
/titanic_50/usr/src/stand/lib/fs/nfs/ |
H A D | getdents4.c | 85 nfs4getdents(struct nfs_file *nfp, struct dirent *dep, unsigned size) in nfs4getdents() argument 194 dep->d_name[0] = '.'; in nfs4getdents() 195 dep->d_name[1] = '\0'; in nfs4getdents() 196 dep->d_ino = va.va_nodeid; in nfs4getdents() 197 dep->d_off = 1; in nfs4getdents() 199 dep->d_reclen = n; in nfs4getdents() 200 dep = (struct dirent *)((char *)dep + n); in nfs4getdents() 209 dep->d_name[0] = '.'; in nfs4getdents() 210 dep->d_name[1] = '.'; in nfs4getdents() 211 dep->d_name[2] = '\0'; in nfs4getdents() [all …]
|
H A D | getdents.c | 85 nfsgetdents(struct nfs_file *nfp, struct dirent *dep, unsigned size) in nfsgetdents() argument 173 (void) strcpy(dep->d_name, ep->name); in nfsgetdents() 174 dep->d_ino = ep->fileid; in nfsgetdents() 176 dep->d_off = offset; in nfsgetdents() 177 dep->d_reclen = (ushort_t)n; in nfsgetdents() 179 dep = (struct dirent *)((char *)dep + n); in nfsgetdents()
|
H A D | getdents3.c | 85 nfs3getdents(struct nfs_file *nfp, struct dirent *dep, unsigned size) in nfs3getdents() argument 174 (void) strcpy(dep->d_name, ep->name); in nfs3getdents() 175 dep->d_ino = ep->fileid; in nfs3getdents() 176 dep->d_off = (off_t)ep->cookie; in nfs3getdents() 177 dep->d_reclen = (ushort_t)n; in nfs3getdents() 179 dep = (struct dirent *)((char *)dep + n); in nfs3getdents()
|
H A D | nfsops.c | 74 static int boot_nfs_getdents(int fd, struct dirent *dep, unsigned size); 434 boot_nfs_getdents(int fd, struct dirent *dep, unsigned size) in boot_nfs_getdents() argument 441 printf("boot_nfs_getdents(%d, 0x%x, 0x%x)\n", fd, dep, size); in boot_nfs_getdents() 455 status = nfsgetdents(&filep->file, dep, size); in boot_nfs_getdents() 458 status = nfs3getdents(&filep->file, dep, size); in boot_nfs_getdents()
|
/titanic_50/usr/src/cmd/sgs/link_audit/common/ |
H A D | perfcnt.c | 72 list_insert(d_entry *dep) in list_insert() argument 83 new_list->l_dep = dep; in list_insert() 91 (cur && (cur->l_dep->d_time < dep->d_time)); in list_insert() 209 d_entry **dep; in la_pltexit64() local 221 dep = (d_entry **)get_hash(tbl, (char *)sym_name); in la_pltexit64() 222 if (*dep == NULL) { in la_pltexit64() 225 (*dep) = (d_entry *)ptr; in la_pltexit64() 226 (*dep)->d_count = 0; in la_pltexit64() 227 (*dep)->d_time = 0.0; in la_pltexit64() 228 (*dep)->d_symname = sym_name; in la_pltexit64() [all …]
|
/titanic_50/usr/src/cmd/loadkeys/ |
H A D | loadkeys.y | 132 static int dupkey(int kbdfd, dupentry *dep, int shiftmask); 133 static int swapkey(int kbdfd, dupentry *dep, int shiftmask); 157 register dupentry *dep; local 274 for (dep = firstswap; dep != NULL; dep = dep->de_next) { 277 if (!swapkey(kbdfd, dep, 284 for (dep = firstduplicate; dep != NULL; dep = dep->de_next) { 287 if (!dupkey(kbdfd, dep, 445 register dupentry *dep; local 447 if ((dep = (dupentry *) malloc((unsigned)sizeof (dupentry))) == NULL) 451 firstduplicate = dep; [all …]
|
/titanic_50/usr/src/cmd/allocate/ |
H A D | mkdevalloc.c | 235 struct dirent *dep; /* directory entry pointer */ in dotape() local 261 while (dep = readdir(dirp)) { in dotape() 263 if (strncmp(dep->d_name, "rst", SIZE_OF_RST) && in dotape() 264 strncmp(dep->d_name, "nrst", SIZE_OF_NRST)) in dotape() 275 nm = (char *)malloc(SIZE_OF_TMP + 1 + strlen(dep->d_name) + 1); in dotape() 279 (void) strcat(nm, dep->d_name); in dotape() 320 while (dep = readdir(dirp)) { in dotape() 322 if (strncmp(dep->d_name, ".", 1) == NULL) in dotape() 333 nm = (char *)malloc(SIZE_OF_RMT + 1 + strlen(dep->d_name) + 1); in dotape() 337 (void) strcat(nm, dep->d_name); in dotape() [all …]
|
/titanic_50/usr/src/cmd/sgs/liblddbg/common/ |
H A D | version.c | 112 const char *dep; in Dbg_ver_desc_entry() local 122 dep = _vdp->vd_name; in Dbg_ver_desc_entry() 125 dep = MSG_ORIG(MSG_STR_EMPTY); in Dbg_ver_desc_entry() 128 Elf_ver_line_1(lml, index, vdp->vd_name, dep, in Dbg_ver_desc_entry() 185 const char *dep, const char *flags) in Elf_ver_line_1() argument 189 dep, flags); in Elf_ver_line_1() 192 dep, flags); in Elf_ver_line_1() 196 Elf_ver_line_2(Lm_list *lml, const char *name, const char *dep) in Elf_ver_line_2() argument 198 dbg_print(lml, MSG_INTL(MSG_VER_LINE_2), name, dep); in Elf_ver_line_2() 202 Elf_ver_line_3(Lm_list *lml, const char *name, const char *dep, in Elf_ver_line_3() argument [all …]
|
/titanic_50/usr/src/cmd/make/bin/ |
H A D | nse_printdep.cc | 156 register Dependency dep; in print_deps() local 181 for (dep = line->body.line.dependencies; in print_deps() 182 dep != NULL; in print_deps() 183 dep = dep->next) { in print_deps() 184 print_deps(dep->name, in print_deps() 185 get_prop(dep->name->prop, line_prop)); in print_deps() 193 Dependency dep; in is_out_of_date() local 202 for (dep = line->body.line.dependencies; in is_out_of_date() 203 dep != NULL; in is_out_of_date() 204 dep = dep->next) { in is_out_of_date() [all …]
|
H A D | misc.cc | 312 register Dependency dep; in dump_make_state() local 369 for (dep = suffixes; dep != NULL; dep = dep->next) { in dump_make_state() 370 (void) printf(" %s", dep->name->string_mb); in dump_make_state() 371 build_suffix_list(dep->name); in dump_make_state()
|
/titanic_50/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 108 prepare_elf32(dtrace_hdl_t *dtp, const dof_hdr_t *dof, dof_elf32_t *dep) in prepare_elf32() argument 150 dep->de_strlen = strtabsz; in prepare_elf32() 151 dep->de_nrel = count; in prepare_elf32() 152 dep->de_nsym = count + 1; /* the first symbol is always null */ in prepare_elf32() 155 dep->de_strlen += sizeof (DOFLAZYSTR); in prepare_elf32() 156 dep->de_nsym++; in prepare_elf32() 158 dep->de_strlen += sizeof (DOFSTR); in prepare_elf32() 159 dep->de_nsym++; in prepare_elf32() 162 if ((dep->de_rel = calloc(dep->de_nrel, in prepare_elf32() 163 sizeof (dep->de_rel[0]))) == NULL) { in prepare_elf32() [all …]
|
/titanic_50/usr/src/pkg/ |
H A D | Makefile | 133 $(PDIR)/developer-build-onbld.dep:= PKGROOT= $(TOOLSROOT) 271 DEP_PKGS= $(PKGS:%=$(PDIR)/%.dep) 280 DEP_SYNTH_PKGS= $(SYNTH_PKGS:%=$(PDIR)/%.dep) 422 for p in $(DEP_PKGS:%.dep=%); do \ 423 $(CP) $$p.dep $$p.res; \ 429 for p in $(DEP_SYNTH_PKGS:%.dep=%) $(DEP_PKGS:%.dep=%); do \ 436 strip_versions $$p.dep.res; \ 437 $(RM) $$p.dep.res; \ 439 $(MV) $$p.dep.res $$p.res; \ 535 .SUFFIXES: .mf .mog .dep .res .pub [all …]
|
/titanic_50/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_pages.c | 65 ses2_aes_descr_eip_impl_t *dep; in ses2_aes_index() local 79 for (dep = (ses2_aes_descr_eip_impl_t *)apip->sapi_data, pos = 0, i = 0; in ses2_aes_index() 81 dep = (ses2_aes_descr_eip_impl_t *)(apip->sapi_data + pos), i++) { in ses2_aes_index() 82 if (!SES_WITHIN_PAGE_STRUCT(dep, data, pagelen)) in ses2_aes_index() 85 desclen = dep->sadei_length + in ses2_aes_index() 87 sizeof (dep->sadei_length); in ses2_aes_index() 89 if (!SES_WITHIN_PAGE(dep, desclen, data, pagelen)) in ses2_aes_index() 92 if (dep->sadei_eip) { in ses2_aes_index() 101 switch (dep->sadei_eiioe) { in ses2_aes_index() 121 if (!dep->sadei_eip && in ses2_aes_index() [all …]
|
H A D | ses2_element.c | 655 elem_parse_aes_device(const ses2_aes_descr_eip_impl_t *dep, nvlist_t *nvl, in elem_parse_aes_device() argument 666 if (dep->sadei_eip) { in elem_parse_aes_device() 668 dep->sadei_protocol_specific; in elem_parse_aes_device() 670 dep->sadei_protocol_specific; in elem_parse_aes_device() 672 dip = (ses2_aes_descr_impl_t *)dep; in elem_parse_aes_device() 678 if (dep->sadei_invalid) in elem_parse_aes_device() 681 if (dep->sadei_protocol_identifier == SPC4_PROTO_FIBRE_CHANNEL) { in elem_parse_aes_device() 683 dep->sadei_protocol_specific; in elem_parse_aes_device() 685 if (!SES_WITHIN_PAGE_STRUCT(fp, dep, len)) in elem_parse_aes_device() 691 } else if (dep->sadei_protocol_identifier != SPC4_PROTO_SAS) { in elem_parse_aes_device() [all …]
|
/titanic_50/usr/src/uts/common/fs/ |
H A D | dnlc.c | 1105 dcentry_t *dep; in dnlc_dir_lookup() local 1127 dep = dcp->dc_namehash[hash & dcp->dc_nhash_mask]; in dnlc_dir_lookup() 1128 while (dep != NULL) { in dnlc_dir_lookup() 1129 if ((dep->de_hash == hash) && in dnlc_dir_lookup() 1130 (namlen == dep->de_namelen) && in dnlc_dir_lookup() 1131 bcmp(dep->de_name, name, namlen) == 0) { in dnlc_dir_lookup() 1132 *handle = dep->de_handle; in dnlc_dir_lookup() 1137 dep = dep->de_next; in dnlc_dir_lookup() 1246 dcentry_t **hp, *dep; in dnlc_dir_add_entry() local 1259 dep = kmem_alloc(sizeof (dcentry_t) - 1 + namlen, KM_NOSLEEP); in dnlc_dir_add_entry() [all …]
|
/titanic_50/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4500/common/ |
H A D | loki.c | 40 ses2_aes_descr_eip_impl_t *dep; in sun_loki_fix_bay() local 56 if ((dep = ses_plugin_page_lookup(sp, ses_node_snapshot(np), in sun_loki_fix_bay() 60 if (dep->sadei_protocol_identifier != SPC4_PROTO_SAS || in sun_loki_fix_bay() 61 !dep->sadei_eip || !dep->sadei_invalid) in sun_loki_fix_bay() 64 s0ep = (ses2_aes_descr_sas0_eip_impl_t *)dep->sadei_protocol_specific; in sun_loki_fix_bay()
|
/titanic_50/usr/src/uts/intel/io/dktp/dcdev/ |
H A D | dadk.c | 550 dadk_errstats_t *dep; in dadk_create_errstats() local 566 dep = (dadk_errstats_t *)dadkp->dad_errstats->ks_data; in dadk_create_errstats() 568 kstat_named_init(&dep->dadk_softerrs, in dadk_create_errstats() 570 kstat_named_init(&dep->dadk_harderrs, in dadk_create_errstats() 572 kstat_named_init(&dep->dadk_transerrs, in dadk_create_errstats() 574 kstat_named_init(&dep->dadk_model, in dadk_create_errstats() 576 kstat_named_init(&dep->dadk_revision, in dadk_create_errstats() 578 kstat_named_init(&dep->dadk_serial, in dadk_create_errstats() 580 kstat_named_init(&dep->dadk_capacity, in dadk_create_errstats() 582 kstat_named_init(&dep->dadk_rq_media_err, in dadk_create_errstats() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | options.c | 1333 struct device_entry *dep; in organize_state() local 1389 ndevs * sizeof (*dep) + nsvcs * ndevs * sizeof (*sepp)); in organize_state() 1397 osp->os_devices = dep = (struct device_entry *)(osp+1); in organize_state() 1404 sepp = (struct service_entry **)(dep + ndevs); in organize_state() 1406 dep->de_name = *dnp; in organize_state() 1407 dep->de_services = (const struct service_entry **)sepp; in organize_state() 1438 dep->de_nservices = (const struct service_entry **)sepp - in organize_state() 1439 dep->de_services; in organize_state() 1441 if (dep->de_nservices > 0) in organize_state() 1442 dep++; in organize_state() [all …]
|
/titanic_50/usr/src/lib/cfgadm_plugins/sata/common/ |
H A D | cfga_sata.c | 261 struct dirent *dep, *newdep; in physpath_to_devlink() local 286 dep = (struct dirent *)malloc(deplen); in physpath_to_devlink() 288 if (dep == NULL || linkpath == NULL || buf == NULL || in physpath_to_devlink() 297 while (!found && (err = readdir_r(dp, dep, &newdep)) == 0 && in physpath_to_devlink() 300 assert(newdep == dep); in physpath_to_devlink() 302 if (strcmp(dep->d_name, ".") == 0 || in physpath_to_devlink() 303 strcmp(dep->d_name, "..") == 0) in physpath_to_devlink() 307 "%s/%s", basedir, dep->d_name); in physpath_to_devlink() 361 free(dep); in physpath_to_devlink() 375 if (dep) in physpath_to_devlink() [all …]
|
/titanic_50/usr/src/uts/common/os/ |
H A D | errorq.c | 587 errorq_elem_t *eep, *dep; in errorq_drain() local 652 if (panicstr && (dep = eqp->eq_dump) != NULL) { in errorq_drain() 653 while (dep->eqe_dump != NULL) in errorq_drain() 654 dep = dep->eqe_dump; in errorq_drain() 682 dep = eqp->eq_dump = eep; in errorq_drain() 684 dep = dep->eqe_dump = eep; in errorq_drain() 742 errorq_elem_t *eep, *nep, *dep; in errorq_panic_drain() local 814 dep = eqp->eq_dump = eep; in errorq_panic_drain() 816 dep = dep->eqe_dump = eep; in errorq_panic_drain()
|
/titanic_50/usr/src/uts/sun4v/sys/ |
H A D | vdc.h | 156 vd_dring_entry_t *dep = NULL; \ 160 dep = (vd_dring_entry_t *)(uintptr_t) \ 163 ASSERT(dep != NULL); \ 164 dep->hdr.dstate = VIO_DESC_FREE; \ 247 vd_dring_entry_t *dep; /* public Dring Entry Pointer */ member
|
/titanic_50/usr/src/stand/lib/fs/ufs/ |
H A D | ufsops.c | 74 static int boot_ufs_getdents(int fd, struct dirent *dep, unsigned size); 852 boot_ufs_getdents(int fd, struct dirent *dep, unsigned size) in boot_ufs_getdents() argument 933 dep->d_ino = dp->d_ino; in boot_ufs_getdents() 947 (void) strcpy(dep->d_name, dp->d_name); in boot_ufs_getdents() 948 dep->d_off = dir.loc; in boot_ufs_getdents() 949 dep->d_reclen = (ushort_t)n; in boot_ufs_getdents() 951 dep = (struct dirent *) in boot_ufs_getdents() 952 ((char *)dep + n); in boot_ufs_getdents()
|
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | vdc.c | 2649 vd_dring_entry_t *dep = NULL; /* DRing Entry pointer */ in vdc_init_descriptor_ring() local 2740 dep = VDC_GET_DRING_ENTRY_PTR(vdc, i); in vdc_init_descriptor_ring() 2741 dep->hdr.dstate = VIO_DESC_FREE; in vdc_init_descriptor_ring() 2751 vdc->local_dring[i].dep = dep; in vdc_init_descriptor_ring() 2873 vd_dring_entry_t *dep; in vdc_map_to_shared_dring() local 2891 dep = ldep->dep; in vdc_map_to_shared_dring() 2892 ASSERT(dep != NULL); in vdc_map_to_shared_dring() 2894 dep->payload.req_id = VDC_GET_NEXT_REQ_ID(vdcp); in vdc_map_to_shared_dring() 2895 dep->payload.operation = ldep->operation; in vdc_map_to_shared_dring() 2896 dep->payload.addr = ldep->offset; in vdc_map_to_shared_dring() [all …]
|
/titanic_50/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 88 static int boot_hsfs_getdents(int fd, struct dirent *dep, unsigned size); 991 boot_hsfs_getdents(int fd, struct dirent *dep, unsigned size) in boot_hsfs_getdents() argument 1043 (void) strcpy(dep->d_name, hdp->hs_ufs_dir.d_name); in boot_hsfs_getdents() 1044 dep->d_ino = hdp->hs_ufs_dir.d_ino; in boot_hsfs_getdents() 1045 dep->d_off = dir.loc; in boot_hsfs_getdents() 1046 dep->d_reclen = (unsigned short)n; in boot_hsfs_getdents() 1048 dep = (struct dirent *)((char *)dep + n); in boot_hsfs_getdents()
|