Searched refs:pcli (Results 1 – 2 of 2) sorted by relevance
45 struct nouveau_client_priv *pcli = nouveau_client(client); in cli_kref_get() local47 if (pcli->kref_nr > bo->handle) in cli_kref_get()48 kref = pcli->kref[bo->handle].kref; in cli_kref_get()55 struct nouveau_client_priv *pcli = nouveau_client(client); in cli_push_get() local57 if (pcli->kref_nr > bo->handle) in cli_push_get()58 push = pcli->kref[bo->handle].push; in cli_push_get()67 struct nouveau_client_priv *pcli = nouveau_client(client); in cli_kref_set() local68 if (pcli->kref_nr <= bo->handle) { in cli_kref_set()69 pcli->kref = realloc(pcli->kref, in cli_kref_set()70 sizeof(*pcli->kref) * bo->handle * 2); in cli_kref_set()[all …]
539 struct nouveau_client_priv *pcli; in nouveau_client_new() local559 pcli = calloc(1, sizeof(*pcli)); in nouveau_client_new()560 if (pcli) { in nouveau_client_new()562 pcli->base.device = dev; in nouveau_client_new()563 pcli->base.id = (i * 32) + id; in nouveau_client_new()567 *pclient = &pcli->base; in nouveau_client_new()577 struct nouveau_client_priv *pcli = nouveau_client(*pclient); in nouveau_client_del() local579 if (pcli) { in nouveau_client_del()580 int id = pcli->base.id; in nouveau_client_del()581 nvdev = nouveau_device(pcli->base.device); in nouveau_client_del()[all …]