/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoec.c | 450 const uint8_t *dp; local 467 dp = POET_DATA(tagp); 510 if (tlen > 0 && *dp == '\0') 518 (void) fprintf(out, "%s:\"%.*s\" ", str, tlen, dp); 525 (void) fprintf(out, "%02X", *dp++); 531 if (*dp++ != 0) { 532 (void) fprintf(out, "(%02X?)", dp[-1]); 534 (void) fprintf(out, "%x-%x-%x:", dp[0], dp[1], 535 dp[ [all...] |
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs_map.c | 1814 logmap_logscan_add(ml_unit_t *ul, struct delta *dp, off_t lof, size_t *nbp) argument 1825 if ((dp->d_typ <= DT_NONE) || (dp->d_typ >= DT_MAX)) 1827 if (dp->d_typ == DT_COMMIT) { 1828 if (dp->d_nb != INT32_C(0) && dp->d_nb != INT32_C(-1)) 1832 if ((dp->d_nb < INT32_C(0)) || 1833 (dp->d_nb > INT32_C(MAPBLOCKSIZE))) 1837 if (dp->d_mof < INT64_C(0)) 1849 if (dp [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_ioctl.c | 493 dsl_pool_t *dp; local 503 error = dsl_pool_hold(name, FTAG, &dp); 507 error = dsl_dataset_hold(dp, name, FTAG, &ds); 509 dsl_pool_rele(dp, FTAG); 516 dsl_pool_rele(dp, FTAG); 700 dsl_pool_t *dp; local 712 error = dsl_pool_hold(zc->zc_name, FTAG, &dp); 716 error = dsl_dataset_hold_obj(dp, zc->zc_sendobj, FTAG, &ds); 718 dsl_pool_rele(dp, FTAG); 727 dsl_pool_rele(dp, FTA 909 dsl_pool_t *dp; local 2317 dsl_pool_t *dp = os->os_dsl_dataset->ds_dir->dd_pool; local 4418 dsl_pool_t *dp; local 4439 dsl_pool_t *dp; local 4498 dsl_pool_t *dp; local 5319 dsl_pool_t *dp; local 5360 dsl_pool_t *dp; local 5481 dsl_pool_t *dp; local [all...] |
H A D | spa_misc.c | 553 spa_config_dirent_t *dp; local 632 dp = kmem_zalloc(sizeof (spa_config_dirent_t), KM_SLEEP); 633 dp->scd_path = altroot ? NULL : spa_strdup(spa_config_path); 634 list_insert_head(&spa->spa_config_list, dp); 688 spa_config_dirent_t *dp; local 704 while ((dp = list_head(&spa->spa_config_list)) != NULL) { 705 list_remove(&spa->spa_config_list, dp); 706 if (dp->scd_path != NULL) 707 spa_strfree(dp->scd_path); 708 kmem_free(dp, sizeo 1570 dsl_pool_t *dp = spa_get_dsl(spa); local [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_cc.c | 296 dtrace_difo_t *dp = dt_zalloc(dtp, sizeof (dtrace_difo_t)); local 298 if (dp == NULL) 301 dp->dtdo_buf = dt_alloc(dtp, sizeof (dif_instr_t) * 2); 302 dp->dtdo_inttab = dt_alloc(dtp, sizeof (uint64_t)); 304 if (dp->dtdo_buf == NULL || dp->dtdo_inttab == NULL) { 305 dt_difo_free(dtp, dp); 309 dp->dtdo_buf[0] = DIF_INSTR_SETX(0, 1); /* setx DIF_INTEGER[0], %r1 */ 310 dp->dtdo_buf[1] = DIF_INSTR_RET(1); /* ret %r1 */ 311 dp 634 dtrace_difo_t *dp; local 2148 struct dirent *dp; local [all...] |
H A D | dt_subr.c | 722 dt_difo_free(dtrace_hdl_t *dtp, dtrace_difo_t *dp) argument 724 if (dp == NULL) 727 dt_free(dtp, dp->dtdo_buf); 728 dt_free(dtp, dp->dtdo_inttab); 729 dt_free(dtp, dp->dtdo_strtab); 730 dt_free(dtp, dp->dtdo_vartab); 731 dt_free(dtp, dp->dtdo_kreltab); 732 dt_free(dtp, dp->dtdo_ureltab); 733 dt_free(dtp, dp->dtdo_xlmtab); 735 dt_free(dtp, dp); [all...] |
/illumos-gate/usr/src/uts/i86pc/io/acpi_drv/ |
H A D | acpi_drv.c | 861 acpi_drv_obj_copy(ACPI_OBJECT *op, char *bp, struct obj_desc *dp) argument 867 for (; dp->offset != -1; dp++) { 868 fp = bp + dp->offset; 869 if (dp->type == ACPI_TYPE_INTEGER && 870 ep->Type == dp->type) { 872 if (dp->size <= 4) { 874 dp->name, 879 dp->name, (uint64_t)ep->Integer.Value); 883 dp [all...] |
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | restore.c | 997 struct dirent *dp = NULL; local 1048 while ((dp = readdir(dirp)) != NULL) { 1049 if ((dp->d_name[0] == '.' && dp->d_name[1] == '\0') || 1050 (dp->d_name[0] == '.' && dp->d_name[1] == '.' && 1051 dp->d_name[2] == '\0')) 1053 if ((renameat(fromdir, dp->d_name, todir, dp->d_name)) == -1) { 1056 from, dp [all...] |
H A D | utilities.c | 861 struct direct *dp; local 914 while ((dp = rst_readdir(dirp)) != NULL && dp->d_ino != 0) { 915 if (!dflag && BIT(dp->d_ino, dumpmap) == 0) 917 if ((*dp->d_name == '.' && *cs != '.')) 919 (void) mbstowcs(w_fname, dp->d_name, PATH_MAX); 922 if (addg(dp, s, rescan, ap) < 0) { 1038 addg(struct direct *dp, char *as1, char *as3, struct arglist *ap) argument 1055 s1 = dp->d_name; 1068 if (mkentry(buf, dp [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/ |
H A D | cfga_sata.c | 260 DIR *dp; local 274 if ((dp = opendir(basedir)) == NULL) { 297 while (!found && (err = readdir_r(dp, dep, &newdep)) == 0 && 362 (void) closedir(dp); 373 if (dp) 374 (void) closedir(dp); 1246 DIR *dp = NULL; local 1276 if ((dp = opendir(devpath)) == NULL) { 1292 while ((err = readdir_r(dp, dep, &newdep)) == 0 && 1336 (void) closedir(dp); [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge_flash.c | 81 qlge_dump_fcode(qlge_t *qlge, uint8_t *dp, uint32_t size, uint32_t startpos) argument 119 *dp++ = LSB(LSW(data)); 120 *dp++ = MSB(LSW(data)); 121 *dp++ = LSB(MSW(data)); 122 *dp++ = MSB(MSW(data)); 133 ql_erase_and_write_to_flash(qlge_t *qlge, uint8_t *dp, uint32_t size, argument 178 fdata = *dp++; 179 fdata |= *dp++ << 8; 180 fdata |= *dp++ << 16; 181 fdata |= *dp 219 qlge_load_flash(qlge_t *qlge, uint8_t *dp, uint32_t len, uint32_t faddr) argument [all...] |
/illumos-gate/usr/src/cmd/zic/ |
H A D | zic.c | 1274 register char *dp; local 1284 dp = ecpyalloc(timep); 1285 if (*dp != '\0') { 1286 ep = dp + strlen(dp) - 1; 1307 rp->r_tod = gethms(dp, gettext("invalid time of day"), FALSE); 1308 ifree(dp); 1391 dp = ecpyalloc(dayp); 1392 if ((lp = byword(dp, lasts)) != NULL) { 1397 if ((ep = strchr(dp, '<')) ! 2070 register char *dp; local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 194 drmach_device_t *dp; member in struct:__anon9889 943 drmach_device_t *dp; local 953 dp = id; 954 rdip = dp->node->n_getdip(dp->node); 999 * dp and err are initialized here to yield nothing (no device or 1919 drmach_device_t *dp; local 1923 dp = &cp->dev; 1925 stat->assigned = dp->bp->assigned; 1926 stat->powered = dp 2003 drmach_device_t *dp; local 2016 drmach_device_t *dp; local 2189 drmach_device_t *dp; local 2462 drmach_mem_t *dp; local 2684 drmach_device_t *dp; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | init.c | 273 Namfun_t *dp = (Namfun_t*)malloc(sizeof(Namfun_t)); local 274 memcpy((void*)dp,(void*)fp,sizeof(Namfun_t)); 276 dp->nofree = 0; 277 return(dp); 551 if(!np->nvalue.dp) 555 np->nvalue.dp = new_of(double,0); 558 d = *np->nvalue.dp; 560 *np->nvalue.dp = dtime(&tp)-d; 568 double d, offset = (np->nvalue.dp?*np->nvalue.dp 1348 Dt_t *dp; local [all...] |
H A D | args.c | 109 static int infof(Opt_t* op, Sfio_t* sp, const char* s, Optdisc_t* dp) argument 521 register struct dolnod *dp; local 528 dp=new_of(struct dolnod,n*sizeof(char*)+size+n); 529 dp->dolrefcnt=1; /* use count */ 530 dp->dolnum = n; 531 dp->dolnxt = 0; 532 pp = dp->dolval; 533 sp = (char*)dp + sizeof(struct dolnod) + n*sizeof(char*); 540 return(dp);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 76 struct dinode *dp; variable in typeref:struct:dinode 508 dp = NULL; 633 if (dp == NULL || ++dp >= &itab[ITABSZ]) { 637 dp = &itab[(int)ino % (int)INOPB(&sblock)]; 641 return (dp);
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | regex.c | 153 char *sep, *dp; local 211 if (!(dp = (char *)__advance(lp, ep))) break; 213 (void) __xpush(1, lp = dp);
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_door.c | 82 void *dp; local 88 dp = (char *)phdr + phdr->data_off; 89 (void) memmove(outdata, dp, phdr->data_len);
|
/illumos-gate/usr/src/cmd/printf/ |
H A D | printf.c | 593 getfloating(long double *dp, int mod_ldbl) argument 599 *dp = 0.0; 603 *dp = asciicode(); 609 *dp = strtold(*gargv, &ep); 611 *dp = strtod(*gargv, &ep);
|
/illumos-gate/usr/src/cmd/bdiff/ |
H A D | bdiff.c | 92 char *olp, *nlp, *dp; local 300 while ((dp = readline(&diffline, &dbufsiz, pipeinp))) { 301 if (isdigit(*dp))
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | expound.c | 814 "%s\tcmd=%s timout=%d len=%d dp=0x%.8lX\n", 837 "%s\tcmd=%s timout=%d len=%d dp=0x%.8lX\n", 3279 struct dirent32 *dp; local 3295 dp = (struct dirent32 *)&buf[0]; 3296 if (nb < (int)(dp->d_name - (char *)dp)) 3298 if ((unsigned)nb < dp->d_reclen) { 3303 dp->d_ino, 3304 dp->d_off, 3305 dp 3337 struct dirent64 *dp; local [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | xattr.c | 1357 gfs_dir_t *dp = dvp->v_data; local 1370 error = gfs_readdir_init(&gstate, dp->gfsd_maxlen, 1, 1379 if (off >= 0 && off < dp->gfsd_nstatic) { 1390 dp->gfsd_static[off].gfse_name, 1395 ino = dp->gfsd_inode(dvp, off); 1398 ino, dp->gfsd_static[off].gfse_name, 1661 gfs_dir_t *dp = (*vpp)->v_data; local 1666 mutex_destroy(&dp->gfsd_lock); 1667 kmem_free(dp->gfsd_static, 1668 dp [all...] |
/illumos-gate/usr/src/cmd/power/ |
H A D | sys-suspend.c | 492 struct dirent *dp; local 534 while ((dp = readdir(dirp)) != NULL) { 535 if (strstr(dp->d_name, ".Xauth") != NULL) { 537 (void) sprintf(filepath, "%s/%s", DT_TMP, dp->d_name);
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | parseproto.h | 256 extern int decl_IsVarargs(decl_t *dp);
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | dsr.c | 473 struct dirent *dp; local 488 while ((dp = readdir(dirp)) != NULL) { 492 (void) strcpy(p, dp->d_name); 502 mdsetname = safe_strdup(dp->d_name);
|