rdd 133 drivers/infiniband/hw/mthca/mthca_qp.c __be32 rdd; rdd 662 drivers/powercap/intel_rapl_common.c *data = rd->rdd.primitives[prim]; rdd 1011 drivers/powercap/intel_rapl_common.c rp->domains[dmn].rdd.primitives[prim] = val; rdd 113 fs/overlayfs/readdir.c static bool ovl_calc_d_ino(struct ovl_readdir_data *rdd, rdd 117 fs/overlayfs/readdir.c if (!rdd->dentry) rdd 121 fs/overlayfs/readdir.c if (ovl_xino_bits(rdd->dentry->d_sb)) rdd 129 fs/overlayfs/readdir.c if (!rdd->is_upper) rdd 137 fs/overlayfs/readdir.c ovl_test_flag(OVL_IMPURE, d_inode(rdd->dentry))) rdd 143 fs/overlayfs/readdir.c static struct ovl_cache_entry *ovl_cache_entry_new(struct ovl_readdir_data *rdd, rdd 161 fs/overlayfs/readdir.c if (ovl_calc_d_ino(rdd, p)) rdd 163 fs/overlayfs/readdir.c p->is_upper = rdd->is_upper; rdd 167 fs/overlayfs/readdir.c p->next_maybe_whiteout = rdd->first_maybe_whiteout; rdd 168 fs/overlayfs/readdir.c rdd->first_maybe_whiteout = p; rdd 173 fs/overlayfs/readdir.c static int ovl_cache_entry_add_rb(struct ovl_readdir_data *rdd, rdd 177 fs/overlayfs/readdir.c struct rb_node **newp = &rdd->root->rb_node; rdd 184 fs/overlayfs/readdir.c p = ovl_cache_entry_new(rdd, name, len, ino, d_type); rdd 186 fs/overlayfs/readdir.c rdd->err = -ENOMEM; rdd 190 fs/overlayfs/readdir.c list_add_tail(&p->l_node, rdd->list); rdd 192 fs/overlayfs/readdir.c rb_insert_color(&p->node, rdd->root); rdd 197 fs/overlayfs/readdir.c static int ovl_fill_lowest(struct ovl_readdir_data *rdd, rdd 203 fs/overlayfs/readdir.c p = ovl_cache_entry_find(rdd->root, name, namelen); rdd 205 fs/overlayfs/readdir.c list_move_tail(&p->l_node, &rdd->middle); rdd 207 fs/overlayfs/readdir.c p = ovl_cache_entry_new(rdd, name, namelen, ino, d_type); rdd 209 fs/overlayfs/readdir.c rdd->err = -ENOMEM; rdd 211 fs/overlayfs/readdir.c list_add_tail(&p->l_node, &rdd->middle); rdd 214 fs/overlayfs/readdir.c return rdd->err; rdd 257 fs/overlayfs/readdir.c struct ovl_readdir_data *rdd = rdd 260 fs/overlayfs/readdir.c rdd->count++; rdd 261 fs/overlayfs/readdir.c if (!rdd->is_lowest) rdd 262 fs/overlayfs/readdir.c return ovl_cache_entry_add_rb(rdd, name, namelen, ino, d_type); rdd 264 fs/overlayfs/readdir.c return ovl_fill_lowest(rdd, name, namelen, offset, ino, d_type); rdd 267 fs/overlayfs/readdir.c static int ovl_check_whiteouts(struct dentry *dir, struct ovl_readdir_data *rdd) rdd 274 fs/overlayfs/readdir.c old_cred = ovl_override_creds(rdd->dentry->d_sb); rdd 278 fs/overlayfs/readdir.c while (rdd->first_maybe_whiteout) { rdd 279 fs/overlayfs/readdir.c p = rdd->first_maybe_whiteout; rdd 280 fs/overlayfs/readdir.c rdd->first_maybe_whiteout = p->next_maybe_whiteout; rdd 295 fs/overlayfs/readdir.c struct ovl_readdir_data *rdd) rdd 304 fs/overlayfs/readdir.c rdd->first_maybe_whiteout = NULL; rdd 305 fs/overlayfs/readdir.c rdd->ctx.pos = 0; rdd 307 fs/overlayfs/readdir.c rdd->count = 0; rdd 308 fs/overlayfs/readdir.c rdd->err = 0; rdd 309 fs/overlayfs/readdir.c err = iterate_dir(realfile, &rdd->ctx); rdd 311 fs/overlayfs/readdir.c err = rdd->err; rdd 312 fs/overlayfs/readdir.c } while (!err && rdd->count); rdd 314 fs/overlayfs/readdir.c if (!err && rdd->first_maybe_whiteout && rdd->dentry) rdd 315 fs/overlayfs/readdir.c err = ovl_check_whiteouts(realpath->dentry, rdd); rdd 360 fs/overlayfs/readdir.c struct ovl_readdir_data rdd = { rdd 371 fs/overlayfs/readdir.c rdd.is_upper = ovl_dentry_upper(dentry) == realpath.dentry; rdd 374 fs/overlayfs/readdir.c err = ovl_dir_read(&realpath, &rdd); rdd 382 fs/overlayfs/readdir.c list_add(&rdd.middle, rdd.list); rdd 383 fs/overlayfs/readdir.c rdd.is_lowest = true; rdd 384 fs/overlayfs/readdir.c err = ovl_dir_read(&realpath, &rdd); rdd 385 fs/overlayfs/readdir.c list_del(&rdd.middle); rdd 537 fs/overlayfs/readdir.c struct ovl_readdir_data *rdd = rdd 540 fs/overlayfs/readdir.c rdd->count++; rdd 541 fs/overlayfs/readdir.c p = ovl_cache_entry_new(rdd, name, namelen, ino, d_type); rdd 543 fs/overlayfs/readdir.c rdd->err = -ENOMEM; rdd 546 fs/overlayfs/readdir.c list_add_tail(&p->l_node, rdd->list); rdd 557 fs/overlayfs/readdir.c struct ovl_readdir_data rdd = { rdd 567 fs/overlayfs/readdir.c err = ovl_dir_read(&realpath, &rdd); rdd 990 fs/overlayfs/readdir.c struct ovl_readdir_data *rdd = rdd 998 fs/overlayfs/readdir.c rdd->d_type_supported = true; rdd 1010 fs/overlayfs/readdir.c struct ovl_readdir_data rdd = { rdd 1015 fs/overlayfs/readdir.c err = ovl_dir_read(realpath, &rdd); rdd 1019 fs/overlayfs/readdir.c return rdd.d_type_supported; rdd 1029 fs/overlayfs/readdir.c struct ovl_readdir_data rdd = { rdd 1037 fs/overlayfs/readdir.c err = ovl_dir_read(path, &rdd); rdd 1094 fs/overlayfs/readdir.c struct ovl_readdir_data rdd = { rdd 1102 fs/overlayfs/readdir.c err = ovl_dir_read(&path, &rdd); rdd 84 include/linux/intel_rapl.h struct rapl_domain_data rdd;