Lines Matching refs:tablesz
785 int ret, tablesz; in rproc_fw_boot() local
810 table = rproc_find_rsc_table(rproc, fw, &tablesz); in rproc_fw_boot()
816 if (rproc->table_csum != crc32(0, table, tablesz)) { in rproc_fw_boot()
822 ret = rproc_handle_resources(rproc, tablesz, rproc_loading_handlers); in rproc_fw_boot()
848 memcpy(loaded_table, rproc->cached_table, tablesz); in rproc_fw_boot()
888 int ret, tablesz; in rproc_fw_config_virtio() local
894 table = rproc_find_rsc_table(rproc, fw, &tablesz); in rproc_fw_config_virtio()
898 rproc->table_csum = crc32(0, table, tablesz); in rproc_fw_config_virtio()
906 rproc->cached_table = kmemdup(table, tablesz, GFP_KERNEL); in rproc_fw_config_virtio()
914 ret = rproc_handle_resources(rproc, tablesz, rproc_count_vrings_handler); in rproc_fw_config_virtio()
919 ret = rproc_handle_resources(rproc, tablesz, rproc_vdev_handler); in rproc_fw_config_virtio()