Home
last modified time | relevance | path

Searched refs:_buf (Results 1 – 12 of 12) sorted by relevance

/xnu-11215/bsd/skywalk/packet/
H A Dos_packet_private.h289 #define BUFLET_HAS_LARGE_BUF(_buf) \ argument
290 (((_buf)->buf_flag & BUFLET_FLAG_LARGE_BUF) != 0)
297 *__DECONST(obj_idx_t *, &(_buf)->buf_idx) = (obj_idx_t)(_idx)
306 #define BUF_BFT_IDX_REG(_buf, _idx) \ argument
307 *__DECONST(obj_idx_t *, &(_buf)->buf_bft_idx_reg) = (_idx)
318 _CASSERT(sizeof ((_buf)->buf_idx) == sizeof (obj_idx_t)); \
339 ((_buf)->buf_addr >= (mach_vm_address_t)(_buf)->buf_objaddr && \
340 ((uintptr_t)(_buf)->buf_addr + (_buf)->buf_dlim) <= \
341 ((uintptr_t)(_buf)->buf_objaddr + (_buf)->buf_objlim) && \
342 ((_buf)->buf_doff + (_buf)->buf_dlen) <= (_buf)->buf_dlim)
[all …]
H A Dpacket_common.h92 #define QUM_GET_NEXT_BUFLET(_qum, _pbuf, _buf) do { \ argument
94 (_buf) = (((_pbuf) == NULL) ? (_qum)->qum_buf : NULL); \
97 #define PKT_GET_FIRST_BUFLET(_pkt, _bcnt, _buf) do { \ argument
99 (_buf) = NULL; \
103 (_buf) = &(_pkt)->pkt_qum_buf; \
105 (_buf) = __unsafe_forge_single(struct __kern_buflet *, \
110 #define _PKT_GET_NEXT_BUFLET(_pkt, _bcnt, _pbuf, _buf) do { \ argument
112 PKT_GET_FIRST_BUFLET(_pkt, _bcnt, _buf); \
114 (_buf) = __unsafe_forge_single(struct __kern_buflet *, \
121 _PKT_GET_NEXT_BUFLET(_pkt, _bcnt, _pbuf, _buf); \
[all …]
/xnu-11215/libkern/os/
H A Dtrace.h81 } _buf = { \
101 } _buf = { \
124 } _buf = { \
150 } _buf = { \
179 } _buf = { \
211 } _buf = { \
246 } _buf = { \
276 } _buf = { \
296 } _buf = { \
319 } _buf = { \
[all …]
/xnu-11215/tools/lldbmacros/tests/lldbmock/
H A Dmemorymock.py216 self._buf = bytes
219 byte = self._buf[idx // 8]
224 self._buf[idx // 8] |= (1 << idx % 8)
241 return len(self._buf) * 8
245 for byte in self._buf:
273 barr = BitArray(instance._buf)
288 barrb = BitArray(instance._buf)
554 self._buf = buf
562 if isinstance(self._buf, memoryview):
565 self._buf[0: len(data)] = data
[all …]
/xnu-11215/osfmk/corecrypto/
H A Dcc_memory.h108 cc_unit *ws##_buf = (cc_unit *)cc_malloc_clear(ccn_sizeof_n(n)); \
109 cc_ws ws##_ctx = { ws##_buf, n, 0, cc_ws_alloc, cc_ws_free }; \
125 cc_unit ws##_buf[CC_MAX_EVAL((n), 1U)]; \
127 cc_ws ws##_ctx = { ws##_buf, n, 0, cc_ws_alloc, cc_ws_free_stack }; \
/xnu-11215/bsd/skywalk/nexus/flowswitch/
H A Dnx_flowswitch.h237 uint64_t _buf[1]; member
241 #define fsw_slla __fsw_slladdr._buf
/xnu-11215/bsd/skywalk/mem/
H A Dskmem_cache_var.h407 #define SKMEM_CACHE_HASH(_skm, _buf) \ argument
408 (&(_skm)->skm_hash_table[SKMEM_CACHE_HASH_INDEX((uintptr_t)_buf, \
/xnu-11215/tools/lldbmacros/
H A Dlog.py106 self._buf = buf
147 lsm = Cast(addressof(self._buf[lsm_offset]), 'log_stream_msg_t *')
/xnu-11215/osfmk/kern/
H A Dexclaves.c1315 #define exclaves_scheduler_debug_save_buffer(_buf) \ argument
1316 XrtHosted_Buffer_t _buf##_copy = *(_buf)
1338 #define exclaves_scheduler_debug_save_buffer(_buf) ({ }) argument
/xnu-11215/bsd/skywalk/channel/
H A Dchannel_ring.c80 #define _BUF_DLIM(_buf, _pp) (BUFLET_HAS_LARGE_BUF(_buf) ? \ argument
/xnu-11215/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_var.h218 uint64_t _buf[2]; member
/xnu-11215/bsd/net/
H A Dpf_ioctl.c4282 user_addr_t _buf = buf; in pfioctl_ioc_trans() local
4334 buf = _buf; in pfioctl_ioc_trans()