/external/squashfs-tools/squashfs-tools/ |
unsquashfs_xattr.c | 38 struct xattr_list *xattr_list; local 48 xattr_list = get_xattr(xattr, &count, 1); 49 if(xattr_list == NULL) { 55 int prefix = xattr_list[i].type & SQUASHFS_XATTR_PREFIX_MASK; 61 int res = lsetxattr(pathname, xattr_list[i].full_name, 62 xattr_list[i].value, xattr_list[i].vsize, 0); 79 xattr_list[i].full_name, 103 xattr_list[i].full_name [all...] |
xattr.h | 42 struct xattr_list { struct 51 struct xattr_list *vnext; 55 struct xattr_list *xattr_list; member in struct:dupl_id 66 extern int generate_xattrs(int, struct xattr_list *); 77 extern struct xattr_list *get_xattr(int, unsigned int *, int); 78 extern void free_xattr(struct xattr_list *, int); 129 static inline struct xattr_list *get_xattr(int i, unsigned int *count, int j)
|
xattr.c | 76 static struct xattr_list *dupl_value[65536]; 105 extern struct xattr_list *get_xattr(int, unsigned int *, int); 109 static int get_prefix(struct xattr_list *xattr, char *name) 133 struct selabel_handle *sehnd, struct xattr_list **xattrs) 136 struct xattr_list *x = malloc(sizeof(*x)); 151 static int read_xattrs_from_system(char *filename, struct xattr_list **xattrs) 156 struct xattr_list *xattr_list = NULL; local 193 struct xattr_list *x = realloc(xattr_list, (i + 1) 648 struct xattr_list *xattr_list; local 707 struct xattr_list *xattr_list = get_xattr(i, &count, 0); local [all...] |
read_xattrs.c | 114 * construct the xattr_list entry from the fs xattr, including 117 static int read_xattr_entry(struct xattr_list *xattr, 279 void free_xattr(struct xattr_list *xattr_list, int count) 284 free(xattr_list[i].full_name); 286 free(xattr_list); 311 struct xattr_list *get_xattr(int i, unsigned int *count, int ignore) 314 struct xattr_list *xattr_list = NULL; local 334 xattr_list = realloc(xattr_list, (j + 1) [all...] |