• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/s390/kernel/

Lines Matching refs:areas

33 #define ALL_AREAS 0 /* copy all debug areas */
34 #define NO_AREAS 1 /* copy no debug areas */
185 * - Debug areas are implemented as a threedimensonal array:
186 * areas[areanumber][pagenumber][pageoffset]
192 debug_entry_t*** areas;
195 areas = kmalloc(nr_areas *
198 if (!areas)
201 areas[i] = kmalloc(pages_per_area *
203 if (!areas[i]) {
207 areas[i][j] = kzalloc(PAGE_SIZE, GFP_KERNEL);
208 if(!areas[i][j]) {
210 kfree(areas[i][j]);
212 kfree(areas[i]);
217 return areas;
222 kfree(areas[i][j]);
224 kfree(areas[i]);
226 kfree(areas);
256 rc->areas = debug_areas_alloc(pages_per_area, nr_areas);
257 if(!rc->areas)
260 rc->areas = NULL;
292 * - free all debug areas
300 if(!db_info->areas)
304 kfree(db_info->areas[i][j]);
306 kfree(db_info->areas[i]);
308 kfree(db_info->areas);
309 db_info->areas = NULL;
377 /* get a consistent copy of the debug areas */
398 memcpy(rc->areas[i][j], in->areas[i][j],PAGE_SIZE);
465 if (!id_snap->areas) /* this is true, if we have a prolog only view */
467 act_entry = (debug_entry_t *) ((char*)id_snap->areas[p_info->act_area]
498 if(!id->areas)
626 /* Make snapshot of current debug areas to get it consistent. */
627 /* To copy all the areas is only needed, if we have a view which */
628 /* formats the debug areas. */
753 * - set area size (number of pages) and number of areas
777 id->areas = new_areas;
850 return (debug_entry_t *) (((char *) id->areas[id->active_area]
945 if (!debug_active || !id->areas)
968 if (!debug_active || !id->areas)
1011 if (!debug_active || !id->areas)
1044 if (!debug_active || !id->areas)
1313 * flushes debug areas
1321 if(!id || !id->areas)
1330 memset(id->areas[i][j], 0, PAGE_SIZE);
1337 memset(id->areas[area][i],0,PAGE_SIZE);
1344 * view function: flushes debug areas