Searched refs:sg_per_table (Results 1 – 1 of 1) sorted by relevance
81 u32 i, j, page_count = 0, sg_per_table; in rd_release_sgl_table() local85 sg_per_table = sg_table[i].rd_sg_count; in rd_release_sgl_table()87 for (j = 0; j < sg_per_table; j++) { in rd_release_sgl_table()128 u32 i = 0, j, page_offset = 0, sg_per_table; in rd_allocate_sgl_table() local138 sg_per_table = (total_sg_needed > max_sg_per_table) ? in rd_allocate_sgl_table()144 if (sg_per_table < total_sg_needed) in rd_allocate_sgl_table()147 sg = kcalloc(sg_per_table + chain_entry, sizeof(*sg), in rd_allocate_sgl_table()155 sg_init_table(sg, sg_per_table + chain_entry); in rd_allocate_sgl_table()163 sg_table[i].rd_sg_count = sg_per_table; in rd_allocate_sgl_table()165 sg_table[i++].page_end_offset = (page_offset + sg_per_table) in rd_allocate_sgl_table()[all …]