MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / getxattr

Method getxattr

fs/extfs/extfs.cpp:1403–1405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1401 return flush_buffer();
1402 }
1403 ssize_t getxattr(const char *path, const char *name, void *value, size_t size) override {
1404 DO_EXT2FS(do_ext2fs_getxattr(fs, path, name, value, size, 1));
1405 }
1406 ssize_t lgetxattr(const char *path, const char *name, void *value, size_t size) override {
1407 DO_EXT2FS(do_ext2fs_getxattr(fs, path, name, value, size, 0));
1408 }

Callers 2

getxattrFunction · 0.45
list_all_xattrFunction · 0.45

Calls 1

do_ext2fs_getxattrFunction · 0.85

Tested by 2

getxattrFunction · 0.36
list_all_xattrFunction · 0.36