• Home
  • Raw
  • Download

Lines Matching refs:base

1616 		struct dentry *base, unsigned int flags)
1618 struct dentry *dentry = lookup_dcache(name, base, flags);
1620 struct inode *dir = base->d_inode;
1629 dentry = d_alloc(base, name);
2148 * the final dentry. We expect 'base' to be positive and a directory.
2526 * @dentry: pointer to dentry of the base directory
2527 * @mnt: pointer to vfs mount of the base directory
2544 struct dentry *base, int len, struct qstr *this)
2548 this->hash = full_name_hash(base, name, len);
2566 if (base->d_flags & DCACHE_OP_HASH) {
2567 int err = base->d_op->d_hash(base, this);
2572 return inode_permission2(mnt, base->d_inode, MAY_EXEC);
2578 * @base: base directory to lookup from
2587 * The caller must hold base->i_mutex.
2589 struct dentry *try_lookup_one_len(const char *name, struct dentry *base, int len)
2594 WARN_ON_ONCE(!inode_is_locked(base->d_inode));
2596 err = lookup_one_len_common(name, NULL, base, len, &this);
2600 return lookup_dcache(&this, base, 0);
2607 * @base: base directory to lookup from
2613 * The caller must hold base->i_mutex.
2615 struct dentry *lookup_one_len2(const char *name, struct vfsmount *mnt, struct dentry *base, int len)
2621 WARN_ON_ONCE(!inode_is_locked(base->d_inode));
2623 err = lookup_one_len_common(name, mnt, base, len, &this);
2627 dentry = lookup_dcache(&this, base, 0);
2628 return dentry ? dentry : __lookup_slow(&this, base, 0);
2632 struct dentry *lookup_one_len(const char *name, struct dentry *base, int len)
2634 return lookup_one_len2(name, NULL, base, len);
2641 * @base: base directory to lookup from
2651 struct dentry *base, int len)
2657 err = lookup_one_len_common(name, NULL, base, len, &this);
2661 ret = lookup_dcache(&this, base, 0);
2663 ret = lookup_slow(&this, base, 0);