Home
last modified time | relevance | path

Searched refs:pcli (Results 1 – 2 of 2) sorted by relevance

/third_party/libdrm/nouveau/
Dprivate.h48 struct nouveau_client_priv *pcli = nouveau_client(client); in cli_kref_get() local
50 if (pcli->kref_nr > bo->handle) in cli_kref_get()
51 kref = pcli->kref[bo->handle].kref; in cli_kref_get()
58 struct nouveau_client_priv *pcli = nouveau_client(client); in cli_push_get() local
60 if (pcli->kref_nr > bo->handle) in cli_push_get()
61 push = pcli->kref[bo->handle].push; in cli_push_get()
70 struct nouveau_client_priv *pcli = nouveau_client(client); in cli_kref_set() local
71 if (pcli->kref_nr <= bo->handle) { in cli_kref_set()
72 pcli->kref = realloc(pcli->kref, in cli_kref_set()
73 sizeof(*pcli->kref) * bo->handle * 2); in cli_kref_set()
[all …]
Dnouveau.c553 struct nouveau_client_priv *pcli; in nouveau_client_new() local
573 pcli = calloc(1, sizeof(*pcli)); in nouveau_client_new()
574 if (pcli) { in nouveau_client_new()
576 pcli->base.device = dev; in nouveau_client_new()
577 pcli->base.id = (i * 32) + id; in nouveau_client_new()
581 *pclient = &pcli->base; in nouveau_client_new()
591 struct nouveau_client_priv *pcli = nouveau_client(*pclient); in nouveau_client_del() local
593 if (pcli) { in nouveau_client_del()
594 int id = pcli->base.id; in nouveau_client_del()
595 nvdev = nouveau_device(pcli->base.device); in nouveau_client_del()
[all …]