Lines Matching refs:slab
54 struct slabinfo *slab; member
337 if (a->slab == find && in find_one_alias()
1119 a->slab = s; in link_slabs()
1138 if (!show_single_ref && a->slab->refs == 1) in alias()
1143 if (strcmp(a->slab->name, active) == 0) { in alias()
1148 printf("\n%-12s <- %s", a->slab->name, a->name); in alias()
1149 active = a->slab->name; in alias()
1152 printf("%-15s -> %s\n", a->name, a->slab->name); in alias()
1182 static int slab_mismatch(char *slab) in slab_mismatch() argument
1184 return regexec(&pattern, slab, 0, NULL, 0); in slab_mismatch()
1191 struct slabinfo *slab = slabinfo; in read_slab_dir() local
1222 fatal("Unable to access slab %s\n", slab->name); in read_slab_dir()
1223 slab->name = strdup(de->d_name); in read_slab_dir()
1224 slab->alias = 0; in read_slab_dir()
1225 slab->refs = 0; in read_slab_dir()
1226 slab->aliases = get_obj("aliases"); in read_slab_dir()
1227 slab->align = get_obj("align"); in read_slab_dir()
1228 slab->cache_dma = get_obj("cache_dma"); in read_slab_dir()
1229 slab->cpu_slabs = get_obj("cpu_slabs"); in read_slab_dir()
1230 slab->destroy_by_rcu = get_obj("destroy_by_rcu"); in read_slab_dir()
1231 slab->hwcache_align = get_obj("hwcache_align"); in read_slab_dir()
1232 slab->object_size = get_obj("object_size"); in read_slab_dir()
1233 slab->objects = get_obj("objects"); in read_slab_dir()
1234 slab->objects_partial = get_obj("objects_partial"); in read_slab_dir()
1235 slab->objects_total = get_obj("objects_total"); in read_slab_dir()
1236 slab->objs_per_slab = get_obj("objs_per_slab"); in read_slab_dir()
1237 slab->order = get_obj("order"); in read_slab_dir()
1238 slab->partial = get_obj("partial"); in read_slab_dir()
1239 slab->partial = get_obj_and_str("partial", &t); in read_slab_dir()
1240 decode_numa_list(slab->numa_partial, t); in read_slab_dir()
1242 slab->poison = get_obj("poison"); in read_slab_dir()
1243 slab->reclaim_account = get_obj("reclaim_account"); in read_slab_dir()
1244 slab->red_zone = get_obj("red_zone"); in read_slab_dir()
1245 slab->sanity_checks = get_obj("sanity_checks"); in read_slab_dir()
1246 slab->slab_size = get_obj("slab_size"); in read_slab_dir()
1247 slab->slabs = get_obj_and_str("slabs", &t); in read_slab_dir()
1248 decode_numa_list(slab->numa, t); in read_slab_dir()
1250 slab->store_user = get_obj("store_user"); in read_slab_dir()
1251 slab->trace = get_obj("trace"); in read_slab_dir()
1252 slab->alloc_fastpath = get_obj("alloc_fastpath"); in read_slab_dir()
1253 slab->alloc_slowpath = get_obj("alloc_slowpath"); in read_slab_dir()
1254 slab->free_fastpath = get_obj("free_fastpath"); in read_slab_dir()
1255 slab->free_slowpath = get_obj("free_slowpath"); in read_slab_dir()
1256 slab->free_frozen= get_obj("free_frozen"); in read_slab_dir()
1257 slab->free_add_partial = get_obj("free_add_partial"); in read_slab_dir()
1258 slab->free_remove_partial = get_obj("free_remove_partial"); in read_slab_dir()
1259 slab->alloc_from_partial = get_obj("alloc_from_partial"); in read_slab_dir()
1260 slab->alloc_slab = get_obj("alloc_slab"); in read_slab_dir()
1261 slab->alloc_refill = get_obj("alloc_refill"); in read_slab_dir()
1262 slab->free_slab = get_obj("free_slab"); in read_slab_dir()
1263 slab->cpuslab_flush = get_obj("cpuslab_flush"); in read_slab_dir()
1264 slab->deactivate_full = get_obj("deactivate_full"); in read_slab_dir()
1265 slab->deactivate_empty = get_obj("deactivate_empty"); in read_slab_dir()
1266 slab->deactivate_to_head = get_obj("deactivate_to_head"); in read_slab_dir()
1267 slab->deactivate_to_tail = get_obj("deactivate_to_tail"); in read_slab_dir()
1268 slab->deactivate_remote_frees = get_obj("deactivate_remote_frees"); in read_slab_dir()
1269 slab->order_fallback = get_obj("order_fallback"); in read_slab_dir()
1270 slab->cmpxchg_double_cpu_fail = get_obj("cmpxchg_double_cpu_fail"); in read_slab_dir()
1271 slab->cmpxchg_double_fail = get_obj("cmpxchg_double_fail"); in read_slab_dir()
1272 slab->cpu_partial_alloc = get_obj("cpu_partial_alloc"); in read_slab_dir()
1273 slab->cpu_partial_free = get_obj("cpu_partial_free"); in read_slab_dir()
1274 slab->alloc_node_mismatch = get_obj("alloc_node_mismatch"); in read_slab_dir()
1275 slab->deactivate_bypass = get_obj("deactivate_bypass"); in read_slab_dir()
1277 if (slab->name[0] == ':') in read_slab_dir()
1279 slab++; in read_slab_dir()
1286 slabs = slab - slabinfo; in read_slab_dir()
1297 struct slabinfo *slab; in output_slabs() local
1300 for (slab = slabinfo; (slab < slabinfo + slabs) && in output_slabs()
1301 lines != 0; slab++) { in output_slabs()
1303 if (slab->alias) in output_slabs()
1310 slab_numa(slab, 0); in output_slabs()
1312 show_tracking(slab); in output_slabs()
1314 slab_validate(slab); in output_slabs()
1316 slab_shrink(slab); in output_slabs()
1318 slab_debug(slab); in output_slabs()
1320 ops(slab); in output_slabs()
1322 slabcache(slab); in output_slabs()
1324 report(slab); in output_slabs()