Subversion Repositories HelenOS

Rev

Rev 2927 | Rev 3153 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2927 Rev 3149
Line 811... Line 811...
811
    printf("---------------- -------- ------ ------ ------ ------ --------- ---\n");
811
    printf("---------------- -------- ------ ------ ------ ------ --------- ---\n");
812
   
812
   
813
    for (cur = slab_cache_list.next; cur != &slab_cache_list; cur = cur->next) {
813
    for (cur = slab_cache_list.next; cur != &slab_cache_list; cur = cur->next) {
814
        cache = list_get_instance(cur, slab_cache_t, link);
814
        cache = list_get_instance(cur, slab_cache_t, link);
815
       
815
       
-
 
816
        printf("%-16s %8" PRIs " %6d %6u %6ld %6ld %9ld %-3s\n",
-
 
817
            cache->name, cache->size, (1 << cache->order), cache->objects,
-
 
818
            atomic_get(&cache->allocated_slabs), atomic_get(&cache->cached_objs),
816
        printf("%-16s %8zd %6zd %6zd %6zd %6zd %9zd %-3s\n", cache->name, cache->size, (1 << cache->order), cache->objects, atomic_get(&cache->allocated_slabs), atomic_get(&cache->cached_objs), atomic_get(&cache->allocated_objs), cache->flags & SLAB_CACHE_SLINSIDE ? "in" : "out");
819
            atomic_get(&cache->allocated_objs), cache->flags & SLAB_CACHE_SLINSIDE ? "in" : "out");
817
    }
820
    }
818
    spinlock_unlock(&slab_cache_lock);
821
    spinlock_unlock(&slab_cache_lock);
819
    interrupts_restore(ipl);
822
    interrupts_restore(ipl);
820
}
823
}
821
 
824