Home
last modified time | relevance | path

Searched refs:CACHE_LINE_SIZE (Results 1 – 25 of 115) 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.h45 #define ____cacheline_aligned __aligned(CACHE_LINE_SIZE)
46 #define ____cacheline_aligned_in_smp __aligned(CACHE_LINE_SIZE)
/freebsd/sys/dev/cxgbe/
H A Doffload.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);
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 Dadapter.h114 CL_METADATA_SIZE = CACHE_LINE_SIZE,
555 struct rwlock mw_lock __aligned(CACHE_LINE_SIZE);
695 } __aligned(CACHE_LINE_SIZE);
713 } __aligned(CACHE_LINE_SIZE);
753 } __aligned(CACHE_LINE_SIZE);
809 } __aligned(CACHE_LINE_SIZE);
824 } __aligned(CACHE_LINE_SIZE);
839 volatile int nm_state __aligned(CACHE_LINE_SIZE); /* NM_OFF, NM_ON, or NM_BUSY */
852 __be64 *fl_desc __aligned(CACHE_LINE_SIZE);
865 uint32_t fl_cidx __aligned(CACHE_LINE_SIZE);
[all …]
/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/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);
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);
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/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/gve/
H A Dgve.h121 } __aligned(CACHE_LINE_SIZE);
245 } __aligned(CACHE_LINE_SIZE);
343 } __aligned(CACHE_LINE_SIZE);
484 } __aligned(CACHE_LINE_SIZE);
513 } __aligned(CACHE_LINE_SIZE);
530 } __aligned(CACHE_LINE_SIZE);
534 } __aligned(CACHE_LINE_SIZE);
/freebsd/sys/dev/ena/
H A Dena.h274 } __aligned(CACHE_LINE_SIZE);
283 } __aligned(CACHE_LINE_SIZE);
389 } __aligned(CACHE_LINE_SIZE);
485 __aligned(CACHE_LINE_SIZE);
489 __aligned(CACHE_LINE_SIZE);
493 __aligned(CACHE_LINE_SIZE);
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_types.h95 } __aligned(CACHE_LINE_SIZE);
126 } __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/compat/linuxkpi/common/src/
H A Dlinux_80211.h163 struct ieee80211_txq txq __aligned(CACHE_LINE_SIZE);
190 struct ieee80211_sta sta __aligned(CACHE_LINE_SIZE);
231 struct ieee80211_vif vif __aligned(CACHE_LINE_SIZE);
325 struct ieee80211_hw hw __aligned(CACHE_LINE_SIZE);
339 struct ieee80211_chanctx_conf chanctx_conf __aligned(CACHE_LINE_SIZE);
354 struct wiphy wiphy __aligned(CACHE_LINE_SIZE);
/freebsd/sys/dev/hyperv/vmbus/
H A Dvmbus_chanvar.h77 struct vmbus_txbr ch_txbr __aligned(CACHE_LINE_SIZE);
154 } __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.c56 char _pad[CACHE_LINE_SIZE - sizeof(struct urwlock) -
60 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/netinet/
H A Dtcp_hpts_internal.h147 struct callout co __aligned(CACHE_LINE_SIZE);
148 } __aligned(CACHE_LINE_SIZE);
/freebsd/sys/sys/
H A D_rwlock.h61 } __aligned(CACHE_LINE_SIZE);
H A D_mutex.h64 } __aligned(CACHE_LINE_SIZE);

12345