Home
last modified time | relevance | path

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

/external/squashfs-tools/squashfs-tools/
Dread_xattrs.c65 struct prefix prefix_table[] = { variable
122 for(i = 0; prefix_table[i].type != -1; i++) in read_xattr_entry()
123 if(prefix_table[i].type == type) in read_xattr_entry()
126 if(prefix_table[i].type == -1) { in read_xattr_entry()
131 len = strlen(prefix_table[i].prefix); in read_xattr_entry()
136 memcpy(xattr->full_name, prefix_table[i].prefix, len); in read_xattr_entry()
Dxattr.c126 extern struct prefix prefix_table[];
135 for(i = 0; prefix_table[i].type != -1; i++) { in get_prefix()
136 struct prefix *p = &prefix_table[i]; in get_prefix()
141 if(prefix_table[i].type != -1) { in get_prefix()
142 xattr->name = xattr->full_name + strlen(prefix_table[i].prefix); in get_prefix()
146 return prefix_table[i].type; in get_prefix()