/linux-4.4.14/fs/cifs/ |
H A D | dir.c | 38 renew_parental_timestamps(struct dentry *direntry) renew_parental_timestamps() argument 43 direntry->d_time = jiffies; renew_parental_timestamps() 44 direntry = direntry->d_parent; renew_parental_timestamps() 45 } while (!IS_ROOT(direntry)); renew_parental_timestamps() 82 build_path_from_dentry(struct dentry *direntry) build_path_from_dentry() argument 89 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); build_path_from_dentry() 102 for (temp = direntry; !IS_ROOT(temp);) { build_path_from_dentry() 118 for (temp = direntry; !IS_ROOT(temp);) { build_path_from_dentry() 174 check_name(struct dentry *direntry) check_name() argument 176 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); check_name() 180 for (i = 0; i < direntry->d_name.len; i++) { check_name() 181 if (direntry->d_name.name[i] == '\\') { check_name() 194 cifs_do_create(struct inode *inode, struct dentry *direntry, unsigned int xid, cifs_do_create() argument 214 full_path = build_path_from_dentry(direntry); cifs_do_create() 406 d_drop(direntry); cifs_do_create() 407 d_add(direntry, newinode); cifs_do_create() 416 cifs_atomic_open(struct inode *inode, struct dentry *direntry, cifs_atomic_open() argument 448 if (!d_unhashed(direntry)) cifs_atomic_open() 451 res = cifs_lookup(inode, direntry, 0); cifs_atomic_open() 458 rc = check_name(direntry); cifs_atomic_open() 465 inode, direntry, direntry); cifs_atomic_open() 481 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, cifs_atomic_open() 492 rc = finish_open(file, direntry, generic_file_open, opened); cifs_atomic_open() 524 int cifs_create(struct inode *inode, struct dentry *direntry, umode_t mode, cifs_create() argument 544 inode, direntry, direntry); cifs_create() 557 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, cifs_create() 568 int cifs_mknod(struct inode *inode, struct dentry *direntry, umode_t mode, cifs_mknod() argument 600 full_path = build_path_from_dentry(direntry); cifs_mknod() 631 d_instantiate(direntry, newinode); cifs_mknod() 695 d_drop(direntry); cifs_mknod() 708 cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry, cifs_lookup() argument 722 parent_dir_inode, direntry, direntry); cifs_lookup() 734 rc = check_name(direntry); cifs_lookup() 741 full_path = build_path_from_dentry(direntry); cifs_lookup() 747 if (d_really_is_positive(direntry)) { cifs_lookup() 753 full_path, d_inode(direntry)); cifs_lookup() 764 d_add(direntry, newInode); cifs_lookup() 767 renew_parental_timestamps(direntry); cifs_lookup() 771 direntry->d_time = jiffies; cifs_lookup() 772 d_add(direntry, NULL); cifs_lookup() 774 shrink_dcache_parent(direntry); */ cifs_lookup() 789 cifs_d_revalidate(struct dentry *direntry, unsigned int flags) cifs_d_revalidate() argument 794 if (d_really_is_positive(direntry)) { cifs_d_revalidate() 795 if (cifs_revalidate_dentry(direntry)) cifs_d_revalidate() 805 if (IS_AUTOMOUNT(d_inode(direntry)) && cifs_d_revalidate() 806 !(direntry->d_flags & DCACHE_NEED_AUTOMOUNT)) { cifs_d_revalidate() 807 spin_lock(&direntry->d_lock); cifs_d_revalidate() 808 direntry->d_flags |= DCACHE_NEED_AUTOMOUNT; cifs_d_revalidate() 809 spin_unlock(&direntry->d_lock); cifs_d_revalidate() 831 if (time_after(jiffies, direntry->d_time + HZ) || !lookupCacheEnabled) cifs_d_revalidate() 837 /* static int cifs_d_delete(struct dentry *direntry) 841 cifs_dbg(FYI, "In cifs d_delete, name = %pd\n", direntry);
|
H A D | xattr.c | 40 int cifs_removexattr(struct dentry *direntry, const char *ea_name) cifs_removexattr() argument 51 if (direntry == NULL) cifs_removexattr() 53 if (d_really_is_negative(direntry)) cifs_removexattr() 55 sb = d_inode(direntry)->i_sb; cifs_removexattr() 67 full_path = build_path_from_dentry(direntry); cifs_removexattr() 100 int cifs_setxattr(struct dentry *direntry, const char *ea_name, cifs_setxattr() argument 112 if (direntry == NULL) cifs_setxattr() 114 if (d_really_is_negative(direntry)) cifs_setxattr() 116 sb = d_inode(direntry)->i_sb; cifs_setxattr() 128 full_path = build_path_from_dentry(direntry); cifs_setxattr() 180 value_size, d_inode(direntry), cifs_setxattr() 185 CIFS_I(d_inode(direntry))->time = 0; cifs_setxattr() 235 ssize_t cifs_getxattr(struct dentry *direntry, const char *ea_name, cifs_getxattr() argument 247 if (direntry == NULL) cifs_getxattr() 249 if (d_really_is_negative(direntry)) cifs_getxattr() 251 sb = d_inode(direntry)->i_sb; cifs_getxattr() 263 full_path = build_path_from_dentry(direntry); cifs_getxattr() 327 d_inode(direntry), full_path, &acllen); cifs_getxattr() 372 ssize_t cifs_listxattr(struct dentry *direntry, char *data, size_t buf_size) cifs_listxattr() argument 383 if (direntry == NULL) cifs_listxattr() 385 if (d_really_is_negative(direntry)) cifs_listxattr() 387 sb = d_inode(direntry)->i_sb; cifs_listxattr() 402 full_path = build_path_from_dentry(direntry); cifs_listxattr()
|
H A D | link.c | 541 struct dentry *direntry) cifs_hardlink() 561 to_name = build_path_from_dentry(direntry); cifs_hardlink() 583 d_drop(direntry); /* force new lookup from server of target */ cifs_hardlink() 630 cifs_follow_link(struct dentry *direntry, void **cookie) cifs_follow_link() argument 632 struct inode *inode = d_inode(direntry); cifs_follow_link() 652 full_path = build_path_from_dentry(direntry); cifs_follow_link() 685 cifs_symlink(struct inode *inode, struct dentry *direntry, const char *symname) cifs_symlink() argument 704 full_path = build_path_from_dentry(direntry); cifs_symlink() 736 d_instantiate(direntry, newinode); cifs_symlink() 540 cifs_hardlink(struct dentry *old_file, struct inode *inode, struct dentry *direntry) cifs_hardlink() argument
|
H A D | inode.c | 1474 int cifs_mkdir(struct inode *inode, struct dentry *direntry, umode_t mode) cifs_mkdir() argument 1495 full_path = build_path_from_dentry(direntry); cifs_mkdir() 1503 rc = cifs_posix_mkdir(inode, direntry, mode, full_path, cifs_sb, cifs_mkdir() 1520 d_drop(direntry); cifs_mkdir() 1524 rc = cifs_mkdir_qinfo(inode, direntry, mode, full_path, cifs_sb, tcon, cifs_mkdir() 1538 int cifs_rmdir(struct inode *inode, struct dentry *direntry) cifs_rmdir() argument 1553 full_path = build_path_from_dentry(direntry); cifs_rmdir() 1578 spin_lock(&d_inode(direntry)->i_lock); cifs_rmdir() 1579 i_size_write(d_inode(direntry), 0); cifs_rmdir() 1580 clear_nlink(d_inode(direntry)); cifs_rmdir() 1581 spin_unlock(&d_inode(direntry)->i_lock); cifs_rmdir() 1584 cifsInode = CIFS_I(d_inode(direntry)); cifs_rmdir() 1595 d_inode(direntry)->i_ctime = inode->i_ctime = inode->i_mtime = cifs_rmdir() 2098 cifs_setattr_unix(struct dentry *direntry, struct iattr *attrs) cifs_setattr_unix() argument 2103 struct inode *inode = d_inode(direntry); cifs_setattr_unix() 2112 direntry, attrs->ia_valid); cifs_setattr_unix() 2123 full_path = build_path_from_dentry(direntry); cifs_setattr_unix() 2238 cifs_setattr_nounix(struct dentry *direntry, struct iattr *attrs) cifs_setattr_nounix() argument 2243 struct inode *inode = d_inode(direntry); cifs_setattr_nounix() 2254 direntry, attrs->ia_valid); cifs_setattr_nounix() 2265 full_path = build_path_from_dentry(direntry); cifs_setattr_nounix() 2399 cifs_setattr(struct dentry *direntry, struct iattr *attrs) cifs_setattr() argument 2401 struct inode *inode = d_inode(direntry); cifs_setattr() 2406 return cifs_setattr_unix(direntry, attrs); cifs_setattr() 2408 return cifs_setattr_nounix(direntry, attrs); cifs_setattr()
|
H A D | cifsfs.h | 119 extern const char *cifs_follow_link(struct dentry *direntry, void **cookie); 120 extern int cifs_readlink(struct dentry *direntry, char __user *buffer, 122 extern int cifs_symlink(struct inode *inode, struct dentry *direntry,
|
H A D | cifsproto.h | 67 extern char *build_wildcard_path_from_dentry(struct dentry *direntry); 71 /* extern void renew_parental_timestamps(struct dentry *direntry);*/
|
/linux-4.4.14/fs/ubifs/ |
H A D | key.h | 32 * in case of direntry key). Next 3 bits are node type. The last 29 bits are 33 * 4KiB offset in case of inode node, and direntry hash in case of a direntry 58 * @s: direntry name 78 * @str: direntry name 150 * @nm: direntry name and length 169 * @hash: direntry name hash 185 * @nm: direntry name and length
|
H A D | dir.c | 256 * Budget request settings: new inode, new direntry, changing the ubifs_create() 339 * 'seek()' to that specific direntry. Obviously UBIFS does not really fit this 456 ubifs_err(c, "cannot find next direntry, error %d", err); ubifs_readdir() 511 * Budget request settings: new direntry, changing the target inode, ubifs_link() 566 * Budget request settings: deletion direntry, deletion inode (+1 for ubifs_unlink() 657 * Budget request settings: deletion direntry, deletion inode and ubifs_rmdir() 718 * Budget request settings: new inode, new direntry and changing parent ubifs_mkdir() 785 * Budget request settings: new inode, new direntry and changing parent ubifs_mknod() 861 * Budget request settings: new inode, new direntry and changing parent ubifs_symlink() 988 * Budget request settings: deletion direntry, new direntry, removing ubifs_rename() 1060 * And finally, if we unlinked a direntry which happened to have the ubifs_rename() 1061 * same name as the moved direntry, we have to decrement @i_nlink of ubifs_rename()
|
H A D | gc.c | 240 * inode number go before direntry nodes with higher parent inode number, 241 * and direntry nodes with lower name hash values go before direntry nodes 400 * nodes and direntry nodes are roughly of the move_nodes()
|
H A D | debug.h | 72 * @dfs_dir: direntry object of the file-system debugfs directory
|
H A D | tnc.c | 511 * matches_name - determine if a direntry or xattr entry matches a given name. 516 * This function checks if xentry/direntry referred by zbranch @zbr matches name 800 * panic if the direntry/xentry referred by @zbr does not exist on the media. 802 * This function checks if xentry/direntry referred by zbranch @zbr matches name 805 * if xentry/direntry referred by @zbr does not exist on the media. A negative 1847 * 'ubifs_tnc_lookup()' returns us the right direntry. ubifs_tnc_lookup_nm() 1859 * them look at each direntry with colliding name hash sequentially. ubifs_tnc_lookup_nm()
|
H A D | debug.c | 67 return "direntry"; get_key_type() 154 return "direntry node"; dbg_ntype() 1170 * sure the name of direntry/xentry referred by @zbr1 is less than 1171 * direntry/xentry referred by @zbr2. Returns zero if this is true, %1 if not,
|
H A D | xattr.c | 494 ubifs_err(c, "cannot find next direntry, error %d", err); ubifs_listxattr()
|
H A D | replay.c | 349 * This function inserts a scanned non-direntry node to the replay list. The
|
H A D | journal.c | 862 * direntry to the media, and adds the inode to orphans. After this, when the
|
H A D | ubifs.h | 1081 * @key_hash: direntry key hash function
|
/linux-4.4.14/fs/reiserfs/ |
H A D | dir.c | 290 /* direntry header of "." */ make_empty_dir_item_v1() 299 /* direntry header of ".." */ make_empty_dir_item_v1() 324 /* direntry header of "." */ make_empty_dir_item() 333 /* direntry header of ".." */ make_empty_dir_item()
|
H A D | item_ops.c | 356 /* direntry functions */ direntry_bytes_number() 360 "bytes number is asked for direntry"); direntry_bytes_number()
|
/linux-4.4.14/fs/qnx6/ |
H A D | dir.c | 74 in direntry */ qnx6_dir_longfilename() 75 pr_err("invalid direntry size (%i).\n", de->de_size); qnx6_dir_longfilename()
|
/linux-4.4.14/fs/ |
H A D | bad_inode.c | 98 static int bad_inode_setattr(struct dentry *direntry, struct iattr *attrs) bad_inode_setattr() argument
|
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/ |
H A D | lmv_obd.c | 1546 * lookup lock in space of MDT storing direntry and update/open lock in lmv_null_inode() 1574 * lookup lock in space of MDT storing direntry and update/open lock in lmv_find_cbdata() 2536 * lookup lock in space of mds storing direntry and update/open lock in lmv_lock_match()
|
/linux-4.4.14/drivers/mtd/ubi/ |
H A D | ubi.h | 379 * @dfs_dir: direntry object of the UBI device debugfs directory
|