Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/
Di915_active.c176 struct active_node *node, *prealloc; in active_instance() local
192 prealloc = kmem_cache_alloc(global.slab_cache, GFP_KERNEL); in active_instance()
193 if (!prealloc) in active_instance()
206 kmem_cache_free(global.slab_cache, prealloc); in active_instance()
216 node = prealloc; in active_instance()
/drivers/media/platform/vsp1/
Dvsp1_dl.h56 unsigned int prealloc);
Dvsp1_dl.c1089 unsigned int prealloc) in vsp1_dlm_create() argument
1119 dlm->pool = vsp1_dl_body_pool_create(vsp1, prealloc + 1, in vsp1_dlm_create()
1124 for (i = 0; i < prealloc; ++i) { in vsp1_dlm_create()
1143 VSP1_EXTCMD_AUTOFLD, prealloc); in vsp1_dlm_create()
/drivers/gpu/drm/i915/display/
Dintel_fbdev.c180 bool prealloc = false; in intelfb_create() local
202 prealloc = true; in intelfb_create()
258 if (vma->obj->stolen && !prealloc) in intelfb_create()
/drivers/md/
Ddm-cache-target.c1487 struct dm_bio_prison_cell_v2 *prealloc; in mg_lock_writes() local
1489 prealloc = alloc_prison_cell(cache); in mg_lock_writes()
1499 prealloc, &mg->cell); in mg_lock_writes()
1501 free_prison_cell(cache, prealloc); in mg_lock_writes()
1506 if (mg->cell != prealloc) in mg_lock_writes()
1507 free_prison_cell(cache, prealloc); in mg_lock_writes()
1612 struct dm_bio_prison_cell_v2 *prealloc; in invalidate_lock() local
1614 prealloc = alloc_prison_cell(cache); in invalidate_lock()
1618 READ_WRITE_LOCK_LEVEL, prealloc, &mg->cell); in invalidate_lock()
1620 free_prison_cell(cache, prealloc); in invalidate_lock()
[all …]
/drivers/usb/gadget/function/
Du_ether.c345 static int prealloc(struct list_head *list, struct usb_ep *ep, unsigned n) in prealloc() function
389 status = prealloc(&dev->tx_reqs, link->in_ep, n); in alloc_requests()
392 status = prealloc(&dev->rx_reqs, link->out_ep, n); in alloc_requests()