Lines Matching refs:redirect

27 	char *redirect;  member
63 kfree(d->redirect); in ovl_check_redirect()
64 d->redirect = buf; in ovl_check_redirect()
65 d->name.name = d->redirect; in ovl_check_redirect()
66 d->name.len = strlen(d->redirect); in ovl_check_redirect()
359 static int ovl_lookup_data_layer(struct dentry *dentry, const char *redirect, in ovl_lookup_data_layer() argument
365 err = vfs_path_lookup(layer->mnt->mnt_root, layer->mnt, redirect, in ovl_lookup_data_layer()
369 dentry, redirect, layer->idx, err); in ovl_lookup_data_layer()
392 static int ovl_lookup_data_layers(struct dentry *dentry, const char *redirect, in ovl_lookup_data_layers() argument
403 err = ovl_lookup_data_layer(dentry, redirect, layer, &datapath); in ovl_lookup_data_layers()
947 const char *redirect = ovl_lowerdata_redirect(inode); in ovl_maybe_lookup_lowerdata() local
952 if (!redirect || ovl_dentry_lowerdata(dentry)) in ovl_maybe_lookup_lowerdata()
955 if (redirect[0] != '/') in ovl_maybe_lookup_lowerdata()
968 err = ovl_lookup_data_layers(dentry, redirect, &datapath); in ovl_maybe_lookup_lowerdata()
1028 .redirect = NULL, in ovl_lookup()
1068 if (d.redirect) { in ovl_lookup()
1070 upperredirect = kstrdup(d.redirect, GFP_KERNEL); in ovl_lookup()
1073 if (d.redirect[0] == '/') in ovl_lookup()
1172 if (d.redirect && !ovl_redirect_follow(ofs)) { in ovl_lookup()
1181 if (d.redirect && d.redirect[0] == '/' && poe != roe) { in ovl_lookup()
1293 .redirect = upperredirect, in ovl_lookup()
1298 oip.lowerdata_redirect = d.redirect; in ovl_lookup()
1299 d.redirect = NULL; in ovl_lookup()
1321 kfree(d.redirect); in ovl_lookup()
1337 kfree(d.redirect); in ovl_lookup()