Home
last modified time | relevance | path

Searched refs:prealloc (Results 1 – 6 of 6) sorted by relevance

/drivers/media/platform/vsp1/
Dvsp1_dl.h56 unsigned int prealloc);
Dvsp1_dl.c1091 unsigned int prealloc) in vsp1_dlm_create() argument
1121 dlm->pool = vsp1_dl_body_pool_create(vsp1, prealloc + 1, in vsp1_dlm_create()
1126 for (i = 0; i < prealloc; ++i) { in vsp1_dlm_create()
1145 VSP1_EXTCMD_AUTOFLD, prealloc); in vsp1_dlm_create()
/drivers/gpu/drm/i915/
Di915_active.c298 struct active_node *node, *prealloc; in active_instance() local
306 prealloc = kmem_cache_alloc(global.slab_cache, GFP_KERNEL); in active_instance()
307 if (!prealloc) in active_instance()
320 kmem_cache_free(global.slab_cache, prealloc); in active_instance()
330 node = prealloc; in active_instance()
/drivers/gpu/drm/i915/display/
Dintel_fbdev.c179 bool prealloc = false; in intelfb_create() local
203 prealloc = true; in intelfb_create()
259 if (vma->obj->stolen && !prealloc) in intelfb_create()
/drivers/md/
Ddm-cache-target.c1461 struct dm_bio_prison_cell_v2 *prealloc; in mg_lock_writes() local
1463 prealloc = alloc_prison_cell(cache); in mg_lock_writes()
1473 prealloc, &mg->cell); in mg_lock_writes()
1475 free_prison_cell(cache, prealloc); in mg_lock_writes()
1480 if (mg->cell != prealloc) in mg_lock_writes()
1481 free_prison_cell(cache, prealloc); in mg_lock_writes()
1586 struct dm_bio_prison_cell_v2 *prealloc; in invalidate_lock() local
1588 prealloc = alloc_prison_cell(cache); in invalidate_lock()
1592 READ_WRITE_LOCK_LEVEL, prealloc, &mg->cell); in invalidate_lock()
1594 free_prison_cell(cache, prealloc); in invalidate_lock()
[all …]
/drivers/usb/gadget/function/
Du_ether.c348 static int prealloc(struct list_head *list, struct usb_ep *ep, unsigned n) in prealloc() function
392 status = prealloc(&dev->tx_reqs, link->in_ep, n); in alloc_requests()
395 status = prealloc(&dev->rx_reqs, link->out_ep, n); in alloc_requests()