Lines Matching refs:p
560 int *p; in pcpu_alloc_area() local
562 for (i = chunk->first_free, p = chunk->map + i; i < chunk->map_used; i++, p++) { in pcpu_alloc_area()
566 off = *p; in pcpu_alloc_area()
570 this_size = (p[1] & ~1) - off; in pcpu_alloc_area()
589 if (head && (head < sizeof(int) || !(p[-1] & 1))) { in pcpu_alloc_area()
590 *p = off += head; in pcpu_alloc_area()
591 if (p[-1] & 1) in pcpu_alloc_area()
594 max_contig = max(*p - p[-1], max_contig); in pcpu_alloc_area()
611 memmove(p + nr_extra + 1, p + 1, in pcpu_alloc_area()
620 *++p = off += head; in pcpu_alloc_area()
625 p[1] = off + size; in pcpu_alloc_area()
641 *p |= 1; in pcpu_alloc_area()
675 int *p; in pcpu_free_area() local
696 p = chunk->map + i; in pcpu_free_area()
697 *p = off &= ~1; in pcpu_free_area()
698 chunk->free_size += (p[1] & ~1) - off; in pcpu_free_area()
703 if (!(p[1] & 1)) in pcpu_free_area()
706 if (i > 0 && !(p[-1] & 1)) { in pcpu_free_area()
709 p--; in pcpu_free_area()
713 memmove(p + 1, p + 1 + to_free, in pcpu_free_area()