Lines Matching refs:slab
54 struct slabinfo *slab; member
357 if (a->slab == find && in find_one_alias()
1143 a->slab = s; in link_slabs()
1162 if (!show_single_ref && a->slab->refs == 1) in alias()
1167 if (strcmp(a->slab->name, active) == 0) { in alias()
1172 printf("\n%-12s <- %s", a->slab->name, a->name); in alias()
1173 active = a->slab->name; in alias()
1176 printf("%-15s -> %s\n", a->name, a->slab->name); in alias()
1206 static int slab_mismatch(char *slab) in slab_mismatch() argument
1208 return regexec(&pattern, slab, 0, NULL, 0); in slab_mismatch()
1215 struct slabinfo *slab = slabinfo; in read_slab_dir() local
1246 fatal("Unable to access slab %s\n", slab->name); in read_slab_dir()
1247 slab->name = strdup(de->d_name); in read_slab_dir()
1248 slab->alias = 0; in read_slab_dir()
1249 slab->refs = 0; in read_slab_dir()
1250 slab->aliases = get_obj("aliases"); in read_slab_dir()
1251 slab->align = get_obj("align"); in read_slab_dir()
1252 slab->cache_dma = get_obj("cache_dma"); in read_slab_dir()
1253 slab->cpu_slabs = get_obj("cpu_slabs"); in read_slab_dir()
1254 slab->destroy_by_rcu = get_obj("destroy_by_rcu"); in read_slab_dir()
1255 slab->hwcache_align = get_obj("hwcache_align"); in read_slab_dir()
1256 slab->object_size = get_obj("object_size"); in read_slab_dir()
1257 slab->objects = get_obj("objects"); in read_slab_dir()
1258 slab->objects_partial = get_obj("objects_partial"); in read_slab_dir()
1259 slab->objects_total = get_obj("objects_total"); in read_slab_dir()
1260 slab->objs_per_slab = get_obj("objs_per_slab"); in read_slab_dir()
1261 slab->order = get_obj("order"); in read_slab_dir()
1262 slab->partial = get_obj("partial"); in read_slab_dir()
1263 slab->partial = get_obj_and_str("partial", &t); in read_slab_dir()
1264 decode_numa_list(slab->numa_partial, t); in read_slab_dir()
1266 slab->poison = get_obj("poison"); in read_slab_dir()
1267 slab->reclaim_account = get_obj("reclaim_account"); in read_slab_dir()
1268 slab->red_zone = get_obj("red_zone"); in read_slab_dir()
1269 slab->sanity_checks = get_obj("sanity_checks"); in read_slab_dir()
1270 slab->slab_size = get_obj("slab_size"); in read_slab_dir()
1271 slab->slabs = get_obj_and_str("slabs", &t); in read_slab_dir()
1272 decode_numa_list(slab->numa, t); in read_slab_dir()
1274 slab->store_user = get_obj("store_user"); in read_slab_dir()
1275 slab->trace = get_obj("trace"); in read_slab_dir()
1276 slab->alloc_fastpath = get_obj("alloc_fastpath"); in read_slab_dir()
1277 slab->alloc_slowpath = get_obj("alloc_slowpath"); in read_slab_dir()
1278 slab->free_fastpath = get_obj("free_fastpath"); in read_slab_dir()
1279 slab->free_slowpath = get_obj("free_slowpath"); in read_slab_dir()
1280 slab->free_frozen= get_obj("free_frozen"); in read_slab_dir()
1281 slab->free_add_partial = get_obj("free_add_partial"); in read_slab_dir()
1282 slab->free_remove_partial = get_obj("free_remove_partial"); in read_slab_dir()
1283 slab->alloc_from_partial = get_obj("alloc_from_partial"); in read_slab_dir()
1284 slab->alloc_slab = get_obj("alloc_slab"); in read_slab_dir()
1285 slab->alloc_refill = get_obj("alloc_refill"); in read_slab_dir()
1286 slab->free_slab = get_obj("free_slab"); in read_slab_dir()
1287 slab->cpuslab_flush = get_obj("cpuslab_flush"); in read_slab_dir()
1288 slab->deactivate_full = get_obj("deactivate_full"); in read_slab_dir()
1289 slab->deactivate_empty = get_obj("deactivate_empty"); in read_slab_dir()
1290 slab->deactivate_to_head = get_obj("deactivate_to_head"); in read_slab_dir()
1291 slab->deactivate_to_tail = get_obj("deactivate_to_tail"); in read_slab_dir()
1292 slab->deactivate_remote_frees = get_obj("deactivate_remote_frees"); in read_slab_dir()
1293 slab->order_fallback = get_obj("order_fallback"); in read_slab_dir()
1294 slab->cmpxchg_double_cpu_fail = get_obj("cmpxchg_double_cpu_fail"); in read_slab_dir()
1295 slab->cmpxchg_double_fail = get_obj("cmpxchg_double_fail"); in read_slab_dir()
1296 slab->cpu_partial_alloc = get_obj("cpu_partial_alloc"); in read_slab_dir()
1297 slab->cpu_partial_free = get_obj("cpu_partial_free"); in read_slab_dir()
1298 slab->alloc_node_mismatch = get_obj("alloc_node_mismatch"); in read_slab_dir()
1299 slab->deactivate_bypass = get_obj("deactivate_bypass"); in read_slab_dir()
1302 slab->name); in read_slab_dir()
1303 if (slab->name[0] == ':') in read_slab_dir()
1305 slab++; in read_slab_dir()
1312 slabs = slab - slabinfo; in read_slab_dir()
1323 struct slabinfo *slab; in output_slabs() local
1326 for (slab = slabinfo; (slab < slabinfo + slabs) && in output_slabs()
1327 lines != 0; slab++) { in output_slabs()
1329 if (slab->alias) in output_slabs()
1336 slab_numa(slab, 0); in output_slabs()
1338 show_tracking(slab); in output_slabs()
1340 slab_validate(slab); in output_slabs()
1342 slab_shrink(slab); in output_slabs()
1344 slab_debug(slab); in output_slabs()
1346 ops(slab); in output_slabs()
1348 slabcache(slab); in output_slabs()
1350 report(slab); in output_slabs()