Home
last modified time | relevance | path

Searched refs:OpenState (Results 1 – 16 of 16) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DOpenState.h20 struct OpenState : public NFS4Object, public KernelReferenceable, struct
21 public DoublyLinkedListLinkImpl<OpenState> {
22 OpenState();
23 ~OpenState();
H A DOpenState.cpp19 OpenState::OpenState() in OpenState() function in OpenState
33 OpenState::~OpenState() in ~OpenState()
47 OpenState::GetLockOwner(uint32 owner) in GetLockOwner()
72 OpenState::AddLock(LockInfo* lock) in AddLock()
81 OpenState::RemoveLock(LockInfo* lock, LockInfo* prev) in RemoveLock()
91 OpenState::DeleteLock(LockInfo* lock) in DeleteLock()
113 OpenState::_ReleaseLockOwner(LockOwner* owner) in _ReleaseLockOwner()
140 OpenState::Reclaim(uint64 newClientID) in Reclaim()
159 OpenState::_ReclaimOpen(uint64 newClientID) in _ReclaimOpen()
227 OpenState::_ReclaimLocks(uint64 newClientID) in _ReclaimLocks()
[all …]
H A DNFS4Inode.h46 status_t WriteStat(OpenState* state, AttrValue* attrs,
50 OpenState* state, ChangeInfo* changeInfo,
53 status_t OpenFile(OpenState* state, int mode,
56 status_t OpenAttr(OpenState* state, const char* name, int mode,
59 status_t ReadFile(OpenStateCookie* cookie, OpenState* state,
62 status_t WriteFile(OpenStateCookie* cookie, OpenState* state,
H A DNFS4Object.h17 struct OpenState;
23 OpenState* state = NULL, uint32* sequence = NULL);
26 OpenState* state, uint32* sequence);
H A DRequestBuilder.h22 struct OpenState;
44 status_t Lock(OpenState* state, LockInfo* lock,
47 uint64 len, OpenState* state);
81 status_t ReleaseLockOwner(OpenState* state,
90 OpenState* state, LockOwner* owner);
H A DInode.h31 inline void SetOpenState(OpenState* state);
41 inline OpenState* GetOpenState();
127 int perms, OpenState* state,
162 OpenState* fOpenState;
223 Inode::SetOpenState(OpenState* state) in SetOpenState()
251 inline OpenState*
H A DFileSystem.h45 DoublyLinkedList<OpenState>& OpenFilesLock();
48 void AddOpenFile(OpenState* state);
49 void RemoveOpenFile(OpenState* state);
93 DoublyLinkedList<OpenState> fOpenFiles;
H A DInodeRegular.cpp24 Inode::CreateState(const char* name, int mode, int perms, OpenState* state, in CreateState()
76 OpenState* state = new(std::nothrow) OpenState; in Create()
109 OpenState* state = new(std::nothrow) OpenState; in Open()
254 OpenState* state = new OpenState; in OpenAttr()
323 OpenState* state = cookie != NULL ? cookie->fOpenState : fOpenState; in ReadDirect()
373 OpenState* state = fOpenState; in WriteDirect()
H A DCookie.h18 struct OpenState;
78 OpenState* fOpenState;
H A DJamfile23 OpenState.cpp
H A DNFS4Object.cpp31 OpenStateCookie* cookie, OpenState* state, uint32* sequence) in HandleErrors()
194 NFS4Object::ConfirmOpen(const FileHandle& fh, OpenState* state, in ConfirmOpen()
H A DFileSystem.cpp363 DoublyLinkedList<OpenState>&
383 FileSystem::AddOpenFile(OpenState* state) in AddOpenFile()
398 FileSystem::RemoveOpenFile(OpenState* state) in RemoveOpenFile()
H A DNFS4Server.cpp65 DoublyLinkedList<OpenState>::Iterator iterator in ServerRebooted()
67 OpenState* current = iterator.Next(); in ServerRebooted()
H A DNFS4Inode.cpp321 NFS4Inode::WriteStat(OpenState* state, AttrValue* attrs, uint32 attrCount) in WriteStat()
444 NFS4Inode::CreateFile(const char* name, int mode, int perms, OpenState* state, in CreateFile()
547 NFS4Inode::OpenFile(OpenState* state, int mode, OpenDelegationData* delegation) in OpenFile()
654 NFS4Inode::OpenAttr(OpenState* state, const char* name, int mode, in OpenAttr()
720 NFS4Inode::ReadFile(OpenStateCookie* cookie, OpenState* state, uint64 position, in ReadFile()
757 NFS4Inode::WriteFile(OpenStateCookie* cookie, OpenState* state, uint64 position, in WriteFile()
H A DRequestBuilder.cpp197 OpenState* state, LockOwner* owner) in _GenerateLockOwner()
209 RequestBuilder::Lock(OpenState* state, LockInfo* lock, uint32* sequence, in Lock()
262 OpenState* state) in LockT()
790 RequestBuilder::ReleaseLockOwner(OpenState* state, LockOwner* owner) in ReleaseLockOwner()
H A DInode.cpp737 OpenState* state = cookie->fOpenState; in AcquireLock()
791 OpenState* state = cookie->fOpenState; in ReleaseLock()
838 OpenState* state = cookie->fOpenState; in ReleaseAllLocks()