Searched refs:copy_sz (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/remoteproc/ |
D | remoteproc_coredump.c | 176 ssize_t copy_sz; in rproc_coredump_read() local 184 copy_sz = memory_read_from_buffer(buffer, count, &offset, in rproc_coredump_read() 187 return copy_sz; in rproc_coredump_read() 205 copy_sz = min_t(size_t, bytes_left, seg_data); in rproc_coredump_read() 208 copy_sz); in rproc_coredump_read() 210 offset += copy_sz; in rproc_coredump_read() 211 buffer += copy_sz; in rproc_coredump_read() 212 bytes_left -= copy_sz; in rproc_coredump_read()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
D | ionic_fw.c | 101 u32 buf_sz, copy_sz, offset; in ionic_firmware_update() local 135 copy_sz = min_t(unsigned int, buf_sz, fw->size - offset); in ionic_firmware_update() 137 memcpy_toio(&idev->dev_cmd_regs->data, fw->data + offset, copy_sz); in ionic_firmware_update() 140 offset, copy_sz); in ionic_firmware_update() 147 copy_sz); in ionic_firmware_update() 151 offset += copy_sz; in ionic_firmware_update()
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
D | ptrace.c | 182 int ret, copy_sz; in arcv2regs_set() local 185 copy_sz = sizeof(struct user_regs_arcv2); in arcv2regs_set() 187 copy_sz = 4; /* r30 only */ in arcv2regs_set() 190 0, copy_sz); in arcv2regs_set()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ethtool.c | 879 int i, copy_sz; in netxen_get_dump_data() local 890 copy_sz = mdump->md_template_size; in netxen_get_dump_data() 893 for (i = 0; i < copy_sz/sizeof(u32); i++) in netxen_get_dump_data() 897 memcpy(buffer + copy_sz, in netxen_get_dump_data() 900 dump->len = copy_sz + mdump->md_capture_size; in netxen_get_dump_data()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ethtool.c | 1674 int i, copy_sz; in qlcnic_get_dump_data() local 1691 copy_sz = fw_dump->tmpl_hdr_size; in qlcnic_get_dump_data() 1694 for (i = 0; i < copy_sz/sizeof(u32); i++) in qlcnic_get_dump_data() 1698 memcpy(buffer + copy_sz, fw_dump->data, fw_dump->size); in qlcnic_get_dump_data() 1699 dump->len = copy_sz + fw_dump->size; in qlcnic_get_dump_data()
|
/kernel/linux/linux-5.10/drivers/message/fusion/ |
D | mptfc.c | 739 int copy_sz; in mptfc_GetFcPortPage0() local 777 copy_sz = min_t(int, sizeof(FCPortPage0_t), data_sz); in mptfc_GetFcPortPage0() 778 memcpy(pp0dest, ppage0_alloc, copy_sz); in mptfc_GetFcPortPage0()
|
D | mptbase.c | 4959 int copy_sz; in GetLanConfigPages() local 4987 copy_sz = min_t(int, sizeof(LANPage0_t), data_sz); in GetLanConfigPages() 4988 memcpy(&ioc->lan_cnfg_page0, ppage0_alloc, copy_sz); in GetLanConfigPages() 5032 copy_sz = min_t(int, sizeof(LANPage1_t), data_sz); in GetLanConfigPages() 5033 memcpy(&ioc->lan_cnfg_page1, ppage1_alloc, copy_sz); in GetLanConfigPages()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | bpf_load.c | 408 int copy_sz; in load_elf_maps_section() local
|