Searched refs:new_dentry (Results 1 - 25 of 57) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/
H A Dnamei.h43 struct dentry *new_dentry);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Dnamei.c2404 int vfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry) argument
2412 error = may_create(dir, new_dentry);
2429 error = security_inode_link(old_dentry, dir, new_dentry);
2434 error = dir->i_op->link(old_dentry, dir, new_dentry);
2437 fsnotify_link(dir, inode, new_dentry);
2453 struct dentry *new_dentry; local
2474 new_dentry = lookup_create(&nd, 0);
2475 error = PTR_ERR(new_dentry);
2476 if (IS_ERR(new_dentry))
2481 error = security_path_link(old_path.dentry, &nd.path, new_dentry);
2505 vfs_rename_dir(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
2551 vfs_rename_other(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
2581 vfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
2623 struct dentry *old_dentry, *new_dentry; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/smbfs/
H A Ddir.c624 struct inode *new_dir, struct dentry *new_dentry)
635 if (new_dentry->d_inode) {
636 smb_close(new_dentry->d_inode);
637 error = smb_proc_unlink(new_dentry);
640 DENTRY_PATH(new_dentry), error);
643 d_delete(new_dentry);
648 error = smb_proc_mv(old_dentry, new_dentry);
651 smb_renew_times(new_dentry);
681 * new_dentry = new file
684 smb_link(struct dentry *dentry, struct inode *dir, struct dentry *new_dentry) argument
623 smb_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
[all...]
H A Dproto.h21 extern int smb_proc_mv(struct dentry *old_dentry, struct dentry *new_dentry);
35 extern int smb_proc_link(struct smb_sb_info *server, struct dentry *dentry, struct dentry *new_dentry);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/affs/
H A Dnamei.c401 struct inode *new_dir, struct dentry *new_dentry)
409 (u32)new_dir->i_ino, (int)new_dentry->d_name.len, new_dentry->d_name.name);
411 retval = affs_check_name(new_dentry->d_name.name,new_dentry->d_name.len);
416 if (new_dentry->d_inode) {
417 retval = affs_remove_header(new_dentry);
434 affs_copy_name(AFFS_TAIL(sb, bh)->name, new_dentry);
400 affs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/minix/
H A Dnamei.c184 struct inode * new_dir, struct dentry *new_dentry)
188 struct inode * new_inode = new_dentry->d_inode;
215 new_de = minix_find_entry(new_dentry, &new_page);
231 err = minix_add_link(new_dentry, old_inode);
183 minix_rename(struct inode * old_dir, struct dentry *old_dentry, struct inode * new_dir, struct dentry *new_dentry) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/sysv/
H A Dnamei.c215 struct inode * new_dir, struct dentry * new_dentry)
218 struct inode * new_inode = new_dentry->d_inode;
245 new_de = sysv_find_entry(new_dentry, &new_page);
261 err = sysv_add_link(new_dentry, old_inode);
214 sysv_rename(struct inode * old_dir, struct dentry * old_dentry, struct inode * new_dir, struct dentry * new_dentry) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/tomoyo/
H A Dtomoyo.c159 struct dentry *new_dentry)
162 struct path path2 = { new_dir->mnt, new_dentry };
169 struct dentry *new_dentry)
172 struct path path2 = { new_parent->mnt, new_dentry };
158 tomoyo_path_link(struct dentry *old_dentry, struct path *new_dir, struct dentry *new_dentry) argument
166 tomoyo_path_rename(struct path *old_parent, struct dentry *old_dentry, struct path *new_parent, struct dentry *new_dentry) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfs/
H A Ddir.c295 struct inode *new_dir, struct dentry *new_dentry)
300 if (new_dentry->d_inode) {
301 res = hfs_unlink(new_dir, new_dentry);
308 new_dir, &new_dentry->d_name);
312 new_dir->i_ino, &new_dentry->d_name);
294 hfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/omfs/
H A Ddir.c384 struct inode *new_dir, struct dentry *new_dentry)
386 struct inode *new_inode = new_dentry->d_inode;
401 bh = omfs_find_entry(new_dir, new_dentry->d_name.name,
402 new_dentry->d_name.len);
407 err = omfs_unlink(new_dir, new_dentry);
421 err = omfs_add_link(new_dentry, old_inode);
383 omfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/bfs/
H A Ddir.c219 struct inode *new_dir, struct dentry *new_dentry)
243 new_inode = new_dentry->d_inode;
245 new_dentry->d_name.name,
246 new_dentry->d_name.len, &new_de);
254 new_dentry->d_name.name,
255 new_dentry->d_name.len,
218 bfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/exofs/
H A Dnamei.c242 struct inode *new_dir, struct dentry *new_dentry)
245 struct inode *new_inode = new_dentry->d_inode;
272 new_de = exofs_find_entry(new_dir, new_dentry, &new_page);
290 err = exofs_add_link(new_dentry, old_inode);
241 exofs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ext2/
H A Dnamei.c311 struct inode * new_dir, struct dentry * new_dentry )
314 struct inode * new_inode = new_dentry->d_inode;
344 new_de = ext2_find_entry (new_dir, &new_dentry->d_name, &new_page);
360 err = ext2_add_link(new_dentry, old_inode);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ufs/
H A Dnamei.c276 struct inode *new_dir, struct dentry *new_dentry)
279 struct inode *new_inode = new_dentry->d_inode;
306 new_de = ufs_find_entry(new_dir, &new_dentry->d_name, &new_page);
322 err = ufs_add_link(new_dentry, old_inode);
275 ufs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dfsnotify.h162 * new_dentry->d_inode NULL and instantiate inode pointer later
164 static inline void fsnotify_link(struct inode *dir, struct inode *inode, struct dentry *new_dentry) argument
167 audit_inode_child(new_dentry, dir);
169 fsnotify(dir, FS_CREATE, inode, FSNOTIFY_EVENT_INODE, new_dentry->d_name.name, 0);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ecryptfs/
H A Dinode.c367 struct dentry *new_dentry; local
378 new_dentry = lower_dir_inode->i_op->lookup(lower_dir_inode, tmp, nd);
381 if (!new_dentry)
382 new_dentry = tmp;
386 return new_dentry;
518 struct dentry *new_dentry)
528 lower_new_dentry = ecryptfs_dentry_to_lower(new_dentry);
536 rc = ecryptfs_interpose(lower_new_dentry, new_dentry, dir->i_sb, 0);
543 i_size_write(new_dentry->d_inode, file_size_save);
689 struct inode *new_dir, struct dentry *new_dentry)
517 ecryptfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry) argument
688 ecryptfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/coda/
H A Ddir.c43 struct inode *new_inode, struct dentry *new_dentry);
398 struct inode *new_dir, struct dentry *new_dentry)
401 const char *new_name = new_dentry->d_name.name;
403 int new_length = new_dentry->d_name.len;
413 if ( new_dentry->d_inode ) {
414 if ( S_ISDIR(new_dentry->d_inode->i_mode) ) {
420 coda_flag_inode(new_dentry->d_inode, C_VATTR);
397 coda_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/fat/
H A Dnamei_msdos.c447 struct dentry *new_dentry, int is_hid)
459 new_inode = new_dentry->d_inode;
619 struct inode *new_dir, struct dentry *new_dentry)
632 err = msdos_format_name(new_dentry->d_name.name,
633 new_dentry->d_name.len, new_msdos_name,
639 (new_dentry->d_name.name[0] == '.') && (new_msdos_name[0] != '.');
642 new_dir, new_msdos_name, new_dentry, is_hid);
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
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus_journal/
H A Ddir.c507 struct inode *new_dir, struct dentry *new_dentry)
513 if (new_dentry->d_inode) {
514 if (S_ISDIR(new_dentry->d_inode->i_mode))
515 res = hfsplus_rmdir(new_dir, new_dentry);
517 res = hfsplus_unlink(new_dir, new_dentry);
527 new_dir, &new_dentry->d_name);
529 new_dentry->d_fsdata = old_dentry->d_fsdata;
506 hfsplus_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ncpfs/
H A Ddir.c211 struct inode *new_dir, struct dentry* new_dentry, char *_new_name)
229 if (new_dentry && new_dentry->d_inode) {
230 new_nwattr = NCP_FINFO(new_dentry->d_inode)->nwattr;
1110 struct inode *new_dir, struct dentry *new_dentry)
1119 new_dentry->d_parent->d_name.name, new_dentry->d_name.name);
1127 ncp_age_dentry(server, new_dentry);
1138 new_dentry->d_name.name, new_dentry
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...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ubifs/
H A Djournal.c892 * @new_dentry: new directory entry (or directory entry to replace)
903 const struct dentry *new_dentry, int sync)
910 const struct inode *new_inode = new_dentry->d_inode;
918 old_dir->i_ino, new_dentry->d_name.len,
919 new_dentry->d_name.name, new_dir->i_ino);
925 dlen1 = UBIFS_DENT_NODE_SZ + new_dentry->d_name.len + 1;
952 dent_key_init_flash(c, &dent->key, new_dir->i_ino, &new_dentry->d_name);
955 dent->nlen = cpu_to_le16(new_dentry->d_name.len);
956 memcpy(dent->name, new_dentry->d_name.name, new_dentry
900 ubifs_jnl_rename(struct ubifs_info *c, const struct inode *old_dir, const struct dentry *old_dentry, const struct inode *new_dir, const struct dentry *new_dentry, int sync) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/
H A Dsecurity.c403 struct dentry *new_dentry)
407 return security_ops->path_link(old_dentry, new_dir, new_dentry);
411 struct path *new_dir, struct dentry *new_dentry)
414 (new_dentry->d_inode && IS_PRIVATE(new_dentry->d_inode))))
417 new_dentry);
457 struct dentry *new_dentry)
461 return security_ops->inode_link(old_dentry, dir, new_dentry);
502 struct inode *new_dir, struct dentry *new_dentry)
505 (new_dentry
402 security_path_link(struct dentry *old_dentry, struct path *new_dir, struct dentry *new_dentry) argument
410 security_path_rename(struct path *old_dir, struct dentry *old_dentry, struct path *new_dir, struct dentry *new_dentry) argument
456 security_inode_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry) argument
501 security_inode_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jffs2/
H A Ddir.c777 struct inode *new_dir_i, struct dentry *new_dentry)
790 if (new_dentry->d_inode) {
791 victim_f = JFFS2_INODE_INFO(new_dentry->d_inode);
792 if (S_ISDIR(new_dentry->d_inode->i_mode)) {
815 new_dentry->d_name.name, new_dentry->d_name.len, now);
822 drop_nlink(new_dentry->d_inode);
827 if (S_ISDIR(new_dentry->d_inode->i_mode))
857 d_instantiate(new_dentry, old_dentry->d_inode);
776 jffs2_rename(struct inode *old_dir_i, struct dentry *old_dentry, struct inode *new_dir_i, struct dentry *new_dentry) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/logfs/
H A Ddir.c603 struct inode *new_dir, struct dentry *new_dentry)
627 err = logfs_write_dir(new_dir, new_dentry, old_dentry->d_inode);
675 struct inode *new_dir, struct dentry *new_dentry)
679 struct inode *new_inode = new_dentry->d_inode;
709 err = logfs_replace_inode(new_dir, new_dentry, &dd, old_inode);
737 struct inode *new_dir, struct dentry *new_dentry)
739 if (new_dentry->d_inode)
741 new_dir, new_dentry);
742 return logfs_rename_cross(old_dir, old_dentry, new_dir, new_dentry);
602 logfs_rename_cross(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
674 logfs_rename_target(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
736 logfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/nfs/
H A Ddir.c1590 struct inode *new_dir, struct dentry *new_dentry)
1593 struct inode *new_inode = new_dentry->d_inode;
1599 new_dentry->d_parent->d_name.name, new_dentry->d_name.name,
1600 atomic_read(&new_dentry->d_count));
1613 if (!d_unhashed(new_dentry)) {
1614 d_drop(new_dentry);
1615 rehash = new_dentry;
1618 if (atomic_read(&new_dentry->d_count) > 2) {
1622 dentry = d_alloc(new_dentry
1589 nfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
[all...]

Completed in 272 milliseconds

123