/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_bio.c | 152 static buf_t incore_locked(vnode_t vp, daddr64_t blkno, struct bufhashhdr *dp); 188 #define binsheadfree(bp, dp, whichq) do { \ 189 TAILQ_INSERT_HEAD(dp, bp, b_freelist); \ 192 #define binstailfree(bp, dp, whichq) do { \ 193 TAILQ_INSERT_TAIL(dp, bp, b_freelist); \ 207 #define bufinsvn(bp, dp) LIST_INSERT_HEAD(dp, bp, b_vnbufs) 240 binshash(buf_t bp, struct bufhashhdr *dp) argument 249 nbp = dp->lh_first; 256 blistenterhead(dp, b 1811 struct bqueues *dp = NULL; local 1940 struct bqueues *dp; local 2820 struct bufhashhdr *dp; local 2837 incore_locked(vnode_t vp, daddr64_t blkno, struct bufhashhdr *dp) argument 2856 struct bufhashhdr *dp; local 2896 struct bufhashhdr *dp; local 3713 struct bufhashhdr *dp; local 4087 struct bqueues *dp; local [all...] |
H A D | vfs_attrlist.c | 2982 struct direntry *dp; local 2984 dp = (struct direntry *)(fvd->fv_buf + fvd->fv_bufdone); 2985 if (dp->d_reclen) { 2986 fvd->fv_bufdone += dp->d_reclen; 3182 struct direntry *dp; local 3197 error = get_direntry(ctx, dvp, fvd, eofflagp, &dp); 3198 if (error || (*eofflagp) || !dp) { 3205 if (!dp->d_reclen || dp->d_ino == 0 || dp [all...] |
H A D | vfs_subr.c | 8122 struct dirent *dp; local 8176 dp = (struct dirent*) (dir_pos); 8185 if (dp->d_ino != 0 && 8186 !((dp->d_namlen == 1 && dp->d_name[0] == '.') || 8187 (dp->d_namlen == 2 && dp->d_name[0] == '.' && dp->d_name[1] == '.'))) { 8192 if ( dp->d_namlen < 2 || 8193 strncmp(dp [all...] |
/xnu-2782.1.97/bsd/netinet6/ |
H A D | esp_core.c | 541 struct mbuf *d, *d0, *dp; local 631 d = d0 = dp = NULL; 670 dp = d; 689 if (dp) 690 dp->m_next = d; 768 struct mbuf *d, *d0, *dp; local 864 d = d0 = dp = NULL; 903 dp = d; 922 if (dp) 923 dp [all...] |
H A D | in6_proto.c | 347 in6_dinit(struct domain *dp) argument 352 VERIFY(!(dp->dom_flags & DOM_INITIALIZED)); 355 inet6domain = dp; 401 net_add_proto((struct protosw *)pr, dp, 0); 403 net_init_proto((struct protosw *)pr, dp); 405 inet6_domain_mutex = dp->dom_mtx;
|
H A D | ip6_input.c | 274 ip6_init(struct ip6protosw *pp, struct domain *dp) argument 309 VERIFY(dp == inet6domain && dp->dom_family == PF_INET6); 310 TAILQ_FOREACH(pr, &dp->dom_protosw, pr_entry) { 311 VERIFY(pr->pr_domain == dp); 408 icmp6_init(NULL, dp);
|
/xnu-2782.1.97/bsd/netkey/ |
H A D | keysock.c | 544 key_dinit(struct domain *dp) argument 549 VERIFY(!(dp->dom_flags & DOM_INITIALIZED)); 552 keydomain = dp; 555 net_add_proto(pr, dp, 1);
|
/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs_vnops.c | 4989 struct direntry *dp, *dpptc; local 5097 dp = NFS_DIR_BUF_FIRST_DIRENTRY(bp); 5102 for (; (i < ndbhp->ndbh_count) && (cookie != dp->d_seekoff); i++) { 5103 if (ptc && !dpptc && NFS_DIR_COOKIE_SAME32(cookie, dp->d_seekoff)) { 5105 dpptc = dp; 5107 nextcookie = dp->d_seekoff; 5108 dp = NFS_DIRENTRY_NEXT(dp); 5112 dp = dpptc; 5115 nextcookie = dp 5300 struct direntry *dp, *dpptc; local 5454 struct direntry *dp; local 5665 struct direntry *dp; local [all...] |
H A D | nfs4_vnops.c | 733 struct direntry *dp; local 775 /* determine cookie to use, and move dp to the right offset */ 777 dp = NFS_DIR_BUF_FIRST_DIRENTRY(bp); 780 dp = NFS_DIRENTRY_NEXT(dp); 781 cookie = dp->d_seekoff; 782 dp = NFS_DIRENTRY_NEXT(dp); 804 bzero(&dp->d_name[namlen+1], xlen); 805 dp 7939 struct direntry *dp; local [all...] |
H A D | nfs_serv.c | 3891 struct direntry *dp; local 4014 dp = (struct direntry *)cpos; 4015 while ((dp->d_fileno == 0) && (cpos < cend) && (nentries > 0)) { 4016 cpos += dp->d_reclen; 4017 dp = (struct direntry *)cpos; 4048 if (dp->d_fileno != 0) { 4049 nlen = dp->d_namlen; 4063 nfsm_chain_add_64(error, &nmrep, dp->d_fileno); 4065 nfsm_chain_add_32(error, &nmrep, dp->d_fileno); 4067 nfsm_chain_add_string(error, &nmrep, dp 4113 struct direntry *dp; local [all...] |
/xnu-2782.1.97/tools/lldbmacros/ |
H A D | net.py | 1777 dp = Cast(domains.tqh_first, 'domain *') 1780 while (dp != 0): 1781 out_string += "\"" + str(dp.dom_name) + "\"" + "[" + str(int(dp.dom_refs)) + " refs] domain " + hex(dp) + "\n" 1782 out_string += " family:\t" + str(int(dp.dom_family)) + "\n" 1783 out_string += " flags:0x\t" + str(int(dp.dom_flags)) + "\n" 1784 out_string += " rtparams:\toff=" + str(int(dp.dom_rtoffset)) + ", maxrtkey=" + str(int(dp.dom_maxrtkey)) + "\n" 1786 if (dp [all...] |
/xnu-2782.1.97/bsd/net/ |
H A D | raw_usrreq.c | 85 raw_init(struct protosw *pp, struct domain *dp) argument 87 #pragma unused(pp, dp)
|
H A D | ndrv.c | 1079 ndrv_dominit(struct domain *dp) argument 1084 VERIFY(!(dp->dom_flags & DOM_INITIALIZED)); 1087 ndrvdomain = dp; 1090 net_add_proto(pr, dp, 1);
|
H A D | rtsock.c | 2020 route_dinit(struct domain *dp) argument 2025 VERIFY(!(dp->dom_flags & DOM_INITIALIZED)); 2028 routedomain = dp; 2031 net_add_proto(pr, dp, 1);
|
/xnu-2782.1.97/bsd/sys/ |
H A D | namei.h | 266 int cache_lookup_path(struct nameidata *ndp, struct componentname *cnp, vnode_t dp, 274 int namei_compound_available(vnode_t dp, struct nameidata *ndp);
|
/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_vnops.c | 303 decmpfs_cnode *dp = NULL; local 304 MALLOC_ZONE(dp, decmpfs_cnode *, sizeof(decmpfs_cnode), M_DECMPFS_CNODE, M_WAITOK); 305 if (!dp) { 309 decmpfs_cnode_init(dp); 310 if (!OSCompareAndSwapPtr(NULL, dp, (void * volatile *)&cp->c_decmp)) { 312 decmpfs_cnode_destroy(dp); 313 FREE_ZONE(dp, sizeof(*dp), M_DECMPFS_CNODE); 336 decmpfs_cnode *dp = hfs_lazy_init_decmpfs_cnode(cp); local 337 if (!dp) { 1467 decmpfs_cnode *dp = VTOCMP(vp); local 1701 decmpfs_cnode *dp = VTOCMP(vp); local [all...] |
H A D | hfs_cnode.c | 2263 decmpfs_cnode *dp = VTOCMP(vp); local 2264 if (dp && decmpfs_cnode_get_vnode_state(dp) != FILE_TYPE_UNKNOWN) 2482 decmpfs_cnode *dp = cp->c_decmp; local 2483 if (dp && decmpfs_cnode_get_vnode_state(dp) != FILE_TYPE_UNKNOWN) 2484 decmpfs_cnode_set_vnode_state(dp, FILE_TYPE_UNKNOWN, 0);
|
/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOKitKernelInternal.h | 195 IOMemoryDescriptorDevicePager dp; member in struct:IOMemoryDescriptorReserved
|
H A D | IOMemoryDescriptor.cpp | 194 memDesc = ref->dp.memory; 616 reserved->dp.pagerContig = (1 == _rangesCount); 617 reserved->dp.memory = this; 621 if (reserved->dp.pagerContig) pagerFlags |= DEVICE_PAGER_CONTIGUOUS; 637 reserved->dp.devicePager = pager; 1657 reserved->dp.memory = 0; 1692 if (reserved->dp.devicePager) 1696 device_pager_deallocate( (memory_object_t) reserved->dp.devicePager ); 3359 pager = (memory_object_t) (reserved ? reserved->dp.devicePager : 0); 3588 if (reserved && reserved->dp [all...] |
/xnu-2782.1.97/bsd/kern/ |
H A D | kern_sysctl.c | 680 user_addr_t dp; member in struct:sysdoproc_args 708 int error = copyout(args->kprocp, args->dp, args->sizeof_kproc); 713 args->dp += args->sizeof_kproc; 729 user_addr_t dp = where; variable 794 args.dp = dp; 810 dp = args.dp; 814 req->oldlen = dp - where;
|
H A D | kern_control.c | 191 kern_control_init(struct domain *dp) argument 196 VERIFY(!(dp->dom_flags & DOM_INITIALIZED)); 197 VERIFY(dp == systemdomain); 226 net_add_proto(pr, dp, 1);
|
/xnu-2782.1.97/bsd/netinet/ |
H A D | ip_divert.c | 150 div_init(struct protosw *pp, struct domain *dp) argument 152 #pragma unused(dp)
|
H A D | ip_output.c | 2287 u_char *cp, *dp; local 2291 dp = (u_char *)(jp + 1); 2299 *dp++ = IPOPT_NOP; 2320 bcopy(cp, dp, optlen); 2321 dp += optlen; 2324 for (optlen = dp - (u_char *)(jp+1); optlen & 0x3; optlen++) 2325 *dp++ = IPOPT_EOL;
|
H A D | raw_ip.c | 148 rip_init(struct protosw *pp, struct domain *dp) argument 150 #pragma unused(dp)
|
H A D | ip_input.c | 400 ip_init(struct protosw *pp, struct domain *dp) argument 454 VERIFY(dp == inetdomain && dp->dom_family == PF_INET); 455 TAILQ_FOREACH(pr, &dp->dom_protosw, pr_entry) { 456 VERIFY(pr->pr_domain == dp);
|