/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_dispq.c | 48 dep->dq_link = NULL; 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() 76 fmd_free(dep->dq_hash, sizeof (void *) * dep->dq_hashlen); in fmd_dispqelem_destroy() 87 for (dep = dep->dq_hash[h]; dep != NULL; dep = dep->dq_link) { in fmd_dispqelem_lookup() 92 return (dep); in fmd_dispqelem_lookup() 133 dep->dq_refs++; in fmd_dispq_insert_one() 153 dep = fmd_dispq_insert_one(dep, p); in fmd_dispq_insert() 159 dep->dq_refs++; in fmd_dispq_insert() [all …]
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | getdents4.c | 194 dep->d_name[0] = '.'; 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() 212 dep->d_ino = fileid; in nfs4getdents() 213 dep->d_off = 2; in nfs4getdents() 215 dep->d_reclen = n; in nfs4getdents() 216 dep = (struct dirent *)((char *)dep + n); in nfs4getdents() [all …]
|
H A D | getdents.c | 83 nfsgetdents(struct nfs_file *nfp, struct dirent *dep, unsigned size) in nfsgetdents() argument 171 (void) strlcpy(dep->d_name, ep->name, in nfsgetdents() 173 dep->d_ino = ep->fileid; in nfsgetdents() 175 dep->d_off = offset; in nfsgetdents() 176 dep->d_reclen = (ushort_t)n; in nfsgetdents() 178 dep = (struct dirent *)((char *)dep + n); in nfsgetdents()
|
H A D | getdents3.c | 83 nfs3getdents(struct nfs_file *nfp, struct dirent *dep, unsigned size) in nfs3getdents() argument 172 (void) strlcpy(dep->d_name, ep->name, in nfs3getdents() 174 dep->d_ino = ep->fileid; in nfs3getdents() 175 dep->d_off = (off_t)ep->cookie; in nfs3getdents() 176 dep->d_reclen = (ushort_t)n; in nfs3getdents() 178 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()
|
/illumos-gate/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() 209 d_entry **dep; in la_pltexit64() local 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() 234 ((*dep)->d_count)++; in la_pltexit64() 246 total_time += dep->d_time; in scanlist() 247 list_insert(dep); in scanlist() [all …]
|
/illumos-gate/usr/src/cmd/loadkeys/ |
H A D | loadkeys.y | 138 dupentry *dep; in main() local 255 for (dep = firstswap; dep != NULL; dep = dep->de_next) { in main() 265 for (dep = firstduplicate; dep != NULL; dep = dep->de_next) { in main() 407 register dupentry *dep; local 413 firstduplicate = dep; 416 lastduplicate = dep; 417 dep->de_next = NULL; 431 register dupentry *dep; local 437 firstswap = dep; 440 lastswap = dep; [all …]
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | mkdevalloc.c | 261 while (dep = readdir(dirp)) { in dotape() 320 while (dep = readdir(dirp)) { in dotape() 469 while (dep = readdir(dirp)) { in doaudio() 521 while (dep = readdir(dirp)) { in doaudio() 535 strlen(dep->d_name) + 1); in doaudio() 543 strlen(dep->d_name) + 1); in doaudio() 675 while (dep = readdir(dirp)) { in dofloppy() 844 while (dep = readdir(dirp)) { in docd() 904 while (dep = readdir(dirp)) { in docd() 955 while (dep = readdir(dirp)) { in docd() [all …]
|
/illumos-gate/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 …]
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | nse_printdep.cc | 156 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 | 322 Dependency dep; in dump_make_state() local 379 for (dep = suffixes; dep != NULL; dep = dep->next) { in dump_make_state() 380 (void) printf(" %s", dep->name->string_mb); in dump_make_state() 381 build_suffix_list(dep->name); in dump_make_state()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 156 dep->de_nsym++; in prepare_elf32() 159 dep->de_nsym++; in prepare_elf32() 162 if ((dep->de_rel = calloc(dep->de_nrel, in prepare_elf32() 168 free(dep->de_rel); in prepare_elf32() 172 if ((dep->de_strtab = calloc(dep->de_strlen, 1)) == NULL) { in prepare_elf32() 181 rel = dep->de_rel; in prepare_elf32() 182 sym = dep->de_sym; in prepare_elf32() 332 dep->de_nsym++; in prepare_elf64() 335 dep->de_nsym++; in prepare_elf64() 338 if ((dep->de_rel = calloc(dep->de_nrel, in prepare_elf64() [all …]
|
/illumos-gate/usr/src/pkg/ |
H A D | Makefile | 253 DEP_PKGS= $(PKGS:%=$(PDIR)/%.dep) 408 for p in $(DEP_PKGS:%.dep=%); do \ 409 $(CP) $$p.dep $$p.res; \ 415 for p in $(DEP_SYNTH_PKGS:%.dep=%) $(DEP_PKGS:%.dep=%); do \ 422 strip_versions $$p.dep.res; \ 423 $(RM) $$p.dep.res; \ 425 $(MV) $$p.dep.res $$p.res; \ 521 .SUFFIXES: .p5m .mog .dep .res .fin .pub 549 $(PDIR)/%.dep: $(PDIR)/%.mog 616 $(DEP_SYNTH_PKGS): $$(@:%.dep=%.mog) [all …]
|
/illumos-gate/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 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() 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() 136 } else if (dep->sadei_eip) { in ses2_aes_index() 137 if (dep->sadei_element_index == index) { in ses2_aes_index() 139 return (dep); in ses2_aes_index() [all …]
|
H A D | ses2_element.c | 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() 683 dep->sadei_protocol_specific; in elem_parse_aes_device() 786 if (dep->sadei_invalid) in elem_parse_aes_expander() 852 if (dep->sadei_invalid) in elem_parse_aes_misc() 857 dep->sadei_protocol_specific; in elem_parse_aes_misc() 931 ses2_aes_descr_eip_impl_t *dep; in elem_parse_aes() local [all …]
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | dnlc.c | 1106 dcentry_t *dep; in dnlc_dir_lookup() local 1138 dep = dep->de_next; in dnlc_dir_lookup() 1261 if (dep == NULL) { in dnlc_dir_add_entry() 1272 if (dep != NULL) in dnlc_dir_add_entry() 1282 if (dep == NULL) { in dnlc_dir_add_entry() 1344 *hp = dep; in dnlc_dir_add_entry() 1485 nhp = dep; in dnlc_dir_abort() 1745 dcentry_t *dep; in dnlc_dir_update() local 1768 dep = dep->de_next; in dnlc_dir_update() 1915 tep = dep; in dnlc_dir_adjust_nhash() [all …]
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4500/common/ |
H A D | loki.c | 38 ses2_aes_descr_eip_impl_t *dep; in sun_loki_fix_bay() local 54 if ((dep = ses_plugin_page_lookup(sp, ses_node_snapshot(np), in sun_loki_fix_bay() 58 if (dep->sadei_protocol_identifier != SPC4_PROTO_SAS || in sun_loki_fix_bay() 59 !dep->sadei_eip || !dep->sadei_invalid) in sun_loki_fix_bay() 62 s0ep = (ses2_aes_descr_sas0_eip_impl_t *)dep->sadei_protocol_specific; in sun_loki_fix_bay()
|
/illumos-gate/usr/src/uts/intel/io/dktp/dcdev/ |
H A D | dadk.c | 550 dadk_errstats_t *dep; in dadk_create_errstats() local 574 kstat_named_init(&dep->dadk_model, in dadk_create_errstats() 578 kstat_named_init(&dep->dadk_serial, in dadk_create_errstats() 598 dep->dadk_model.value.c[0] = 0; in dadk_create_errstats() 605 dep->dadk_serial.value.c[0] = 0; in dadk_create_errstats() 612 dep->dadk_revision.value.c[0] = 0; in dadk_create_errstats() 616 dep->dadk_capacity.value.ui64 = in dadk_create_errstats() 1384 dadk_errstats_t *dep; in dadk_chkerr() local 1389 dep = (dadk_errstats_t *) in dadk_chkerr() 1407 dep->dadk_softerrs.value.ui32++; in dadk_chkerr() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | options.c | 1407 dep->de_name = *dnp; in organize_state() 1440 dep->de_services; in organize_state() 1443 dep++; in organize_state() 1914 for (; dep < depe; dep++) in locate_service() 1918 else if (dep->de_name[0] == '*' && dep->de_name[1] == '\0') in locate_service() 1919 wdep = dep; in locate_service() 1920 if (dep >= depe) in locate_service() 1921 dep = wdep; in locate_service() 1927 if (dep == NULL || dep->de_services == NULL || dep->de_nservices <= 0) in locate_service() 1937 sepp = dep->de_services; in locate_service() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | errorq.c | 587 errorq_elem_t *eep, *dep; in errorq_drain() local 652 dep = eqp->eq_dump; in errorq_drain() 653 if (panicstr && dep != NULL) { in errorq_drain() 654 while (dep->eqe_dump != NULL) in errorq_drain() 655 dep = dep->eqe_dump; in errorq_drain() 683 dep = eqp->eq_dump = eep; in errorq_drain() 685 dep = dep->eqe_dump = eep; in errorq_drain() 743 errorq_elem_t *eep, *nep, *dep; in errorq_panic_drain() local 748 dep = NULL; in errorq_panic_drain() 816 dep = eqp->eq_dump = eep; in errorq_panic_drain() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/ |
H A D | cfga_sata.c | 263 struct dirent *dep, *newdep; in physpath_to_devlink() local 302 assert(newdep == dep); in physpath_to_devlink() 363 free(dep); in physpath_to_devlink() 377 if (dep) in physpath_to_devlink() 378 free(dep); in physpath_to_devlink() 1291 if (dep == NULL) in sata_make_dyncomp() 1297 assert(newdep == dep); in sata_make_dyncomp() 1339 free(dep); in sata_make_dyncomp() 1343 dep = NULL; in sata_make_dyncomp() 1405 if (dep) in sata_make_dyncomp() [all …]
|
/illumos-gate/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
|
/illumos-gate/usr/src/stand/lib/fs/ufs/ |
H A D | ufsops.c | 75 static int boot_ufs_getdents(int fd, struct dirent *dep, unsigned size); 853 boot_ufs_getdents(int fd, struct dirent *dep, unsigned size) in boot_ufs_getdents() argument 934 dep->d_ino = dp->d_ino; in boot_ufs_getdents() 948 (void) strlcpy(dep->d_name, dp->d_name, in boot_ufs_getdents() 950 dep->d_off = dir.loc; in boot_ufs_getdents() 951 dep->d_reclen = (ushort_t)n; in boot_ufs_getdents() 953 dep = (struct dirent *) in boot_ufs_getdents() 954 ((char *)dep + n); in boot_ufs_getdents()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vdc.c | 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() 3570 dep = ldep->dep; in vdc_depopulate_descriptor() 3571 ASSERT(dep != NULL); in vdc_depopulate_descriptor() 3578 status = dep->payload.status; in vdc_depopulate_descriptor() 3599 if (dep->payload.nbytes > 0) in vdc_depopulate_descriptor() 3601 dep->payload.nbytes); in vdc_depopulate_descriptor() 3656 dep = ldep->dep; in vdc_populate_mem_hdl() [all …]
|
/illumos-gate/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) strlcpy(dep->d_name, hdp->hs_ufs_dir.d_name, in boot_hsfs_getdents() 1045 dep->d_ino = hdp->hs_ufs_dir.d_ino; in boot_hsfs_getdents() 1046 dep->d_off = dir.loc; in boot_hsfs_getdents() 1047 dep->d_reclen = (unsigned short)n; in boot_hsfs_getdents() 1049 dep = (struct dirent *)((char *)dep + n); in boot_hsfs_getdents()
|