Home
last modified time | relevance | path

Searched refs:attr_cookie (Results 1 – 19 of 19) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/bfs/
H A DAttribute.h12 struct attr_cookie { struct
23 Attribute(Inode* inode, attr_cookie* cookie); argument
33 int openMode, attr_cookie** _cookie);
35 attr_cookie** _cookie);
39 status_t Read(attr_cookie* cookie, off_t pos, uint8* buffer,
41 status_t Write(Transaction& transaction, attr_cookie* cookie,
H A DAttribute.cpp32 Attribute::Attribute(Inode* inode, attr_cookie* cookie) in Attribute()
121 attr_cookie** _cookie) in Create()
131 attr_cookie* cookie = new(std::nothrow) attr_cookie; in Create()
152 Attribute::Open(const char* name, int openMode, attr_cookie** _cookie) in Open()
162 attr_cookie* cookie = new(std::nothrow) attr_cookie; in Open()
204 Attribute::Read(attr_cookie* cookie, off_t pos, uint8* buffer, size_t* _length) in Read()
215 Attribute::Write(Transaction& transaction, attr_cookie* cookie, off_t pos, in Write()
H A Dkernel_interface.cpp1898 return attribute.Create(name, type, openMode, (attr_cookie**)_cookie); in bfs_create_attr()
1911 return attribute.Open(name, openMode, (attr_cookie**)_cookie); in bfs_open_attr()
1925 delete (attr_cookie*)cookie; in bfs_free_attr_cookie()
1936 attr_cookie* cookie = (attr_cookie*)_cookie; in bfs_read_attr()
1951 attr_cookie* cookie = (attr_cookie*)_cookie; in bfs_write_attr()
1982 attr_cookie* cookie = (attr_cookie*)_cookie; in bfs_read_attr_stat()
H A DVolume.cpp371 attr_cookie* cookie; in CreateVolumeID()
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DAttribute.h16 struct attr_cookie { struct
35 Attribute(Inode* inode, attr_cookie* cookie); argument
42 int openMode, attr_cookie** _cookie);
45 attr_cookie** _cookie);
51 status_t Read(attr_cookie* cookie, off_t pos,
H A DAttribute.cpp35 Attribute::Attribute(Inode* inode, attr_cookie* cookie) in Attribute()
58 Attribute::Open(const char* name, int openMode, attr_cookie** _cookie) in Open()
69 attr_cookie* cookie = new(std::nothrow) attr_cookie; in Open()
113 Attribute::Read(attr_cookie* cookie, off_t pos, uint8* buffer, size_t* _length) in Read()
H A Dkernel_interface.cpp976 return attribute.Open(name, openMode, (attr_cookie**)_cookie); in btrfs_open_attr()
992 delete (attr_cookie*)cookie; in btrfs_free_attr_cookie()
1003 attr_cookie* cookie = (attr_cookie*)_cookie; in btrfs_read_attr()
1024 attr_cookie* cookie = (attr_cookie*)_cookie; in btrfs_read_attr_stat()
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DAttribute.h14 struct attr_cookie { struct
25 Attribute(Inode* inode, attr_cookie* cookie); argument
37 int openMode, attr_cookie** _cookie);
39 attr_cookie** _cookie);
43 status_t Read(attr_cookie* cookie, off_t pos, uint8* buffer,
45 status_t Write(Transaction& transaction, attr_cookie* cookie,
H A DAttribute.cpp38 Attribute::Attribute(Inode* inode, attr_cookie* cookie) in Attribute()
116 attr_cookie** _cookie) in Create()
122 attr_cookie* cookie = new(std::nothrow) attr_cookie; in Create()
145 Attribute::Open(const char* name, int openMode, attr_cookie** _cookie) in Open()
156 attr_cookie* cookie = new(std::nothrow) attr_cookie; in Open()
193 Attribute::Read(attr_cookie* cookie, off_t pos, uint8* buffer, size_t* _length) in Read()
225 Attribute::Write(Transaction& transaction, attr_cookie* cookie, off_t pos, in Write()
H A Dkernel_interface.cpp1621 return attribute.Open(name, openMode, (attr_cookie**)_cookie); in ext2_open_attr()
1637 delete (attr_cookie*)cookie; in ext2_free_attr_cookie()
1648 attr_cookie* cookie = (attr_cookie*)_cookie; in ext2_read_attr()
1661 attr_cookie* cookie = (attr_cookie*)_cookie; in ext2_read_attr_stat()
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DAttribute.h12 struct attr_cookie { struct
27 attr_cookie** _cookie) = 0; argument
29 virtual status_t Stat(attr_cookie* cookie, struct stat& stat) = 0;
31 virtual status_t Read(attr_cookie* cookie, off_t pos,
H A DShortAttribute.h31 status_t Stat(attr_cookie* cookie, struct stat& stat);
33 status_t Read(attr_cookie* cookie, off_t pos,
36 status_t Open(const char* name, int openMode, attr_cookie** _cookie);
H A DNodeAttribute.h20 status_t Stat(attr_cookie* cookie, struct stat& stat);
22 status_t Read(attr_cookie* cookie, off_t pos,
25 status_t Open(const char* name, int openMode, attr_cookie** _cookie);
H A DShortAttribute.cpp42 ShortAttribute::Open(const char* name, int openMode, attr_cookie** _cookie) in Open()
52 attr_cookie* cookie = new(std::nothrow) attr_cookie; in Open()
69 ShortAttribute::Stat(attr_cookie* cookie, struct stat& stat) in Stat()
91 ShortAttribute::Read(attr_cookie* cookie, off_t pos, uint8* buffer, size_t* length) in Read()
H A DLeafAttribute.h157 status_t Stat(attr_cookie* cookie, struct stat& stat);
159 status_t Read(attr_cookie* cookie, off_t pos,
162 status_t Open(const char* name, int openMode, attr_cookie** _cookie);
H A DNodeAttribute.cpp134 NodeAttribute::Open(const char* name, int openMode, attr_cookie** _cookie) in Open()
143 attr_cookie* cookie = new(std::nothrow) attr_cookie; in Open()
160 NodeAttribute::Stat(attr_cookie* cookie, struct stat& stat) in Stat()
192 NodeAttribute::Read(attr_cookie* cookie, off_t pos, uint8* buffer, size_t* length) in Read()
H A DLeafAttribute.cpp110 LeafAttribute::Open(const char* name, int openMode, attr_cookie** _cookie) in Open()
119 attr_cookie* cookie = new(std::nothrow) attr_cookie; in Open()
136 LeafAttribute::Stat(attr_cookie* cookie, struct stat& stat) in Stat()
168 LeafAttribute::Read(attr_cookie* cookie, off_t pos, uint8* buffer, size_t* length) in Read()
H A Dkernel_interface.cpp569 status = attribute->Open(name, openMode, (attr_cookie**)_cookie); in xfs_open_attr()
587 delete (attr_cookie*)cookie; in xfs_free_attr_cookie()
598 attr_cookie* cookie = (attr_cookie*)_cookie; in xfs_read_attr()
627 attr_cookie* cookie = (attr_cookie*)_cookie; in xfs_read_attr_stat()
/haiku/src/add-ons/kernel/file_systems/cdda/
H A Dkernel_interface.cpp42 struct attr_cookie;
46 typedef SinglyLinkedList<attr_cookie> AttrCookieList;
218 void AddAttrCookie(attr_cookie* cookie);
219 void RemoveAttrCookie(attr_cookie* cookie);
220 void RewindAttrCookie(attr_cookie* cookie);
260 struct attr_cookie : SinglyLinkedListLinkImpl<attr_cookie> { struct
1347 attr_cookie* cookie = i.Next(); in RemoveAttribute()
1365 Inode::AddAttrCookie(attr_cookie* cookie) in AddAttrCookie()
1373 Inode::RemoveAttrCookie(attr_cookie* cookie) in RemoveAttrCookie()
1381 Inode::RewindAttrCookie(attr_cookie* cookie) in RewindAttrCookie()
[all …]