Lines Matching defs:res
73 static void group_open_release(struct device *dev, void *res)
78 static void group_close_release(struct device *dev, void *res)
221 * @res: Pointer to devres data to free
225 void devres_free(void *res)
227 if (res) {
228 struct devres *dr = container_of(res, struct devres, data);
239 * @res: Resource to register
241 * Register devres @res to @dev. @res should have been allocated
245 void devres_add(struct device *dev, void *res)
247 struct devres *dr = container_of(res, struct devres, data);
395 void *res;
397 res = devres_remove(dev, release, match, match_data);
398 if (unlikely(!res))
401 devres_free(res);
425 void *res;
427 res = devres_remove(dev, release, match, match_data);
428 if (unlikely(!res))
431 (*release)(dev, res);
432 devres_free(res);
714 static int devm_action_match(struct device *dev, void *res, void *p)
716 struct action_devres *devres = res;
723 static void devm_action_release(struct device *dev, void *res)
725 struct action_devres *devres = res;
803 static void devm_kmalloc_release(struct device *dev, void *res)
808 static int devm_kmalloc_match(struct device *dev, void *res, void *data)
810 return res == data;
1099 static int devm_pages_match(struct device *dev, void *res, void *p)
1101 struct pages_devres *devres = res;
1107 static void devm_pages_release(struct device *dev, void *res)
1109 struct pages_devres *devres = res;