Subversion Repositories Kolibri OS

Rev

Rev 4065 | Rev 4110 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4065 Rev 4103
Line 146... Line 146...
146
 *
146
 *
147
 * @bdev: Pointer to the buffer object device structure.
147
 * @bdev: Pointer to the buffer object device structure.
148
 * @type: The bo type.
148
 * @type: The bo type.
149
 * @destroy: Destruction function. If NULL, kfree is used.
149
 * @destroy: Destruction function. If NULL, kfree is used.
150
 * @num_pages: Actual number of pages.
150
 * @num_pages: Actual number of pages.
151
 * @addr_space_offset: Address space offset.
-
 
152
 * @acc_size: Accounted size for this object.
151
 * @acc_size: Accounted size for this object.
153
 * @kref: Reference count of this buffer object. When this refcount reaches
152
 * @kref: Reference count of this buffer object. When this refcount reaches
154
 * zero, the object is put on the delayed delete list.
153
 * zero, the object is put on the delayed delete list.
155
 * @list_kref: List reference count of this buffer object. This member is
154
 * @list_kref: List reference count of this buffer object. This member is
156
 * used to avoid destruction while the buffer object is still on a list.
155
 * used to avoid destruction while the buffer object is still on a list.
Line 167... Line 166...
167
 * @lru: List head for the lru list.
166
 * @lru: List head for the lru list.
168
 * @ddestroy: List head for the delayed destroy list.
167
 * @ddestroy: List head for the delayed destroy list.
169
 * @swap: List head for swap LRU list.
168
 * @swap: List head for swap LRU list.
170
 * @sync_obj: Pointer to a synchronization object.
169
 * @sync_obj: Pointer to a synchronization object.
171
 * @priv_flags: Flags describing buffer object internal state.
170
 * @priv_flags: Flags describing buffer object internal state.
172
 * @vm_rb: Rb node for the vm rb tree.
-
 
173
 * @vm_node: Address space manager node.
171
 * @vma_node: Address space manager node.
174
 * @offset: The current GPU offset, which can have different meanings
172
 * @offset: The current GPU offset, which can have different meanings
175
 * depending on the memory type. For SYSTEM type memory, it should be 0.
173
 * depending on the memory type. For SYSTEM type memory, it should be 0.
176
 * @cur_placement: Hint of current placement.
174
 * @cur_placement: Hint of current placement.
177
 *
175
 *
178
 * Base class for TTM buffer object, that deals with data placement and CPU
176
 * Base class for TTM buffer object, that deals with data placement and CPU