/Linux-v6.6/include/linux/ |
D | cache.h | 8 #ifndef L1_CACHE_ALIGN 9 #define L1_CACHE_ALIGN(x) __ALIGN_KERNEL(x, L1_CACHE_BYTES) macro
|
/Linux-v6.6/arch/ia64/mm/ |
D | discontig.c | 120 pernodesize += L1_CACHE_ALIGN(sizeof(pg_data_t)); in compute_pernodesize() 121 pernodesize += L1_CACHE_ALIGN(sizeof(struct ia64_node_data)); in compute_pernodesize() 122 pernodesize += L1_CACHE_ALIGN(sizeof(pg_data_t)); in compute_pernodesize() 274 pernode += L1_CACHE_ALIGN(sizeof(pg_data_t)); in fill_pernode() 277 pernode += L1_CACHE_ALIGN(sizeof(struct ia64_node_data)); in fill_pernode() 278 pernode += L1_CACHE_ALIGN(sizeof(pg_data_t)); in fill_pernode()
|
/Linux-v6.6/drivers/scsi/ |
D | 53c700.h | 228 #define MSGOUT_OFFSET (L1_CACHE_ALIGN(sizeof(SCRIPT))) 230 #define MSGIN_OFFSET (MSGOUT_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE)) 232 #define STATUS_OFFSET (MSGIN_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE)) 234 #define SLOTS_OFFSET (STATUS_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE)) 236 #define TOTAL_MEM_SIZE (SLOTS_OFFSET + L1_CACHE_ALIGN(sizeof(struct NCR_700_command_slot) * NCR_700…
|
/Linux-v6.6/drivers/misc/sgi-xp/ |
D | xpc_partition.c | 49 if ((u64)*base == L1_CACHE_ALIGN((u64)*base)) in xpc_kmalloc_cacheline_aligned() 59 return (void *)L1_CACHE_ALIGN((u64)*base); in xpc_kmalloc_cacheline_aligned() 99 buf_len = L1_CACHE_ALIGN(len); in xpc_get_rsvd_page_pa()
|
D | xpc.h | 104 #define XPC_RP_HEADER_SIZE L1_CACHE_ALIGN(sizeof(struct xpc_rsvd_page)) 236 L1_CACHE_ALIGN(sizeof(struct xpc_openclose_args) * \
|
D | xpc_main.c | 374 if ((u64)*base == L1_CACHE_ALIGN((u64)*base)) in xpc_kzalloc_cacheline_aligned() 384 return (void *)L1_CACHE_ALIGN((u64)*base); in xpc_kzalloc_cacheline_aligned() 913 DBUG_ON((u64)part != L1_CACHE_ALIGN((u64)part)); in xpc_setup_partitions()
|
D | xpnet.c | 446 end_addr = L1_CACHE_ALIGN((u64)skb_tail_pointer(skb)); in xpnet_dev_hard_start_xmit()
|
/Linux-v6.6/arch/ia64/include/asm/ |
D | nodedata.h | 59 L1_CACHE_ALIGN(sizeof(struct pglist_data))))
|
/Linux-v6.6/sound/firewire/ |
D | packets-buffer.c | 36 packet_size = L1_CACHE_ALIGN(packet_size); in iso_packets_buffer_init()
|
/Linux-v6.6/drivers/net/ethernet/freescale/fs_enet/ |
D | fs_enet-main.c | 249 L1_CACHE_ALIGN(pkt_len), in fs_enet_napi() 262 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_enet_napi() 267 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_enet_napi() 383 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_init_bds() 439 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_cleanup_bds()
|
D | fs_enet.h | 117 #define ENET_RX_FRSIZE L1_CACHE_ALIGN(PKT_MAXBUF_SIZE + ENET_RX_ALIGN - 1)
|
/Linux-v6.6/drivers/tty/serial/ |
D | cpm_uart.c | 745 mem_addr = pinfo->mem_addr + L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize); in cpm_uart_initbd() 896 memsz = L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize) + in cpm_uart_allocbuf() 897 L1_CACHE_ALIGN(pinfo->tx_nrfifos * pinfo->tx_fifosize); in cpm_uart_allocbuf() 923 pinfo->tx_buf = pinfo->rx_buf + L1_CACHE_ALIGN(pinfo->rx_nrfifos in cpm_uart_allocbuf() 934 dma_free_coherent(pinfo->port.dev, L1_CACHE_ALIGN(pinfo->rx_nrfifos * in cpm_uart_freebuf() 936 L1_CACHE_ALIGN(pinfo->tx_nrfifos * in cpm_uart_freebuf()
|
D | ucc_uart.c | 619 L1_CACHE_ALIGN(qe_port->rx_nrfifos * qe_port->rx_fifosize); in qe_uart_initbd() 994 rx_size = L1_CACHE_ALIGN(qe_port->rx_nrfifos * qe_port->rx_fifosize); in qe_uart_request_port() 995 tx_size = L1_CACHE_ALIGN(qe_port->tx_nrfifos * qe_port->tx_fifosize); in qe_uart_request_port()
|
/Linux-v6.6/net/ipv4/ |
D | inetpeer.c | 80 100 * L1_CACHE_ALIGN(sizeof(struct inet_peer))); in inet_initpeers()
|
/Linux-v6.6/drivers/hsi/clients/ |
D | cmt_speech.c | 813 size_t buf_size_aligned = L1_CACHE_ALIGN(buf_cfg->buf_size) * in check_buf_params() 815 size_t ctrl_size_aligned = L1_CACHE_ALIGN(sizeof(*hi->mmap_cfg)); in check_buf_params() 888 hi->slot_size = L1_CACHE_ALIGN(hi->buf_size); in cs_hsi_data_enable() 893 data_start = L1_CACHE_ALIGN(sizeof(*hi->mmap_cfg)); in cs_hsi_data_enable()
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/ |
D | dma.c | 49 size = L1_CACHE_ALIGN(dev->drv->txwi_size + sizeof(*t)); in mt76_alloc_txwi() 67 t = kzalloc(L1_CACHE_ALIGN(sizeof(*t)), GFP_ATOMIC); in mt76_alloc_rxwi()
|
/Linux-v6.6/drivers/net/ethernet/google/gve/ |
D | gve_tx.c | 123 aligned_head = L1_CACHE_ALIGN(fifo->head); in gve_tx_alloc_fifo() 360 align_hdr_pad = L1_CACHE_ALIGN(hlen) - hlen; in gve_skb_fifo_bytes_required()
|
/Linux-v6.6/arch/parisc/kernel/ |
D | cache.c | 536 threshold = L1_CACHE_ALIGN((unsigned long)((uint64_t)size * alltime / rangetime)); in parisc_setup_cache_timing()
|
/Linux-v6.6/net/xdp/ |
D | xsk.c | 586 hr = max(NET_SKB_PAD, L1_CACHE_ALIGN(xs->dev->needed_headroom)); in xsk_build_skb_zerocopy() 648 hr = max(NET_SKB_PAD, L1_CACHE_ALIGN(dev->needed_headroom)); in xsk_build_skb()
|
/Linux-v6.6/drivers/net/ethernet/toshiba/ |
D | tc35815.c | 354 L1_CACHE_ALIGN(ETH_FRAME_LEN + VLAN_HLEN + NET_IP_ALIGN) 357 L1_CACHE_ALIGN(ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN + NET_IP_ALIGN)
|
/Linux-v6.6/drivers/net/wireless/ath/ath6kl/ |
D | sdio.c | 376 (u8 *)L1_CACHE_ALIGN((unsigned long)virt_buf); in ath6kl_sdio_alloc_prep_scat_req()
|
/Linux-v6.6/drivers/parisc/ |
D | sba_iommu.c | 634 L1_CACHE_ALIGN(((unsigned long) pdir_ptr)) in sba_mark_invalid()
|
/Linux-v6.6/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_main.c | 42 #define SXGBE_ALIGN(x) L1_CACHE_ALIGN(x)
|
/Linux-v6.6/include/net/ |
D | tcp.h | 56 #define MAX_TCP_HEADER L1_CACHE_ALIGN(128 + MAX_HEADER)
|
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 3306 push_size = L1_CACHE_ALIGN(sizeof(struct tx_push_bd) + in bnxt_alloc_tx_rings() 4100 size = L1_CACHE_ALIGN(HW_HASH_INDEX_SIZE * sizeof(u16)); in bnxt_alloc_vnic_attributes() 4102 size = L1_CACHE_ALIGN(BNXT_MAX_RSS_TABLE_SIZE_P5); in bnxt_alloc_vnic_attributes() 4515 arr_size = L1_CACHE_ALIGN(sizeof(struct bnxt_napi *) * in bnxt_alloc_mem() 4517 size = L1_CACHE_ALIGN(sizeof(struct bnxt_napi)); in bnxt_alloc_mem()
|