Lines Matching refs:cs_count
9277 u_int cs_count;
9300 cs_count = 0;
9393 if (begin_set[cs_count] == TRUE
9394 && end_set[cs_count] == FALSE) {
9395 cs_table[cs_count].end = downloaded;
9396 end_set[cs_count] = TRUE;
9397 cs_count++;
9402 && begin_set[cs_count] == FALSE) {
9403 cs_table[cs_count].begin = downloaded;
9404 begin_set[cs_count] = TRUE;
9412 ahd->num_critical_sections = cs_count;
9413 if (cs_count != 0) {
9415 cs_count *= sizeof(struct cs);
9416 ahd->critical_sections = kmalloc(cs_count, GFP_ATOMIC);
9419 memcpy(ahd->critical_sections, cs_table, cs_count);