/kernel/linux/linux-5.10/drivers/ntb/ |
D | msi.c | 102 resource_size_t addr_align, size_align, size_max; in ntb_msi_setup_mws() local 135 &size_align, &size_max); in ntb_msi_setup_mws() 139 mw_size = round_up(mw_size, size_align); in ntb_msi_setup_mws()
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
D | sclp_cmd.c | 372 unsigned long long start_align, size_align; in align_to_block_size() local 375 size_align = rounddown(*start + *size, alignment) - start_align; in align_to_block_size() 378 *start, size_align >> 20, *size >> 20); in align_to_block_size() 380 *size = size_align; in align_to_block_size()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
D | sendmsg.c | 347 max &= ~(call->conn->size_align - 1UL); in rxrpc_send_data() 353 space = chunk + call->conn->size_align; in rxrpc_send_data() 354 space &= ~(call->conn->size_align - 1UL); in rxrpc_send_data() 430 pad = conn->size_align - pad; in rxrpc_send_data() 431 pad &= conn->size_align - 1; in rxrpc_send_data()
|
D | rxkad.c | 78 conn->size_align = 8; in rxkad_init_connection_security() 82 conn->size_align = 8; in rxkad_init_connection_security() 255 len = data_size + call->conn->size_align - 1; in rxkad_secure_packet_encrypt() 256 len &= ~(call->conn->size_align - 1); in rxkad_secure_packet_encrypt()
|
D | conn_object.c | 52 conn->size_align = 4; in rxrpc_alloc_connection()
|
D | ar-internal.h | 456 u8 size_align; /* data size alignment (for security) */ member
|
/kernel/linux/linux-5.10/drivers/ntb/hw/intel/ |
D | ntb_hw_gen4.c | 486 resource_size_t *size_align, in intel_ntb4_mw_get_align() argument 517 if (size_align) in intel_ntb4_mw_get_align() 518 *size_align = 1; in intel_ntb4_mw_get_align()
|
D | ntb_hw_gen1.h | 160 resource_size_t *addr_align, resource_size_t *size_align,
|
D | ntb_hw_gen1.c | 806 resource_size_t *size_align, in intel_ntb_mw_get_align() argument 833 if (size_align) in intel_ntb_mw_get_align() 834 *size_align = 1; in intel_ntb_mw_get_align()
|
/kernel/linux/linux-5.10/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.c | 1101 mws[*mw_cnt].size_align = (mw_type == IDT_MW_DIR) ? in idt_scan_mws() 1196 resource_size_t *size_align, in idt_ntb_mw_get_align() argument 1213 if (size_align != NULL) in idt_ntb_mw_get_align() 1214 *size_align = peer->mws[widx].size_align; in idt_ntb_mw_get_align() 1307 if (!IS_ALIGNED(size, mw_cfg->size_align) || size > mw_cfg->size_max) in idt_ntb_peer_mw_set_trans() 2419 ndev->mws[idx].size_align, ndev->mws[idx].size_max); in idt_dbgfs_info_read() 2450 ndev->peers[pidx].mws[idx].size_align, in idt_dbgfs_info_read()
|
D | ntb_hw_idt.h | 1072 u64 size_align; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | ntb.h | 275 resource_size_t *size_align, 825 resource_size_t *size_align, in ntb_mw_get_align() argument 831 return ntb->ops->mw_get_align(ntb, pidx, widx, addr_align, size_align, in ntb_mw_get_align()
|
/kernel/linux/linux-5.10/drivers/ntb/test/ |
D | ntb_tool.c | 577 resource_size_t size, addr_align, size_align; in tool_setup_mw() local 586 &size_align, &size); in tool_setup_mw() 592 inmw->size = round_up(inmw->size, size_align); in tool_setup_mw() 647 resource_size_t size_align; in tool_mw_trans_read() local 660 &addr_align, &size_align, &size_max); in tool_mw_trans_read() 690 &size_align); in tool_mw_trans_read()
|
D | ntb_perf.c | 570 resource_size_t xlat_align, size_align, size_max; in perf_setup_inbuf() local 576 &xlat_align, &size_align, &size_max); in perf_setup_inbuf() 588 peer->inbuf_size = round_up(peer->inbuf_size, size_align); in perf_setup_inbuf()
|
/kernel/linux/linux-5.10/drivers/ntb/hw/amd/ |
D | ntb_hw_amd.c | 94 resource_size_t *size_align, in amd_ntb_mw_get_align() argument 110 if (size_align) in amd_ntb_mw_get_align() 111 *size_align = 1; in amd_ntb_mw_get_align()
|
/kernel/linux/linux-5.10/drivers/ntb/hw/mscc/ |
D | ntb_hw_switchtec.c | 193 resource_size_t *size_align, in switchtec_ntb_mw_get_align() argument 212 if (size_align) in switchtec_ntb_mw_get_align() 213 *size_align = lut ? size : SZ_4K; in switchtec_ntb_mw_get_align()
|