/osnet-11/usr/src/lib/libshadowfs/common/ |
H A D | shadow_control.c | 37 struct dirent *dp; local 44 while ((dp = readdir(dir)) != NULL) { 45 if (strcmp(dp->d_name, ".") == 0 || 46 strcmp(dp->d_name, "..") == 0) 50 "%s/%s", path, dp->d_name);
|
/osnet-11/usr/src/lib/libpower/i386/ |
H A D | pm_se.c | 86 kstat_named_t *dp; local 123 dp = kstat_data_lookup(ksp, name); 125 if (dp == NULL) { 141 if (dp->value.l >= 1) { 144 __FUNCTION__, name, dp->value.l);
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | readdir.c | 61 dirent_t *dp; /* -> directory data */ local 65 dp = (dirent_t *)(uintptr_t)&dirp->d_buf[dirp->d_loc]; 67 dirp->d_loc += (int)dp->d_reclen;
|
H A D | telldir.c | 55 dirent_t *dp; local 61 dp = (dirent_t *)(uintptr_t)(&dirp->d_buf[dirp->d_loc]); 62 off = dp->d_off;
|
H A D | readdir_r.c | 58 dirent_t *dp; /* -> directory data */ local 63 dp = (dirent_t *)(uintptr_t)&dirp->d_buf[dirp->d_loc]; 65 dirp->d_loc += (int)dp->d_reclen; 85 dp = (dirent_t *)(uintptr_t)&dirp->d_buf[dirp->d_loc]; 86 (void) memcpy(entry, dp, (size_t)dp->d_reclen);
|
H A D | seekdir.c | 53 dirent_t *dp; local 58 dp = (dirent_t *)(uintptr_t)&dirp->d_buf[dirp->d_loc]; 59 off = dp->d_off;
|
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/pcibus/common/ |
H A D | pci_i86pc.c | 60 parent_is_rc(topo_mod_t *mod, did_t *dp) argument 62 return (strcmp(topo_node_name(did_gettnode(dp)), PCIEX_ROOT) == 0); 71 ba_is_2(topo_mod_t *mod, did_t *dp) argument 77 ptp = did_gettnode(dp); 100 ba_is_4(topo_mod_t *mod, did_t *dp) argument 106 ptp = did_gettnode(dp);
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4u/pcibus/common/ |
H A D | pci_sun4u.c | 65 sunfire_test_func(topo_mod_t *mod, did_t *dp) argument 72 tp = did_gettnode(dp); 75 topo_mod_dprintf(mod, "%s: dp=0x%p, tp=0x%p\n", 76 __func__, dp, tp); 81 binding_name = di_binding_name(did_dinode(dp)); 95 n = di_compatible_names(did_dinode(dp), &compatible_names); 112 (dp = did_find(mod, topo_node_getspecific(tp))) == NULL) {
|
/osnet-11/usr/src/cmd/sendmail/db/os/ |
H A D | os_dir.c | 52 struct dirent *dp; local 63 for (arraysz = cnt = 0; (dp = readdir(dirp)) != NULL; ++cnt) { 70 if ((ret = __os_strdup(dp->d_name, &names[cnt])) != 0)
|
/osnet-11/usr/src/lib/libuvfs/common/ |
H A D | dir.c | 50 dirent64_t *dp; local 59 dp = (dirent64_t *)data_buf; 60 *cookie = (void *)dp; 62 dp = (dirent64_t *)*cookie; 69 dp->d_ino = ino; 70 dp->d_reclen = reclen; 71 dp->d_off = (off == -1) ? (uintptr_t)*cookie - (uintptr_t)data_buf : 73 (void) strlcpy(dp->d_name, name, DIRENT64_NAMELEN(reclen));
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | sdssc_bind.c | 134 void *dp; local 151 if ((dp = dlopen(SDSSC_PATH, RTLD_LAZY)) == NULL) { 161 if ((lb = (int (*)())dlsym(dp, "_bind_library")) != NULL) { 174 if ((*ftp->fptr = dlsym(dp, ftp->fname)) == NULL) {
|
/osnet-11/usr/src/lib/sun_fc/common/ |
H A D | HBANPIVPort.cc | 73 DIR *dp; local 81 if ((dp = opendir(dir)) == NULL) { 91 while ((readdir_r(dp, dirp, dirpp)) == 0 && dirp != NULL) { 103 closedir(dp); 110 closedir(dp);
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_negprot.c | 104 struct smb_dialect *dp; local 165 for (dp = smb_dialects; dp->d_id != -1; dp++) { 167 smbfs_mb_put_astring(mbp, dp->d_name); 199 dp = smb_dialects + dindex; 200 sv->sv_proto = dp->d_id; 201 DPRINT("Dialect %s", dp->d_name); 202 if (dp->d_id < NTLM_0_12) { 204 DPRINT("old dialect %s", dp [all...] |
/osnet-11/usr/src/lib/libast/common/path/ |
H A D | pathfind.c | 56 register Dir_t* dp; local 61 for (dp = state.head; dp; dp = dp->next) 62 if (streq(dir, dp->dir)) 64 if (!(dp = oldof(0, Dir_t, 1, strlen(dir)))) 66 strcpy(dp->dir, dir); 67 dp->next = 0; 69 state.tail = state.tail->next = dp; 87 register Dir_t* dp; local [all...] |
/osnet-11/usr/src/lib/libast/common/regex/ |
H A D | regsub.c | 35 subold(register Sfio_t* dp, const char* op, register const char* sp, size_t nmatch, register regmatch_t* match, register regflags_t flags, int sre) argument 53 sfputc(dp, c); 62 sfputc(dp, chresc(sp - 1, &s)); 69 sfputc(dp, c); 76 sfputc(dp, c); 99 sfputc(dp, c); 128 sfputc(dp, c); 146 sfputc(dp, c); 190 sfputc(dp, chresc(sp - 2, &s)); 203 sfputc(dp, * 242 regsub(const regex_t* p, Sfio_t* dp, const char* op, const char* sp, size_t nmatch, regmatch_t* match, regflags_t flags) argument [all...] |
/osnet-11/usr/src/lib/libast/common/stdio/ |
H A D | vfwscanf.c | 39 wideexcept(Sfio_t* f, int op, void* val, Sfdisc_t* dp) argument 52 free(dp); 65 wideread(Sfio_t* f, Void_t* buf, size_t size, Sfdisc_t* dp) argument 67 register Wide_t* w = (Wide_t*)dp;
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | cd_pwd.c | 56 register const char *dp; local 101 if(!(cdpath = (Pathcomp_t*)shp->cdpathlist) && (dp=sh_scoped(shp,CDPNOD)->nvalue.cp)) 103 if(cdpath=path_addpath(shp,(Pathcomp_t*)0,dp,PATH_CDPATH)) 115 if(*(dp=dir+1) == '.') 116 dp++; 117 if(*dp==0 || *dp=='/') 123 dp = cdpath?cdpath->name:""; 177 dp = dir; /* print out directory for cd - */ 189 if(*dp [all...] |
H A D | ulimit.c | 51 static int infof(Opt_t* op, Sfio_t* sp, const char* s, Optdisc_t* dp) argument
|
/osnet-11/usr/src/lib/libcrypt/common/ |
H A D | des.c | 104 struct desparams dp; local 106 dp.des_mode = CBC; 107 COPY8(ivec, dp.des_ivec); 108 err = common_crypt(key, buf, len, mode, &dp); 109 COPY8(dp.des_ivec, ivec); 124 struct desparams dp; local 126 dp.des_mode = ECB; 127 ret = common_crypt(key, buf, len, mode, &dp);
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | alias.c | 53 alias_get_attributes(descriptor_t *dp, int *errp) argument 61 for (ap = dp->p.disk->aliases; ap != NULL; ap = ap->next) { 62 if (libdiskmgt_str_eq(dp->name, ap->alias_cxtydz) || 63 libdiskmgt_str_eq(dp->name, ap->alias_did)) { 99 if ((*errp = get_status(dp->p.disk, fd, attrs)) != 0) { 161 alias_get_stats(descriptor_t *dp, int stat_type, int *errp) argument 171 disk_t *dp; local 176 dp = cache_get_disklist(); 177 while ((error == 0) && (dp != NULL)) { 180 ap = dp [all...] |
H A D | bus.c | 53 bus_get_attributes(descriptor_t *dp, int *errp) argument 63 bp = dp->p.bus; 135 bus_get_stats(descriptor_t *dp, int stat_type, int *errp) argument
|
/osnet-11/usr/src/lib/libipmi/common/ |
H A D | ipmi_misc.c | 75 ipmi_deviceid_t *dp; local 84 if ((dp = ipmi_get_deviceid(ihp)) == NULL) 91 ipmi_convert_bcd(dp->id_firm_major), 92 ipmi_convert_bcd(dp->id_firm_minor)); 94 if (ipmi_is_sun_ilom(dp) && 101 auxrev = (uint8_t *)dp + sizeof (ipmi_deviceid_t); 127 ipmi_deviceid_t *dp; local 130 if ((dp = ipmi_get_deviceid(ihp)) == NULL) 133 if (! ipmi_is_sun_ilom(dp)) 139 *major = ipmi_convert_bcd(dp [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/ |
H A D | pi_defer.c | 119 pi_defernode_t *dp; local 137 dp = (pi_defernode_t *)dvp; 138 mde_node = dp->mde_node; 139 t_parent = dp->t_parent; 140 t_node = dp->t_node; 141 private = dp->private; 142 func = dp->func; 149 uu_list_node_fini(dp, &(dp->defer_node), defer_pool); 150 topo_mod_free(mod, dp, sizeo [all...] |
/osnet-11/usr/src/lib/libadm/common/ |
H A D | fulldevnm.c | 197 char *dp; local 204 if ((dp = strstr(cp, "/rfd")) != NULL) { 208 c = *++dp; /* save the 'r' */ 209 *dp = '\0'; /* replace it with a null */ 211 *dp++ = c; /* give the 'r' back */ 212 (void) strcat(new_path, dp); /* copy, skipping the 'r' */ 222 if ((dp = strstr(cp, "/rdiskette")) != NULL) { 226 c = *++dp; /* save the 'r' */ 227 *dp = '\0'; /* replace it with a null */ 229 *dp 250 char *dp; local 339 char *dp; local 421 char *dp; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | printf-parse.c | 139 DIRECTIVE *dp = &d->dir[d->count]; /* pointer to next directive */ local 142 dp->dir_start = cp - 1; 143 dp->flags = 0; 144 dp->width_start = NULL; 145 dp->width_end = NULL; 146 dp->width_arg_index = ARG_NONE; 147 dp->precision_start = NULL; 148 dp->precision_end = NULL; 149 dp->precision_arg_index = ARG_NONE; 150 dp [all...] |