Lines Matching defs:object
99 const char *relpath, struct tmpfs_object_s **object,
305 /* Is this a file object? */
330 * unlinked from its parent directory, then free the file object now.
340 /* Otherwise, just decrement the reference count on the file object */
395 /* Free the object name */
454 /* Save the new object info in the new directory entry */
476 /* Create a new zero length file object */
485 /* Initialize the new file object. NOTE that the initial state is
553 /* Verify that no object of this name already exists in the directory */
631 /* Initialize the new directory object */
690 /* Verify that no object of this name already exists in the directory */
710 /* Allocate an empty directory object. NOTE that there is no reference on
711 * the new directory and the object is not locked.
739 /* Return the (unlocked, unreferenced) directory object to the caller */
772 struct tmpfs_object_s **object,
792 /* Traverse the file system for any object with the matching name */
812 /* Find the TMPFS object with the next segment name in the current
819 /* No object with this name exists in the directory. */
827 /* Is this object another directory? */
858 * object associated with the terminal segment of the relpath.
859 * Increment the reference count on the located object.
873 * count on the object.
883 if (object)
887 /* Get exclusive access to the object and increment the reference
888 * count on the object.
895 *object = to;
913 /* Find the object at this path. If successful, tmpfs_find_object() will
914 * lock both the object and the parent directory and will increment the
925 /* No... unlock the object and its parent and return an error */
940 /* Return the verified file object */
960 /* Find the object at this path */
969 /* No... unlock the object and its parent and return an error */
984 /* Return the verified file object */
1025 /* Free the file object while we hold the lock? Weird but this
1026 * should be safe because the object is unlinked and could not
1083 /* Copy data from the memory object to the user buffer */
1143 /* Copy data from the memory object to the user buffer */
1317 /* Copy data from the memory object to the user buffer */
1442 /* Find the directory object associated with this relative path.
1444 * the file object, adding one to the reference count of both.
1499 /* Decrement the reference count on the directory object */
1597 /* Does this entry refer to a file or a directory object? */
1940 /* Find the file object and parent directory associated with this relative
1941 * path. If successful, tmpfs_find_file will lock both the file object
1981 /* Make the file object as unlinked */
1985 /* Release the reference count on the file object */
1991 /* Otherwise we can free the object now */
2116 /* Find the directory object and parent directory associated with this
2118 * directory object and the parent directory and take one reference count
2160 /* Free the directory object */
2270 /* Find the old object at oldpath. If successful, tmpfs_find_object()
2271 * will lock both the object and the parent directory and will increment
2349 /* Make the file object as unlinked */
2354 /* Otherwise we can free the object now */
2420 /* Is the tmpfs object a regular file? */
2434 /* Get the size of the object */
2448 /* Get the size of the object */
2489 /* Find the tmpfs object at the relpath. If successful,
2490 * tmpfs_find_object() will lock the object and increment the
2491 * reference count on the object.
2504 /* We found it... Return information about the file object in the stat
2515 /* Unlock the object and return success */