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

/drivers/staging/zcache/
H A Dtmem.c534 struct tmem_obj *obj = NULL, *objfound = NULL, *objnew = NULL; local
550 objnew = obj;
556 obj = objnew = (*tmem_hostops.obj_alloc)(pool);
564 BUG_ON(((objnew != obj) && (objfound != obj)) || (objnew == objfound));
580 if (objnew) {
581 tmem_obj_free(objnew, hb);
582 (*tmem_hostops.obj_free)(objnew, pool);
/drivers/staging/ramster/
H A Dtmem.c538 struct tmem_obj *obj = NULL, *objfound = NULL, *objnew = NULL; local
554 objnew = obj;
560 obj = objnew = (*tmem_hostops.obj_alloc)(pool);
568 BUG_ON(((objnew != obj) && (objfound != obj)) || (objnew == objfound));
584 if (objnew) {
585 tmem_obj_free(objnew, hb);
586 (*tmem_hostops.obj_free)(objnew, pool);

Completed in 61 milliseconds