Lines Matching refs:newblock
52 struct mem_block *newblock =
53 drm_alloc(sizeof (*newblock), DRM_MEM_BUFS);
54 if (!newblock)
56 newblock->start = start;
57 newblock->size = p->size - (start - p->start);
58 newblock->filp = NULL;
59 newblock->next = p->next;
60 newblock->prev = p;
61 p->next->prev = newblock;
62 p->next = newblock;
63 p->size -= newblock->size;
64 p = newblock;
69 struct mem_block *newblock =
70 drm_alloc(sizeof (*newblock), DRM_MEM_BUFS);
71 if (!newblock)
73 newblock->start = start + size;
74 newblock->size = p->size - size;
75 newblock->filp = NULL;
76 newblock->next = p->next;
77 newblock->prev = p;
78 p->next->prev = newblock;
79 p->next = newblock;