Lines Matching defs:name

29 	char *name;
52 char *name;
156 static unsigned long read_obj(const char *name)
158 FILE *f = fopen(name, "r");
176 static unsigned long get_obj(const char *name)
178 if (!read_obj(name))
184 static unsigned long get_obj_and_str(const char *name, char **x)
191 if (!read_obj(name)) {
203 static void set_obj(struct slabinfo *s, const char *name, int n)
208 snprintf(x, 100, "%s/%s", s->name, name);
217 static unsigned long read_slab_obj(struct slabinfo *s, const char *name)
223 snprintf(x, 100, "%s/%s", s->name, name);
301 if (strcmp(s->name, "*") == 0)
309 if (strcmp(s->name, "*") == 0)
338 (!best || strlen(best->name) < strlen(a->name))) {
340 if (strncmp(a->name,"kmall", 5) == 0)
367 if (strcmp(s->name, "*") == 0)
371 printf("\n%s: No NUMA information available.\n", s->name);
387 printf("%-21s ", mode ? "All slabs" : s->name);
410 printf("\n%s: Kernel object allocation\n", s->name);
417 printf("\n%s: Kernel object freeing\n", s->name);
428 if (strcmp(s->name, "*") == 0)
432 printf("\n%s: kmem_cache operations\n", s->name);
436 printf("\n%s has no kmem_cache operations\n", s->name);
532 if (strcmp(s->name, "*") == 0)
536 s->name, s->aliases, s->order, s->objects);
578 if (strcmp(s->name, "*") == 0)
633 s->name, s->objects,
641 s->name, s->objects, s->object_size, size_str, dist_str,
719 if (strcmp(s->name, "*") == 0)
729 fprintf(stderr, "%s not empty cannot disable sanity checks\n", s->name);
735 fprintf(stderr, "%s not empty cannot enable redzoning\n", s->name);
741 fprintf(stderr, "%s not empty cannot disable redzoning\n", s->name);
747 fprintf(stderr, "%s not empty cannot enable poisoning\n", s->name);
753 fprintf(stderr, "%s not empty cannot disable poisoning\n", s->name);
759 fprintf(stderr, "%s not empty cannot enable tracking\n", s->name);
765 fprintf(stderr, "%s not empty cannot disable tracking\n", s->name);
771 fprintf(stderr, "%s can only enable trace for one slab at a time\n", s->name);
1050 result = strcasecmp(s1->name, s2->name);
1055 result = strcasecmp(s1->name, s2->name);
1060 result = strcasecmp(s1->name, s2->name);
1065 result = strcasecmp(s1->name, s2->name);
1069 result = strcasecmp(s1->name, s2->name);
1093 n1 = a1->name;
1094 n2 = a2->name;
1118 if (strcmp(a->ref, s->name) == 0) {
1143 if (strcmp(a->slab->name, active) == 0) {
1144 printf(" %s", a->name);
1148 printf("\n%-12s <- %s", a->slab->name, a->name);
1149 active = a->slab->name;
1152 printf("%-15s -> %s\n", a->name, a->slab->name);
1165 if (*s->name != ':')
1174 s->name = a->name;
1176 s->name = "*";
1207 alias->name = strdup(de->d_name);
1222 fatal("Unable to access slab %s\n", slab->name);
1223 slab->name = strdup(de->d_name);
1277 if (slab->name[0] == ':')