Lines Matching defs:symlink
37 xgetxattr(const char *path, const char *name, void *value, size_t size, int symlink)
40 return getxattr(path, name, value, size, 0, symlink ? XATTR_NOFOLLOW: 0);
42 switch (symlink) {
52 xlistxattr(const char *path, char *list, size_t size, int symlink)
55 return listxattr(path, list, size, symlink ? XATTR_NOFOLLOW : 0);
57 switch (symlink) {
68 size_t size, int flags, int symlink)
71 return setxattr(path, name, value, size, 0, flags | symlink ? XATTR_NOFOLLOW : 0);
73 switch (symlink) {
83 xremovexattr(const char *path, const char *name, int symlink)
86 return removexattr(path, name, symlink ? XATTR_NOFOLLOW : 0);
88 switch (symlink) {
103 int symlink = OPT_ISSET(ops, 'h');
107 list_len = xlistxattr(file, NULL, 0, symlink);
109 val_len = xgetxattr(file, attr, NULL, 0, symlink);
117 attr_len = xgetxattr(file, attr, value, val_len, symlink);
139 int symlink = OPT_ISSET(ops, 'h');
145 if (xsetxattr(file, attr, value, vlen, 0, symlink)) {
156 int symlink = OPT_ISSET(ops, 'h');
162 if (xremovexattr(file, *attr, symlink)) {
177 int symlink = OPT_ISSET(ops, 'h');
180 val_len = xlistxattr(file, NULL, 0, symlink);
188 list_len = xlistxattr(file, value, val_len, symlink);