Home
last modified time | relevance | path

Searched refs:fileref (Results 1 – 12 of 12) sorted by relevance

/reactos/drivers/filesystems/btrfs/
H A Dfileinfo.c194 file_ref* fileref = ccb ? ccb->fileref : NULL; in set_basic_information() local
200 if (fileref && fileref->parent) in set_basic_information()
977 me->fileref = fileref; in move_across_subvols()
1737 fileref->dc->fileref = fileref; in rename_stream_to_file()
2501 dc->fileref = fileref; in rename_file_to_stream()
2561 if (!fileref || !fileref->parent) { in set_rename_information()
3176 if (!fileref || !fileref->parent) { in stream_set_end_of_file_information()
3444 if (!fileref || !fileref->parent) { in set_link_information()
4129 if (!fileref || !fileref->parent) {
5790 fileref = ccb->fileref->parent;
[all …]
H A Dreparse.c262 if (fileref && fileref->dc) in set_symlink()
301 if (fileref) in set_symlink()
418 file_ref* fileref; in set_reparse_point() local
447 fileref = ccb->fileref; in set_reparse_point()
449 if (!fileref) { in set_reparse_point()
455 fileref = fileref->parent; in set_reparse_point()
490 file_ref* fileref; in delete_reparse_point() local
521 fileref = ccb->fileref; in delete_reparse_point()
523 if (!fileref) { in delete_reparse_point()
577 if (fileref->dc) in delete_reparse_point()
[all …]
H A Dcreate.c86 file_ref* fileref; member
2620 dc->fileref = fileref;
2623 fileref->fcb->fileref = fileref;
2955 dc->fileref = fileref;
3215 ccb->fileref = fileref;
3288 fileref->dc->type = fileref->fcb->type;
3735 … defda = get_file_attributes(Vcb, fileref->fcb->subvol, fileref->fcb->inode, fileref->fcb->type, in open_file3()
3800 ccb->fileref = fileref; in open_file3()
3967 …if (!SeAccessCheck((fileref->fcb->ads || fileref->fcb == Vcb->dummy_fcb) ? fileref->parent->fcb->s… in open_file2()
3983 sf = fileref; in open_file2()
[all …]
H A Ddirctrl.c192 file_ref* fileref = ccb->fileref; in query_dir_item() local
238 if (de->dc && de->dc->fileref && de->dc->fileref->fcb) { in query_dir_item()
305 if (fileref && fileref->parent) { in query_dir_item()
700 le = fileref->fcb->dir_children_index.Flink; in next_dir_entry()
742 file_ref* fileref; in query_directory() local
758 fileref = ccb ? ccb->fileref : NULL; in query_directory()
760 if (!fileref) in query_directory()
785 if (fileref->fcb == Vcb->dummy_fcb) in query_directory()
924 if (fileref->fcb->hash_ptrs[c]) { in query_directory()
1085 file_ref* fileref = ccb ? ccb->fileref : NULL; in notify_change_directory() local
[all …]
H A Dfastio.c59 if (!ccb->fileref || !ccb->fileref->parent || !ccb->fileref->parent->fcb) { in _Function_class_()
64 fcb = ccb->fileref->parent->fcb; in _Function_class_()
133 if (!ccb || !ccb->fileref || !ccb->fileref->parent || !ccb->fileref->parent->fcb) { in _Function_class_()
141 fcb2 = ccb->fileref->parent->fcb; in _Function_class_()
162 fsi->DeletePending = ccb->fileref ? ccb->fileref->delete_on_close : false; in _Function_class_()
203 file_ref* fileref; in _Function_class_() local
229 fileref = ccb->fileref; in _Function_class_()
240 if (!fileref || !fileref->parent) { in _Function_class_()
246 ii = &fileref->parent->fcb->inode_item; in _Function_class_()
258 …fnoi->FileAttributes = fileref->parent->fcb->atts == 0 ? FILE_ATTRIBUTE_NORMAL : fileref->parent->… in _Function_class_()
H A Dbtrfs.c1686 nf->fileref = fileref;
1957 fileref = ccb->fileref;
1993 if (fileref)
2221 …Status = excise_extents(fileref->fcb->Vcb, fileref->fcb, 0, sector_align(fileref->fcb->inode_item.…
2299 if (fileref->parent->fcb->subvol == fileref->fcb->subvol) {
2387 fileref->oldutf8 = fileref->dc->utf8;
2393 fileref->oldindex = fileref->dc->index;
2420 if (!fileref->fcb->ads && fileref->parent->dc)
2490 fileref = ccb ? ccb->fileref : NULL;
2493 …leref %p, refcount = %li, open_count = %li\n", fileref, fileref ? fileref->refcount : 0, fileref ?…
[all …]
H A Dflushthread.c6528 if (fileref->created && fileref->deleted) { in flush_fileref()
6552 if (fileref->parent->fcb->subvol == fileref->fcb->subvol) { in flush_fileref()
6590 if (fileref->parent->fcb->subvol == fileref->fcb->subvol) { in flush_fileref()
6603 …insert_tree_item_batch(batchlist, fileref->fcb->Vcb, fileref->fcb->subvol, fileref->fcb->inode, TY… in flush_fileref()
6609 } else if (fileref->fcb != fileref->fcb->Vcb->dummy_fcb) { in flush_fileref()
6668 if (fileref->parent->fcb->subvol == fileref->fcb->subvol) { in flush_fileref()
6690 …Status = delete_root_ref(fileref->fcb->Vcb, fileref->fcb->subvol->id, fileref->parent->fcb->subvol… in flush_fileref()
6717 PANSI_STRING oldutf8 = fileref->oldutf8.Buffer ? &fileref->oldutf8 : &fileref->dc->utf8; in flush_fileref()
6810 …insert_tree_item_batch(batchlist, fileref->fcb->Vcb, fileref->fcb->subvol, fileref->fcb->inode, TY… in flush_fileref()
6832 …insert_tree_item_batch(batchlist, fileref->fcb->Vcb, fileref->fcb->subvol, fileref->fcb->inode, TY… in flush_fileref()
[all …]
H A Dfsctl.c286 fileref = ccb->fileref; in do_create_snapshot()
583 fileref = ccb->fileref; in create_snapshot()
782 fileref = ccb->fileref; in create_subvol()
1733 file_ref* fileref = ccb ? ccb->fileref : NULL; in set_sparse() local
1766 fileref = fileref->parent; in set_sparse()
1794fileref && fileref->dc && fileref->dc->name.Length >= sizeof(WCHAR) && fileref->dc->name.Buffer[0]… in set_sparse()
1956 fileref = ccb->fileref; in set_zero_data()
4032 dc->fileref = fileref; in mknod()
4072 fileref->fcb->fileref = fileref; in mknod()
4337 …bool hidden = ccb->fileref && ccb->fileref->dc && ccb->fileref->dc->utf8.Buffer && ccb->fileref->d… in fsctl_set_xattr()
[all …]
H A Dsecurity.c640 file_ref* fileref = ccb ? ccb->fileref : NULL; in get_file_security() local
643 if (fileref && fileref->parent) in get_file_security()
644 fcb = fileref->parent->fcb; in get_file_security()
760 file_ref* fileref = ccb ? ccb->fileref : NULL; in set_file_security() local
771 if (fileref && fileref->parent) in set_file_security()
772 fcb = fileref->parent->fcb; in set_file_security()
819 queue_notification_fcb(fileref, FILE_NOTIFY_CHANGE_SECURITY, FILE_ACTION_MODIFIED, NULL); in set_file_security()
H A Dbtrfs_drv.h260 struct _file_ref* fileref; member
305 struct _file_ref* fileref; member
383 file_ref* fileref; member
1144 void mark_fileref_dirty(_In_ file_ref* fileref);
1420 bool has_open_children(file_ref* fileref);
1728 #define increase_fileref_refcount(fileref) {\ argument
1729 LONG rc = InterlockedIncrement(&fileref->refcount);\
1733 #define increase_fileref_refcount(fileref) {\ argument
1734 LONG rc = InterlockedIncrement(&fileref->refcount);\
1735 MSG(funcname, "fileref %p: refcount now %i\n", 1, fileref, rc);\
[all …]
H A Dwrite.c4114 file_ref* fileref; in write_file2() local
4132 fileref = ccb ? ccb->fileref : NULL; in write_file2()
4312 …queue_notification_fcb(fcb->ads ? fileref->parent : fileref, fcb->ads ? FILE_NOTIFY_CHANGE_STREAM_… in write_file2()
4313 … FILE_ACTION_MODIFIED_STREAM : FILE_ACTION_MODIFIED, fcb->ads && fileref->dc ? &fileref->dc->name … in write_file2()
4360 if (fileref) in write_file2()
4361 mark_fileref_dirty(fileref); in write_file2()
4505 if (fileref && fileref->parent) in write_file2()
4506 origii = &fileref->parent->fcb->inode_item; in write_file2()
4530 fileref->parent->fcb->inode_item_changed = true; in write_file2()
4568 …queue_notification_fcb(fcb->ads ? fileref->parent : fileref, filter, fcb->ads ? FILE_ACTION_MODIFI… in write_file2()
[all …]
H A Dsend.c3785 …send_subvol_header(context, fcb->subvol, ccb->fileref); // FIXME - fileref needs some sort of lock… in send_subvol()