Home
last modified time | relevance | path

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

123456

/external/squashfs-tools/squashfs-tools/
Dxattr.c129 static int get_prefix(struct xattr_list *xattr, char *name) in get_prefix() argument
133 xattr->full_name = strdup(name); in get_prefix()
137 if(strncmp(xattr->full_name, p->prefix, strlen(p->prefix)) == 0) in get_prefix()
142 xattr->name = xattr->full_name + strlen(prefix_table[i].prefix); in get_prefix()
143 xattr->size = strlen(xattr->name); in get_prefix()
300 static int get_xattr_size(struct xattr_list *xattr) in get_xattr_size() argument
303 sizeof(struct squashfs_xattr_val) + xattr->size; in get_xattr_size()
305 if(xattr->type & XATTR_VALUE_OOL) in get_xattr_size()
308 size += xattr->vsize; in get_xattr_size()
371 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 …]
Dunsquashfs_xattr.c40 void write_xattr(char *pathname, unsigned int xattr) in write_xattr() argument
49 if(ignore_xattrs || xattr == SQUASHFS_INVALID_XATTR || in write_xattr()
53 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.h101 unsigned int xattr; member
188 unsigned int xattr; member
209 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()
Dxattr.h113 static inline void write_xattr(char *pathname, unsigned int xattr) in write_xattr() argument
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);\
/external/fonttools/Lib/fontTools/misc/
DmacCreatorType.py3 import xattr
5 xattr = None variable
25 if xattr is not None:
27 finderInfo = xattr.getxattr(path, 'com.apple.FinderInfo')
49 if xattr is not None:
54 xattr.setxattr(path, 'com.apple.FinderInfo', finderInfo)
/external/linux-kselftest/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c22 static struct bpf_create_map_attr xattr = { variable
153 xattr.btf_fd = btf_fd; in create_sk_storage_map()
155 map_fd = bpf_create_map_xattr(&xattr); in create_sk_storage_map()
156 xattr.btf_fd = -1; in create_sk_storage_map()
472 xattr.btf_fd = btf_fd; in test_sk_storage_map_basic()
478 map_fd = bpf_create_map_xattr(&xattr); in test_sk_storage_map_basic()
563 memcpy(&bad_xattr, &xattr, sizeof(xattr)); in test_sk_storage_map_basic()
569 memcpy(&bad_xattr, &xattr, sizeof(xattr)); in test_sk_storage_map_basic()
575 memcpy(&bad_xattr, &xattr, sizeof(xattr)); in test_sk_storage_map_basic()
581 memcpy(&bad_xattr, &xattr, sizeof(xattr)); in test_sk_storage_map_basic()
[all …]
/external/e2fsprogs/util/
Dgen-sample-fs20 touch $MNT/xattr
21 attr -q -s foo -V bar $MNT/xattr
22 echo -e "one\n\ttwo" | attr -q -s quux $MNT/xattr
23 echo -e "abc\001\002\003" | attr -q -s def $MNT/xattr
/external/fonttools/Doc/source/misc/
DmacCreatorType.rst5 This module requires the `xattr <https://pypi.org/project/xattr/>`_ module
/external/f2fs-tools/fsck/
DMakefile.am7 quotaio_tree.h quotaio_v2.h xattr.h compress.h
10 node.c segment.c dir.c sload.c xattr.c compress.c \
Ddump.c307 void *xattr; in dump_xattr() local
312 xattr = read_all_xattrs(sbi, node_blk); in dump_xattr()
313 if (!xattr) in dump_xattr()
316 list_for_each_xattr(ent, xattr) { in dump_xattr()
364 free(xattr); in dump_xattr()
/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_bigalloc_symlink_with_xattr/
Dname1 fast symlink + xattr block on bigalloc fs
/external/e2fsprogs/tests/f_zero_xattr/
Dname1 zero length extended attribute in in-inode xattr
/external/erofs-utils/lib/
DMakefile.am5 liberofs_la_SOURCES = config.c io.c cache.c super.c inode.c xattr.c exclude.c \
/external/curl/docs/cmdline-opts/
Dxattr.d1 Long: xattr
/external/f2fs-tools/
Dconfigure.ac97 attr/xattr.h
107 linux/xattr.h
120 sys/xattr.h
/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 …]

123456