Lines Matching full:directory
51 * FUNCTION: create a regular file in the parent directory <dip>
54 * PARAMETER: dip - parent directory vnode
67 struct inode *ip = NULL; /* child directory inode */ in jfs_create()
69 struct component_name dname; /* child directory name */ in jfs_create()
81 * search parent directory for entry/freespace in jfs_create()
82 * (dtSearch() returns parent directory page pinned) in jfs_create()
90 * begin the transaction before we search the directory. in jfs_create()
133 * create entry in parent directory for child directory in jfs_create()
134 * (dtInsert() releases parent directory page) in jfs_create()
183 * FUNCTION: create a child directory in the parent directory <dip>
186 * PARAMETER: dip - parent directory vnode
187 * dentry - dentry of child directory
193 * EACCES: user needs search+write permission on the parent directory
199 struct inode *ip = NULL; /* child directory inode */ in jfs_mkdir()
201 struct component_name dname; /* child directory name */ in jfs_mkdir()
213 * search parent directory for entry/freespace in jfs_mkdir()
214 * (dtSearch() returns parent directory page pinned) in jfs_mkdir()
222 * begin the transaction before we search the directory. in jfs_mkdir()
260 * initialize the child directory in-line in inode in jfs_mkdir()
265 * create entry in parent directory for child directory in jfs_mkdir()
266 * (dtInsert() releases parent directory page) in jfs_mkdir()
284 /* update parent directory inode */ in jfs_mkdir()
285 inc_nlink(dip); /* for '..' from child directory */ in jfs_mkdir()
316 * FUNCTION: remove a link to child directory
319 * dentry - child directory dentry
326 * if other threads have the directory open when the last link
328 * rmdir() returns and no new entries may be created in the directory,
329 * but the directory is not removed until the last reference to
330 * the directory is released (cf.unlink() of regular file).
352 /* directory must be empty to be removed */ in jfs_rmdir()
375 * delete the entry of target directory from parent directory in jfs_rmdir()
389 /* update parent directory's link count corresponding in jfs_rmdir()
390 * to ".." entry of the target directory deleted in jfs_rmdir()
412 /* mark the target directory as deleted */ in jfs_rmdir()
424 * Truncating the directory index table is not guaranteed. It in jfs_rmdir()
446 * from parent directory <dvp>
448 * PARAMETER: dip - inode of parent directory
498 * delete the entry of target file from parent directory in jfs_unlink()
580 * Truncating the directory index table is not guaranteed. It in jfs_unlink()
600 * FUNCTION: for non-directory, called by jfs_remove(),
601 * truncate a regular file, directory or symbolic
680 * FUNCTION: for non-directory, called by iClose(),
764 * in the parent directory <dvp>
767 * dvp - parent directory of new link
775 * path in the directory hierarchy);
776 * EPERM: the target object is a directory, and either the caller
807 * scan parent directory for entry/freespace in jfs_link()
816 * create entry for new link in parent directory in jfs_link()
857 * in directory <dip>
859 * PARAMETER: dip - parent directory vnode
899 * search parent directory for entry/freespace in jfs_symlink()
900 * (dtSearch() returns parent directory page pinned) in jfs_symlink()
1008 * create entry for symbolic link in parent directory in jfs_symlink()
1028 * commit update of parent directory and link object in jfs_symlink()
1059 * FUNCTION: rename a file or directory
1165 * Change existing directory entry to new inode number in jfs_rename()
1207 * Add new directory entry in jfs_rename()
1228 * Remove old directory entry in jfs_rename()
1243 * Change inode number of parent for moved directory in jfs_rename()
1320 * Truncating the directory index table is not guaranteed. It in jfs_rename()
1575 * Note, rename() to existing directory entry will have ->d_inode, in jfs_ci_revalidate()