/xnu-2782.1.97/iokit/IOKit/ |
H A D | IOInterleavedMemoryDescriptor.h | 59 @param direction An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures. 63 IODirection direction); 69 @param direction An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures. 73 IODirection direction ); 78 @param direction An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures. */ 80 virtual void clearMemoryDescriptors( IODirection direction = kIODirectionNone ); 85 @param descriptor An IOMemoryDescriptor to be added to the IOInterleavedMemoryDescriptor. Its direction mus [all...] |
H A D | IODMAController.h | 51 virtual IOReturn startDMACommand(UInt32 dmaIndex, IODMACommand *dmaCommand, IODirection direction, 57 virtual IOByteCount getFIFODepth(UInt32 dmaIndex, IODirection direction) = 0; 59 virtual IOByteCount validFIFODepth(UInt32 dmaIndex, IOByteCount depth, IODirection direction) = 0;
|
H A D | IODMAEventSource.h | 60 virtual IOReturn startDMACommand(IODMACommand *dmaCommand, IODirection direction, IOByteCount byteCount = 0, IOByteCount byteOffset = 0); 65 virtual IOByteCount getFIFODepth(IODirection direction = kIODirectionNone); 67 virtual IOByteCount validFIFODepth(IOByteCount depth, IODirection direction);
|
H A D | IOBufferMemoryDescriptor.h | 149 kIODirectionOut, kIODirectionIn - set the direction of the I/O transfer.<br> 173 kIODirectionOut, kIODirectionIn - set the direction of the I/O transfer.<br> 235 * Change the direction of the transfer. This method allows one to redirect 236 * the descriptor's transfer direction. This eliminates the need to destroy 239 virtual void setDirection(IODirection direction);
|
/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_endian.c | 49 * The direction parameter must be kSwapBTNodeBigToHost or kSwapBTNodeHostToBig. 50 * The kSwapBTNodeHeaderRecordOnly "direction" is not valid for these routines. 52 int hfs_swap_HFSPlusBTInternalNode (BlockDescriptor *src, HFSCatalogNodeID fileID, enum HFSBTSwapDirection direction); 56 int hfs_swap_HFSBTInternalNode (BlockDescriptor *src, HFSCatalogNodeID fileID, enum HFSBTSwapDirection direction); 90 enum HFSBTSwapDirection direction, 101 if (direction == kSwapBTNodeBigToHost) { 103 } else if (direction == kSwapBTNodeHostToBig) { 105 } else if (direction == kSwapBTNodeHeaderRecordOnly) { 116 if (direction == kSwapBTNodeBigToHost) { 234 error = hfs_swap_HFSPlusBTInternalNode (src, VTOC(vp)->c_fileid, direction); 87 hfs_swap_BTNode( BlockDescriptor *src, vnode_t vp, enum HFSBTSwapDirection direction, u_int8_t allow_empty_node ) argument [all...] |
H A D | hfs_endian.h | 96 int hfs_swap_BTNode (BlockDescriptor *src, vnode_t vp, enum HFSBTSwapDirection direction,
|
/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOInterleavedMemoryDescriptor.cpp | 37 IODirection direction ) 49 /* direction */ direction )) 60 IODirection direction ) 75 _flags = direction; 95 void IOInterleavedMemoryDescriptor::clearMemoryDescriptors( IODirection direction ) 111 if ( direction != kIODirectionNone ) 113 _flags = (_flags & ~kIOMemoryDirectionMask) | direction;
|
H A D | IODMAEventSource.cpp | 90 IOReturn IODMAEventSource::startDMACommand(IODMACommand *dmaCommand, IODirection direction, IOByteCount byteCount, IOByteCount byteOffset) argument 100 result = dmaController->startDMACommand(dmaIndex, dmaCommand, direction, byteCount, byteOffset); 128 IOByteCount IODMAEventSource::getFIFODepth(IODirection direction) argument 132 return dmaController->getFIFODepth(dmaIndex, direction); 144 IOByteCount IODMAEventSource::validFIFODepth(IOByteCount depth, IODirection direction) argument 148 return dmaController->validFIFODepth(dmaIndex, depth, direction);
|
H A D | IOSubMemoryDescriptor.cpp | 62 IODirection direction ) 95 _flags = direction;
|
H A D | IOMemoryDescriptor.cpp | 1043 IODirection direction) 1046 withAddressRange((IOVirtualAddress) address, length, direction | kIOMemoryAutoPrepare, kernel_task); 1053 IODirection direction, 1059 if (that->initWithAddress(address, length, direction, task)) 1072 IODirection direction ) 1074 return (IOMemoryDescriptor::withAddressRange(address, length, direction, TASK_NULL)); 1081 IODirection direction, 1088 if (that->initWithRanges(ranges, withCount, direction, task, asReference)) 1173 IODirection direction, 1179 if (that->initWithPhysicalRanges(ranges, withCount, direction, asReferenc 1041 withAddress(void * address, IOByteCount length, IODirection direction) argument 1051 withAddress(IOVirtualAddress address, IOByteCount length, IODirection direction, task_t task) argument 1079 withRanges( IOVirtualRange * ranges, UInt32 withCount, IODirection direction, task_t task, bool asReference) argument 1171 withPhysicalRanges( IOPhysicalRange * ranges, UInt32 withCount, IODirection direction, bool asReference) argument 1188 withSubRange(IOMemoryDescriptor * of, IOByteCount offset, IOByteCount length, IODirection direction) argument 1272 initWithPhysicalRanges( IOPhysicalRange * ranges, UInt32 count, IODirection direction, bool reference) argument 1287 initWithRanges( IOVirtualRange * ranges, UInt32 count, IODirection direction, task_t task, bool reference) argument 4304 initWithAddress(void * address, IOByteCount length, IODirection direction) argument 4312 initWithAddress(IOVirtualAddress address, IOByteCount length, IODirection direction, task_t task) argument 4330 initWithRanges( IOVirtualRange * ranges, UInt32 withCount, IODirection direction, task_t task, bool asReference) argument 4341 initWithPhysicalRanges( IOPhysicalRange * ranges, UInt32 withCount, IODirection direction, bool asReference) argument [all...] |
H A D | IOBufferMemoryDescriptor.cpp | 563 * Change the direction of the transfer. This method allows one to redirect 564 * the descriptor's transfer direction. This eliminates the need to destroy 567 void IOBufferMemoryDescriptor::setDirection(IODirection direction) argument 569 _flags = (_flags & ~kIOMemoryDirectionMask) | direction;
|
H A D | IODMACommand.cpp | 68 // no direction => OutIn 69 #define SHOULD_COPY_DIR(op, direction) \ 70 ((kIODirectionNone == (direction)) \ 73 & (direction))) 76 #define SHOULD_COPY_DIR(state, direction) (true)
|
/xnu-2782.1.97/bsd/net/ |
H A D | pf.c | 385 int direction, int *action) 392 if (direction == PF_OUT && 394 (*state)->rule.ptr->direction == PF_OUT) || 396 (*state)->rule.ptr->direction == PF_IN)) && 408 *state = pf_find_state(kif, &key, direction); \ 418 if (pf_state_lookup_aux(state, kif, direction, &action)) \ 1287 (((*state)->state_key->direction == 1291 ((*state)->state_key->direction == PF_IN && 1966 if (cur->direction != prev->direction) 384 pf_state_lookup_aux(struct pf_state **state, struct pfi_kif *kif, int direction, int *action) argument 3374 pf_match_translation(struct pf_pdesc *pd, struct mbuf *m, int off, int direction, struct pfi_kif *kif, struct pf_addr *saddr, union pf_state_xport *sxport, struct pf_addr *daddr, union pf_state_xport *dxport, int rs_num) argument 3471 pf_get_translation_aux(struct pf_pdesc *pd, struct mbuf *m, int off, int direction, struct pfi_kif *kif, struct pf_src_node **sn, struct pf_addr *saddr, union pf_state_xport *sxport, struct pf_addr *daddr, union pf_state_xport *dxport, struct pf_addr *naddr, union pf_state_xport *nxport) argument 3684 pf_socket_lookup(int direction, struct pf_pdesc *pd) argument 4048 pf_test_rule(struct pf_rule **rm, struct pf_state **sm, int direction, struct pfi_kif *kif, struct mbuf *m, int off, void *h, struct pf_pdesc *pd, struct pf_rule **am, struct pf_ruleset **rsm, struct ifqueue *ifq) argument 5141 pf_test_dummynet(struct pf_rule **rm, int direction, struct pfi_kif *kif, struct mbuf **m0, struct pf_pdesc *pd, struct ip_fw_args *fwa) argument 5403 pf_test_fragment(struct pf_rule **rm, int direction, struct pfi_kif *kif, struct mbuf *m, void *h, struct pf_pdesc *pd, struct pf_rule **am, struct pf_ruleset **rsm) argument 5498 pf_pptp_handler(struct pf_state *s, int direction, int off, struct pf_pdesc *pd, struct pfi_kif *kif) argument 5844 pf_test_state_tcp(struct pf_state **state, int direction, struct pfi_kif *kif, struct mbuf *m, int off, void *h, struct pf_pdesc *pd, u_short *reason) argument 6372 pf_test_state_udp(struct pf_state **state, int direction, struct pfi_kif *kif, struct mbuf *m, int off, void *h, struct pf_pdesc *pd, u_short *reason) argument 6522 pf_test_state_icmp(struct pf_state **state, int direction, struct pfi_kif *kif, struct mbuf *m, int off, void *h, struct pf_pdesc *pd, u_short *reason) argument 7196 pf_test_state_grev1(struct pf_state **state, int direction, struct pfi_kif *kif, int off, struct pf_pdesc *pd) argument 7297 pf_test_state_esp(struct pf_state **state, int direction, struct pfi_kif *kif, int off, struct pf_pdesc *pd) argument 7460 pf_test_state_other(struct pf_state **state, int direction, struct pfi_kif *kif, struct pf_pdesc *pd) argument [all...] |
H A D | iptap.c | 272 * - When the interface is detached from a BPF device (direction is zero) 275 iptap_tap_callback(ifnet_t ifp, u_int32_t dlt, bpf_tap_mode direction) argument 287 if (direction == 0) { 299 if (direction == 0) {
|
H A D | bpf.h | 648 * the direction - 0x00 = IN, 0x01 = OUT. 845 * that includes direction information; requested by Paolo Abeni. 866 * Variants of various link-layer headers, with a one-byte direction 1347 @param direction The direction of the tap. 1350 bpf_tap_mode direction);
|
H A D | pktap.c | 302 * - When the interface is detached from a BPF device (direction is zero) 305 pktap_tap_callback(ifnet_t ifp, u_int32_t dlt, bpf_tap_mode direction) argument 317 if (direction == 0) { 329 if (direction == 0) {
|
H A D | pf_norm.c | 1555 else if (r->direction && r->direction != dir) 1685 * input direction. If we continued, it would 1832 else if (r->direction && r->direction != dir) 2117 else if (r->direction && r->direction != dir)
|
H A D | pf_ioctl.c | 1277 PF_MD5_UPD(rule, direction); 1429 sp->direction = sk->direction; 1482 sk->direction = sp->direction; 3053 if (rule->rt && !rule->direction) 3364 if (newrule->rt && !newrule->direction) 3692 if (sk->direction == PF_OUT) { 3892 int m = 0, direction = pnl->direction; local [all...] |
H A D | pfvar.h | 746 u_int8_t direction; member in struct:pf_rule 980 u_int8_t direction; member in struct:pf_state_key_cmp 993 u_int8_t direction; member in struct:pf_state_key 1119 u_int8_t direction; member in struct:pfsync_state 1766 u_int8_t direction; member in struct:pfioc_natlook
|
/xnu-2782.1.97/bsd/kern/ |
H A D | uipc_syscalls.c | 2625 internalize_user_msghdr_array(const void *src, int spacetype, int direction, argument 2668 auio = uio_create(user_msg->msg_iovlen, 0, spacetype, direction); 2700 externalize_user_msghdr_array(void *dst, int spacetype, int direction, argument 2703 #pragma unused(direction)
|
/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_journal.c | 335 do_journal_io(journal *jnl, off_t *offset, void *data, size_t len, int direction) argument 347 if (direction & JNL_WRITE) 349 else if (direction & JNL_READ) 373 if (*offset == 0 && (direction & JNL_HEADER) == 0) { 391 if (direction & JNL_READ) 405 if ((direction & JNL_WRITE) && (jnl->flags & JOURNAL_DO_FUA_WRITES)) {
|