Lines Matching refs:object
37 struct nvkm_client *master = client->object.client; in nvkm_umem_search()
39 struct nvkm_object *object; in nvkm_umem_search() local
42 object = nvkm_object_search(client, handle, &nvkm_umem); in nvkm_umem_search()
43 if (IS_ERR(object)) { in nvkm_umem_search()
47 if (umem->object.object == handle) { in nvkm_umem_search()
55 umem = nvkm_umem(object); in nvkm_umem_search()
63 nvkm_umem_unmap(struct nvkm_object *object) in nvkm_umem_unmap() argument
65 struct nvkm_umem *umem = nvkm_umem(object); in nvkm_umem_unmap()
86 nvkm_umem_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_umem_map() argument
89 struct nvkm_umem *umem = nvkm_umem(object); in nvkm_umem_map()
124 nvkm_umem_dtor(struct nvkm_object *object) in nvkm_umem_dtor() argument
126 struct nvkm_umem *umem = nvkm_umem(object); in nvkm_umem_dtor()
127 spin_lock(&umem->object.client->lock); in nvkm_umem_dtor()
129 spin_unlock(&umem->object.client->lock); in nvkm_umem_dtor()
166 nvkm_object_ctor(&nvkm_umem, oclass, &umem->object); in nvkm_umem_new()
170 *pobject = &umem->object; in nvkm_umem_new()
182 spin_lock(&umem->object.client->lock); in nvkm_umem_new()
183 list_add(&umem->head, &umem->object.client->umem); in nvkm_umem_new()
184 spin_unlock(&umem->object.client->lock); in nvkm_umem_new()