Home
last modified time | relevance | path

Searched refs:CACHE_LINE_SIZE (Results 1 – 25 of 115) sorted by relevance

12345

/freebsd-head/sys/compat/linuxkpi/common/include/linux/
HDcache.h34 #define cache_line_size() CACHE_LINE_SIZE
35 #define L1_CACHE_BYTES CACHE_LINE_SIZE
36 #define L1_CACHE_ALIGN(x) ALIGN(x, CACHE_LINE_SIZE)
HDcompiler.h68 #define ____cacheline_aligned __aligned(CACHE_LINE_SIZE)
69 #define ____cacheline_aligned_in_smp __aligned(CACHE_LINE_SIZE)
/freebsd-head/sys/net/
HDmp_ring.h46 volatile uint64_t state __aligned(CACHE_LINE_SIZE);
48 int size __aligned(CACHE_LINE_SIZE);
62 void * volatile items[] __aligned(CACHE_LINE_SIZE);
/freebsd-head/sys/dev/cxgbe/
HDt4_mp_ring.h41 volatile uint64_t state __aligned(CACHE_LINE_SIZE);
44 int size __aligned(CACHE_LINE_SIZE);
58 void * volatile items[] __aligned(CACHE_LINE_SIZE);
HDoffload.h136 struct mtx stid_lock __aligned(CACHE_LINE_SIZE);
142 struct mtx atid_lock __aligned(CACHE_LINE_SIZE);
149 struct mtx ftid_lock __aligned(CACHE_LINE_SIZE);
160 struct mtx hftid_lock __aligned(CACHE_LINE_SIZE);
170 struct mtx etid_lock __aligned(CACHE_LINE_SIZE);
HDadapter.h111 CL_METADATA_SIZE = CACHE_LINE_SIZE,
524 struct rwlock mw_lock __aligned(CACHE_LINE_SIZE);
650 } __aligned(CACHE_LINE_SIZE);
668 } __aligned(CACHE_LINE_SIZE);
698 } __aligned(CACHE_LINE_SIZE);
754 } __aligned(CACHE_LINE_SIZE);
766 } __aligned(CACHE_LINE_SIZE);
771 volatile int nm_state __aligned(CACHE_LINE_SIZE); /* NM_OFF, NM_ON, or NM_BUSY */
784 __be64 *fl_desc __aligned(CACHE_LINE_SIZE);
797 uint32_t fl_cidx __aligned(CACHE_LINE_SIZE);
[all …]
/freebsd-head/sys/dev/vnic/
HDnicvf_queues.h224 } __aligned(CACHE_LINE_SIZE);
234 } __aligned(CACHE_LINE_SIZE);
264 } __aligned(CACHE_LINE_SIZE);
282 } __aligned(CACHE_LINE_SIZE);
303 } __aligned(CACHE_LINE_SIZE);
336 } __aligned(CACHE_LINE_SIZE);
356 } __aligned(CACHE_LINE_SIZE);
/freebsd-head/sys/vm/
HDvm_pagequeue.h71 } __aligned(CACHE_LINE_SIZE);
82 } __aligned(CACHE_LINE_SIZE);
251 u_int __aligned(CACHE_LINE_SIZE) vmd_free_count; /* (a,f) free page count */
253 uint8_t vmd_pad[CACHE_LINE_SIZE - (sizeof(u_int) * 2)];
298 } __aligned(CACHE_LINE_SIZE);
HDuma_int.h229 #define UMA_SUPER_ALIGN (CACHE_LINE_SIZE * 2)
231 #define UMA_SUPER_ALIGN CACHE_LINE_SIZE
324 } __aligned(CACHE_LINE_SIZE);
452 } __aligned(CACHE_LINE_SIZE);
/freebsd-head/sys/dev/sfxge/
HDsfxge_rx.h155 struct sfxge_softc *sc __aligned(CACHE_LINE_SIZE);
163 struct sfxge_rx_sw_desc *queue __aligned(CACHE_LINE_SIZE);
176 volatile enum sfxge_flush_state flush_state __aligned(CACHE_LINE_SIZE);
HDsfxge_tx.h196 int blocked __aligned(CACHE_LINE_SIZE);
201 struct mtx lock __aligned(CACHE_LINE_SIZE);
230 unsigned int pending __aligned(CACHE_LINE_SIZE);
HDsfxge.h67 #ifndef CACHE_LINE_SIZE
71 #define CACHE_LINE_SIZE 128 macro
183 } __aligned(CACHE_LINE_SIZE);
/freebsd-head/sys/dev/gve/
HDgve.h100 } __aligned(CACHE_LINE_SIZE);
224 } __aligned(CACHE_LINE_SIZE);
322 } __aligned(CACHE_LINE_SIZE);
444 } __aligned(CACHE_LINE_SIZE);
473 } __aligned(CACHE_LINE_SIZE);
490 } __aligned(CACHE_LINE_SIZE);
494 } __aligned(CACHE_LINE_SIZE);
/freebsd-head/sys/compat/linuxkpi/common/src/
HDlinux_80211.h143 struct ieee80211_txq txq __aligned(CACHE_LINE_SIZE);
169 struct ieee80211_sta sta __aligned(CACHE_LINE_SIZE);
203 struct ieee80211_vif vif __aligned(CACHE_LINE_SIZE);
287 struct ieee80211_hw hw __aligned(CACHE_LINE_SIZE);
297 struct ieee80211_chanctx_conf chanctx_conf __aligned(CACHE_LINE_SIZE);
312 struct wiphy wiphy __aligned(CACHE_LINE_SIZE);
/freebsd-head/libexec/rtld-elf/
HDrtld_lock.c103 base = xmalloc(CACHE_LINE_SIZE); in def_lock_create()
105 if ((uintptr_t)p % CACHE_LINE_SIZE != 0) { in def_lock_create()
107 base = xmalloc(2 * CACHE_LINE_SIZE); in def_lock_create()
109 if ((r = (uintptr_t)p % CACHE_LINE_SIZE) != 0) in def_lock_create()
110 p += CACHE_LINE_SIZE - r; in def_lock_create()
/freebsd-head/sys/dev/ena/
HDena.h274 } __aligned(CACHE_LINE_SIZE);
283 } __aligned(CACHE_LINE_SIZE);
389 } __aligned(CACHE_LINE_SIZE);
483 __aligned(CACHE_LINE_SIZE);
487 __aligned(CACHE_LINE_SIZE);
491 __aligned(CACHE_LINE_SIZE);
/freebsd-head/sys/dev/dpaa2/
HDdpaa2_types.h90 } __aligned(CACHE_LINE_SIZE);
121 } __aligned(CACHE_LINE_SIZE);
/freebsd-head/sys/tests/epoch/
HDepoch_test.c54 static struct mtx state_mtx __aligned(CACHE_LINE_SIZE*2);
56 static struct mtx mutexA __aligned(CACHE_LINE_SIZE*2);
58 static struct mtx mutexB __aligned(CACHE_LINE_SIZE*2);
/freebsd-head/sys/dev/hyperv/vmbus/
HDvmbus_chanvar.h77 struct vmbus_txbr ch_txbr __aligned(CACHE_LINE_SIZE);
154 } __aligned(CACHE_LINE_SIZE);
/freebsd-head/lib/libthr/thread/
HDthr_pspinlock.c60 lck = aligned_alloc(CACHE_LINE_SIZE, in _pthread_spin_init()
61 roundup(sizeof(struct pthread_spinlock), CACHE_LINE_SIZE)); in _pthread_spin_init()
HDthr_rtld.c56 char _pad[CACHE_LINE_SIZE - sizeof(struct urwlock) -
60 static struct rtld_lock lock_place[MAX_RTLD_LOCKS] __aligned(CACHE_LINE_SIZE);
/freebsd-head/sys/dev/vmware/vmxnet3/
HDif_vmxvar.h96 } __aligned(CACHE_LINE_SIZE);
108 } __aligned(CACHE_LINE_SIZE);
/freebsd-head/sys/sys/
HD_mutex.h64 } __aligned(CACHE_LINE_SIZE);
HD_rwlock.h61 } __aligned(CACHE_LINE_SIZE);
/freebsd-head/sys/dev/isci/scil/
HDscic_sds_request.h338 (((POINTER_UINT)(address)) + (CACHE_LINE_SIZE - 1)) \
339 & ~(CACHE_LINE_SIZE - 1) \

12345