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

/linux-4.1.27/drivers/scsi/
H A Dscsi.c148 struct kmem_cache *cmd_slab; member in struct:scsi_host_cmd_pool
188 kmem_cache_free(pool->cmd_slab, cmd); scsi_host_free_command()
205 cmd = kmem_cache_zalloc(pool->cmd_slab, gfp_mask | pool->gfp_mask); scsi_host_alloc_command()
225 kmem_cache_free(pool->cmd_slab, cmd); scsi_host_alloc_command()
407 pool->cmd_slab = kmem_cache_create(pool->cmd_name, cmd_size, 0, scsi_get_host_cmd_pool()
409 if (!pool->cmd_slab) scsi_get_host_cmd_pool()
426 kmem_cache_destroy(pool->cmd_slab); scsi_get_host_cmd_pool()
451 kmem_cache_destroy(pool->cmd_slab); scsi_put_host_cmd_pool()

Completed in 55 milliseconds