Lines Matching defs:object

121  * callback more than once - though every object should be passed at least
134 int (*iterator)(const void *object,
293 * assoc_array_find - Find an object by index key
296 * @index_key: The key to the object.
298 * Find an object in an associative array by walking through the internal tree
299 * to the node that should contain the object and then searching the leaves
300 * there. NULL is returned if the requested object was not found in the array.
946 * assoc_array_insert - Script insertion of an object into an associative array
950 * @object: The object to insert.
953 * object in an associative array. This results in an edit script that can
967 void *object)
979 BUG_ON(assoc_array_ptr_is_meta(object));
986 edit->leaf = assoc_array_leaf_to_ptr(object);
1023 * assoc_array_insert_set_object - Set the new object pointer in an edit script
1025 * @object: The object pointer to set.
1027 * Change the object to be inserted in an edit script. The object pointed to
1028 * by the old object is not freed. This must be done prior to applying the
1031 void assoc_array_insert_set_object(struct assoc_array_edit *edit, void *object)
1033 BUG_ON(!object);
1034 edit->leaf = assoc_array_leaf_to_ptr(object);
1061 * assoc_array_delete - Script deletion of an object from an associative array
1064 * @index_key: The key to the object.
1066 * Precalculate and preallocate a script for the deletion of an object from an
1070 * The function returns a pointer to an edit script if the object was found,
1071 * NULL if the object was not found or -ENOMEM.
1434 * @iterator: A callback function to pass judgement on each object.
1440 * The iterator function is asked to pass judgement upon each object in the
1441 * array. If it returns false, the object is discard and if it returns true,
1442 * the object is kept. If it returns true, it must increment the object's
1456 bool (*iterator)(void *object, void *iterator_data),
1531 * counting on the object for us.