Home
last modified time | relevance | path

Searched refs:xvalue (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/fs/jffs2/
Dxattr.c64 static uint32_t xattr_datum_hashkey(int xprefix, const char *xname, const char *xvalue, int xsize) in xattr_datum_hashkey() argument
68 return crc32(xprefix, xname, name_len) ^ crc32(xprefix, xvalue, xsize); in xattr_datum_hashkey()
99 xd->xvalue = NULL; in unload_xattr_datum()
243 xd->xvalue = data + xd->name_len+1; in do_load_xattr_datum()
247 xd->hashkey = xattr_datum_hashkey(xd->xprefix, xd->xname, xd->xvalue, xd->value_len); in do_load_xattr_datum()
338 const char *xvalue, int xsize) in create_xattr_datum() argument
347 hashkey = xattr_datum_hashkey(xprefix, xname, xvalue, xsize); in create_xattr_datum()
354 && !memcmp(xd->xvalue, xvalue, xsize)) { in create_xattr_datum()
373 memcpy(data + name_len + 1, xvalue, xsize); in create_xattr_datum()
382 xd->xvalue = data + name_len + 1; in create_xattr_datum()
[all …]
Dxattr.h40 char *xvalue; /* XATTR value */ member
/linux-5.19.10/security/integrity/ima/
Dima_appraise.c750 const struct evm_ima_xattr_data *xvalue = xattr_value; in ima_inode_setxattr() local
757 if (!xattr_value_len || (xvalue->type >= IMA_XATTR_LAST)) in ima_inode_setxattr()
759 digsig = (xvalue->type == EVM_IMA_XATTR_DIGSIG); in ima_inode_setxattr()
761 digsig = (xvalue->type == EVM_XATTR_PORTABLE_DIGSIG); in ima_inode_setxattr()
764 result = validate_hash_algo(dentry, xvalue, xattr_value_len); in ima_inode_setxattr()