Searched refs:nr_objs (Results 1 - 1 of 1) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/mm/
H A Dslab.c791 static size_t slab_mgmt_size(size_t nr_objs, size_t align) argument
793 return ALIGN(sizeof(struct slab)+nr_objs*sizeof(kmem_bufctl_t), align);
803 int nr_objs; local
824 nr_objs = slab_size / buffer_size;
826 if (nr_objs > SLAB_LIMIT)
827 nr_objs = SLAB_LIMIT;
837 nr_objs = (slab_size - sizeof(struct slab)) /
844 if (slab_mgmt_size(nr_objs, align) + nr_objs*buffer_size
846 nr_objs
[all...]

Completed in 27 milliseconds