centos man page for d_add_ci

Query: d_add_ci

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

D_ADD_CI(9)							   The Linux VFS						       D_ADD_CI(9)

NAME
d_add_ci - lookup or allocate new dentry with case-exact name
SYNOPSIS
struct dentry * d_add_ci(struct dentry * dentry, struct inode * inode, struct qstr * name);
ARGUMENTS
dentry the negative dentry that was passed to the parent's lookup func inode the inode case-insensitive lookup has found name the case-exact name to be associated with the returned dentry
DESCRIPTION
This is to avoid filling the dcache with case-insensitive names to the same inode, only the actual correct case is stored in the dcache for case-insensitive filesystems. For a case-insensitive lookup match and if the the case-exact dentry already exists in in the dcache, use it and return it. If no entry exists with the exact case name, allocate new dentry with the exact case, and return the spliced entry.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 D_ADD_CI(9)
Related Man Pages
debugfs_create_regset32(9) - centos
debugfs_create_blob(9) - centos
debugfs_create_u8(9) - centos
securityfs_create_file(9) - centos
debugfs_create_u32(9) - suse
Similar Topics in the Unix Linux Community
Trick Question: How is the Site Performance?