Lines Matching refs:pp_size
141 unsigned int pp_size; /* total size current of partial parity */ member
280 if (io && (io->pp_size == log->entry_space || in ppl_log_stripe()
347 le32_add_cpu(&e->pp_size, PAGE_SIZE); in ppl_log_stripe()
348 io->pp_size += PAGE_SIZE; in ppl_log_stripe()
449 le32_to_cpu(e->pp_size), le32_to_cpu(e->data_size)); in ppl_submit_iounit()
462 (PPL_HEADER_SIZE + io->pp_size) >> 9) in ppl_submit_iounit()
474 log->next_io_sector += (PPL_HEADER_SIZE + io->pp_size) >> 9; in ppl_submit_iounit()
801 unsigned int pp_size = le32_to_cpu(e->pp_size); in ppl_recover_entry() local
814 if ((pp_size >> 9) < conf->chunk_sectors) { in ppl_recover_entry()
815 if (pp_size > 0) { in ppl_recover_entry()
816 data_disks = data_size / pp_size; in ppl_recover_entry()
817 strip_sectors = pp_size >> 9; in ppl_recover_entry()
916 if (pp_size > 0) { in ppl_recover_entry()
984 u32 pp_size = le32_to_cpu(e->pp_size); in ppl_recover() local
986 int ppl_entry_sectors = pp_size >> 9; in ppl_recover()
991 (unsigned long long)ppl_sector, pp_size); in ppl_recover()
997 while (pp_size) { in ppl_recover()
998 int s = pp_size > PAGE_SIZE ? PAGE_SIZE : pp_size; in ppl_recover()
1009 pp_size -= s; in ppl_recover()
1159 le32_to_cpu(pplhdr->entries[i].pp_size) >> 9; in ppl_load_distributed()