/linux-6.1.9/security/integrity/evm/ ! |
D | evm_posix_acl.c | 14 int xattr_len = strlen(xattr); in posix_xattr_acl() local 16 if ((strlen(XATTR_NAME_POSIX_ACL_ACCESS) == xattr_len) in posix_xattr_acl() 17 && (strncmp(XATTR_NAME_POSIX_ACL_ACCESS, xattr, xattr_len) == 0)) in posix_xattr_acl() 19 if ((strlen(XATTR_NAME_POSIX_ACL_DEFAULT) == xattr_len) in posix_xattr_acl() 20 && (strncmp(XATTR_NAME_POSIX_ACL_DEFAULT, xattr, xattr_len) == 0)) in posix_xattr_acl()
|
D | evm_main.c | 178 int rc, xattr_len, evm_immutable = 0; in evm_verify_hmac() local 203 xattr_len = rc; in evm_verify_hmac() 208 if (xattr_len != sizeof(struct evm_xattr)) { in evm_verify_hmac() 228 if (xattr_len <= sizeof(struct signature_v2_hdr)) { in evm_verify_hmac() 240 (const char *)xattr_data, xattr_len, in evm_verify_hmac()
|
/linux-6.1.9/security/integrity/ima/ ! |
D | ima_appraise.c | 178 int xattr_len) in ima_get_hash_algo() argument 183 if (!xattr_value || xattr_len < 2) in ima_get_hash_algo() 190 if (sig->version != 3 || xattr_len <= sizeof(*sig) || in ima_get_hash_algo() 196 if (sig->version != 2 || xattr_len <= sizeof(*sig) in ima_get_hash_algo() 208 if (xattr_len == 21) { in ima_get_hash_algo() 214 } else if (xattr_len == 17) in ima_get_hash_algo() 277 struct evm_ima_xattr_data *xattr_value, int xattr_len, in xattr_verify() argument 304 if (xattr_len - sizeof(xattr_value->type) - hash_start >= in xattr_verify() 340 xattr_len, in xattr_verify() 351 xattr_len, in xattr_verify() [all …]
|
D | ima.h | 67 int xattr_len; member 269 int xattr_len, const struct modsig *modsig, int pcr, 320 int xattr_len, const struct modsig *modsig); 327 int xattr_len); 343 int xattr_len, in ima_appraise_measurement() argument 369 ima_get_hash_algo(struct evm_ima_xattr_data *xattr_value, int xattr_len) in ima_get_hash_algo() argument
|
D | ima_main.c | 215 int xattr_len = 0; in process_measurement() local 296 xattr_len = ima_read_xattr(file_dentry(file), &xattr_value); in process_measurement() 297 if ((xattr_value && xattr_len > 2) && in process_measurement() 319 xattr_len = ima_read_xattr(file_dentry(file), &xattr_value); in process_measurement() 335 hash_algo = ima_get_hash_algo(xattr_value, xattr_len); in process_measurement() 346 xattr_value, xattr_len, modsig, pcr, in process_measurement() 354 xattr_len, modsig); in process_measurement()
|
D | ima_api.c | 342 int xattr_len, const struct modsig *modsig, int pcr, in ima_store_measurement() argument 354 .xattr_len = xattr_len, in ima_store_measurement()
|
D | ima_template_lib.c | 543 return ima_write_template_field_data(xattr_value, event_data->xattr_len, in ima_eventsig_init()
|
/linux-6.1.9/fs/ksmbd/ ! |
D | vfs.c | 929 ssize_t xattr_len; in ksmbd_vfs_getxattr() local 933 xattr_len = ksmbd_vfs_xattr_len(user_ns, dentry, xattr_name); in ksmbd_vfs_getxattr() 934 if (xattr_len < 0) in ksmbd_vfs_getxattr() 935 return xattr_len; in ksmbd_vfs_getxattr() 937 buf = kmalloc(xattr_len + 1, GFP_KERNEL); in ksmbd_vfs_getxattr() 941 xattr_len = vfs_getxattr(user_ns, dentry, xattr_name, in ksmbd_vfs_getxattr() 942 (void *)buf, xattr_len); in ksmbd_vfs_getxattr() 943 if (xattr_len > 0) in ksmbd_vfs_getxattr() 947 return xattr_len; in ksmbd_vfs_getxattr()
|
/linux-6.1.9/fs/nfs/ ! |
D | nfs42proc.c | 1196 .xattr_len = buflen, in _nfs42_proc_setxattr() 1249 arg.xattr_len = plen; in _nfs42_proc_getxattr() 1268 nfs4_xattr_cache_add(inode, name, NULL, pages, res.xattr_len); in _nfs42_proc_getxattr() 1271 if (res.xattr_len > buflen) in _nfs42_proc_getxattr() 1273 _copy_from_pages(buf, pages, 0, res.xattr_len); in _nfs42_proc_getxattr() 1276 return res.xattr_len; in _nfs42_proc_getxattr() 1291 .xattr_len = buflen, in _nfs42_proc_listxattrs()
|
D | nfs42xdr.c | 449 *p = cpu_to_be32(arg->xattr_len); in encode_setxattr() 450 if (arg->xattr_len) in encode_setxattr() 451 xdr_write_pages(xdr, arg->xattr_pages, 0, arg->xattr_len); in encode_setxattr() 501 res->xattr_len = len; in decode_getxattr() 593 left = res->xattr_len; in decode_listxattrs() 647 if (status == -ERANGE && res->xattr_len == XATTR_LIST_MAX) in decode_listxattrs() 1536 rpc_prepare_reply_pages(req, args->xattr_pages, 0, args->xattr_len, in nfs4_xdr_enc_getxattr()
|
/linux-6.1.9/include/linux/ ! |
D | nfs_xdr.h | 1532 size_t xattr_len; member 1545 size_t xattr_len; member 1551 size_t xattr_len; member 1566 size_t xattr_len; member
|
/linux-6.1.9/fs/ceph/ ! |
D | mds_client.h | 77 u32 xattr_len; member
|
D | inode.c | 820 if (iinfo->xattr_len > 4) { in ceph_fill_inode() 821 xattr_blob = ceph_buffer_new(iinfo->xattr_len, GFP_NOFS); in ceph_fill_inode() 824 iinfo->xattr_len); in ceph_fill_inode() 950 iinfo->xattr_data, iinfo->xattr_len); in ceph_fill_inode()
|
D | file.c | 632 iinfo.xattr_len = req->r_pagelist->length; in ceph_finish_async_create() 636 iinfo.xattr_len = ARRAY_SIZE(xattr_buf); in ceph_finish_async_create() 638 memset(iinfo.xattr_data, 0, iinfo.xattr_len); in ceph_finish_async_create()
|
D | addr.c | 1724 int xattr_len = snprintf(xattr_buf, sizeof(xattr_buf), in ceph_uninline_data() local 1728 xattr_buf, xattr_len, 0, 0); in ceph_uninline_data()
|
D | caps.c | 1273 fc->xattr_len = cpu_to_le32(arg->xattr_buf->vec.iov_len); in encode_cap_msg() 3423 grant->xattr_len) { in handle_cap_grant() 3424 int len = le32_to_cpu(grant->xattr_len); in handle_cap_grant()
|
D | mds_client.c | 133 ceph_decode_32_safe(p, end, info->xattr_len, bad); in parse_reply_info_in() 134 ceph_decode_need(p, end, info->xattr_len, bad); in parse_reply_info_in() 136 *p += info->xattr_len; in parse_reply_info_in()
|
/linux-6.1.9/include/linux/ceph/ ! |
D | ceph_fs.h | 768 __le32 xattr_len; member
|