Lines Matching refs:tablesz
800 int ret, tablesz; in rproc_fw_boot() local
825 table = rproc_find_rsc_table(rproc, fw, &tablesz); in rproc_fw_boot()
830 if (rproc->table_csum != crc32(0, table, tablesz)) { in rproc_fw_boot()
836 ret = rproc_handle_resources(rproc, tablesz, rproc_loading_handlers); in rproc_fw_boot()
862 memcpy(loaded_table, rproc->cached_table, tablesz); in rproc_fw_boot()
902 int ret, tablesz; in rproc_fw_config_virtio() local
908 table = rproc_find_rsc_table(rproc, fw, &tablesz); in rproc_fw_config_virtio()
912 rproc->table_csum = crc32(0, table, tablesz); in rproc_fw_config_virtio()
920 rproc->cached_table = kmemdup(table, tablesz, GFP_KERNEL); in rproc_fw_config_virtio()
928 ret = rproc_handle_resources(rproc, tablesz, in rproc_fw_config_virtio()
934 ret = rproc_handle_resources(rproc, tablesz, rproc_vdev_handler); in rproc_fw_config_virtio()