Home
last modified time | relevance | path

Searched refs:cache_line_size (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/powerpc/mpc85xx/
H A Dmpc85xx_cache.c112 int cache_line_size, cache_size; in mpc85xx_cache_attach() local
127 cache_line_size = 0; in mpc85xx_cache_attach()
132 &cache_line_size, sizeof(cache_line_size)); in mpc85xx_cache_attach()
134 if (cache_line_size != 0 && cache_size != 0) in mpc85xx_cache_attach()
137 cache_size / 1024, cache_line_size); in mpc85xx_cache_attach()
/freebsd/contrib/ofed/libmlx5/
H A Ddbrec.c57 pp = ps / context->cache_line_size; in __add_page()
108 db = page->buf.buf + (i * 8 * sizeof(long) + j) * context->cache_line_size; in mlx5_alloc_dbrec()
131 i = ((void *) db - page->buf.buf) / context->cache_line_size; in mlx5_free_db()
H A Dmlx5-abi.h87 __u32 cache_line_size; member
H A Dmlx5.c825 context->cache_line_size = resp.cache_line_size; in mlx5_init_context()
H A Dmlx5.h242 int cache_line_size; member
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dcache.h34 #define cache_line_size() CACHE_LINE_SIZE macro
/freebsd/sys/dev/isci/scil/
H A Dintel_pci.h83 U8 cache_line_size; member
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DNativeProcessProtocol.cpp680 static const size_t cache_line_size = in ReadCStringFromMemory() local
692 cache_line_size - (curr_addr % cache_line_size); in ReadCStringFromMemory()
/freebsd/sys/ofed/include/uapi/rdma/
H A Dmlx5-abi.h109 __u32 cache_line_size; member
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DTarget.cpp1987 const size_t cache_line_size = 512; in ReadCStringFromMemory() local
1994 cache_line_size - (curr_addr % cache_line_size); in ReadCStringFromMemory()
2030 addr_t cache_line_size = m_process_sp->GetMemoryCacheLineSize(); in GetReasonableReadSize() local
2031 return cache_line_size - (load_addr % cache_line_size); in GetReasonableReadSize()
H A DProcess.cpp2169 const size_t cache_line_size = m_memory_cache.GetMemoryCacheLineSize(); in ReadCStringFromMemory() local
2175 cache_line_size - (curr_addr % cache_line_size); in ReadCStringFromMemory()
/freebsd/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiapi.c104 #define cache_line_size() CACHE_LINE_SIZE macro
5007 ccb_sz = roundup2(AGTIAPI_CCB_SIZE, cache_line_size()); in agtiapi_PrepCCBs()
5008 hdr_sz = roundup2(sizeof(*hdr), cache_line_size()); in agtiapi_PrepCCBs()
5132 ccb_sz = roundup2(AGTIAPI_CCB_SIZE, cache_line_size()); in agtiapi_InitCCBs()
5133 hdr_sz = roundup2(sizeof(*hdr), cache_line_size()); in agtiapi_InitCCBs()
5810 hdr_sz = roundup2(sizeof(*hdr), cache_line_size()); in agtiapi_ReleaseCCBs()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_main.c269 if (cache_line_size() == 128 || cache_line_size() == 256) { in mlx4_enable_cqe_eqe_stride()
278 if (cache_line_size() != 32 && cache_line_size() != 64) in mlx4_enable_cqe_eqe_stride()
H A Dmlx4_fw.c1888 (ilog2(cache_line_size()) - 4) << 5; in mlx4_INIT_HCA()
1939 dev->caps.eqe_size = cache_line_size(); in mlx4_INIT_HCA()
1940 dev->caps.cqe_size = cache_line_size(); in mlx4_INIT_HCA()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_dev.c2906 u32 val, wr_mbs, cache_line_size; in ecore_init_cache_line_size() local
2926 cache_line_size = OSAL_MIN_T(u32, OSAL_CACHE_LINE_SIZE, wr_mbs); in ecore_init_cache_line_size()
2927 switch (cache_line_size) { in ecore_init_cache_line_size()
2943 cache_line_size); in ecore_init_cache_line_size()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cq.c960 cqe_size = cache_line_size() == 128 ? 128 : 64; in mlx5_ib_create_cq()
H A Dmlx5_ib_main.c1304 resp.cache_line_size = cache_line_size(); in mlx5_ib_alloc_ucontext()