/darwin-on-arm/xnu/bsd/net/ |
H A D | kpi_interfacefilter.h | 66 @param cookie The cookie specified when this filter was attached. 84 typedef errno_t (*iff_input_func)(void *cookie, ifnet_t interface, 94 @param cookie The cookie specified when this filter was attached. 107 typedef errno_t (*iff_output_func)(void *cookie, ifnet_t interface, 117 @param cookie The cookie specified when this filter was attached. 121 typedef void (*iff_event_func)(void *cookie, ifnet_t interface, 135 @param cookie Th [all...] |
H A D | ntstat.c | 89 int (*nstat_gone)(nstat_provider_cookie_t cookie); 90 errno_t (*nstat_counts)(nstat_provider_cookie_t cookie, struct nstat_counts *out_counts, int *out_gone); 93 errno_t (*nstat_copy_descriptor)(nstat_provider_cookie_t cookie, void *data, u_int32_t len); 94 void (*nstat_release)(nstat_provider_cookie_t cookie, boolean_t locked); 103 nstat_provider_cookie_t cookie; member in struct:nstat_src 184 static errno_t nstat_control_source_add(u_int64_t context, nstat_control_state *state, nstat_provider *provider, nstat_provider_cookie_t cookie); 340 nstat_provider_cookie_t cookie) 342 struct rtentry *rt = (struct rtentry*)cookie; 348 nstat_provider_cookie_t cookie, 352 struct rtentry *rt = (struct rtentry*)cookie; 339 nstat_route_gone( nstat_provider_cookie_t cookie) argument 347 nstat_route_counts( nstat_provider_cookie_t cookie, struct nstat_counts *out_counts, int *out_gone) argument 381 nstat_route_release( nstat_provider_cookie_t cookie, __unused int locked) argument 488 nstat_route_copy_descriptor( nstat_provider_cookie_t cookie, void *data, u_int32_t len) argument 821 nstat_tcp_gone( nstat_provider_cookie_t cookie) argument 830 nstat_tcp_counts( nstat_provider_cookie_t cookie, struct nstat_counts *out_counts, int *out_gone) argument 867 nstat_tcp_release( nstat_provider_cookie_t cookie, int locked) argument 987 nstat_tcp_copy_descriptor( nstat_provider_cookie_t cookie, void *data, u_int32_t len) argument 1082 nstat_udp_gone( nstat_provider_cookie_t cookie) argument 1090 nstat_udp_counts( nstat_provider_cookie_t cookie, struct nstat_counts *out_counts, int *out_gone) argument 1114 nstat_udp_release( nstat_provider_cookie_t cookie, int locked) argument 1186 nstat_udp_copy_descriptor( nstat_provider_cookie_t cookie, void *data, u_int32_t len) argument 1608 nstat_provider_cookie_t cookie; local 1687 nstat_control_source_add( u_int64_t context, nstat_control_state *state, nstat_provider *provider, nstat_provider_cookie_t cookie) argument [all...] |
H A D | if_bridge.c | 1572 bridge_iff_input(void *cookie, ifnet_t ifp, __unused protocol_family_t protocol, argument 1576 struct bridge_iflist *bif = (struct bridge_iflist *)cookie; 1642 bridge_iff_output(void *cookie, ifnet_t ifp, __unused protocol_family_t protocol, mbuf_t *data) argument 1645 struct bridge_iflist *bif = (struct bridge_iflist *)cookie; 1675 bridge_iff_event(void *cookie, ifnet_t ifp, __unused protocol_family_t protocol, argument 1678 struct bridge_iflist *bif = (struct bridge_iflist *)cookie; 1728 bridge_iff_detached(void *cookie, __unused ifnet_t ifp) argument 1730 struct bridge_iflist *bif = (struct bridge_iflist *)cookie;
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | kpi_socketfilter.h | 162 this attachment and use the cookie to track it. This filter is 167 @param cookie Used to allow the socket filter to set the cookie for 173 typedef errno_t (*sf_attach_func)(void **cookie, socket_t so); 182 @param cookie Cookie value specified when the filter attach was 188 typedef void (*sf_detach_func)(void *cookie, socket_t so); 195 @param cookie Cookie value specified when the filter attach was 201 typedef void (*sf_notify_func)(void *cookie, socket_t so, sflt_event_t event, 213 @param cookie Cookie value specified when the filter attach was 222 typedef int (*sf_getpeername_func)(void *cookie, socket_ [all...] |
H A D | kpi_socket.h | 67 @param cookie The cookie passed in when the socket was created. 70 typedef void (*sock_upcall)(socket_t so, void *cookie, int waitf); 88 @param cookie A cookie passed directly to the callback. 94 int flags, sock_upcall callback, void *cookie, socket_t *new_so); 346 @param cookie A cookie passed directly to the callback. 351 sock_upcall callback, void *cookie, socket_t *new_so); 498 @param context A cookie passe [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | kpi_ipfilter.h | 81 @param cookie The cookie specified when your filter was attached. 95 typedef errno_t (*ipf_input_func)(void *cookie, mbuf_t *data, int offset, 106 @param cookie The cookie specified when your filter was attached. 117 typedef errno_t (*ipf_output_func)(void *cookie, mbuf_t *data, 125 @param cookie The cookie specified when your filter was attached. 127 typedef void (*ipf_detach_func)(void *cookie); 133 @field cookie 141 void *cookie; member in struct:ipf_filter [all...] |
H A D | ip_divert.h | 75 u_int16_t cookie; /* ipfw rule number */ member in struct:divert_tag 79 * Return the divert cookie associated with the mbuf; if any. 84 return ((struct divert_tag *)(mtag+1))->cookie;
|
H A D | kpi_ipfilter.c | 94 void* cookie = filter->ipf_filter.cookie; local 102 ipf_detach(cookie); 177 void* cookie = match->ipf_filter.cookie; local 192 ipf_detach(cookie);
|
H A D | ip_encap.c | 343 * Return value will be necessary as input (cookie) for encap_detach(). 455 encap_detach(cookie) 456 const struct encaptab *cookie; 458 const struct encaptab *ep = cookie;
|
H A D | ip_divert.c | 113 * the matching ipfw rule), and they are tagged with a 16 bit cookie 117 * Packets written to the divert socket are again tagged with a cookie 122 * In both cases, the packet is tagged with the cookie. 127 * written in the cookie (so, tagging a packet with a cookie of 0 341 dt->cookie = sin->sin_port;
|
H A D | ip_output.c | 356 args.fwa_divert_rule = div_tag->cookie; 879 result = filter->ipf_filter.ipf_output(filter->ipf_filter.cookie, (mbuf_t*)&m, ippo); 1083 result = filter->ipf_filter.ipf_output(filter->ipf_filter.cookie, (mbuf_t*)&m, ippo); 1312 result = filter->ipf_filter.ipf_output(filter->ipf_filter.cookie, (mbuf_t*)&m, ippo);
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_bw_mem.c | 96 void rd(iter_t iterations, void *cookie); 97 void wr(iter_t iterations, void *cookie); 98 void rdwr(iter_t iterations, void *cookie); 99 void mcp(iter_t iterations, void *cookie); 100 void fwr(iter_t iterations, void *cookie); 101 void frd(iter_t iterations, void *cookie); 102 void fcp(iter_t iterations, void *cookie); 103 void loop_bzero(iter_t iterations, void *cookie); 104 void loop_bcopy(iter_t iterations, void *cookie); 105 void init_overhead(iter_t iterations, void *cookie); 148 init_overhead(iter_t iterations, void *cookie) argument 153 init_loop(iter_t iterations, void *cookie) argument 190 cleanup(iter_t iterations, void *cookie) argument 201 rd(iter_t iterations, void *cookie) argument 226 wr(iter_t iterations, void *cookie) argument 247 rdwr(iter_t iterations, void *cookie) argument 270 mcp(iter_t iterations, void *cookie) argument 295 fwr(iter_t iterations, void *cookie) argument 335 frd(iter_t iterations, void *cookie) argument 376 fcp(iter_t iterations, void *cookie) argument 415 loop_bzero(iter_t iterations, void *cookie) argument 427 loop_bcopy(iter_t iterations, void *cookie) argument [all...] |
H A D | lmbench_bw_unix.c | 74 void writer(int controlfd, int writefd, char* buf, void* cookie); 322 writer(int controlfd, int writefd, char* buf, void* cookie) argument 325 tsd_t *state = (tsd_t *)cookie;
|
H A D | lmbench_lat_ctx.c | 340 initialize_overhead(void* cookie) argument 345 tsd_t *pState = (tsd_t *)cookie; 362 cleanup_overhead(cookie); 383 cleanup(void* cookie) argument 386 tsd_t *pState = (tsd_t *)cookie; 392 cleanup_overhead(cookie);
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_catalog.h | 341 cat_cookie_t *cookie, 346 cat_cookie_t *cookie,
|
H A D | hfs_link.c | 146 cat_cookie_t cookie; local 164 bzero(&cookie, sizeof(cat_cookie_t)); 166 if ((retval = cat_preflight(hfsmp, (2 * CAT_CREATE)+ CAT_RENAME, &cookie, p))) { 384 cat_postflight(hfsmp, &cookie, p);
|
H A D | hfs_vfsutils.c | 1386 cat_cookie_t cookie; local 1395 bzero(&cookie, sizeof(cookie)); 1470 if (cat_preflight(hfsmp, CAT_DELETE, &cookie, p) != 0) { 1578 cat_postflight(hfsmp, &cookie, p); 1606 cat_postflight(hfsmp, &cookie, p);
|
H A D | hfs_cnode.c | 187 cat_cookie_t cookie; local 501 if ((error = cat_preflight(hfsmp, CAT_DELETE, &cookie, p))) { 584 cat_postflight(hfsmp, &cookie, p);
|
H A D | hfs_vnops.c | 1627 cat_cookie_t cookie; local 1746 if ((error = cat_preflight(hfsmp, CAT_EXCHANGE, &cookie, vfs_context_proc(ap->a_context)))) { 1915 cat_postflight(hfsmp, &cookie, vfs_context_proc(ap->a_context)); 3623 cat_cookie_t cookie; local 4000 if ((error = cat_preflight(hfsmp, CAT_RENAME + CAT_DELETE, &cookie, p))) { 4260 cat_postflight(hfsmp, &cookie, p);
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | ip6_fw.c | 197 struct ifnet *oif, u_int16_t *cookie, struct mbuf **m)); 543 * *cookie Ignore all divert/tee rules to this port (if non-zero) 545 * *cookie Skip up to the first rule past this rule number; 559 struct ifnet *oif, u_int16_t *cookie, struct mbuf **m) 569 u_int16_t skipto = *cookie; 571 u_int16_t ignport = ntohs(*cookie); 577 *cookie = 0; 783 *cookie = f->fw_number; 785 *cookie = htons(f->fw_divert_port); 558 ip6_fw_chk(struct ip6_hdr **pip6, struct ifnet *oif, u_int16_t *cookie, struct mbuf **m) argument
|
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | fasttrap_isa.c | 683 dtrace_icookie_t cookie; local 737 cookie = dtrace_interrupt_disable(); 753 dtrace_interrupt_enable(cookie); 965 dtrace_icookie_t cookie; local 1065 cookie = dtrace_interrupt_disable(); 1070 dtrace_interrupt_enable(cookie); 1523 dtrace_icookie_t cookie; local 1607 cookie = dtrace_interrupt_disable(); 1613 dtrace_interrupt_enable(cookie);
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_vnops.c | 4643 * The incoming "offset" is a directory cookie indicating where in the 4644 * directory entries should be read from. A zero cookie means start at 4645 * the beginning of the directory. Any other cookie will be a cookie 4648 * Using that cookie, determine which buffer (and where in that buffer) 4655 * entry's cookie and enter that cookie in the cookie cache. 4658 * the incoming offset is a potentially truncated cookie (ptc). 4659 * The cookie matchin 4681 uint64_t cookie, nextcookie, lbn = 0; local 4918 nfs_dir_cookie_cache(nfsnode_t dnp, uint64_t cookie, uint64_t lbn) argument 4987 nfs_dir_cookie_to_lbn(nfsnode_t dnp, uint64_t cookie, int *ptc, uint64_t *lbnp) argument 5354 uint64_t cookie, lastcookie, xid, savedxid, fileno; local [all...] |
H A D | nfs4_vnops.c | 723 uint64_t cookie, lastcookie, xid, savedxid; local 766 /* lock to protect access to cookie verifier */ 770 /* determine cookie to use, and move dp to the right offset */ 776 cookie = dp->d_seekoff; 779 cookie = bp->nb_lblkno; 783 lastcookie = cookie; 861 nfsm_chain_add_64(error, &nmreq, (cookie <= 2) ? 0 : cookie); 897 nfsm_chain_get_64(error, &nmrep, cookie); 900 if (!bigcookies && (cookie >> 3 7930 uint64_t cookie, nextcookie, lbn = 0; local [all...] |
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kpi_socket.c | 70 void* cookie, 160 new_so->so_upcallarg = cookie; 64 sock_accept( socket_t sock, struct sockaddr *from, int fromlen, int flags, sock_upcall callback, void* cookie, socket_t *new_sock) argument
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | dtrace.c | 2708 dtrace_icookie_t cookie; 2713 cookie = dtrace_interrupt_disable(); 2716 dtrace_interrupt_enable(cookie); 2745 dtrace_interrupt_enable(cookie); 6435 dtrace_icookie_t cookie; 6458 cookie = dtrace_interrupt_disable(); 6474 dtrace_interrupt_enable(cookie); 6482 dtrace_interrupt_enable(cookie); 7179 dtrace_interrupt_enable(cookie); 8631 dtrace_icookie_t cookie; [all...] |