Home
last modified time | relevance | path

Searched refs:xattr_size (Results 1 – 2 of 2) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dxattr.c75 static unsigned int xattr_size = 0; variable
323 if((xattr_size - xattr_bytes) < in get_xattr_space()
325 xattr_table = realloc(xattr_table, xattr_size + in get_xattr_space()
329 xattr_size += (SQUASHFS_METADATA_SIZE << 1) + 2; in get_xattr_space()
503 if((xattr_size - xattr_bytes) < in write_xattrs()
505 xattr_table = realloc(xattr_table, xattr_size + in write_xattrs()
509 xattr_size += (SQUASHFS_METADATA_SIZE << 1) + 2; in write_xattrs()
/external/selinux/libselinux/src/
Dselinux_restorecon.c300 ssize_t xattr_size; in add_xattr_entry() local
314 xattr_size = getxattr(directory, RESTORECON_LAST, xattr_value, in add_xattr_entry()
316 if (xattr_size < 0) { in add_xattr_entry()
322 sha1_buf = malloc(xattr_size * 2 + 1); in add_xattr_entry()
328 for (i = 0; i < (size_t)xattr_size; i++) in add_xattr_entry()