Home
last modified time | relevance | path

Searched refs:max_objects (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/
Ddrm_exec.c88 exec->max_objects = exec->objects ? nr : 0; in drm_exec_init()
144 if (unlikely(exec->num_objects == exec->max_objects)) { in drm_exec_obj_locked()
145 size_t size = exec->max_objects * sizeof(void *); in drm_exec_obj_locked()
153 exec->max_objects += PAGE_SIZE / sizeof(void *); in drm_exec_obj_locked()
/linux-6.12.1/include/drm/
Ddrm_exec.h36 unsigned int max_objects; member
/linux-6.12.1/tools/mm/
Dslabinfo.c832 unsigned long long min_objects = max, max_objects = 0, in totals() local
922 if (s->objects > max_objects) in totals()
923 max_objects = s->objects; in totals()
997 store_size(b3, max_objects);store_size(b4, total_objects); in totals()
/linux-6.12.1/mm/
Dslub.c1440 int max_objects; in on_freelist() local
1465 max_objects = order_objects(slab_order(slab), s->size); in on_freelist()
1466 if (max_objects > MAX_OBJS_PER_PAGE) in on_freelist()
1467 max_objects = MAX_OBJS_PER_PAGE; in on_freelist()
1469 if (slab->objects != max_objects) { in on_freelist()
1471 slab->objects, max_objects); in on_freelist()
1472 slab->objects = max_objects; in on_freelist()
5057 unsigned int max_objects; in calculate_order() local
5077 max_objects = max(order_objects(slub_max_order, size), 1U); in calculate_order()
5078 min_objects = min(min_objects, max_objects); in calculate_order()