Lines Matching refs:hash
55 int hash;
57 hash = drm_hash_magic(magic);
58 for (pt = dev->magiclist[hash].head; pt; pt = pt->next) {
71 int hash;
74 hash = drm_hash_magic(magic);
83 if (dev->magiclist[hash].tail) {
84 dev->magiclist[hash].tail->next = entry;
85 dev->magiclist[hash].tail = entry;
87 dev->magiclist[hash].head = entry;
88 dev->magiclist[hash].tail = entry;
100 int hash;
103 hash = drm_hash_magic(magic);
106 for (pt = dev->magiclist[hash].head; pt; prev = pt, pt = pt->next) {
108 if (dev->magiclist[hash].head == pt) {
109 dev->magiclist[hash].head = pt->next;
111 if (dev->magiclist[hash].tail == pt) {
112 dev->magiclist[hash].tail = prev;