Lines Matching refs:parent
58 if (fs_init(parent_name, parent_args, set, &_fs->parent, &error) < 0) {
62 props = fs_get_properties(_fs->parent);
75 if (_fs->parent != NULL)
76 fs_deinit(&_fs->parent);
122 file->file.parent = fs_file_init_parent(_file, path, mode | flags);
130 fs_file_deinit(&_file->parent);
143 fs_file_close(_file->parent);
155 if (fs_copy(file->hash_file, file->file.parent) < 0) {
163 if (fs_stat(file->file.parent, &st2) < 0) {
165 fs_file_last_error(file->file.parent));
166 if (fs_delete(file->file.parent) < 0) {
168 fs_file_last_error(file->file.parent));
174 if (fs_delete(file->file.parent) < 0) {
176 fs_file_last_error(file->file.parent));
185 struct fs *super_fs = file->file.parent->fs;
194 if (fs_copy(file->file.parent, file->hash_file) < 0) {
222 ret = fs_copy(file->file.parent, temp_file);
229 ret = fs_copy(file->file.parent, temp_file);
252 if (_file->parent == NULL)
263 if (fs_write(_file->parent, data, size) < 0)
277 if (_file->parent == NULL) {
281 file->fs_output = fs_write_stream(_file->parent);
299 if (_file->parent != NULL)
317 if (fs_write_stream_finish(_file->parent, &file->fs_output) < 0)
328 fs_sis_try_unlink_hash_file(_file->fs, _file->parent);
330 return fs_delete(_file->parent);