MCPcopy Create free account
hub / github.com/F-Stack/f-stack / slab_item

Function slab_item

freebsd/vm/uma_int.h:424–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424static inline void *
425slab_item(uma_slab_t slab, uma_keg_t keg, int index)
426{
427 uintptr_t data;
428
429 data = (uintptr_t)slab_data(slab, keg);
430 return ((void *)(data + keg->uk_rsize * index));
431}
432
433static inline int
434slab_item_index(uma_slab_t slab, uma_keg_t keg, void *item)

Callers 4

keg_free_slabFunction · 0.70
keg_alloc_slabFunction · 0.70
slab_alloc_itemFunction · 0.70
uma_dbg_freeFunction · 0.70

Calls 1

slab_dataFunction · 0.70

Tested by

no test coverage detected