Home
last modified time | relevance | path

Searched refs:listxattr (Results 1 - 25 of 35) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/listxattr/
H A Dlistxattr03.c38 n = listxattr(name, buf, sizeof(buf)); in check_suitable_buf()
47 TEST(listxattr(name, NULL, 0)); in verify_listxattr()
49 tst_res(TFAIL | TTERRNO, "listxattr() failed"); in verify_listxattr()
54 tst_res(TPASS, "listxattr() succeed with suitable buffer"); in verify_listxattr()
56 tst_res(TFAIL, "listxattr() failed with small buffer"); in verify_listxattr()
H A Dlistxattr01.c11 * The testcase checks the basic functionality of the listxattr(2).
12 * listxattr(2) retrieves the list of extended attribute names
51 TEST(listxattr(TESTFILE, buf, sizeof(buf))); in verify_listxattr()
53 tst_res(TFAIL | TTERRNO, "listxattr() failed"); in verify_listxattr()
63 tst_res(TPASS, "listxattr() succeeded"); in verify_listxattr()
H A Dlistxattr02.c11 * 1) listxattr(2) fails if the size of the list buffer is too small
13 * 2) listxattr(2) fails if path is an empty string.
14 * 3) listxattr(2) fails when attempted to read from a invalid address.
15 * 4) listxattr(2) fails if path is longer than allowed.
18 * 1) listxattr(2) should return -1 and set errno to ERANGE.
19 * 2) listxattr(2) should return -1 and set errno to ENOENT.
20 * 3) listxattr(2) should return -1 and set errno to EFAULT.
21 * 4) listxattr(2) should return -1 and set errno to ENAMETOOLONG.
59 TEST(listxattr(t->path, buf, sizeof(buf))); in verify_listxattr()
62 "listxattr() succeede in verify_listxattr()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dlistxattr.c28 * @tc.desc : Verify listxattr process success.
56 ret = listxattr(path, list, sizeof(list)); in listxattr_0100()
69 * @tc.desc : Verify listxattr process fail bacause param is null.
74 int ret = listxattr(NULL, NULL, -1); in listxattr_0200()
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dxattr.h17 ssize_t listxattr(const char *, char *, size_t);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dxattr.h17 ssize_t listxattr(const char *, char *, size_t);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dxattr.h17 ssize_t listxattr(const char *, char *, size_t);
/third_party/musl/include/sys/
H A Dxattr.h17 ssize_t listxattr(const char *, char *, size_t);
/third_party/toybox/lib/
H A Dportability.c303 return listxattr(path, list, size, 0); in xattr_list()
308 return listxattr(path, list, size, XATTR_NOFOLLOW); in xattr_llist()
353 return listxattr(path, list, size); in xattr_list()
/third_party/musl/src/linux/
H A Dxattr.c19 ssize_t listxattr(const char *path, char *list, size_t size) in listxattr() function
/third_party/toybox/toys/pending/
H A Dgetfattr.c34 ssize_t (*lister)(const char *, char *, size_t) = listxattr; in do_getfattr()
47 if (keys_len == -1) perror_msg("listxattr failed"); in do_getfattr()
/third_party/ntfs-3g/include/fuse-lite/
H A Dfuse.h246 int (*listxattr) (const char *, char *, size_t); member
H A Dfuse_lowlevel.h672 void (*listxattr) (fuse_req_t req, fuse_ino_t ino, size_t size); member
953 * read, readdir, getxattr, listxattr
967 * read, readdir, getxattr, listxattr
993 * getxattr, listxattr
/third_party/libfuse/example/
H A Dpassthrough_hp.cc1060 ret = listxattr(procname, value, size); in sfs_listxattr()
1069 ret = listxattr(procname, nullptr, 0); in sfs_listxattr()
1152 sfs_oper.listxattr = sfs_listxattr; in assign_operations()
H A Dpassthrough_ll.c1025 ret = listxattr(procname, value, size); in lo_listxattr()
1034 ret = listxattr(procname, NULL, 0); in lo_listxattr()
1172 .listxattr = lo_listxattr,
H A Dpassthrough_fh.c644 .listxattr = xmp_listxattr,
H A Dpassthrough.c541 .listxattr = xmp_listxattr,
/third_party/libfuse/include/
H A Dfuse.h551 int (*listxattr) (const char *, char *, size_t); member
H A Dfuse_lowlevel.h880 * future listxattr() requests will fail with EOPNOTSUPP without being
893 void (*listxattr) (fuse_req_t req, fuse_ino_t ino, size_t size); member
1412 * read, readdir, getxattr, listxattr
1452 * read, readdir, getxattr, listxattr
1471 * read, readdir, getxattr, listxattr
1496 * getxattr, listxattr
/third_party/python/Lib/test/
H A Dtest_os.py3585 def _check_xattrs_str(self, s, getxattr, setxattr, removexattr, listxattr, **kwargs):
3594 init_xattr = listxattr(fn)
3600 self.assertEqual(set(listxattr(fn)), xattr)
3615 self.assertEqual(set(listxattr(fn)), xattr)
3623 self.assertEqual(set(listxattr(fn)), xattr)
3631 self.assertEqual(set(listxattr(fn)), set(init_xattr) | set(many))
3642 os.listxattr)
3646 os.listxattr, follow_symlinks=False)
3658 def listxattr(path, *args): function
3660 return os.listxattr(f
[all...]
H A Dtest_shutil.py991 self.assertEqual(sorted(os.listxattr(src)), sorted(os.listxattr(dst)))
1009 self.assertIn('user.bar', os.listxattr(dst))
1018 orig_listxattr = os.listxattr
1019 os.listxattr = _raise_on_src
1022 os.listxattr = orig_listxattr
/third_party/libfuse/lib/modules/
H A Dsubdir.c605 .listxattr = subdir_listxattr,
H A Diconv.c624 .listxattr = iconv_listxattr,
/third_party/ntfs-3g/libfuse-lite/
H A Dfuse_lowlevel.c881 if (req->f->op.listxattr) in do_listxattr()
882 req->f->op.listxattr(req, nodeid, arg->size); in do_listxattr()
H A Dfuse.c1017 if (fs->op.listxattr) in fuse_fs_listxattr()
1018 return fs->op.listxattr(path, list, size); in fuse_fs_listxattr()
2824 .listxattr = fuse_lib_listxattr,

Completed in 32 milliseconds

12