Searched refs:direction (Results 1 - 18 of 18) sorted by relevance

/darwin-on-arm/xnu/iokit/IOKit/
H A DIOInterleavedMemoryDescriptor.h59 @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 DIODMAController.h51 virtual IOReturn startDMACommand(UInt32 dmaIndex, IODMACommand *dmaCommand, IODirection direction,
H A DIODMAEventSource.h60 virtual IOReturn startDMACommand(IODMACommand *dmaCommand, IODirection direction, IOByteCount byteCount = 0, IOByteCount byteOffset = 0);
H A DIOBufferMemoryDescriptor.h149 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);
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_endian.c49 * 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);
53 int hfs_swap_HFSBTInternalNode (BlockDescriptor *src, HFSCatalogNodeID fileID, enum HFSBTSwapDirection direction);
87 enum HFSBTSwapDirection direction,
98 if (direction == kSwapBTNodeBigToHost) {
100 } else if (direction == kSwapBTNodeHostToBig) {
102 } else if (direction == kSwapBTNodeHeaderRecordOnly) {
113 if (direction == kSwapBTNodeBigToHost) {
231 error = hfs_swap_HFSPlusBTInternalNode (src, VTOC(vp)->c_fileid, direction);
84 hfs_swap_BTNode( BlockDescriptor *src, vnode_t vp, enum HFSBTSwapDirection direction, u_int8_t allow_empty_node ) argument
[all...]
H A Dhfs_endian.h96 int hfs_swap_BTNode (BlockDescriptor *src, vnode_t vp, enum HFSBTSwapDirection direction,
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOInterleavedMemoryDescriptor.cpp37 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 DIOSubMemoryDescriptor.cpp62 IODirection direction )
95 _flags = direction;
H A DIODMAEventSource.cpp84 IOReturn IODMAEventSource::startDMACommand(IODMACommand *dmaCommand, IODirection direction, IOByteCount byteCount, IOByteCount byteOffset) argument
94 result = dmaController->startDMACommand(dmaIndex, dmaCommand, direction, byteCount, byteOffset);
H A DIOMemoryDescriptor.cpp254 IODirection direction)
257 withAddressRange((IOVirtualAddress) address, length, direction | kIOMemoryAutoPrepare, kernel_task);
264 IODirection direction,
270 if (that->initWithAddress(address, length, direction, task))
283 IODirection direction )
285 return (IOMemoryDescriptor::withAddressRange(address, length, direction, TASK_NULL));
292 IODirection direction,
299 if (that->initWithRanges(ranges, withCount, direction, task, asReference))
384 IODirection direction,
390 if (that->initWithPhysicalRanges(ranges, withCount, direction, asReferenc
252 withAddress(void * address, IOByteCount length, IODirection direction) argument
262 withAddress(IOVirtualAddress address, IOByteCount length, IODirection direction, task_t task) argument
290 withRanges( IOVirtualRange * ranges, UInt32 withCount, IODirection direction, task_t task, bool asReference) argument
382 withPhysicalRanges( IOPhysicalRange * ranges, UInt32 withCount, IODirection direction, bool asReference) argument
399 withSubRange(IOMemoryDescriptor * of, IOByteCount offset, IOByteCount length, IODirection direction) argument
529 initWithPhysicalRanges( IOPhysicalRange * ranges, UInt32 count, IODirection direction, bool reference) argument
544 initWithRanges( IOVirtualRange * ranges, UInt32 count, IODirection direction, task_t task, bool reference) argument
[all...]
H A DIOBufferMemoryDescriptor.cpp780 * Change the direction of the transfer. This method allows one to redirect
781 * the descriptor's transfer direction. This eliminates the need to destroy
784 void IOBufferMemoryDescriptor::setDirection(IODirection direction) argument
786 _flags = (_flags & ~kIOMemoryDirectionMask) | direction;
H A DIODMACommand.cpp68 // no direction => OutIn
69 #define SHOULD_COPY_DIR(op, direction) \
70 ((kIODirectionNone == (direction)) \
73 & (direction)))
76 #define SHOULD_COPY_DIR(state, direction) (true)
/darwin-on-arm/xnu/bsd/net/
H A Dpf.c377 int direction, int *action)
384 if (direction == PF_OUT &&
386 (*state)->rule.ptr->direction == PF_OUT) ||
388 (*state)->rule.ptr->direction == PF_IN)) &&
400 *state = pf_find_state(kif, &key, direction); \
405 if (pf_state_lookup_aux(state, kif, direction, &action)) \
1274 (((*state)->state_key->direction ==
1278 ((*state)->state_key->direction == PF_IN &&
1947 if (cur->direction != prev->direction)
376 pf_state_lookup_aux(struct pf_state **state, struct pfi_kif *kif, int direction, int *action) argument
3336 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
3433 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
3640 pf_socket_lookup(int direction, struct pf_pdesc *pd) argument
4003 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
5090 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
5350 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
5445 pf_pptp_handler(struct pf_state *s, int direction, int off, struct pf_pdesc *pd, struct pfi_kif *kif) argument
5790 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
6314 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
6458 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
7125 pf_test_state_grev1(struct pf_state **state, int direction, struct pfi_kif *kif, int off, struct pf_pdesc *pd) argument
7226 pf_test_state_esp(struct pf_state **state, int direction, struct pfi_kif *kif, int off, struct pf_pdesc *pd) argument
7384 pf_test_state_other(struct pf_state **state, int direction, struct pfi_kif *kif, struct pf_pdesc *pd) argument
[all...]
H A Dbpf.h538 @param direction The direction of the tap.
541 bpf_tap_mode direction);
H A Dpf_norm.c1548 else if (r->direction && r->direction != dir)
1676 * input direction. If we continued, it would
1823 else if (r->direction && r->direction != dir)
2107 else if (r->direction && r->direction != dir)
H A Dpf_ioctl.c1274 PF_MD5_UPD(rule, direction);
1416 sp->direction = sk->direction;
1469 sk->direction = sp->direction;
3001 if (rule->rt && !rule->direction)
3309 if (newrule->rt && !newrule->direction)
3591 if (sk->direction == PF_OUT) {
3792 int m = 0, direction = pnl->direction; local
[all...]
H A Dpfvar.h747 u_int8_t direction; member in struct:pf_rule
981 u_int8_t direction; member in struct:pf_state_key_cmp
994 u_int8_t direction; member in struct:pf_state_key
1119 u_int8_t direction; member in struct:pfsync_state
1765 u_int8_t direction; member in struct:pfioc_natlook
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_journal.c331 do_journal_io(journal *jnl, off_t *offset, void *data, size_t len, int direction) argument
342 if (direction & JNL_WRITE)
344 else if (direction & JNL_READ)
368 if (*offset == 0 && (direction & JNL_HEADER) == 0) {
372 if (direction & JNL_READ)
386 if ((direction & JNL_WRITE) && (jnl->flags & JOURNAL_DO_FUA_WRITES)) {

Completed in 114 milliseconds