Lines Matching defs:obj

31 	unsigned long obj[];
35 objagg_hints_lookup(struct objagg_hints *objagg_hints, void *obj)
39 return rhashtable_lookup_fast(&objagg_hints->node_ht, obj,
69 unsigned long obj[];
150 * Returns user private pointer as was passed to objagg_obj_get() by "obj" arg.
154 return objagg_obj->obj;
158 static struct objagg_obj *objagg_obj_lookup(struct objagg *objagg, void *obj)
160 return rhashtable_lookup_fast(&objagg->obj_ht, obj, objagg->ht_params);
170 delta_priv = objagg->ops->delta_create(objagg->priv, parent->obj,
171 objagg_obj->obj);
271 objagg_obj->obj,
293 static struct objagg_obj *__objagg_obj_get(struct objagg *objagg, void *obj);
303 hnode = objagg_hints_lookup(objagg->hints, objagg_obj->obj);
313 parent = __objagg_obj_get(objagg, hnode->parent->obj);
364 static struct objagg_obj *objagg_obj_create(struct objagg *objagg, void *obj)
374 memcpy(objagg_obj->obj, obj, objagg->ops->obj_size);
397 static struct objagg_obj *__objagg_obj_get(struct objagg *objagg, void *obj)
404 objagg_obj = objagg_obj_lookup(objagg, obj);
410 return objagg_obj_create(objagg, obj);
416 * @obj: user-specific private object pointer
420 * Size of the "obj" memory is specified in "objagg->ops".
423 * 1) The object according to "obj" already exist. In that case
437 struct objagg_obj *objagg_obj_get(struct objagg *objagg, void *obj)
441 objagg_obj = __objagg_obj_get(objagg, obj);
537 objagg->ht_params.key_offset = offsetof(struct objagg_obj, obj);
660 memcpy(hnode->obj, &objagg_obj->obj, obj_size);
815 pnode->objagg_obj->obj,
816 node->objagg_obj->obj)) {
907 const void *obj)
913 const char *ptr = obj;
955 offsetof(struct objagg_hints_node, obj);