Lines Matching defs:function
70 * NOTE: Keep it as a separate function as the implementation will
252 * Execute function for every element in the cache
254 * @function: function to execute on element of cache (must be atomic)
255 * @priv: private data of function
256 * @returns: result of first function that failed, or last function
257 * executed if no function failed.
259 * Stop executing when function returns error for any element in cache.
261 * IMPORTANT: We are using a spinlock here: the function executed on each
264 int wlp_eda_for_each(struct wlp_eda *eda, wlp_eda_for_each_f function,
274 result = (*function)(wlp, entry, priv);
283 * Execute function for single element in the cache (return dev addr)
286 * execute the function on
289 * @function: function to execute on element of cache (must be atomic)
290 * @priv: private data of function
291 * @returns: result of function
293 * IMPORTANT: We are using a spinlock here: the function executed on the
299 wlp_eda_for_each_f function,
312 result = (*function)(wlp, itr, priv);