Lines Matching refs:pcache
35 struct vmu_cache *pcache;
119 struct vmu_cache *pcache;
126 pcache = card->parts[partition].pcache;
127 pcache->valid = 0;
130 if (!pcache->buffer) {
131 pcache->buffer = kmalloc(card->blocklen, GFP_KERNEL);
132 if (!pcache->buffer) {
210 memcpy(pcache->buffer + (card->blocklen/card->readcnt) * x,
213 pcache->block = num;
214 pcache->jiffies_atc = jiffies;
215 pcache->valid = 1;
358 struct vmu_cache *pcache;
377 pcache = card->parts[partition].pcache;
383 if (pcache->valid &&
384 time_before(jiffies, pcache->jiffies_atc + HZ) &&
385 (pcache->block == vblock->num)) {
391 pcache->buffer + vblock->ofs,
396 memcpy(buf + index, pcache->buffer +
428 struct vmu_cache *pcache;
479 pcache = card->parts[partition].pcache;
480 pcache->valid = 0;
515 struct vmu_cache *pcache;
561 pcache = kzalloc(sizeof(struct vmu_cache), GFP_KERNEL);
562 if (!pcache)
564 part_cur->pcache = pcache;
590 kfree(((card->parts)[error]).pcache);
591 ((card->parts)[error]).pcache = NULL;