Lines Matching full:context
30 * struct pvr_context - Context data
33 /** @ref_count: Refcount for context. */
39 /** @vm_ctx: Pointer to associated VM context. */
42 /** @type: Type of context. */
45 /** @flags: Context flags. */
48 /** @priority: Context priority*/
51 /** @fw_obj: FW object representing FW-side context data. */
54 /** @data: Pointer to local copy of FW context data. */
57 /** @data_size: Size of FW context data, in bytes. */
60 /** @ctx_id: FW context ID. */
64 * @faulty: Set to 1 when the context queues had unfinished job when
67 * In that case, the context is in an inconsistent state and can't be
108 * pvr_context_get() - Take additional reference on context.
109 * @ctx: Context pointer.
114 * * The requested context on success, or
115 * * %NULL if no context pointer passed.
127 * pvr_context_lookup() - Lookup context pointer from handle and file.
129 * @handle: Context handle.
131 * Takes reference on context. Call pvr_context_put() to release.
134 * * The requested context on success, or
135 * * %NULL on failure (context does not exist, or does not belong to @pvr_file).
142 /* Take the array lock to protect against context removal. */ in pvr_context_lookup()
151 * pvr_context_lookup_id() - Lookup context pointer from ID.
153 * @id: FW context ID.
155 * Takes reference on context. Call pvr_context_put() to release.
158 * * The requested context on success, or
159 * * %NULL on failure (context does not exist).
166 /* Take the array lock to protect against context removal. */ in pvr_context_lookup_id()
169 /* Contexts are removed from the ctx_ids set in the context release path, in pvr_context_lookup_id()
171 * to make sure we're not trying to acquire a context that's being in pvr_context_lookup_id()