Lines Matching refs:grave
270 struct dentry *grave, *trap; in cachefiles_bury_object() local
336 grave = lookup_one_len(nbuffer, cache->graveyard, strlen(nbuffer)); in cachefiles_bury_object()
337 if (IS_ERR(grave)) { in cachefiles_bury_object()
340 PTR_ERR(grave), in cachefiles_bury_object()
343 if (PTR_ERR(grave) == -ENOMEM) { in cachefiles_bury_object()
348 cachefiles_io_error(cache, "Lookup error %ld", PTR_ERR(grave)); in cachefiles_bury_object()
352 if (d_is_positive(grave)) { in cachefiles_bury_object()
354 dput(grave); in cachefiles_bury_object()
355 grave = NULL; in cachefiles_bury_object()
360 if (d_mountpoint(grave)) { in cachefiles_bury_object()
362 dput(grave); in cachefiles_bury_object()
368 if (trap == grave) { in cachefiles_bury_object()
370 dput(grave); in cachefiles_bury_object()
380 ret = security_path_rename(&path, rep, &path_to_graveyard, grave, 0); in cachefiles_bury_object()
390 .new_dentry = grave, in cachefiles_bury_object()
406 dput(grave); in cachefiles_bury_object()