Lines Matching refs:rval
170 int rval; in rm_tree() local
245 rval = 0; in rm_tree()
249 rval = lchflags(p->fts_accpath, in rm_tree()
251 if (rval == 0) { in rm_tree()
260 rval = rmdir(p->fts_accpath); in rm_tree()
261 if (rval == 0 || (fflag && errno == ENOENT)) { in rm_tree()
262 if (rval == 0 && vflag) in rm_tree()
265 if (rval == 0 && info) { in rm_tree()
275 rval = undelete(p->fts_accpath); in rm_tree()
276 if (rval == 0 && (fflag && errno == ENOENT)) { in rm_tree()
301 rval = unlink(p->fts_accpath); in rm_tree()
302 if (rval == 0 || (fflag && errno == ENOENT)) { in rm_tree()
303 if (rval == 0 && vflag) in rm_tree()
306 if (rval == 0 && info) { in rm_tree()
328 int rval; in rm_file() local
360 rval = 0; in rm_file()
364 rval = lchflags(f, sb.st_flags & ~(UF_APPEND|UF_IMMUTABLE)); in rm_file()
365 if (rval == 0) { in rm_file()
367 rval = undelete(f); in rm_file()
369 rval = rmdir(f); in rm_file()
371 rval = unlink(f); in rm_file()
373 if (rval && (!fflag || errno != ENOENT)) { in rm_file()
377 if (vflag && rval == 0) in rm_file()
379 if (info && rval == 0) { in rm_file()