Lines Matching refs:tmp_size
912 unsigned int tmp_size, offset, i; in mvumi_init_data() local
919 tmp_size = mhba->ib_max_size * mhba->max_io; in mvumi_init_data()
921 tmp_size += sizeof(struct mvumi_dyn_list_entry) * mhba->max_io; in mvumi_init_data()
923 tmp_size += 128 + mhba->ob_max_size * mhba->max_io; in mvumi_init_data()
924 tmp_size += 8 + sizeof(u32)*2 + 16; in mvumi_init_data()
927 RESOURCE_UNCACHED_MEMORY, tmp_size); in mvumi_init_data()
987 tmp_size = mhba->max_io * (mhba->ob_max_size + sizeof(*ob_pool)); in mvumi_init_data()
988 tmp_size = round_up(tmp_size, 8); in mvumi_init_data()
991 RESOURCE_CACHED_MEMORY, tmp_size); in mvumi_init_data()
1005 tmp_size = sizeof(unsigned short) * mhba->max_io + in mvumi_init_data()
1007 tmp_size += round_up(mhba->max_target_id, sizeof(unsigned char) * 8) / in mvumi_init_data()
1011 RESOURCE_CACHED_MEMORY, tmp_size); in mvumi_init_data()