Searched refs:sres (Results 1 – 2 of 2) sorted by relevance
37 struct vmw_simple_resource sres; member50 return container_of(res, struct vmw_stream, sres.res); in vmw_stream()
2418 struct spi_res *sres; in spi_res_alloc() local2420 sres = kzalloc(sizeof(*sres) + size, gfp); in spi_res_alloc()2421 if (!sres) in spi_res_alloc()2424 INIT_LIST_HEAD(&sres->entry); in spi_res_alloc()2425 sres->release = release; in spi_res_alloc()2427 return sres->data; in spi_res_alloc()2438 struct spi_res *sres = container_of(res, struct spi_res, data); in spi_res_free() local2443 WARN_ON(!list_empty(&sres->entry)); in spi_res_free()2444 kfree(sres); in spi_res_free()2455 struct spi_res *sres = container_of(res, struct spi_res, data); in spi_res_add() local[all …]