Lines Matching refs:slab

53 	struct slabinfo *slab;  member
327 if (a->slab == find && in find_one_alias()
1091 a->slab = s; in link_slabs()
1110 if (!show_single_ref && a->slab->refs == 1) in alias()
1115 if (strcmp(a->slab->name, active) == 0) { in alias()
1120 printf("\n%-12s <- %s", a->slab->name, a->name); in alias()
1121 active = a->slab->name; in alias()
1124 printf("%-15s -> %s\n", a->name, a->slab->name); in alias()
1154 static int slab_mismatch(char *slab) in slab_mismatch() argument
1156 return regexec(&pattern, slab, 0, NULL, 0); in slab_mismatch()
1163 struct slabinfo *slab = slabinfo; in read_slab_dir() local
1194 fatal("Unable to access slab %s\n", slab->name); in read_slab_dir()
1195 slab->name = strdup(de->d_name); in read_slab_dir()
1196 slab->alias = 0; in read_slab_dir()
1197 slab->refs = 0; in read_slab_dir()
1198 slab->aliases = get_obj("aliases"); in read_slab_dir()
1199 slab->align = get_obj("align"); in read_slab_dir()
1200 slab->cache_dma = get_obj("cache_dma"); in read_slab_dir()
1201 slab->cpu_slabs = get_obj("cpu_slabs"); in read_slab_dir()
1202 slab->destroy_by_rcu = get_obj("destroy_by_rcu"); in read_slab_dir()
1203 slab->hwcache_align = get_obj("hwcache_align"); in read_slab_dir()
1204 slab->object_size = get_obj("object_size"); in read_slab_dir()
1205 slab->objects = get_obj("objects"); in read_slab_dir()
1206 slab->objects_partial = get_obj("objects_partial"); in read_slab_dir()
1207 slab->objects_total = get_obj("objects_total"); in read_slab_dir()
1208 slab->objs_per_slab = get_obj("objs_per_slab"); in read_slab_dir()
1209 slab->order = get_obj("order"); in read_slab_dir()
1210 slab->partial = get_obj("partial"); in read_slab_dir()
1211 slab->partial = get_obj_and_str("partial", &t); in read_slab_dir()
1212 decode_numa_list(slab->numa_partial, t); in read_slab_dir()
1214 slab->poison = get_obj("poison"); in read_slab_dir()
1215 slab->reclaim_account = get_obj("reclaim_account"); in read_slab_dir()
1216 slab->red_zone = get_obj("red_zone"); in read_slab_dir()
1217 slab->sanity_checks = get_obj("sanity_checks"); in read_slab_dir()
1218 slab->slab_size = get_obj("slab_size"); in read_slab_dir()
1219 slab->slabs = get_obj_and_str("slabs", &t); in read_slab_dir()
1220 decode_numa_list(slab->numa, t); in read_slab_dir()
1222 slab->store_user = get_obj("store_user"); in read_slab_dir()
1223 slab->trace = get_obj("trace"); in read_slab_dir()
1224 slab->alloc_fastpath = get_obj("alloc_fastpath"); in read_slab_dir()
1225 slab->alloc_slowpath = get_obj("alloc_slowpath"); in read_slab_dir()
1226 slab->free_fastpath = get_obj("free_fastpath"); in read_slab_dir()
1227 slab->free_slowpath = get_obj("free_slowpath"); in read_slab_dir()
1228 slab->free_frozen= get_obj("free_frozen"); in read_slab_dir()
1229 slab->free_add_partial = get_obj("free_add_partial"); in read_slab_dir()
1230 slab->free_remove_partial = get_obj("free_remove_partial"); in read_slab_dir()
1231 slab->alloc_from_partial = get_obj("alloc_from_partial"); in read_slab_dir()
1232 slab->alloc_slab = get_obj("alloc_slab"); in read_slab_dir()
1233 slab->alloc_refill = get_obj("alloc_refill"); in read_slab_dir()
1234 slab->free_slab = get_obj("free_slab"); in read_slab_dir()
1235 slab->cpuslab_flush = get_obj("cpuslab_flush"); in read_slab_dir()
1236 slab->deactivate_full = get_obj("deactivate_full"); in read_slab_dir()
1237 slab->deactivate_empty = get_obj("deactivate_empty"); in read_slab_dir()
1238 slab->deactivate_to_head = get_obj("deactivate_to_head"); in read_slab_dir()
1239 slab->deactivate_to_tail = get_obj("deactivate_to_tail"); in read_slab_dir()
1240 slab->deactivate_remote_frees = get_obj("deactivate_remote_frees"); in read_slab_dir()
1241 slab->order_fallback = get_obj("order_fallback"); in read_slab_dir()
1242 slab->cmpxchg_double_cpu_fail = get_obj("cmpxchg_double_cpu_fail"); in read_slab_dir()
1243 slab->cmpxchg_double_fail = get_obj("cmpxchg_double_fail"); in read_slab_dir()
1244 slab->cpu_partial_alloc = get_obj("cpu_partial_alloc"); in read_slab_dir()
1245 slab->cpu_partial_free = get_obj("cpu_partial_free"); in read_slab_dir()
1246 slab->alloc_node_mismatch = get_obj("alloc_node_mismatch"); in read_slab_dir()
1247 slab->deactivate_bypass = get_obj("deactivate_bypass"); in read_slab_dir()
1249 if (slab->name[0] == ':') in read_slab_dir()
1251 slab++; in read_slab_dir()
1258 slabs = slab - slabinfo; in read_slab_dir()
1269 struct slabinfo *slab; in output_slabs() local
1272 for (slab = slabinfo; (slab < slabinfo + slabs) && in output_slabs()
1273 lines != 0; slab++) { in output_slabs()
1275 if (slab->alias) in output_slabs()
1282 slab_numa(slab, 0); in output_slabs()
1284 show_tracking(slab); in output_slabs()
1286 slab_validate(slab); in output_slabs()
1288 slab_shrink(slab); in output_slabs()
1290 slab_debug(slab); in output_slabs()
1292 ops(slab); in output_slabs()
1294 slabcache(slab); in output_slabs()
1296 report(slab); in output_slabs()