Lines Matching defs:list

38  * Add an object to the session's object list.
41 * that lock after adding the object to the session's object list.
50 /* Insert the new object in front of session's object list. */
83 * Free the storage allocated to the extra attribute list.
96 * (in the boolean attribute mask field and extra attribute list)
125 * that new struct to the extra attribute list
209 * extra attribute list) from the new object back to the original
211 * attribute list of the original object.
225 * Create a new object struct, and add it to the session's object list.
294 /* Add the new object to the session's object list. */
325 * Remove an object from the session's object list.
336 * Remove the object from the session's object list.
360 /* Object is the first one in the list. */
365 /* Object is the only one in the list. */
369 /* Object is not the first one in the list. */
371 /* Object is in the middle of the list. */
375 /* Object is the last one in the list. */
383 * This function adds the to-be-freed session object to a linked list.
384 * When the number of objects queued in the linked list reaches the
386 * object (FIFO) in the list.
395 /* Add the newly deleted object at the end of the list */
407 * Free the first object in the list only if
493 * - Remove the object from the session's object list.
521 /* Remove the object from the session's object list first. */
533 * from session's object list.
686 /* Acquire the global session list lock */
725 /* Release the global session list lock */
824 /* Insert the new object in front of slot's token object list. */
848 * Remove the object from the slot's token object list.
851 /* Object is the first one in the list. */
856 /* Object is the only one in the list. */
860 /* Object is not the first one in the list. */
862 /* Object is in the middle of the list. */
866 /* Object is the last one in the list. */
886 /* Remove the object from the slot's token object list. */
939 * Mark all the token objects in the global list to be valid.
1155 * Insert an object into a list of soft_object_t objects. It is assumed
1156 * that the object to be inserted doesn't previously belong to any list
1159 insert_into_list(soft_object_t **list, soft_object_t **end_of_list,
1162 if (*list == NULL) {
1163 *list = objp;
1168 (*list)->prev = objp;
1169 objp->next = *list;
1171 *list = objp;
1176 * Move an object from an existing list into a new list of
1184 /* first, remove object from existing list */
1186 /* first item in list */
1202 /* then, add into new list */
1207 * Insert "new_list" into "existing_list", new list will always be inserted
1208 * into the front of existing list
1229 delete_all_objs_in_list(soft_object_t *list)
1233 if (list == NULL) {
1237 objp = list;
1246 * Makes sure that the list of in-core token objects are up to date
1250 * If there's any error from refreshing the token object list (eg: unable
1251 * to read, unable to unpack and object...etc), the in-core list
1280 /* objects to be added to the in-core list */
1311 * The in-core tokens list will be updated as follows:
1313 * Go through each item in the in-core tokens list.
1315 * objects from the on-disk list. If a match is made,
1321 * last loaded. Will remove object from in-core list.
1323 * When doing the matching of on-disk object list above,
1324 * Delete every matched on-disk object from the on-disk list
1327 * At the end of matching the in-core tokens list, if
1328 * any object is still left on the on-disk object list,
1330 * include all of them to the in-core list
1332 * Since we need to be able to revert the in-core list
1336 * deleted. It is moved to the list of "deleted_objects".
1339 * it is temporarily moved to the "mod_objects" list
1340 * from the in-core list.
1394 /* remove processed obj from on disk list */
1422 * are all newly added objects since in-core list last loaded.
1423 * include all of them into the in-core list
1456 /* add the new objects into in-core list */
1460 /* add modified objects back into the in-core list */
1481 * restore the in-core list back to the original state by adding
1482 * copy of original objects and deleted objects back to list
1490 * remove the modified objects, and newly objects list