Lines Matching refs:filp
51 split_block(struct mem_block *p, int start, int size, drm_file_t *filp)
61 newblock->filp = NULL;
78 newblock->filp = NULL;
88 p->filp = filp;
93 alloc_block(struct mem_block *heap, int size, int align2, drm_file_t *filp)
100 if (p->filp == 0 && start + size <= p->start + p->size)
101 return (split_block(p, start, size, filp));
122 p->filp = NULL;
125 * Assumes a single contiguous range. Needs a special filp in
128 if (p->next->filp == 0) {
136 if (p->prev->filp == 0) {
164 blocks->filp = NULL;
168 (*heap)->filp = (drm_file_t *)-1;
177 radeon_mem_release(drm_file_t *filp, struct mem_block *heap)
185 if (p->filp == filp)
186 p->filp = NULL;
190 * Assumes a single contiguous range. Needs a special filp in
194 while (p->filp == 0 && p->next->filp == 0) {
320 if (block->filp != fpriv)