• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7800-V1.0.2.28/target/linux/generic/files/fs/yaffs2/

Lines Matching defs:directory

1243 		/* Now make the directory sane */
1249 /* Add it to the lost and found directory.
1701 new_dir = obj->parent; /* use the old directory */
1706 ("tragedy: yaffs_change_obj_name: new_dir is not a directory"
1722 /* If the object is a file going into the unlinked directory,
1725 * it into a directory.
1789 /* There is a target that is a non-empty directory, so we fail */
3884 /* Move to the unlinked directory so we have a record that it was deleted. */
3977 /* First check that the directory is empty. */
4056 * - Move it from its parent directory (so that the rename can work)
4238 * leaving the object "hanging" without being rooted in the directory tree.
4310 * Delete directory contents for cleaning up lost and found.
4406 * link (ie. name) is created or deleted in the directory.
4414 * of updates when many files in a directory are changed within a brief period.
4416 * If the directory updating is defered then yaffs_update_dirty_dirs must be
4460 T(YAFFS_TRACE_BACKGROUND, (TSTR("Update directory %d" TENDSTR), obj->obj_id));
4487 void yaffs_add_obj_to_dir(yaffs_obj_t *directory,
4490 if (!directory) {
4493 ("tragedy: Trying to add an object to a null pointer directory"
4498 if (directory->variant_type != YAFFS_OBJECT_TYPE_DIRECTORY) {
4501 ("tragedy: Trying to add an object to a non-directory"
4512 yaffs_verify_dir(directory);
4518 ylist_add(&obj->siblings, &directory->variant.dir_variant.children);
4519 obj->parent = directory;
4521 if (directory == obj->my_dev->unlinked_dir
4522 || directory == obj->my_dev->del_dir) {
4528 yaffs_verify_dir(directory);
4532 yaffs_obj_t *yaffs_find_by_name(yaffs_obj_t *directory,
4545 if (!directory) {
4548 ("tragedy: yaffs_find_by_name: null pointer directory"
4553 if (directory->variant_type != YAFFS_OBJECT_TYPE_DIRECTORY) {
4556 ("tragedy: yaffs_find_by_name: non-directory" TENDSTR)));
4562 ylist_for_each(i, &directory->variant.dir_variant.children) {
4566 if (l->parent != directory)
4601 ("tragedy: yaffs_find_by_name: null pointer directory"
4609 ("tragedy: yaffs_find_by_name: non-directory" TENDSTR)));
4794 /* Only a directory should drop through to here */