Lines Matching defs:filp
48 split_block(struct mem_block *p, int start, int size, drm_file_t *filp)
58 newblock->filp = NULL;
75 newblock->filp = NULL;
85 p->filp = filp;
90 alloc_block(struct mem_block *heap, int size, int align2, drm_file_t *filp)
97 if (p->filp == 0 && start + size <= p->start + p->size)
98 return (split_block(p, start, size, filp));
119 p->filp = NULL;
122 * Assumes a single contiguous range. Needs a special filp in
125 if (p->next->filp == 0) {
133 if (p->prev->filp == 0) {
161 blocks->filp = NULL;
165 (*heap)->filp = (drm_file_t *)-1;
174 radeon_mem_release(drm_file_t *filp, struct mem_block *heap)
182 if (p->filp == filp)
183 p->filp = NULL;
187 * Assumes a single contiguous range. Needs a special filp in
191 while (p->filp == 0 && p->next->filp == 0) {
317 if (block->filp != fpriv)