| /xnu-11215/bsd/kern/ |
| H A D | uipc_domain.c | 137 #pragma unused(dp) in pr_init_old() 210 dp->dom_mtx = &dp->dom_mtx_s; in init_domain() 213 dp->dom_init(dp); in init_domain() 280 dp->dom_family, dp->dom_name, odp->dom_name); in net_add_domain_old() 290 dp->dom_family, dp->dom_name); in net_add_domain_old() 318 init_domain(dp); in net_add_domain_old() 401 __func__, dp->dom_family, dp->dom_name, pp->pr_protocol); in net_add_proto() 407 __func__, dp->dom_family, dp->dom_name, pp->pr_protocol); in net_add_proto() 754 init_domain(dp); in domaininit() 771 return dp; in pffinddomain_locked() [all …]
|
| H A D | sys_domain.c | 56 systemdomain_init(struct domain *dp) in systemdomain_init() argument 58 VERIFY(!(dp->dom_flags & DOM_INITIALIZED)); in systemdomain_init() 61 systemdomain = dp; in systemdomain_init() 64 kern_event_init(dp); in systemdomain_init() 65 kern_control_init(dp); in systemdomain_init()
|
| H A D | uipc_proto.c | 111 pre_unp_init(struct domain *dp) in pre_unp_init() argument 116 VERIFY(!(dp->dom_flags & DOM_INITIALIZED)); in pre_unp_init() 119 localdomain = dp; in pre_unp_init() 122 net_add_proto(pr, dp, 1); in pre_unp_init()
|
| /xnu-11215/SETUP/config/ |
| H A D | mkioconf.c | 81 struct device *dp; in pseudo_inits() local 85 for (dp = dtab; dp != 0; dp = dp->d_next) { in pseudo_inits() 86 if (dp->d_type != PSEUDO_DEVICE || dp->d_init == 0) { in pseudo_inits() 89 fprintf(fp, "extern int %s(int);\n", dp->d_init); in pseudo_inits() 92 for (dp = dtab; dp != 0; dp = dp->d_next) { in pseudo_inits() 93 if (dp->d_type != PSEUDO_DEVICE || dp->d_init == 0) { in pseudo_inits() 96 count = dp->d_slave; in pseudo_inits() 100 fprintf(fp, "\t{%d,\t%s},\n", count, dp->d_init); in pseudo_inits()
|
| H A D | mkheaders.c | 89 struct device *dp; in do_count() local 92 for (count = 0, dp = dtab; dp != 0; dp = dp->d_next) { in do_count() 93 if (eq(dp->d_name, dev)) { in do_count() 94 if (dp->d_type == PSEUDO_DEVICE) { in do_count() 96 dp->d_slave != UNKNOWN ? dp->d_slave : 1; in do_count() 97 if (dp->d_flags) { in do_count()
|
| H A D | parser.y | 261 newdev(struct device *dp) in newdev() argument 266 *np = *dp; in newdev() 276 init_dev(struct device *dp) in init_dev() argument 279 dp->d_name = "OHNO!!!"; in init_dev() 280 dp->d_type = PSEUDO_DEVICE; in init_dev() 281 dp->d_flags = 0; in init_dev() 282 dp->d_slave = UNKNOWN; in init_dev() 283 dp->d_init = 0; in init_dev()
|
| H A D | config.h | 175 int opteq(const char *cp, const char *dp); 177 void init_dev(struct device *dp); 178 void newdev(struct device *dp); 179 void dev_param(struct device *dp, const char *str, long num);
|
| H A D | mkmakefile.c | 285 struct device *dp; in read_files() local 472 for (dp = dtab; dp != 0; dp = dp->d_next) { in read_files() 473 if (eq(dp->d_name, wd) && (dp->d_type != PSEUDO_DEVICE || dp->d_slave)) { in read_files() 615 opteq(const char *cp, const char *dp) in opteq() argument 619 for (;; cp++, dp++) { in opteq() 620 if (*cp != *dp) { in opteq() 622 d = isupper(*dp) ? tolower(*dp) : *dp; in opteq()
|
| /xnu-11215/bsd/vfs/ |
| H A D | vfs_lookup.c | 435 if (dp == NULLVP || (dp->v_lflag & VL_DEAD)) { in namei() 886 vnode_t dp; in lookup_handle_found_vnode() local 1064 vnode_t dp; in lookup_handle_emptyname() local 1306 if (dp == ndp->ni_rootdir || dp == rootvnode) { 1332 tdp = dp; 1415 tdp = dp; 1523 if (dp) { 1760 vnode_t dp; local 1907 dp = dvp; 1927 *vpp = dp; [all …]
|
| H A D | vfs_cache.c | 1795 vid = dp->v_id; in cache_lookup_path() 1988 vp = dp; in cache_lookup_path() 2172 dp = vp; in cache_lookup_path() 2204 vid = dp->v_id; in cache_lookup_path() 2206 vnode_hold(dp); in cache_lookup_path() 2226 tdp = dp; in cache_lookup_path() 2227 dp = NULLVP; in cache_lookup_path() 2320 dp = tdp; in cache_lookup_path() 2330 dp = NULLVP; in cache_lookup_path() 2350 if (dp) { in cache_lookup_path() [all …]
|
| H A D | vfs_bio.c | 216 #define bufinsvn(bp, dp) LIST_INSERT_HEAD(dp, bp, b_vnbufs) argument 260 nbp = dp->lh_first; in binshash() 268 blistenterhead(dp, bp); in binshash() 2184 struct bqueues *dp; in bufinit() local 2189 for (dp = bufqueues; dp < &bufqueues[BQUEUES]; dp++) { in bufinit() 2190 TAILQ_INIT(dp); in bufinit() 3011 struct bufhashhdr *dp; in incore() local 3048 struct bufhashhdr *dp; in buf_wait_for_shadow_io() local 3990 struct bufhashhdr *dp; in buf_invalblkno() local 4410 struct bqueues *dp; in vfs_bufstats() local [all …]
|
| /xnu-11215/bsd/netinet6/ |
| H A D | nd6_nbr.c | 1693 for (dp = dadq.tqh_first; dp; dp = dp->dad_list.tqe_next) { in nd6_dad_find() 1732 return dp; in nd6_dad_find() 1800 dp = nd6_dad_attach(dp, ifa); in nd6_dad_start() 1849 dp->dad_ns_icount = dp->dad_na_icount = 0; in nd6_dad_attach() 1850 dp->dad_ns_ocount = dp->dad_ns_tcount = 0; in nd6_dad_attach() 1851 dp->dad_ns_lcount = dp->dad_loopbackprobe = 0; in nd6_dad_attach() 1992 if (dp->dad_ns_ocount < dp->dad_count) { in nd6_dad_timer() 2009 if (dp->dad_na_icount > 0 || dp->dad_ns_icount) { in nd6_dad_timer() 2023 dp->dad_ns_lcount > dp->dad_loopbackprobe && in nd6_dad_timer() 2026 dp->dad_loopbackprobe = dp->dad_ns_lcount; in nd6_dad_timer() [all …]
|
| /xnu-11215/bsd/net/ |
| H A D | ppp_comp.h | 142 #define CCP_CODE(dp) ((dp)[0]) argument 143 #define CCP_ID(dp) ((dp)[1]) argument 144 #define CCP_LENGTH(dp) (((dp)[2] << 8) + (dp)[3]) argument 147 #define CCP_OPT_CODE(dp) ((dp)[0]) argument 148 #define CCP_OPT_LENGTH(dp) ((dp)[1]) argument
|
| H A D | kpi_protocol.c | 89 struct domain *dp; in proto_register_input() local 104 TAILQ_FOREACH(dp, &domains, dom_entry) { in proto_register_input() 105 if (dp->dom_family == (int)protocol) { in proto_register_input() 110 if (dp == NULL) { in proto_register_input() 114 entry->domain = dp; in proto_register_input()
|
| /xnu-11215/bsd/netinet/ |
| H A D | ip_encap.c | 331 if (sp->sa_len != dp->sa_len) { in encap_attach() 335 if (af != sp->sa_family || af != dp->sa_family) { in encap_attach() 356 if (ep->dst.ss_len != dp->sa_len || in encap_attach() 357 SOCKADDR_CMP(&ep->dst, dp, dp->sa_len) != 0 || in encap_attach() 370 SOCKADDR_COPY(dp, &new_ep->dst, dp->sa_len); in encap_attach() 371 SOCKADDR_COPY(dm, &new_ep->dstmask, dp->sa_len); in encap_attach() 445 const struct sockaddr *dp) in mask_match() argument 475 p = SA_BYTES(dp); in mask_match() 478 for (i = 0; i < dp->sa_len; i++) { in mask_match() 487 d.ss_len = dp->sa_len; in mask_match() [all …]
|
| H A D | mp_proto.c | 68 mp_dinit(struct domain *dp) in mp_dinit() argument 70 VERIFY(!(dp->dom_flags & DOM_INITIALIZED)); in mp_dinit() 72 net_add_proto(&mpsw, dp, 1); in mp_dinit()
|
| H A D | in_proto.c | 287 in_dinit(struct domain *dp) in in_dinit() argument 293 VERIFY(!(dp->dom_flags & DOM_INITIALIZED)); in in_dinit() 296 inetdomain = dp; in in_dinit() 309 net_add_proto(pr, dp, 0); in in_dinit() 312 net_init_proto(pr, dp); in in_dinit() 315 inet_domain_mutex = dp->dom_mtx; in in_dinit()
|
| /xnu-11215/bsd/dev/i386/ |
| H A D | dis_tables.c | 3317 dp_mmx = *dp; in dtrace_disx86() 3318 dp = &dp_mmx; in dtrace_disx86() 3342 dp = dp->it_indirect; in dtrace_disx86() 3345 dp++; in dtrace_disx86() 3367 dp = dp->it_indirect; in dtrace_disx86() 3371 dp++; in dtrace_disx86() 3402 dp_mmx = *dp; in dtrace_disx86() 3459 dp = (instable_t *)dp->it_indirect + opcode3; in dtrace_disx86() 3652 if (dp->it_always64 || (opnd_size == SIZE32 && dp->it_stackop)) in dtrace_disx86() 3677 if (dp->it_avxsuf && dp->it_suffix) { in dtrace_disx86() [all …]
|
| /xnu-11215/osfmk/i386/ |
| H A D | user_ldt.c | 104 struct real_descriptor *dp; in i386_set_ldt_impl() local 242 for (i = 0, dp = (struct real_descriptor *) &new_ldt->ldt[start_sel - begin_sel]; in i386_set_ldt_impl() 244 i++, dp++) { in i386_set_ldt_impl() 245 switch (dp->access & ~ACC_A) { in i386_set_ldt_impl() 249 dp->access &= (~ACC_P & 0xff); in i386_set_ldt_impl() 270 if (dp->granularity & SZ_64) { in i386_set_ldt_impl()
|
| /xnu-11215/bsd/sys/ |
| H A D | dir.h | 92 #define DIRSIZ(dp) \ argument 93 (((unsigned long)&((struct direct *)0)->d_name + (dp)->d_namlen+1 + 3) & ~3)
|
| H A D | namei.h | 253 void kdebug_lookup(struct vnode *dp, struct componentname *cnp); 259 int cache_lookup_path(struct nameidata *ndp, struct componentname *cnp, vnode_t dp, 267 int namei_compound_available(vnode_t dp, struct nameidata *ndp);
|
| H A D | domain.h | 175 extern void net_add_domain_old(struct domain_old *dp); 191 extern void net_add_domain(struct domain *dp);
|
| /xnu-11215/bsd/skywalk/packet/ |
| H A D | packet_copy.c | 1447 uint8_t *dp; in pkt_copy_to_mbuf() local 1474 dp = (uint8_t *)m_mtod_current(m); in pkt_copy_to_mbuf() 1475 _pkt_copy(baddr, dp, start); in pkt_copy_to_mbuf() 1488 dp, tmp_len, partial); in pkt_copy_to_mbuf() 1540 dp = (uint8_t *)m_mtod_current(m); in pkt_copy_to_mbuf() 1558 _pkt_copy(baddr, dp, start); in pkt_copy_to_mbuf() 1578 _pkt_copy(baddr, dp, len); in pkt_copy_to_mbuf() 1665 uint8_t *dp; in pkt_copy_multi_buflet_to_mbuf() local 1688 _pkt_copy(baddr, dp, start); in pkt_copy_multi_buflet_to_mbuf() 1758 dp = (uint8_t *)m_mtod_current(m); in pkt_copy_multi_buflet_to_mbuf() [all …]
|
| /xnu-11215/bsd/miscfs/devfs/ |
| H A D | devfs_fdesc_support.c | 609 struct dirent *dp = &d; in devfs_devfd_readdir() local 611 bzero((caddr_t) dp, UIO_MX); in devfs_devfd_readdir() 613 dp->d_namlen = (__uint8_t)scnprintf(dp->d_name, sizeof(dp->d_name), in devfs_devfd_readdir() 615 dp->d_reclen = UIO_MX; in devfs_devfd_readdir() 616 dp->d_type = DT_UNKNOWN; in devfs_devfd_readdir() 617 dp->d_fileno = (ino_t)i + FD_STDIN; in devfs_devfd_readdir() 621 error = uiomove((caddr_t) dp, UIO_MX, uio); in devfs_devfd_readdir()
|
| /xnu-11215/bsd/dev/dtrace/ |
| H A D | dtrace.c | 10312 if (dp == NULL) in dtrace_difo_cacheable() 10542 ASSERT(dp->dtdo_buf != NULL && dp->dtdo_len != 0); in dtrace_difo_init() 10669 bcopy(dp->dtdo_strtab, new->dtdo_strtab, dp->dtdo_strlen); in dtrace_difo_duplicate() 10750 kmem_free(dp->dtdo_buf, dp->dtdo_len * sizeof (dif_instr_t)); in dtrace_difo_destroy() 10752 kmem_free(dp->dtdo_strtab, dp->dtdo_strlen); in dtrace_difo_destroy() 10943 ASSERT(dp != NULL && dp->dtdo_refcnt != 0); in dtrace_predicate_release() 11454 dp != NULL && dp->dtdo_destructive)) { in dtrace_ecb_action_add() 11539 if (dp == NULL || ((size = dp->dtdo_rtype.dtdt_size) != in dtrace_ecb_action_add() 13463 return (dp); in dtrace_dof_difo() 13468 kmem_free(dp->dtdo_strtab, dp->dtdo_strlen); in dtrace_dof_difo() [all …]
|