• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/vm/

Lines Matching refs:slab

49 	struct slabinfo *slab;
103 "slabinfo [-ahnpvtsz] [-d debugopts] [slab-regexp]\n"
303 * Find the shortest alias of a slab
311 if (a->slab == find &&
714 fprintf(stderr, "%s can only enable trace for one slab at a time\n", s->name);
735 /* Number of slabs in a slab cache */
739 /* Size of the whole slab */
743 /* Bytes used for object storage in a slab */
750 /* Number of objects in a slab */
763 /* Percentage of partial slabs per slab */
771 /* Percentage of partial objects of all objects in a slab */
878 /* Per slab averages */
1042 a->slab = s;
1061 if (!show_single_ref && a->slab->refs == 1)
1066 if (strcmp(a->slab->name, active) == 0) {
1071 printf("\n%-12s <- %s", a->slab->name, a->name);
1072 active = a->slab->name;
1075 printf("%-20s -> %s\n", a->name, a->slab->name);
1105 static int slab_mismatch(char *slab)
1107 return regexec(&pattern, slab, 0, NULL, 0);
1114 struct slabinfo *slab = slabinfo;
1120 if (chdir("/sys/kernel/slab") && chdir("/sys/slab"))
1145 fatal("Unable to access slab %s\n", slab->name);
1146 slab->name = strdup(de->d_name);
1147 slab->alias = 0;
1148 slab->refs = 0;
1149 slab->aliases = get_obj("aliases");
1150 slab->align = get_obj("align");
1151 slab->cache_dma = get_obj("cache_dma");
1152 slab->cpu_slabs = get_obj("cpu_slabs");
1153 slab->destroy_by_rcu = get_obj("destroy_by_rcu");
1154 slab->hwcache_align = get_obj("hwcache_align");
1155 slab->object_size = get_obj("object_size");
1156 slab->objects = get_obj("objects");
1157 slab->objects_partial = get_obj("objects_partial");
1158 slab->objects_total = get_obj("objects_total");
1159 slab->objs_per_slab = get_obj("objs_per_slab");
1160 slab->order = get_obj("order");
1161 slab->partial = get_obj("partial");
1162 slab->partial = get_obj_and_str("partial", &t);
1163 decode_numa_list(slab->numa_partial, t);
1165 slab->poison = get_obj("poison");
1166 slab->reclaim_account = get_obj("reclaim_account");
1167 slab->red_zone = get_obj("red_zone");
1168 slab->sanity_checks = get_obj("sanity_checks");
1169 slab->slab_size = get_obj("slab_size");
1170 slab->slabs = get_obj_and_str("slabs", &t);
1171 decode_numa_list(slab->numa, t);
1173 slab->store_user = get_obj("store_user");
1174 slab->trace = get_obj("trace");
1175 slab->alloc_fastpath = get_obj("alloc_fastpath");
1176 slab->alloc_slowpath = get_obj("alloc_slowpath");
1177 slab->free_fastpath = get_obj("free_fastpath");
1178 slab->free_slowpath = get_obj("free_slowpath");
1179 slab->free_frozen= get_obj("free_frozen");
1180 slab->free_add_partial = get_obj("free_add_partial");
1181 slab->free_remove_partial = get_obj("free_remove_partial");
1182 slab->alloc_from_partial = get_obj("alloc_from_partial");
1183 slab->alloc_slab = get_obj("alloc_slab");
1184 slab->alloc_refill = get_obj("alloc_refill");
1185 slab->free_slab = get_obj("free_slab");
1186 slab->cpuslab_flush = get_obj("cpuslab_flush");
1187 slab->deactivate_full = get_obj("deactivate_full");
1188 slab->deactivate_empty = get_obj("deactivate_empty");
1189 slab->deactivate_to_head = get_obj("deactivate_to_head");
1190 slab->deactivate_to_tail = get_obj("deactivate_to_tail");
1191 slab->deactivate_remote_frees = get_obj("deactivate_remote_frees");
1192 slab->order_fallback = get_obj("order_fallback");
1194 if (slab->name[0] == ':')
1196 slab++;
1203 slabs = slab - slabinfo;
1214 struct slabinfo *slab;
1216 for (slab = slabinfo; slab < slabinfo + slabs; slab++) {
1218 if (slab->alias)
1223 slab_numa(slab, 0);
1225 show_tracking(slab);
1227 slab_validate(slab);
1229 slab_shrink(slab);
1231 slab_debug(slab);
1233 ops(slab);
1235 slabcache(slab);
1237 report(slab);