• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/kernel/

Lines Matching refs:partition

14  *       drivers/char/generic_nvram.c) from the arch & partition
205 list_for_each(p, &nvram_part->partition) {
206 tmp_part = list_entry(p, struct nvram_partition, partition);
244 * Find an nvram partition, sig can be 0 for any
245 * partition or name can be NULL for any name, else
253 list_for_each(p, &nvram_part->partition) {
254 part = list_entry(p, struct nvram_partition, partition);
275 list_for_each(i, &nvram_part->partition) {
276 part = list_entry(i, struct nvram_partition, partition);
280 /* Make os partition a free partition */
286 list_for_each_prev(j, &part->partition) {
287 cur_part = list_entry(j, struct nvram_partition, partition);
296 list_del(&cur_part->partition);
298 j = &part->partition; /* fixup our loop */
302 list_for_each(j, &part->partition) {
303 cur_part = list_entry(j, struct nvram_partition, partition);
311 list_del(&cur_part->partition);
313 j = &part->partition; /* fixup our loop */
329 * Create a OS linux partition to buffer error logs.
330 * Will create a partition starting at the first free
343 /* Find a free partition that will give us the maximum needed size
345 list_for_each_entry(part, &nvram_part->partition, partition) {
362 /* Create our OS partition */
396 list_add_tail(&new_part->partition, &free_part->partition);
399 list_del(&free_part->partition);
404 /* Adjust the partition we stole the space from */
422 * This will setup the partition we need for buffering the
426 * 1.) If there is ppc64,linux partition large enough then use it.
427 * 2.) If there is not a ppc64,linux partition large enough, search
428 * for a free partition that is large enough.
429 * 3.) If there is not a free partition large enough remove
450 /* see if we have an OS partition that meets our needs.
453 list_for_each(p, &nvram_part->partition) {
454 part = list_entry(p, struct nvram_partition, partition);
462 /* found our partition */
470 /* try creating a partition with the free space we have */
482 /* create a partition in this new space */
486 "NVRAM partition large enough\n");
530 printk(KERN_WARNING "WARNING: nvram partition checksum"
533 printk(KERN_WARNING "Terminating nvram partition scan\n");
538 "detected: 0-length partition\n");
551 list_add_tail(&tmp_part->partition, &nvram_part->partition);
576 /* initialize our anchor for the nvram partition list */
582 INIT_LIST_HEAD(&nvram_part->partition);
592 printk(KERN_WARNING "nvram_init: Could not find nvram partition"
622 * In NVRAM the partition containing the error log buffer will looks like: