Searched refs:copy_sz (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/pensando/ionic/ |
D | ionic_fw.c | 101 u32 buf_sz, copy_sz, offset; in ionic_firmware_update() local 127 copy_sz = min_t(unsigned int, buf_sz, fw->size - offset); in ionic_firmware_update() 129 memcpy_toio(&idev->dev_cmd_regs->data, fw->data + offset, copy_sz); in ionic_firmware_update() 132 offset, copy_sz); in ionic_firmware_update() 139 copy_sz); in ionic_firmware_update() 143 offset += copy_sz; in ionic_firmware_update()
|
/linux-6.1.9/drivers/remoteproc/ |
D | remoteproc_coredump.c | 180 ssize_t copy_sz; in rproc_coredump_read() local 188 copy_sz = memory_read_from_buffer(buffer, count, &offset, in rproc_coredump_read() 191 return copy_sz; in rproc_coredump_read() 209 copy_sz = min_t(size_t, bytes_left, seg_data); in rproc_coredump_read() 212 copy_sz); in rproc_coredump_read() 214 offset += copy_sz; in rproc_coredump_read() 215 buffer += copy_sz; in rproc_coredump_read() 216 bytes_left -= copy_sz; in rproc_coredump_read()
|
/linux-6.1.9/arch/arc/kernel/ |
D | ptrace.c | 267 int ret, copy_sz; in arcv2regs_set() local 270 copy_sz = sizeof(struct user_regs_arcv2); in arcv2regs_set() 272 copy_sz = 4; /* r30 only */ in arcv2regs_set() 275 0, copy_sz); in arcv2regs_set()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ethtool.c | 887 int i, copy_sz; in netxen_get_dump_data() local 898 copy_sz = mdump->md_template_size; in netxen_get_dump_data() 901 for (i = 0; i < copy_sz/sizeof(u32); i++) in netxen_get_dump_data() 905 memcpy(buffer + copy_sz, in netxen_get_dump_data() 908 dump->len = copy_sz + mdump->md_capture_size; in netxen_get_dump_data()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ethtool.c | 1682 int i, copy_sz; in qlcnic_get_dump_data() local 1699 copy_sz = fw_dump->tmpl_hdr_size; in qlcnic_get_dump_data() 1702 for (i = 0; i < copy_sz/sizeof(u32); i++) in qlcnic_get_dump_data() 1706 memcpy(buffer + copy_sz, fw_dump->data, fw_dump->size); in qlcnic_get_dump_data() 1707 dump->len = copy_sz + fw_dump->size; in qlcnic_get_dump_data()
|
/linux-6.1.9/drivers/message/fusion/ |
D | mptfc.c | 739 int copy_sz; in mptfc_GetFcPortPage0() local 778 copy_sz = min_t(int, sizeof(FCPortPage0_t), data_sz); in mptfc_GetFcPortPage0() 779 memcpy(pp0dest, ppage0_alloc, copy_sz); in mptfc_GetFcPortPage0()
|
D | mptbase.c | 4950 int copy_sz; in GetLanConfigPages() local 4979 copy_sz = min_t(int, sizeof(LANPage0_t), data_sz); in GetLanConfigPages() 4980 memcpy(&ioc->lan_cnfg_page0, ppage0_alloc, copy_sz); in GetLanConfigPages() 5026 copy_sz = min_t(int, sizeof(LANPage1_t), data_sz); in GetLanConfigPages() 5027 memcpy(&ioc->lan_cnfg_page1, ppage1_alloc, copy_sz); in GetLanConfigPages()
|