Lines Matching refs:rds
1324 struct rd_struct *rds = (struct rd_struct *) private; in rmdir_proc() local
1332 rds->parent = dirent->inode; in rmdir_proc()
1335 rds->empty = 0; in rmdir_proc()
1345 struct rd_struct rds; in __op_rmdir() local
1355 rds.parent = 0; in __op_rmdir()
1356 rds.empty = 1; in __op_rmdir()
1358 err = ext2fs_dir_iterate2(fs, child, 0, 0, rmdir_proc, &rds); in __op_rmdir()
1364 if (rds.empty == 0) { in __op_rmdir()
1380 if (rds.parent) { in __op_rmdir()
1382 rds.parent); in __op_rmdir()
1383 err = ext2fs_read_inode_full(fs, rds.parent, in __op_rmdir()
1387 ret = translate_error(fs, rds.parent, err); in __op_rmdir()
1392 ret = update_mtime(fs, rds.parent, &inode); in __op_rmdir()
1395 err = ext2fs_write_inode_full(fs, rds.parent, in __op_rmdir()
1399 ret = translate_error(fs, rds.parent, err); in __op_rmdir()