Lines Matching defs:track
171 * We track full slabs for debugging purposes though because otherwise we
322 struct track {
618 * If network-based swap is enabled, slub must keep track of whether memory
756 p += sizeof(struct track) * 2;
772 p += sizeof(struct track) * 2;
890 offset += sizeof(struct track) * 2;
1033 static struct track *get_track(struct kmem_cache *s, void *object,
1036 struct track *p;
1066 struct track *p = get_track(s, object, alloc);
1087 struct track *p;
1093 memset(p, 0, 2*sizeof(struct track));
1096 static void print_track(const char *s, struct track *t, unsigned long pr_time)
1202 off += 2 * sizeof(struct track);
1406 off += 2 * sizeof(struct track);
2660 * Let KASAN track our call stack as a "related work
4588 * But if we keep track of the requested size, krealloc() uses that
4591 * orig_size if we track it.
7926 size += 2 * sizeof(struct track);
8102 struct track __maybe_unused *trackp;
8881 const struct track *track,
8887 unsigned long age = jiffies - track->when;
8892 handle = READ_ONCE(track->handle);
8911 if ((track->addr == caddr) && (handle == chandle) &&
8915 if (track->when) {
8922 if (track->pid < l->min_pid)
8923 l->min_pid = track->pid;
8924 if (track->pid > l->max_pid)
8925 l->max_pid = track->pid;
8927 cpumask_set_cpu(track->cpu,
8930 node_set(page_to_nid(virt_to_page(track)), l->nodes);
8934 if (track->addr < caddr)
8936 else if (track->addr == caddr && handle < chandle)
8938 else if (track->addr == caddr && handle == chandle &&
8957 l->addr = track->addr;
8961 l->min_pid = track->pid;
8962 l->max_pid = track->pid;
8966 cpumask_set_cpu(track->cpu, to_cpumask(l->cpus));
8968 node_set(page_to_nid(virt_to_page(track)), l->nodes);