/kernel/linux/linux-6.6/arch/x86/kernel/fpu/ |
H A D | xstate.c | 1595 struct fpu_state_perm *perm; in __xstate_request_perm() local 1621 perm = guest ? &fpu->guest_perm : &fpu->perm; in __xstate_request_perm() 1623 WRITE_ONCE(perm->__state_perm, mask); in __xstate_request_perm() 1625 perm->__state_size = ksize; in __xstate_request_perm() 1626 perm->__user_state_size = usize; in __xstate_request_perm() 1678 struct fpu_state_perm *perm; in __xfd_enable_feature() local 1698 perm = guest_fpu ? &fpu->guest_perm : &fpu->perm; in __xfd_enable_feature() 1699 ksize = perm in __xfd_enable_feature() [all...] |
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | iommu.h | 64 * @perm: requested permission access using by the incoming transaction 76 __u32 perm; member 90 * @perm: requested page permissions (IOMMU_FAULT_PERM_* values) 102 __u32 perm; member
|
H A D | vhost_types.h | 58 __u8 perm; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | iommu.h | 48 __u32 perm; member 60 __u32 perm; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | iommu.h | 48 __u32 perm; member 60 __u32 perm; member
|
/kernel/linux/linux-5.10/security/keys/ |
H A D | request_key.c | 377 key_perm_t perm; in construct_alloc_key() local 387 perm = KEY_POS_VIEW | KEY_POS_SEARCH | KEY_POS_LINK | KEY_POS_SETATTR; in construct_alloc_key() 388 perm |= KEY_USR_VIEW; in construct_alloc_key() 390 perm |= KEY_POS_READ; in construct_alloc_key() 393 perm |= KEY_POS_WRITE; in construct_alloc_key() 397 perm, flags, NULL); in construct_alloc_key()
|
/kernel/linux/linux-6.6/security/keys/ |
H A D | request_key.c | 377 key_perm_t perm; in construct_alloc_key() local 387 perm = KEY_POS_VIEW | KEY_POS_SEARCH | KEY_POS_LINK | KEY_POS_SETATTR; in construct_alloc_key() 388 perm |= KEY_USR_VIEW; in construct_alloc_key() 390 perm |= KEY_POS_READ; in construct_alloc_key() 393 perm |= KEY_POS_WRITE; in construct_alloc_key() 397 perm, flags, NULL); in construct_alloc_key()
|
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | module.h | 5 #define module_param(name, type, perm)
|
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | module.h | 5 #define module_param(name, type, perm)
|
/kernel/linux/linux-5.10/drivers/vhost/ |
H A D | vdpa.c | 526 if (map->perm & VHOST_ACCESS_WO) in vhost_vdpa_iotlb_unmap() 544 static int perm_to_iommu_flags(u32 perm) in perm_to_iommu_flags() argument 548 switch (perm) { in perm_to_iommu_flags() 567 u64 iova, u64 size, u64 pa, u32 perm) in vhost_vdpa_map() 575 pa, perm); in vhost_vdpa_map() 580 r = ops->dma_map(vdpa, iova, size, pa, perm); in vhost_vdpa_map() 586 perm_to_iommu_flags(perm)); in vhost_vdpa_map() 643 if (msg->perm & VHOST_ACCESS_WO) in vhost_vdpa_process_iotlb_update() 691 msg->perm); in vhost_vdpa_process_iotlb_update() 720 map_pfn << PAGE_SHIFT, msg->perm); in vhost_vdpa_process_iotlb_update() 566 vhost_vdpa_map(struct vhost_vdpa *v, u64 iova, u64 size, u64 pa, u32 perm) vhost_vdpa_map() argument [all...] |
/kernel/linux/linux-6.6/drivers/vhost/ |
H A D | vdpa.c | 821 if (map->perm & VHOST_ACCESS_WO) in vhost_vdpa_pa_unmap() 858 static int perm_to_iommu_flags(u32 perm) in perm_to_iommu_flags() argument 862 switch (perm) { in perm_to_iommu_flags() 881 u64 iova, u64 size, u64 pa, u32 perm, void *opaque) in vhost_vdpa_map() 890 pa, perm, opaque); in vhost_vdpa_map() 895 r = ops->dma_map(vdpa, asid, iova, size, pa, perm, opaque); in vhost_vdpa_map() 901 perm_to_iommu_flags(perm), GFP_KERNEL); in vhost_vdpa_map() 933 u64 iova, u64 size, u64 uaddr, u32 perm) in vhost_vdpa_va_map() 963 perm, map_file); in vhost_vdpa_va_map() 984 u64 iova, u64 size, u64 uaddr, u32 perm) in vhost_vdpa_pa_map() 880 vhost_vdpa_map(struct vhost_vdpa *v, struct vhost_iotlb *iotlb, u64 iova, u64 size, u64 pa, u32 perm, void *opaque) vhost_vdpa_map() argument 931 vhost_vdpa_va_map(struct vhost_vdpa *v, struct vhost_iotlb *iotlb, u64 iova, u64 size, u64 uaddr, u32 perm) vhost_vdpa_va_map() argument 982 vhost_vdpa_pa_map(struct vhost_vdpa *v, struct vhost_iotlb *iotlb, u64 iova, u64 size, u64 uaddr, u32 perm) vhost_vdpa_pa_map() argument [all...] |
/test/xts/device_attest/common/permission/include/ |
H A D | permission.h | 28 bool IsPermissionGranted(const std::string& perm);
|
/kernel/linux/linux-5.10/drivers/accesstokenid/ |
H A D | access_tokenid.c | 290 target_node->perm_data.perm[idx] |= (uint32_t)0x01 << bit_idx; in access_tokenid_set_permission() 292 target_node->perm_data.perm[idx] &= ~((uint32_t)0x01 << bit_idx); in access_tokenid_set_permission() 320 int ret = (target_node->perm_data.perm[idx] & ((uint32_t)0x01 << bit_idx)) >> bit_idx; in access_tokenid_get_permission()
|
H A D | access_tokenid.h | 47 uint32_t perm[MAX_PERM_GROUP_NUM]; member
|
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | tomoyo.c | 218 const unsigned int perm = mode & S_IALLUGO; in tomoyo_path_mknod() local 230 return tomoyo_mkdev_perm(type, &path, perm, dev); in tomoyo_path_mknod() 240 return tomoyo_path_number_perm(type, &path, perm); in tomoyo_path_mknod()
|
H A D | common.h | 711 u16 perm; /* Bitmask of values in "enum tomoyo_path_acl_index". */ member 722 u8 perm; member 730 u8 perm; /* Bitmask of values in "enum tomoyo_mkdev_acl_index". */ member 742 u8 perm; /* Bitmask of values in "enum tomoyo_path2_acl_index". */ member 766 u8 perm; /* Bitmask of values in "enum tomoyo_network_acl_index" */ member 775 u8 perm; /* Bitmask of values in "enum tomoyo_network_acl_index" */ member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | alloc.c | 302 void mlx5_fill_page_frag_array_perm(struct mlx5_frag_buf *buf, __be64 *pas, u8 perm) in mlx5_fill_page_frag_array_perm() argument 306 WARN_ON(perm & 0xfc); in mlx5_fill_page_frag_array_perm() 308 pas[i] = cpu_to_be64(buf->frags[i].map | perm); in mlx5_fill_page_frag_array_perm()
|
/kernel/linux/linux-6.6/drivers/accesstokenid/ |
H A D | access_tokenid.c | 283 target_node->perm_data.perm[idx] |= (uint32_t)0x01 << bit_idx; in access_tokenid_set_permission() 285 target_node->perm_data.perm[idx] &= ~((uint32_t)0x01 << bit_idx); in access_tokenid_set_permission() 312 return (target_node->perm_data.perm[idx] & ((uint32_t)0x01 << bit_idx)) >> bit_idx; in access_tokenid_get_permission()
|
H A D | access_tokenid.h | 47 uint32_t perm[MAX_PERM_GROUP_NUM]; member
|
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | tomoyo.c | 229 const unsigned int perm = mode & S_IALLUGO; in tomoyo_path_mknod() local 241 return tomoyo_mkdev_perm(type, &path, perm, dev); in tomoyo_path_mknod() 251 return tomoyo_path_number_perm(type, &path, perm); in tomoyo_path_mknod()
|
H A D | common.h | 711 u16 perm; /* Bitmask of values in "enum tomoyo_path_acl_index". */ member 722 u8 perm; member 730 u8 perm; /* Bitmask of values in "enum tomoyo_mkdev_acl_index". */ member 742 u8 perm; /* Bitmask of values in "enum tomoyo_path2_acl_index". */ member 766 u8 perm; /* Bitmask of values in "enum tomoyo_network_acl_index" */ member 775 u8 perm; /* Bitmask of values in "enum tomoyo_network_acl_index" */ member
|
/kernel/linux/linux-5.10/security/integrity/ |
H A D | integrity.h | 171 const void *data, size_t len, key_perm_t perm); 195 key_perm_t perm) in integrity_load_cert() 192 integrity_load_cert(const unsigned int id, const char *source, const void *data, size_t len, key_perm_t perm) integrity_load_cert() argument
|
/kernel/linux/linux-6.6/arch/x86/include/asm/fpu/ |
H A D | types.h | 487 * @perm: 491 struct fpu_state_perm perm; member 526 * @perm: xfeature bitmap of features which are 530 u64 perm; member
|
/kernel/linux/linux-6.6/security/integrity/ |
H A D | integrity.h | 205 const void *data, size_t len, key_perm_t perm); 229 key_perm_t perm) in integrity_load_cert() 226 integrity_load_cert(const unsigned int id, const char *source, const void *data, size_t len, key_perm_t perm) integrity_load_cert() argument
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
H A D | dasd_fba.h | 19 unsigned char perm:2; /* Permissions on this extent */ member
|