Home
last modified time | relevance | path

Searched refs:xattr (Results 1 – 25 of 37) sorted by relevance

12

/external/squashfs-tools/squashfs-tools/
Dxattr.c109 static int get_prefix(struct xattr_list *xattr, char *name) in get_prefix() argument
113 xattr->full_name = strdup(name); in get_prefix()
117 if(strncmp(xattr->full_name, p->prefix, strlen(p->prefix)) == 0) in get_prefix()
122 xattr->name = xattr->full_name + strlen(prefix_table[i].prefix); in get_prefix()
123 xattr->size = strlen(xattr->name); in get_prefix()
265 static int get_xattr_size(struct xattr_list *xattr) in get_xattr_size() argument
268 sizeof(struct squashfs_xattr_val) + xattr->size; in get_xattr_size()
270 if(xattr->type & XATTR_VALUE_OOL) in get_xattr_size()
273 size += xattr->vsize; in get_xattr_size()
336 struct xattr_list *xattr = &xattr_list[i]; in check_id_dupl() local
[all …]
Dread_xattrs.c117 static int read_xattr_entry(struct xattr_list *xattr, in read_xattr_entry() argument
132 xattr->full_name = malloc(len + entry->size + 1); in read_xattr_entry()
133 if(xattr->full_name == NULL) in read_xattr_entry()
136 memcpy(xattr->full_name, prefix_table[i].prefix, len); in read_xattr_entry()
137 memcpy(xattr->full_name + len, name, entry->size); in read_xattr_entry()
138 xattr->full_name[len + entry->size] = '\0'; in read_xattr_entry()
139 xattr->name = xattr->full_name + len; in read_xattr_entry()
140 xattr->size = entry->size; in read_xattr_entry()
141 xattr->type = type; in read_xattr_entry()
322 start = SQUASHFS_XATTR_BLK(xattr_ids[i].xattr) + xattr_table_start; in get_xattr()
[all …]
Dunsquash-4.c129 i.xattr = SQUASHFS_INVALID_XATTR; in read_inode_4()
140 i.xattr = inode->xattr; in read_inode_4()
160 i.xattr = SQUASHFS_INVALID_XATTR; in read_inode_4()
180 i.xattr = inode->xattr; in read_inode_4()
202 inode->symlink_size, &i.xattr, 1); in read_inode_4()
204 i.xattr = SQUASHFS_INVALID_XATTR; in read_inode_4()
214 i.xattr = SQUASHFS_INVALID_XATTR; in read_inode_4()
224 i.xattr = inode->xattr; in read_inode_4()
230 i.xattr = SQUASHFS_INVALID_XATTR; in read_inode_4()
239 i.xattr = inode->xattr; in read_inode_4()
[all …]
DAndroid.mk14 sort.h pseudo.h compressor.h xattr.h action.h error.h progressbar.h \
17 read_fs_files := read_fs.c squashfs_fs.h squashfs_swap.h compressor.h xattr.h \
28 xattr_files := xattr.c squashfs_fs.h squashfs_swap.h mksquashfs.h xattr.h error.h \
31 read_xattrs_files := read_xattrs.c squashfs_fs.h squashfs_swap.h xattr.h error.h
Dunsquashfs_xattr.c35 void write_xattr(char *pathname, unsigned int xattr) in write_xattr() argument
44 if(ignore_xattrs || xattr == SQUASHFS_INVALID_XATTR || in write_xattr()
48 xattr_list = get_xattr(xattr, &count, 1); in write_xattr()
Dsquashfs_fs.h337 unsigned int xattr; member
360 unsigned int xattr; member
402 unsigned int xattr; member
433 unsigned int xattr; member
480 long long xattr; member
Dunsquashfs.h97 unsigned int xattr; member
184 unsigned int xattr; member
205 unsigned int xattr; member
Dunsquash-1.c105 i.xattr = SQUASHFS_INVALID_XATTR; in read_inode_1()
232 dir->xattr = (*i)->xattr; in squashfs_opendir_1()
Dunsquash-3.c137 i.xattr = SQUASHFS_INVALID_XATTR; in read_inode_3()
309 dir->xattr = (*i)->xattr; in squashfs_opendir_3()
Dsquashfs_swap.h100 SWAP_FUNC(32, s, d, xattr, struct squashfs_lipc_inode_header);\
123 SWAP_FUNC(32, s, d, xattr, struct squashfs_ldev_inode_header);\
163 SWAP_FUNC(32, s, d, xattr, struct squashfs_lreg_inode_header);\
193 SWAP_FUNC(32, s, d, xattr, struct squashfs_ldir_inode_header);\
224 SWAP_FUNC(64, s, d, xattr, struct squashfs_xattr_id);\
Dxattr.h113 static inline void write_xattr(char *pathname, unsigned int xattr) in write_xattr() argument
Dunsquashfs.c820 unsigned int xattr, unsigned int set_mode) in set_attributes() argument
824 write_xattr(pathname, xattr); in set_attributes()
972 file->xattr = inode->xattr; in queue_file()
989 file->xattr = dir->xattr; in queue_dir()
1104 write_xattr(pathname, i->xattr); in create_inode()
1137 i->gid, i->time, i->xattr, TRUE); in create_inode()
1160 i->time, i->xattr, TRUE); in create_inode()
2012 file->gid, file->time, file->xattr, TRUE); in writer()
2082 file->gid, file->time, file->xattr, force); in writer()
Dmksquashfs.c864 int xattr = read_xattrs(dir_ent); in create_inode() local
871 sparse || IS_XATTR(xattr)) in create_inode()
875 if(dir_info->dir_is_ldir || IS_XATTR(xattr)) in create_inode()
879 if(IS_XATTR(xattr)) in create_inode()
883 if(IS_XATTR(xattr)) in create_inode()
887 if(IS_XATTR(xattr)) in create_inode()
891 if(IS_XATTR(xattr)) in create_inode()
895 if(IS_XATTR(xattr)) in create_inode()
942 reg->xattr = xattr; in create_inode()
971 dir->xattr = xattr; in create_inode()
[all …]
Dunsquash-2.c150 i.xattr = SQUASHFS_INVALID_XATTR; in read_inode_2()
/external/squashfs-tools/RELEASE-READMEs/
DREADME-4.130 1. Layout can store up to 2^48 bytes of compressed xattr data.
32 3. Total size of xattr data per inode 2^48 bytes of compressed data.
33 4. Up to 4 Gbytes of data per xattr value.
34 5. Inline and out-of-line xattr values supported for higher performance
35 in xattr scanning (listxattr & getxattr), and to allow xattr value
37 6. Both whole inode xattr duplicate detection and individual xattr value
/external/selinux/libsepol/cil/test/integration_testing/
Dnonmls.cil19 ;(fsuse xattr ext3 con)
20 ;(fsuse xattr ext3 con_anon_l)
Dmls_policy.cil43 (fsuse xattr ext3 con)
44 (fsuse xattr ext3 con_anon_l)
/external/e2fsprogs/tests/f_zero_xattr/
Dname1 zero length extended attribute in in-inode xattr
/external/squashfs-tools/
DRELEASE-README51 1. Layout can store up to 2^48 bytes of compressed xattr data.
53 3. Total size of xattr data per inode 2^48 bytes of compressed data.
54 4. Up to 4 Gbytes of data per xattr value.
55 5. Inline and out-of-line xattr values supported for higher performance
56 in xattr scanning (listxattr & getxattr), and to allow xattr value
58 6. Both whole inode xattr duplicate detection and individual xattr value
863 | xattr |
870 fragment, export, uid/gid lookup and xattr tables are written.
987 The xattr table contains extended attributes for each inode. The xattrs
989 name and value field. The type field encodes the xattr prefix
[all …]
/external/squashfs-tools/kernel/include/linux/
Dsquashfs_fs.h314 __le32 xattr; member
345 __le32 xattr; member
/external/squashfs-tools/kernel/fs/squashfs/
Dsquashfs_fs.h315 __le32 xattr; member
346 __le32 xattr; member
/external/libcap-ng/libcap-ng-0.7/
Dconfigure.ac55 AC_CHECK_HEADERS(attr/xattr.h, [], [AC_MSG_WARN(attr/xattr.h not found, disabling file system capab…
Dconfig.h.in3 /* Define to 1 if you have the <attr/xattr.h> header file. */
DChangeLog58 - If attr/xattr.h is not available disable file system capabilities
/external/strace/
DAndroid.mk138 xattr.c \

12