Searched refs:xvalue (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/fs/jffs2/ |
D | xattr.c | 64 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 …]
|
D | xattr.h | 40 char *xvalue; /* XATTR value */ member
|
/kernel/linux/linux-5.10/security/integrity/ima/ |
D | ima_appraise.c | 564 const struct evm_ima_xattr_data *xvalue = xattr_value; in ima_inode_setxattr() local 570 if (!xattr_value_len || (xvalue->type >= IMA_XATTR_LAST)) in ima_inode_setxattr() 573 xvalue->type == EVM_IMA_XATTR_DIGSIG); in ima_inode_setxattr()
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 8468 - * xattr_datum_hashkey(xprefix, xname, xvalue, xsize) 8496 - * create_xattr_datum(c, xprefix, xname, xvalue, xsize) 8503 -static uint32_t xattr_datum_hashkey(int xprefix, const char *xname, const char *xvalue, int xsize) 8507 - return crc32(xprefix, xname, name_len) ^ crc32(xprefix, xvalue, xsize); 8538 - xd->xvalue = NULL; 8682 - xd->xvalue = data + xd->name_len+1; 8686 - xd->hashkey = xattr_datum_hashkey(xd->xprefix, xd->xname, xd->xvalue, xd->value_len); 8777 - const char *xvalue, int xsize) 8785 - /* Search xattr_datum has same xname/xvalue by index */ 8786 - hashkey = xattr_datum_hashkey(xprefix, xname, xvalue, xsize); [all …]
|