Lines Matching refs:vsize
143 x->vsize = strlen(attr_val); in read_xattrs_from_context_file()
153 ssize_t size, vsize; in read_xattrs_from_system() local
210 vsize = lgetxattr(filename, xattr_list[i].full_name, in read_xattrs_from_system()
212 if(vsize < 0) { in read_xattrs_from_system()
221 xattr_list[i].value = malloc(vsize); in read_xattrs_from_system()
225 vsize = lgetxattr(filename, xattr_list[i].full_name, in read_xattrs_from_system()
226 xattr_list[i].value, vsize); in read_xattrs_from_system()
227 if(vsize < 0) { in read_xattrs_from_system()
244 xattr_list[i].vsize = vsize; in read_xattrs_from_system()
248 xattr_list[i].vsize); in read_xattrs_from_system()
273 size += xattr->vsize; in get_xattr_size()
341 xattr->vsize, checksum); in check_id_dupl()
355 if(memcmp(xattr->value, dup_xattr->value, xattr->vsize)) in check_id_dupl()
383 if(xattr->vsize < XATTR_VALUE_OOL_SIZE) in check_value_dupl()
387 xattr->vchecksum = get_checksum(xattr->value, xattr->vsize, 0); in check_value_dupl()
389 if(entry->vsize != xattr->vsize) in check_value_dupl()
392 if(memcmp(entry->value, xattr->value, xattr->vsize) == 0) in check_value_dupl()
435 xattr_list[i].vsize; in get_xattr_id()
555 if (xattr->vsize > xattr_value_max) in generate_xattrs()
597 int size = sizeof(val) + xattr->vsize; in generate_xattrs()
599 val.vsize = xattr->vsize; in generate_xattrs()
601 memcpy(xp + sizeof(val), xattr->value, xattr->vsize); in generate_xattrs()
623 val.vsize = XATTR_VALUE_OOL_SIZE; in generate_xattrs()
628 int size = sizeof(val) + xattr->vsize; in generate_xattrs()
630 val.vsize = xattr->vsize; in generate_xattrs()
632 memcpy(xp + sizeof(val), xattr->value, xattr->vsize); in generate_xattrs()