Lines Matching refs:rds
1332 struct rd_struct *rds = (struct rd_struct *) private; in rmdir_proc() local
1340 rds->parent = dirent->inode; in rmdir_proc()
1343 rds->empty = 0; in rmdir_proc()
1353 struct rd_struct rds; in __op_rmdir() local
1363 rds.parent = 0; in __op_rmdir()
1364 rds.empty = 1; in __op_rmdir()
1366 err = ext2fs_dir_iterate2(fs, child, 0, 0, rmdir_proc, &rds); in __op_rmdir()
1372 if (rds.empty == 0) { in __op_rmdir()
1388 if (rds.parent) { in __op_rmdir()
1390 rds.parent); in __op_rmdir()
1391 err = ext2fs_read_inode_full(fs, rds.parent, in __op_rmdir()
1395 ret = translate_error(fs, rds.parent, err); in __op_rmdir()
1400 ret = update_mtime(fs, rds.parent, &inode); in __op_rmdir()
1403 err = ext2fs_write_inode_full(fs, rds.parent, in __op_rmdir()
1407 ret = translate_error(fs, rds.parent, err); in __op_rmdir()