Rev 4568 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4568 | Rev 5056 | ||
---|---|---|---|
Line 242... | Line 242... | ||
242 | * will hold a single reference on a base object. |
242 | * will hold a single reference on a base object. |
243 | */ |
243 | */ |
244 | extern int ttm_ref_object_add(struct ttm_object_file *tfile, |
244 | extern int ttm_ref_object_add(struct ttm_object_file *tfile, |
245 | struct ttm_base_object *base, |
245 | struct ttm_base_object *base, |
246 | enum ttm_ref_type ref_type, bool *existed); |
246 | enum ttm_ref_type ref_type, bool *existed); |
- | 247 | ||
- | 248 | extern bool ttm_ref_object_exists(struct ttm_object_file *tfile, |
|
- | 249 | struct ttm_base_object *base); |
|
- | 250 | ||
247 | /** |
251 | /** |
248 | * ttm_ref_object_base_unref |
252 | * ttm_ref_object_base_unref |
249 | * |
253 | * |
250 | * @key: Key representing the base object. |
254 | * @key: Key representing the base object. |
251 | * @ref_type: Ref type of the ref object to be dereferenced. |
255 | * @ref_type: Ref type of the ref object to be dereferenced. |