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

/freebsd-10-stable/sys/dev/drm2/
H A DdrmP.h566 atomic_t handle_count; /* number of handles on this object */ member in struct:drm_gem_object
1495 atomic_inc(&obj->handle_count);
1504 if (atomic_read(&obj->handle_count) == 0)
1511 if (atomic_dec_and_test(&obj->handle_count))
1522 if (atomic_read(&obj->handle_count) == 0)
1531 if (atomic_dec_and_test(&obj->handle_count))
H A Ddrm_gem.c117 obj->handle_count = 0;
138 atomic_store_rel_int(&obj->handle_count, 0);

Completed in 102 milliseconds