Lines Matching defs:pcache
33 struct vmu_cache *pcache;
117 struct vmu_cache *pcache;
124 pcache = card->parts[partition].pcache;
125 pcache->valid = 0;
128 if (!pcache->buffer) {
129 pcache->buffer = kmalloc(card->blocklen, GFP_KERNEL);
130 if (!pcache->buffer) {
208 memcpy(pcache->buffer + (card->blocklen/card->readcnt) * x,
211 pcache->block = num;
212 pcache->jiffies_atc = jiffies;
213 pcache->valid = 1;
356 struct vmu_cache *pcache;
372 pcache = card->parts[partition].pcache;
378 if (pcache->valid &&
379 time_before(jiffies, pcache->jiffies_atc + HZ) &&
380 (pcache->block == vblock->num)) {
386 pcache->buffer + vblock->ofs,
391 memcpy(buf + index, pcache->buffer +
423 struct vmu_cache *pcache;
469 pcache = card->parts[partition].pcache;
470 pcache->valid = 0;
505 struct vmu_cache *pcache;
551 pcache = kzalloc(sizeof(struct vmu_cache), GFP_KERNEL);
552 if (!pcache)
554 part_cur->pcache = pcache;
580 kfree(((card->parts)[error]).pcache);
581 ((card->parts)[error]).pcache = NULL;