Searched refs:sg_per_table (Results 1 – 1 of 1) sorted by relevance
87 u32 i, j, page_count = 0, sg_per_table; in rd_release_sgl_table() local91 sg_per_table = sg_table[i].rd_sg_count; in rd_release_sgl_table()93 for (j = 0; j < sg_per_table; j++) { in rd_release_sgl_table()134 u32 i = 0, j, page_offset = 0, sg_per_table; in rd_allocate_sgl_table() local144 sg_per_table = (total_sg_needed > max_sg_per_table) ? in rd_allocate_sgl_table()152 if (sg_per_table < total_sg_needed) in rd_allocate_sgl_table()157 sg = kcalloc(sg_per_table + chain_entry, sizeof(*sg), in rd_allocate_sgl_table()165 sg_init_table(sg, sg_per_table + chain_entry); in rd_allocate_sgl_table()177 sg_table[i].rd_sg_count = sg_per_table; in rd_allocate_sgl_table()179 sg_table[i++].page_end_offset = (page_offset + sg_per_table) in rd_allocate_sgl_table()[all …]