Home
last modified time | relevance | path

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

12345

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dcache.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)
H A Dcompiler.h66 #define ____cacheline_aligned __aligned(CACHE_LINE_SIZE)
67 #define ____cacheline_aligned_in_smp __aligned(CACHE_LINE_SIZE)
/freebsd/sys/net/
H A Dmp_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/sys/dev/cxgbe/
H A Dt4_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);
H A Doffload.h144 struct mtx stid_lock __aligned(CACHE_LINE_SIZE);
150 struct mtx atid_lock __aligned(CACHE_LINE_SIZE);
156 struct mtx ftid_lock __aligned(CACHE_LINE_SIZE);
167 struct mtx hftid_lock __aligned(CACHE_LINE_SIZE);
177 struct mtx etid_lock __aligned(CACHE_LINE_SIZE);
H A Dadapter.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);
784 __be64 *fl_desc __aligned(CACHE_LINE_SIZE);
797 uint32_t fl_cidx __aligned(CACHE_LINE_SIZE);
832 } __aligned(CACHE_LINE_SIZE);
[all …]
/freebsd/sys/dev/vnic/
H A Dnicvf_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/sys/vm/
H A Dvm_pagequeue.h71 } __aligned(CACHE_LINE_SIZE);
82 } __aligned(CACHE_LINE_SIZE);
249 u_int __aligned(CACHE_LINE_SIZE) vmd_free_count; /* (a,f) free page count */
251 uint8_t vmd_pad[CACHE_LINE_SIZE - (sizeof(u_int) * 2)];
295 } __aligned(CACHE_LINE_SIZE);
H A Duma_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/sys/dev/sfxge/
H A Dsfxge_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);
H A Dsfxge_tx.h196 int blocked __aligned(CACHE_LINE_SIZE);
201 struct mtx lock __aligned(CACHE_LINE_SIZE);
230 unsigned int pending __aligned(CACHE_LINE_SIZE);
H A Dsfxge.h67 #ifndef CACHE_LINE_SIZE
71 #define CACHE_LINE_SIZE 128 macro
183 } __aligned(CACHE_LINE_SIZE);
/freebsd/sys/dev/gve/
H A Dgve.h93 } __aligned(CACHE_LINE_SIZE);
216 } __aligned(CACHE_LINE_SIZE);
250 } __aligned(CACHE_LINE_SIZE);
252 } __aligned(CACHE_LINE_SIZE);
306 } __aligned(CACHE_LINE_SIZE);
308 } __aligned(CACHE_LINE_SIZE);
/freebsd/sys/dev/ena/
H A Dena.h263 } __aligned(CACHE_LINE_SIZE);
272 } __aligned(CACHE_LINE_SIZE);
377 } __aligned(CACHE_LINE_SIZE);
456 __aligned(CACHE_LINE_SIZE);
460 __aligned(CACHE_LINE_SIZE);
464 __aligned(CACHE_LINE_SIZE);
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.h131 struct ieee80211_txq txq __aligned(CACHE_LINE_SIZE);
154 struct ieee80211_sta sta __aligned(CACHE_LINE_SIZE);
179 struct ieee80211_vif vif __aligned(CACHE_LINE_SIZE);
263 struct ieee80211_hw hw __aligned(CACHE_LINE_SIZE);
270 struct ieee80211_chanctx_conf chanctx_conf __aligned(CACHE_LINE_SIZE);
281 struct wiphy wiphy __aligned(CACHE_LINE_SIZE);
/freebsd/libexec/rtld-elf/
H A Drtld_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/sys/dev/dpaa2/
H A Ddpaa2_types.h90 } __aligned(CACHE_LINE_SIZE);
121 } __aligned(CACHE_LINE_SIZE);
/freebsd/sys/tests/epoch/
H A Depoch_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/sys/dev/hyperv/vmbus/
H A Dvmbus_chanvar.h77 struct vmbus_txbr ch_txbr __aligned(CACHE_LINE_SIZE);
155 } __aligned(CACHE_LINE_SIZE);
/freebsd/lib/libthr/thread/
H A Dthr_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()
H A Dthr_rtld.c55 char _pad[CACHE_LINE_SIZE - sizeof(struct urwlock)];
58 static struct rtld_lock lock_place[MAX_RTLD_LOCKS] __aligned(CACHE_LINE_SIZE);
/freebsd/sys/dev/vmware/vmxnet3/
H A Dif_vmxvar.h96 } __aligned(CACHE_LINE_SIZE);
108 } __aligned(CACHE_LINE_SIZE);
/freebsd/sys/sys/
H A D_rwlock.h59 } __aligned(CACHE_LINE_SIZE);
H A D_mutex.h62 } __aligned(CACHE_LINE_SIZE);
/freebsd/sys/dev/isci/scil/
H A Dscic_sds_request.h338 (((POINTER_UINT)(address)) + (CACHE_LINE_SIZE - 1)) \
339 & ~(CACHE_LINE_SIZE - 1) \

12345