/freebsd-current/contrib/mandoc/ |
H A D | tbl_data.c | 43 getdata(struct tbl_node *tbl, struct tbl_span *dp, argument 66 cp = dp->last == NULL ? dp->layout->first : dp->last->layout->next; 78 if (dp->layout->last->col + 1 < dp->opts->cols) { 83 dp->layout->last->next = cp; 84 cp->col = dp->layout->last->col + 1; 85 dp->layout->last = cp; 115 pdp = dp; 242 struct tbl_span *dp; local [all...] |
/freebsd-current/contrib/tcpdump/ |
H A D | print-rt6.c | 39 const struct ip6_rthdr *dp; local 48 dp = (const struct ip6_rthdr *)bp; 50 len = GET_U_1(dp->ip6r_len); 52 type = GET_U_1(dp->ip6r_type); 56 ND_PRINT(", segleft=%u", GET_U_1(dp->ip6r_segleft)); 61 dp0 = (const struct ip6_rthdr0 *)dp; 83 srh = (const struct ip6_srh *)dp;
|
H A D | print-icmp.c | 318 const struct icmp *dp; local 335 dp = (const struct icmp *)bp; 340 icmp_type = GET_U_1(dp->icmp_type); 341 icmp_code = GET_U_1(dp->icmp_code); 349 GET_BE_U_2(dp->icmp_id), 350 GET_BE_U_2(dp->icmp_seq)); 359 GET_IPADDR_STRING(dp->icmp_ip.ip_dst)); 365 GET_IPADDR_STRING(dp->icmp_ip.ip_dst)); 371 GET_IPADDR_STRING(dp->icmp_ip.ip_dst), 372 GET_U_1(dp [all...] |
H A D | print-ip6opts.c | 222 const struct ip6_hbh *dp = (const struct ip6_hbh *)bp; local 226 hbhlen = (GET_U_1(dp->ip6h_len) + 1) << 3; 227 ND_TCHECK_LEN(dp, hbhlen); 229 if (ip6_opt_process(ndo, (const u_char *)dp + sizeof(*dp), 230 hbhlen - sizeof(*dp), found_jumbo, jumbolen) == -1) 242 const struct ip6_dest *dp = (const struct ip6_dest *)bp; local 246 dstoptlen = (GET_U_1(dp->ip6d_len) + 1) << 3; 247 ND_TCHECK_LEN(dp, dstoptlen); 255 if (ip6_opt_process(ndo, (const u_char *)dp [all...] |
/freebsd-current/stand/ficl/ |
H A D | float.c | 300 FICL_DICT *dp = vmGetDict(pVM); local 307 dictAppendWord2(dp, si, FconstantParen, FW_DEFAULT); 308 dictAppendCell(dp, stackPop(pVM->fStack)); 660 FICL_DICT *dp = vmGetDict(pVM); local 667 dictAppendCell(dp, LVALUEtoCELL(pfLitParen)); 668 dictAppendCell(dp, stackPop(pVM->fStack)); 993 FICL_DICT *dp = pSys->dp; local 994 assert(dp); 997 dictAppendWord(dp, ">floa [all...] |
/freebsd-current/sbin/tunefs/ |
H A D | tunefs.c | 626 struct direct *dp; local 633 for (off = 0; off < bytes; off += dp->d_reclen) { 634 dp = (struct direct *)&block[off]; 635 if (dp->d_reclen == 0) 637 if (dp->d_ino == 0) 639 if (dp->d_namlen != strlen(SUJ_FILE)) 641 if (bcmp(dp->d_name, SUJ_FILE, dp->d_namlen) != 0) 643 return (dp->d_ino); 656 union dinodep dp; local 696 struct direct *dp; local 714 struct direct *dp; local 767 union dinodep dp; local 883 union dinodep dp; local 909 union dinodep dp; local [all...] |
/freebsd-current/sys/ufs/ufs/ |
H A D | dir.h | 61 * The macro DIRSIZ(fmt, dp) gives the amount of space required to represent 63 * entries which have dp->d_reclen > DIRSIZ(fmt, dp). All DIRBLKSIZ bytes 66 * dp->d_reclen. When entries are deleted from a directory, the 68 * block by increasing its dp->d_reclen. If the first entry of 69 * a directory block is free, then its dp->d_ino is set to 0. 71 * dp->d_ino set to 0. 108 * null byte (dp->d_namlen + 1), rounded up to a 4 byte boundary. 114 #define DIRSIZ(oldfmt, dp) \ 115 ((oldfmt) ? DIRECTSIZ((dp) [all...] |
/freebsd-current/sbin/fsck_ffs/ |
H A D | ea.c | 55 eascan(struct inodesc *idesc, struct ufs2_dinode *dp) argument 66 (intmax_t)idesc->id_number, (uintmax_t)dp->di_extsize); 67 if (dp->di_extsize == 0) 69 if (dp->di_extsize <= sblock.fs_fsize) 73 bp = getdatablk(dp->di_extb[0], blksiz, BT_EXTATTR);
|
H A D | gjournal.c | 67 union dinode *dp; local 116 dp = ip.i_dp; 118 if (!S_ISREG(dp->dp2.di_mode) && 119 !S_ISDIR(dp->dp2.di_mode)) { 124 if (dp->dp2.di_nlink > 0) { 129 (intmax_t)dp->dp2->di_size); */ 144 dp->dp2 = zino.dp2;
|
H A D | pass1.c | 250 union dinode *dp; local 256 if ((dp = getnextinode(inumber, rebuiltcg)) == NULL) { 260 mode = DIP(dp, di_mode) & IFMT; 263 (memcmp(dp->dp1.di_db, zino.dp1.di_db, 265 memcmp(dp->dp1.di_ib, zino.dp1.di_ib, 267 dp->dp1.di_mode || dp->dp1.di_size)) || 269 (memcmp(dp->dp2.di_db, zino.dp2.di_db, 271 memcmp(dp->dp2.di_ib, zino.dp2.di_ib, 273 dp [all...] |
H A D | inode.c | 58 ckinode(union dinode *dp, struct inodesc *idesc) argument 70 idesc->id_dp = dp; 75 idesc->id_filesize = DIP(dp, di_size); 76 mode = DIP(dp, di_mode) & IFMT; 78 DIP(dp, di_size) < (unsigned)sblock.fs_maxsymlinklen)) 81 dino.dp1 = dp->dp1; 83 dino.dp2 = dp->dp2; 253 * specified by dp. This follows the whole tree and honors di_size and 258 ino_blkatoff(union dinode *dp, ino_t ino, ufs_lbn_t lbn, int *frags, argument 274 if (lbn > lblkno(&sblock, dp 432 struct ufs2_dinode *dp; local 522 union dinode *dp; local 768 union dinode *dp; local 809 union dinode *dp; local 959 union dinode *dp; local 1032 union dinode *dp; local 1119 cacheino(union dinode *dp, ino_t inumber) argument 1239 union dinode *dp; local 1322 union dinode *dp; local 1380 union dinode *dp; local 1453 union dinode *dp; local [all...] |
/freebsd-current/usr.bin/mkimg/ |
H A D | bsd.c | 67 struct partition *dp; local 98 dp = &d->d_partitions[BSD_PART_RAW]; 99 le32enc(&dp->p_size, imgsz); 102 dp = &d->d_partitions[n]; 103 le32enc(&dp->p_size, part->size); 104 le32enc(&dp->p_offset, part->block); 105 le32enc(&dp->p_fsize, 0); 106 dp->p_fstype = ALIAS_TYPE2INT(part->type); 107 dp->p_frag = 0; 108 le16enc(&dp [all...] |
/freebsd-current/contrib/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,
|
H A D | iterator.c | 151 iq->dp = NULL; 240 if(super_iq->dp) 241 dpns = delegpt_find_ns(super_iq->dp, 248 * not listed in super_iq->dp */ 255 super->region, super_iq->dp)) 267 super_iq->dp = NULL; 653 if(iq->dp) { 654 if(iq->dp->target_list == NULL) 657 if(iq->dp->nslist == NULL) 659 if(iq->dp 686 struct delegpt* dp = NULL; local 889 struct delegpt* dp; local 1085 struct delegpt* dp; local 1318 struct delegpt* dp; local 2127 struct delegpt* dp; local 3614 struct delegpt* dp = NULL; local [all...] |
H A D | iter_resptype.h | 120 * @param dp: The delegation point that was being queried 126 struct dns_msg* msg, struct query_info* request, struct delegpt* dp,
|
/freebsd-current/sys/netinet6/ |
H A D | nd6_nbr.c | 83 static void nd6_dad_add(struct dadq *dp); 84 static void nd6_dad_del(struct dadq *dp); 1190 nd6_dad_add(struct dadq *dp) argument 1194 TAILQ_INSERT_TAIL(&V_dadq, dp, dad_list); 1195 dp->dad_ondadq = true; 1199 nd6_dad_del(struct dadq *dp) argument 1203 if (dp->dad_ondadq) { 1205 * Remove dp from the dadq and release the dadq's 1208 TAILQ_REMOVE(&V_dadq, dp, dad_list); 1209 dp 1217 struct dadq *dp; local 1244 nd6_dad_starttimer(struct dadq *dp, int ticks) argument 1252 nd6_dad_stoptimer(struct dadq *dp) argument 1258 nd6_dad_rele(struct dadq *dp) argument 1281 struct dadq *dp; local 1356 struct dadq *dp; local 1380 struct dadq *dp = arg; local 1494 nd6_dad_duplicated(struct ifaddr *ifa, struct dadq *dp) argument 1552 nd6_dad_ns_output(struct dadq *dp) argument 1591 struct dadq *dp; local 1609 struct dadq *dp; local [all...] |
/freebsd-current/sys/dev/rtwn/usb/ |
H A D | rtwn_usb_attach.c | 110 struct rtwn_data *dp = &data[i]; local 111 dp->m = NULL; 112 dp->buf = malloc(maxsz, M_USBDEV, M_NOWAIT); 113 if (dp->buf == NULL) { 119 dp->ni = NULL; 175 struct rtwn_data *dp = &data[i]; local 177 if (dp->buf != NULL) { 178 free(dp->buf, M_USBDEV); 179 dp->buf = NULL; 181 if (dp 238 struct rtwn_data *dp, *tmp; local 269 struct rtwn_data *dp = &uc->uc_rx[i]; local [all...] |
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | txg.c | 120 txg_init(dsl_pool_t *dp, uint64_t txg) argument 122 tx_state_t *tx = &dp->dp_tx; 158 txg_fini(dsl_pool_t *dp) argument 160 tx_state_t *tx = &dp->dp_tx; 196 txg_sync_start(dsl_pool_t *dp) argument 198 tx_state_t *tx = &dp->dp_tx; 202 dprintf("pool %p\n", dp); 209 dp, 0, &p0, TS_RUN, defclsyspri); 217 dp, 0, &p0, TS_RUN, defclsyspri); 259 txg_sync_stop(dsl_pool_t *dp) argument 317 txg_hold_open(dsl_pool_t *dp, txg_handle_t *th) argument 386 txg_quiesce(dsl_pool_t *dp, uint64_t txg) argument 448 txg_dispatch_callbacks(dsl_pool_t *dp, uint64_t txg) argument 493 txg_wait_callbacks(dsl_pool_t *dp) argument 502 txg_is_quiescing(dsl_pool_t *dp) argument 510 txg_has_quiesced_to_sync(dsl_pool_t *dp) argument 520 dsl_pool_t *dp = arg; local 620 dsl_pool_t *dp = arg; local 674 txg_delay(dsl_pool_t *dp, uint64_t txg, hrtime_t delay, hrtime_t resolution) argument 702 txg_wait_synced_impl(dsl_pool_t *dp, uint64_t txg, boolean_t wait_sig) argument 743 txg_wait_synced(dsl_pool_t *dp, uint64_t txg) argument 753 txg_wait_synced_sig(dsl_pool_t *dp, uint64_t txg) argument 763 txg_wait_open(dsl_pool_t *dp, uint64_t txg, boolean_t should_quiesce) argument 800 txg_kick(dsl_pool_t *dp, uint64_t txg) argument 818 txg_stalled(dsl_pool_t *dp) argument 825 txg_sync_waiting(dsl_pool_t *dp) argument [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_dns_server.c | 276 struct dns_data *dp; local 362 for (dp = data; dp->qname_size != 0; dp++) { 365 int n = name_eq(p, (const unsigned char *) dp->qname); 369 name2str(dp->qname, buf2, sizeof(buf2))); 377 if (qtype != dp->qtype) { 379 qtype, dp->qtype); 398 memcpy(p, dp->qname, dp [all...] |
/freebsd-current/lib/libmixer/ |
H A D | mixer.c | 68 struct mix_dev *dp; local 118 if ((dp = calloc(1, sizeof(struct mix_dev))) == NULL) 120 dp->parent_mixer = m; 121 dp->devno = i; 122 dp->nctl = 0; 123 if (_mixer_readvol(dp) < 0) 125 (void)strlcpy(dp->name, names[i], sizeof(dp->name)); 126 TAILQ_INIT(&dp->ctls); 127 TAILQ_INSERT_TAIL(&m->devs, dp, dev 148 struct mix_dev *dp; local 175 struct mix_dev *dp; local 198 struct mix_dev *dp; local 217 struct mix_dev *dp; local [all...] |
/freebsd-current/crypto/openssh/ |
H A D | utf8.c | 73 grow_dst(char **dst, size_t *sz, size_t maxsz, char **dp, size_t need) argument 78 if (*dp + need < *dst + *sz) 85 *dp = tp + (*dp - *dst); 109 char *dp; /* Pointer into dst. */ local 133 dp = dst; 164 if (print && (dp - dst >= (int)maxsz - len || 169 &dp, len) == -1) { 174 memcpy(dp, sp, len); 175 dp [all...] |
/freebsd-current/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | trace_txg.h | 46 TP_PROTO(dsl_pool_t *dp, uint64_t txg), 47 TP_ARGS(dp, txg), 60 TP_PROTO(dsl_pool_t *dp, uint64_t txg), \ 61 TP_ARGS(dp, txg))
|
/freebsd-current/lib/libefivar/ |
H A D | Makefile | 35 SRCS= efivar.c efichar.c efivar-dp-format.c \ 36 efivar-dp-parse.c \ 37 efivar-dp-xlate.c \ 39 INCS= efivar.h efivar-dp.h
|
/freebsd-current/sys/fs/nfsclient/ |
H A D | nfs_clstate.c | 223 struct nfscldeleg *dp; local 260 dp = NULL; 263 LIST_FOREACH(dp, NFSCLDELEGHASH(clp, nfhp, fhlen), nfsdl_hash) { 264 if (dp->nfsdl_fhlen == fhlen && 265 !NFSBCMP(nfhp, dp->nfsdl_fh, fhlen)) { 267 (dp->nfsdl_flags & NFSCLDL_WRITE)) 269 dp = NULL; 280 if (dp != NULL) 281 ohp = &dp->nfsdl_owner; 293 nfscl_newopen(clp, dp, 350 nfscl_newopen(struct nfsclclient *clp, struct nfscldeleg *dp, struct nfsclowner **owpp, struct nfsclowner **nowpp, struct nfsclopen **opp, struct nfsclopen **nopp, u_int8_t *own, u_int8_t *fhp, int fhlen, struct ucred *cred, int *newonep) argument 437 struct nfscldeleg *dp = *dpp, *tdp; local 462 LIST_INSERT_HEAD(NFSCLDELEGHASH(clp, nfhp, fhlen), dp, local 482 fhlen), dp, nfsdl_hash); local 507 struct nfscldeleg *dp; local 531 struct nfscldeleg *dp; local 1094 struct nfscldeleg *dp = NULL, *ldp = NULL; local 1293 struct nfscldeleg *dp; local 1436 struct nfscldeleg *dp; local 1610 struct nfscldeleg *dp; local 1732 nfscl_cleandeleg(struct nfscldeleg *dp) argument 1753 nfscl_freedeleg(struct nfscldeleghead *hdp, struct nfscldeleg *dp, bool freeit) argument 1799 struct nfscldeleg *dp, *ndp; local 1893 struct nfscldeleg *dp; local 1936 struct nfscldeleg *dp; local 2128 struct nfscldeleg *dp, *ndp, *tdp; local 2727 struct nfscldeleg *dp, *ndp; local 3113 struct nfscldeleg *dp; local 3314 struct nfscldeleg *dp; local 3389 struct nfscldeleg *dp; local 3492 struct nfscldeleg *dp, *ndp; local 3515 struct nfscldeleg *dp; local 3556 struct nfscldeleg *dp = NULL; local 4111 nfscl_localconflict(struct nfsclclient *clp, u_int8_t *fhp, int fhlen, struct nfscllock *nlop, u_int8_t *own, struct nfscldeleg *dp, struct nfscllock **lopp) argument 4170 struct nfscldeleg *dp; local 4219 nfscl_recalldeleg(struct nfsclclient *clp, struct nfsmount *nmp, struct nfscldeleg *dp, vnode_t vp, struct ucred *cred, NFSPROC_T *p, int called_from_renewthread, vnode_t *vpp) argument 4362 nfscl_moveopen(vnode_t vp, struct nfsclclient *clp, struct nfsmount *nmp, struct nfsclopen *lop, struct nfsclowner *owp, struct nfscldeleg *dp, struct ucred *cred, NFSPROC_T *p) argument 4431 struct nfscldeleg *dp; local 4519 struct nfscldeleg *dp; local 4589 nfscl_trydelegreturn(struct nfscldeleg *dp, struct ucred *cred, struct nfsmount *nmp, NFSPROC_T *p) argument 4649 struct nfscldeleg *dp; local 4689 struct nfscldeleg *dp; local 4728 struct nfscldeleg *dp; local 4847 struct nfscldeleg *dp; local 5056 struct nfscldeleg *dp; local 5083 struct nfscldeleg *dp; local 5110 struct nfscldeleg *dp; local 5145 struct nfscldeleg *dp; local 5404 nfscl_dserr(uint32_t op, uint32_t stat, struct nfscldevinfo *dp, struct nfscllayout *lyp, struct nfsclds *dsp) argument [all...] |