Lines Matching refs:ptr
75 unsigned long *ptr;
83 for (ptr = &image->head; (entry = *ptr) && !(entry & IND_DONE);
84 ptr = (entry & IND_INDIRECTION) ?
85 phys_to_virt(entry & PAGE_MASK) : ptr + 1) {
86 if (*ptr & IND_SOURCE || *ptr & IND_INDIRECTION ||
87 *ptr & IND_DESTINATION)
88 *ptr = (unsigned long) phys_to_virt(*ptr);
128 for (ptr = &image->head; (entry = *ptr) && !(entry & IND_DONE);
129 ptr = (*ptr & IND_INDIRECTION) ?
130 phys_to_virt(*ptr & PAGE_MASK) : ptr + 1) {
131 if (*ptr & IND_SOURCE || *ptr & IND_INDIRECTION ||
132 *ptr & IND_DESTINATION)
133 *ptr = virt_to_phys(*ptr);