/openbsd-current/sbin/fsck_ext2fs/ |
H A D | inode.c | 87 inosize(struct ext2fs_dinode *dp) argument 89 u_int64_t size = letoh32(dp->e2di_size); 91 if ((letoh16(dp->e2di_mode) & IFMT) == IFREG) 92 size |= (u_int64_t)letoh32(dp->e2di_size_hi) << 32; 99 inossize(struct ext2fs_dinode *dp, u_int64_t size) argument 101 if ((letoh16(dp->e2di_mode) & IFMT) == IFREG) { 102 dp->e2di_size_hi = htole32(size >> 32); 108 (unsigned long long)size, letoh16(dp->e2di_mode) & IFMT); 111 dp->e2di_size = htole32(size); 115 ckinode(struct ext2fs_dinode *dp, struc argument 209 struct ext2fs_dinode *dp; local 361 struct ext2fs_dinode *dp; local 430 cacheino(struct ext2fs_dinode *dp, ino_t inumber) argument 509 struct ext2fs_dinode *dp; local 561 struct ext2fs_dinode *dp; local 623 struct ext2fs_dinode *dp; local 675 struct ext2fs_dinode *dp; local [all...] |
/openbsd-current/sbin/mount_vnd/ |
H A D | mount_vnd.c | 66 struct disklabel *dp = NULL; local 84 dp = getdiskbyname(optarg); 85 if (dp == NULL) 114 rv = config(argv[1], argv[0], dp, key, keylen); 187 config(char *dev, char *file, struct disklabel *dp, char *key, size_t keylen) argument 199 vndio.vnd_secsize = (dp && dp->d_secsize) ? dp->d_secsize : DEV_BSIZE; 200 vndio.vnd_nsectors = (dp && dp [all...] |
/openbsd-current/sys/dev/acpi/ |
H A D | abl.c | 189 abl_get_param(struct wsdisplay_param *dp) argument 196 switch (dp->param) { 200 dp->min = ABL_BRIGHTNESS_MIN; 201 dp->max = ABL_BRIGHTNESS_MAX; 202 dp->curval = sc->sc_brightness; 210 abl_set_param(struct wsdisplay_param *dp) argument 217 switch (dp->param) { 219 DPRINTF(("abl_set_param: curval = %d\n", dp->curval)); 220 if (dp->curval < ABL_BRIGHTNESS_MIN) 221 dp [all...] |
/openbsd-current/usr.sbin/netgroup_mkdb/ |
H A D | stringlist.c | 234 char *sp, *ep, *dp; local 245 for (dp = ep; *dp && *dp != del && _NG_ISSPACE(*dp); dp++) 248 if (*dp != del) { 253 *pp = ++dp; 257 dp = malloc(del); 258 if (dp [all...] |
/openbsd-current/sbin/fsck_ffs/ |
H A D | inode.c | 59 ckinode(union dinode *dp, struct inodesc *idesc) argument 71 idesc->id_filesize = DIP(dp, di_size); 72 mode = DIP(dp, di_mode) & IFMT; 74 DIP(dp, di_size) < sblock.fs_maxsymlinklen)) 77 dino.dp1 = dp->dp1; 79 dino.dp2 = dp->dp2; 96 dp = ginode(idesc->id_number); 97 DIP_SET(dp, di_size, 132 dp = ginode(idesc->id_number); 133 DIP_SET(dp, di_siz 158 union dinode *dp; local 316 union dinode *dp; local 392 cacheino(union dinode *dp, ino_t inumber) argument 478 union dinode *dp; local 526 union dinode *dp; local 586 union dinode *dp; local 677 union dinode *dp; local [all...] |
/openbsd-current/usr.bin/mandoc/ |
H A D | tbl_data.c | 41 getdata(struct tbl_node *tbl, struct tbl_span *dp, argument 64 cp = dp->last == NULL ? dp->layout->first : dp->last->layout->next; 76 if (dp->layout->last->col + 1 < dp->opts->cols) { 81 dp->layout->last->next = cp; 82 cp->col = dp->layout->last->col + 1; 83 dp->layout->last = cp; 113 pdp = dp; 240 struct tbl_span *dp; local [all...] |
/openbsd-current/sbin/dump/ |
H A D | traverse.c | 60 #define DIP(dp, field) \ 62 (dp)->dp1.field : (dp)->dp2.field) 80 blockest(union dinode *dp) argument 85 * dp->di_size is the size of the file in bytes. 86 * dp->di_blocks stores the number of sectors actually in the file. 98 blkest = howmany(dbtob((int64_t)DIP(dp, di_blocks)), TP_BSIZE); 99 sizeest = howmany((int64_t)DIP(dp, di_size), TP_BSIZE); 102 if (DIP(dp, di_size) > sblock->fs_bsize * NDADDR) { 112 #define CHECKNODUMP(dp) \ 122 union dinode *dp; local 286 union dinode *dp; local 407 struct direct *dp; local 471 dumpino(union dinode *dp, ino_t ino) argument [all...] |
/openbsd-current/gnu/usr.bin/texinfo/intl/ |
H A D | vasnprintf.c | 139 DIRECTIVE *dp; local 207 for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) 209 if (cp != dp->dir_start) 211 size_t n = dp->dir_start - cp; 222 if (dp->conversion == '%') 226 if (!(dp->arg_index == ARG_NONE)) 235 if (!(dp->arg_index != ARG_NONE)) 238 if (dp [all...] |
/openbsd-current/gnu/usr.bin/binutils/binutils/ |
H A D | unwind-ia64.c | 349 #define UNW_DEC_SPILL_MASK(fmt, dp, arg) \ 353 unsigned const char *imaskp = dp; \ 367 dp = imaskp; \ 587 unw_decode_x1 (const unsigned char *dp, unsigned int code ATTRIBUTE_UNUSED, argument 593 byte1 = *dp++; 594 t = unw_decode_uleb128 (&dp); 595 off = unw_decode_uleb128 (&dp); 601 return dp; 605 unw_decode_x2 (const unsigned char *dp, unsigned int code ATTRIBUTE_UNUSED, argument 611 byte1 = *dp 625 unw_decode_x3(const unsigned char *dp, unsigned int code ATTRIBUTE_UNUSED, void *arg ATTRIBUTE_UNUSED) argument 647 unw_decode_x4(const unsigned char *dp, unsigned int code ATTRIBUTE_UNUSED, void *arg ATTRIBUTE_UNUSED) argument 671 unw_decode_r1(const unsigned char *dp, unsigned int code, void *arg) argument 682 unw_decode_r2(const unsigned char *dp, unsigned int code, void *arg) argument 697 unw_decode_r3(const unsigned char *dp, unsigned int code, void *arg) argument 707 unw_decode_p1(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 717 unw_decode_p2_p5(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 796 unw_decode_p6(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 810 unw_decode_p7_p10(const unsigned char *dp, unsigned int code, void *arg) argument 983 unw_decode_b1(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 996 unw_decode_b2(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 1007 unw_decode_b3_x4(const unsigned char *dp, unsigned int code, void *arg) argument 1073 unw_decode(const unsigned char *dp, int inside_body, void *ptr_inside_body) argument [all...] |
/openbsd-current/gnu/usr.bin/binutils-2.17/binutils/ |
H A D | unwind-ia64.c | 349 #define UNW_DEC_SPILL_MASK(fmt, dp, arg) \ 353 unsigned const char *imaskp = dp; \ 367 dp = imaskp; \ 587 unw_decode_x1 (const unsigned char *dp, unsigned int code ATTRIBUTE_UNUSED, argument 593 byte1 = *dp++; 594 t = unw_decode_uleb128 (&dp); 595 off = unw_decode_uleb128 (&dp); 601 return dp; 605 unw_decode_x2 (const unsigned char *dp, unsigned int code ATTRIBUTE_UNUSED, argument 611 byte1 = *dp 625 unw_decode_x3(const unsigned char *dp, unsigned int code ATTRIBUTE_UNUSED, void *arg ATTRIBUTE_UNUSED) argument 647 unw_decode_x4(const unsigned char *dp, unsigned int code ATTRIBUTE_UNUSED, void *arg ATTRIBUTE_UNUSED) argument 671 unw_decode_r1(const unsigned char *dp, unsigned int code, void *arg) argument 682 unw_decode_r2(const unsigned char *dp, unsigned int code, void *arg) argument 697 unw_decode_r3(const unsigned char *dp, unsigned int code, void *arg) argument 707 unw_decode_p1(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 717 unw_decode_p2_p5(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 796 unw_decode_p6(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 810 unw_decode_p7_p10(const unsigned char *dp, unsigned int code, void *arg) argument 983 unw_decode_b1(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 996 unw_decode_b2(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 1007 unw_decode_b3_x4(const unsigned char *dp, unsigned int code, void *arg) argument 1073 unw_decode(const unsigned char *dp, int inside_body, void *ptr_inside_body) argument [all...] |
/openbsd-current/sbin/ncheck_ffs/ |
H A D | ncheck_ffs.c | 79 #define DIP(dp, field) \ 81 ((struct ufs1_dinode *)(dp))->field : \ 82 ((struct ufs2_dinode *)(dp))->field) 162 cacheino(ufsino_t ino, void *dp) argument 177 icache[nicache++].di.dp1 = *(struct ufs1_dinode *)dp; 179 icache[nicache++].di.dp2 = *(struct ufs2_dinode *)dp; 189 void *dp = NULL; local 194 dp = &ic->di.dp1; 196 dp = &ic->di.dp2; 198 return (dp); 210 void *dp; local 238 void *dp; local 347 void *dp; local 418 struct direct *dp; local 619 format_entry(const char *path, struct direct *dp) argument [all...] |
/openbsd-current/sys/arch/alpha/pci/ |
H A D | mcpcia_pci.c | 98 mcpcia_decompose_tag(cpv, tag, bp, dp, fp) 101 int *bp, *dp, *fp; 105 if (dp != NULL) 106 *dp = (tag >> 16) & 0x1f; 124 pcireg_t *dp, data = (pcireg_t) -1; local 141 dp = (pcireg_t *)KV(paddr); 142 if (badaddr(dp, sizeof (*dp)) == 0) { 143 data = *dp; 156 pcireg_t *dp; local [all...] |
/openbsd-current/sys/arch/hppa/stand/libsa/ |
H A D | dev_hppa.c | 68 const struct pdc_devs *dp = pdc_devs; local 81 for (dp = pdc_devs; dp < &pdc_devs[nitems(pdc_devs)]; dp++) 82 if (!strncmp(fname, dp->name, sizeof(dp->name)-1)) 85 if (dp >= &pdc_devs[nitems(pdc_devs)] || dp->dev_type < 0) 89 printf("%s\n", dp->name); 102 if ((rc = (*devsw[dp [all...] |
/openbsd-current/usr.sbin/unbound/iterator/ |
H A D | iter_utils.h | 90 * @param dp: delegation point with result list. 106 * if not null, that target is removed from the result list in the dp. 109 struct module_env* env, struct delegpt* dp, uint8_t* name, 140 * @param pside: true if dp is parentside, thus message is 'fresh' and NS 169 * @param dp: delegpt to mark ns in. 171 void iter_mark_cycle_targets(struct module_qstate* qstate, struct delegpt* dp); 177 * @param dp: delegpt to mark ns in. 180 struct delegpt* dp); 187 * @param dp: delegpt to check. 194 * @return true if dp i [all...] |
H A D | iter_hints.h | 77 struct delegpt* dp; member in struct:iter_hints_stub 156 * @param dp: The cache generated delegation point. 162 uint8_t* qname, uint16_t qclass, struct delegpt* dp, int nolock); 179 * @param dp: delegation point with name and target nameservers for new 185 int hints_add_stub(struct iter_hints* hints, uint16_t c, struct delegpt* dp,
|
/openbsd-current/sbin/unwind/libunbound/iterator/ |
H A D | iter_utils.h | 90 * @param dp: delegation point with result list. 106 * if not null, that target is removed from the result list in the dp. 109 struct module_env* env, struct delegpt* dp, uint8_t* name, 140 * @param pside: true if dp is parentside, thus message is 'fresh' and NS 169 * @param dp: delegpt to mark ns in. 171 void iter_mark_cycle_targets(struct module_qstate* qstate, struct delegpt* dp); 177 * @param dp: delegpt to mark ns in. 180 struct delegpt* dp); 187 * @param dp: delegpt to check. 194 * @return true if dp i [all...] |
H A D | iter_hints.h | 77 struct delegpt* dp; member in struct:iter_hints_stub 156 * @param dp: The cache generated delegation point. 162 uint8_t* qname, uint16_t qclass, struct delegpt* dp, int nolock); 179 * @param dp: delegation point with name and target nameservers for new 185 int hints_add_stub(struct iter_hints* hints, uint16_t c, struct delegpt* dp,
|
/openbsd-current/bin/ksh/ |
H A D | eval.c | 165 char *dp, *sp; /* dest., source */ local 192 Xinit(ds, dp, 128, ATEMP); /* init dest. string */ 206 Xcheck(ds, dp); 244 *dp++ = '$'; *dp++ = '('; 246 Xcheck(ds, dp); 247 *dp++ = *sp++; 249 *dp++ = ')'; 262 *dp++ = '$'; *dp 1149 debunk(char *dp, const char *sp, size_t dlen) argument 1183 char *dp = *dpp; local 1220 char *dp; local [all...] |
/openbsd-current/lib/libc/gen/ |
H A D | strtofflags.c | 81 char *sp, *dp; local 89 dp = string; 92 if (dp > string) 93 *dp++ = ','; 95 mapping[i].name + 2; *sp; *dp++ = *sp++) ; 99 *dp = '\0';
|
H A D | devname.c | 48 struct dirent *dp; local 54 while ((dp = readdir(dirp)) != NULL) { 55 if (dp->d_type != DT_UNKNOWN && DTTOIF(dp->d_type) != type) 57 if (fstatat(dirfd(dirp), dp->d_name, &sb, AT_SYMLINK_NOFOLLOW) 60 strlcpy(buf, dp->d_name, sizeof(buf));
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/ |
H A D | dtors3.C | 43 derived *dp = new derived; local 44 delete dp;
|
/openbsd-current/sys/arch/amd64/stand/pxeboot/ |
H A D | devopen.c | 60 struct devsw *dp = devsw; local 86 f->f_dev = dp = &netsw[0]; 88 rc = (*dp->dv_open)(f, NULL); 111 for (i = 0; i < ndevs && rc != 0; dp++, i++) { 114 printf(" %s: ", dp->dv_name); 116 if ((rc = (*dp->dv_open)(f, file)) == 0) { 117 f->f_dev = dp; 132 f->f_dev = dp;
|
/openbsd-current/sys/arch/i386/stand/pxeboot/ |
H A D | devopen.c | 60 struct devsw *dp = devsw; local 86 f->f_dev = dp = &netsw[0]; 88 rc = (*dp->dv_open)(f, NULL); 111 for (i = 0; i < ndevs && rc != 0; dp++, i++) { 114 printf(" %s: ", dp->dv_name); 116 if ((rc = (*dp->dv_open)(f, file)) == 0) { 117 f->f_dev = dp; 132 f->f_dev = dp;
|
/openbsd-current/sys/sys/ |
H A D | dirent.h | 94 #define DIRENT_SIZE(dp) \ 95 DIRENT_RECSIZE((dp)->d_namlen)
|
/openbsd-current/usr.sbin/dev_mkdb/ |
H A D | dev_mkdb.c | 51 FTSENT *dp; local 110 while ((dp = fts_read(fts))) { 111 if (dp->fts_info != FTS_DEFAULT) 115 if (S_ISCHR(dp->fts_statp->st_mode)) 117 else if (S_ISBLK(dp->fts_statp->st_mode)) 121 bkey.dev = dp->fts_statp->st_rdev; 128 data.data = dp->fts_path + 2; 129 data.size = dp->fts_pathlen - 2 + 1;
|