Searched refs:new_dir (Results 1 - 25 of 49) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/
H A Ddcache.h54 struct inode *old_dir, struct inode *new_dir);
H A Ddcache.c378 struct inode *old_dir, struct inode *new_dir)
384 if (old_dir == new_dir)
390 ret = ocfs2_dentry_attach_lock(dentry, inode, OCFS2_I(new_dir)->ip_blkno);
377 ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, struct inode *old_dir, struct inode *new_dir) argument
H A Dnamei.c1058 struct inode *new_dir,
1088 old_dir, old_dentry, new_dir, new_dentry,
1121 &new_dir_bh, new_dir);
1171 if (!new_inode && new_dir!=old_dir &&
1172 new_dir->i_nlink >= OCFS2_LINK_MAX)
1196 &newfe_blkno, new_dir, &new_de_bh,
1270 BUG_ON(new_dentry->d_parent->d_inode != new_dir);
1272 status = ocfs2_check_dir_for_entry(new_dir,
1278 status = ocfs2_prepare_dir_for_insert(osb, new_dir, new_dir_bh,
1323 status = ocfs2_journal_access(handle, new_dir, new_de_b
1056 ocfs2_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/modules/
H A Dvfs_recycle.c210 char *new_dir = NULL; local
223 new_dir = (char *)SMB_MALLOC(len + 1);
224 ALLOC_CHECK(new_dir, done);
225 *new_dir = '\0';
229 safe_strcat(new_dir, token, len);
230 if (recycle_directory_exist(handle, new_dir))
231 DEBUG(10, ("recycle: dir %s already exists\n", new_dir));
233 DEBUG(5, ("recycle: creating new dir %s\n", new_dir));
234 if (SMB_VFS_NEXT_MKDIR(handle, handle->conn, new_dir, mode) != 0) {
235 DEBUG(1,("recycle: mkdir failed for %s with error: %s\n", new_dir, strerro
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/msdos/
H A Dnamei.c446 struct inode *new_dir, unsigned char *new_name,
468 update_dotdot = (is_dir && old_dir != new_dir);
478 err = fat_scan(new_dir, new_name, &sinfo);
521 err = msdos_add_entry(new_dir, new_name, is_dir, is_hid, 0,
527 new_dir->i_version++;
535 if (IS_DIRSYNC(new_dir)) {
543 int start = MSDOS_I(new_dir)->i_logstart;
547 if (IS_DIRSYNC(new_dir)) {
554 inc_nlink(new_dir);
604 int err2 = fat_remove_entries(new_dir,
444 do_msdos_rename(struct inode *old_dir, unsigned char *old_name, struct dentry *old_dentry, struct inode *new_dir, unsigned char *new_name, struct dentry *new_dentry, int is_hid) argument
618 msdos_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/sysv/
H A Dnamei.c215 struct inode * new_dir, struct dentry * new_dentry)
257 if (new_dir->i_nlink >= SYSV_SB(new_dir->i_sb)->s_link_max)
267 inode_inc_link_count(new_dir);
274 sysv_set_link(dir_de, dir_page, new_dir);
214 sysv_rename(struct inode * old_dir, struct dentry * old_dentry, struct inode * new_dir, struct dentry * new_dentry) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dfsnotify.h40 * fsnotify_move - file old_name at old_dir was moved to new_name at new_dir
42 static inline void fsnotify_move(struct inode *old_dir, struct inode *new_dir, argument
48 if (old_dir == new_dir)
52 inode_dir_notify(new_dir, DN_CREATE);
59 inotify_inode_queue_event(new_dir, IN_MOVED_TO|isdir, cookie, new_name,
70 audit_inode_child(new_name, source, new_dir);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gdbm-1.8.3/
H A Dbucket.c145 off_t *new_dir; /* Pointer to the new directory. */ local
204 new_dir = (off_t *) malloc (dir_size);
205 if (new_dir == NULL) _gdbm_fatal (dbf, "malloc error");
209 new_dir[2*index] = dbf->dir[index];
210 new_dir[2*index+1] = dbf->dir[index];
225 dbf->dir = new_dir;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext2/
H A Dnamei.c292 struct inode * new_dir, struct dentry * new_dentry )
322 new_de = ext2_find_entry (new_dir, new_dentry, &new_page);
326 ext2_set_link(new_dir, new_de, new_page, old_inode);
334 if (new_dir->i_nlink >= EXT2_LINK_MAX)
344 inode_inc_link_count(new_dir);
358 ext2_set_link(old_inode, dir_de, dir_page, new_dir);
291 ext2_rename(struct inode * old_dir, struct dentry * old_dentry, struct inode * new_dir, struct dentry * new_dentry ) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ufs/
H A Dnamei.c274 struct inode *new_dir, struct dentry *new_dentry)
304 new_de = ufs_find_entry(new_dir, new_dentry, &new_page);
308 ufs_set_link(new_dir, new_de, new_page, old_inode);
316 if (new_dir->i_nlink >= UFS_LINK_MAX)
326 inode_inc_link_count(new_dir);
340 ufs_set_link(old_inode, dir_de, dir_page, new_dir);
273 ufs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jfs/
H A Dnamei.c1060 struct inode *new_dir, struct dentry *new_dentry)
1104 rc = dtSearch(new_dir, &new_dname, &ino, &btstack, JFS_LOOKUP);
1124 } else if ((new_dir != old_dir) &&
1125 (new_dir->i_nlink == JFS_LINK_MAX)) {
1138 tid = txBegin(new_dir->i_sb, 0);
1144 * Here, the vfs has already taken i_mutex on both old_dir and new_dir.
1146 mutex_lock_nested(&JFS_IP(new_dir)->commit_mutex, COMMIT_MUTEX_PARENT);
1148 if (old_dir != new_dir)
1159 rc = dtModify(tid, new_dir, &new_dname, &ino,
1168 if (old_dir != new_dir)
1059 jfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hpfs/
H A Dnamei.c546 struct inode *new_dir, struct dentry *new_dentry)
572 if (new_dir != old_dir)
573 mutex_lock(&hpfs_i(new_dir)->i_mutex);
592 if ((nde = map_dirent(new_dir, hpfs_i(new_dir)->i_dno, (char *)new_name, new_len, NULL, &qbh1))) {
600 hpfs_error(new_dir->i_sb, "hpfs_rename: could not find dirent");
608 if (new_dir == old_dir) hpfs_brelse4(&qbh);
611 if ((r = hpfs_add_dirent(new_dir, new_name, new_len, &de, 1))) {
613 if (r == -1) hpfs_error(new_dir->i_sb, "hpfs_rename: dirent already exists!");
615 if (new_dir !
545 hpfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/minix/
H A Dnamei.c214 struct inode * new_dir, struct dentry *new_dentry)
257 if (new_dir->i_nlink >= info->s_link_max)
267 inode_inc_link_count(new_dir);
274 minix_set_link(dir_de, dir_page, new_dir);
213 minix_rename(struct inode * old_dir, struct dentry *old_dentry, struct inode * new_dir, struct dentry *new_dentry) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/affs/
H A Dnamei.c398 struct inode *new_dir, struct dentry *new_dentry)
406 (u32)new_dir->i_ino, (int)new_dentry->d_name.len, new_dentry->d_name.name);
433 affs_lock_dir(new_dir);
434 retval = affs_insert_hash(new_dir, bh);
435 affs_unlock_dir(new_dir);
439 mark_buffer_dirty_inode(bh, retval ? old_dir : new_dir);
397 affs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfs/
H A Ddir.c284 struct inode *new_dir, struct dentry *new_dentry)
290 res = hfs_unlink(new_dir, new_dentry);
297 new_dir, &new_dentry->d_name);
301 new_dir->i_ino, &new_dentry->d_name);
283 hfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/vfat/
H A Dnamei.c868 struct inode *new_dir, struct dentry *new_dentry)
887 update_dotdot = (is_dir && old_dir != new_dir);
906 err = vfat_add_entry(new_dir, &new_dentry->d_name, is_dir, 0,
912 new_dir->i_version++;
916 if (IS_DIRSYNC(new_dir)) {
924 int start = MSDOS_I(new_dir)->i_logstart;
928 if (IS_DIRSYNC(new_dir)) {
935 inc_nlink(new_dir);
986 int err2 = fat_remove_entries(new_dir, &sinfo);
992 fat_fs_panic(new_dir
867 vfat_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/x509/
H A Dby_dir.c88 static int new_dir(X509_LOOKUP *lu);
96 new_dir, /* new */
145 static int new_dir(X509_LOOKUP *lu) function
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/x509/
H A Dby_dir.c88 static int new_dir(X509_LOOKUP *lu);
96 new_dir, /* new */
144 static int new_dir(X509_LOOKUP *lu) function
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/
H A Dnamei.c1221 struct inode *new_dir, struct dentry *new_dentry)
1311 reiserfs_add_entry(&th, new_dir, new_dentry->d_name.name,
1325 reiserfs_update_inode_transaction(new_dir);
1338 search_by_entry_key(new_dir->i_sb, &old_de.de_entry_key,
1354 reiserfs_find_entry(new_dir, new_dentry->d_name.name,
1373 search_by_entry_key(new_dir->i_sb,
1457 new_dir->i_ctime = new_dir->i_mtime = ctime;
1475 set_ino_in_dir_entry(&dot_dot_de, INODE_PKEY(new_dir));
1476 journal_mark_dirty(&th, new_dir
1220 reiserfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dlibfs.c307 struct inode *new_dir, struct dentry *new_dentry)
316 simple_unlink(new_dir, new_dentry);
321 inc_nlink(new_dir);
324 old_dir->i_ctime = old_dir->i_mtime = new_dir->i_ctime =
325 new_dir->i_mtime = inode->i_ctime = CURRENT_TIME;
306 simple_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
H A Dnamei.c2349 struct inode *new_dir, struct dentry *new_dentry)
2358 if (new_dir != old_dir) {
2364 error = security_inode_rename(old_dir, old_dentry, new_dir, new_dentry);
2376 error = old_dir->i_op->rename(old_dir, old_dentry, new_dir, new_dentry);
2392 struct inode *new_dir, struct dentry *new_dentry)
2397 error = security_inode_rename(old_dir, old_dentry, new_dir, new_dentry);
2408 error = old_dir->i_op->rename(old_dir, old_dentry, new_dir, new_dentry);
2420 struct inode *new_dir, struct dentry *new_dentry)
2434 error = may_create(new_dir, new_dentry, NULL);
2436 error = may_delete(new_dir, new_dentr
2348 vfs_rename_dir(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
2391 vfs_rename_other(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
2419 vfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
2466 struct dentry * old_dir, * new_dir; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ncpfs/
H A Ddir.c211 struct inode *new_dir, struct dentry* new_dentry, char *_new_name)
232 res2 = ncp_modify_file_or_subdir_dos_info_path(NCP_SERVER(new_dir), new_dir, _new_name, DM_ATTRIBUTES, &info);
241 new_dir, _new_name);
260 res2 = ncp_modify_file_or_subdir_dos_info_path(NCP_SERVER(new_dir), new_dir, _new_name, DM_ATTRIBUTES, &info);
1110 struct inode *new_dir, struct dentry *new_dentry)
1139 !ncp_preserve_case(new_dir));
1144 new_dir, __new_name);
1149 new_dir, new_dentr
210 ncp_force_rename(struct inode *old_dir, struct dentry* old_dentry, char *_old_name, struct inode *new_dir, struct dentry* new_dentry, char *_new_name) argument
1109 ncp_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
[all...]
H A Dncplib_kernel.c898 struct inode *new_dir, char *new_name)
903 (new_dir == NULL) || (new_name == NULL))
919 ncp_add_byte(server, NCP_FINFO(new_dir)->volNumber);
920 ncp_add_dword(server, NCP_FINFO(new_dir)->dirEntNum);
937 struct inode *new_dir, char *new_name)
944 new_dir, new_name);
949 new_dir, new_name);
952 result = ncp_del_file_or_subdir(server, new_dir, new_name);
955 new_dir, new_name);
896 ncp_RenameNSEntry(struct ncp_server *server, struct inode *old_dir, char *old_name, __le16 old_type, struct inode *new_dir, char *new_name) argument
935 ncp_ren_or_mov_file_or_subdir(struct ncp_server *server, struct inode *old_dir, char *old_name, struct inode *new_dir, char *new_name) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/bfs/
H A Ddir.c209 struct inode * new_dir, struct dentry * new_dentry)
231 new_bh = bfs_find_entry(new_dir,
240 error = bfs_add_entry(new_dir,
208 bfs_rename(struct inode * old_dir, struct dentry * old_dentry, struct inode * new_dir, struct dentry * new_dentry) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/coda/
H A Ddir.c406 struct inode *new_dir, struct dentry *new_dentry)
419 coda_i2f(new_dir), old_length, new_length,
428 coda_dir_changed(new_dir, link_adjust);
432 coda_flag_inode(new_dir, C_VATTR);
405 coda_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument

Completed in 226 milliseconds

12