Home
last modified time | relevance | path

Searched refs:sids (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/acpi/arm64/
Diort.c797 kfree(rmr_data->sids); in iort_rmr_free()
804 u32 *sids, u32 num_sids) in iort_rmr_alloc() argument
816 sids_copy = kmemdup(sids, num_sids * sizeof(*sids), GFP_KERNEL); in iort_rmr_alloc()
821 rmr_data->sids = sids_copy; in iort_rmr_alloc()
880 u32 *sids, u32 num_sids, in iort_get_rmrs() argument
914 sids, num_sids); in iort_get_rmrs()
922 static u32 *iort_rmr_alloc_sids(u32 *sids, u32 count, u32 id_start, in iort_rmr_alloc_sids() argument
929 new_sids = krealloc_array(sids, count + new_count, in iort_rmr_alloc_sids()
975 u32 *sids = NULL; in iort_node_get_rmr_info() local
1015 sids = iort_rmr_alloc_sids(sids, num_sids, map->output_base, in iort_node_get_rmr_info()
[all …]
/linux-6.1.9/drivers/iommu/arm/arm-smmu/
Darm-smmu.c137 u32 *sids; in arm_smmu_register_legacy_master() local
170 sids = kcalloc(it.cur_count, sizeof(*sids), GFP_KERNEL); in arm_smmu_register_legacy_master()
171 if (!sids) in arm_smmu_register_legacy_master()
175 of_phandle_iterator_args(&it, sids, it.cur_count); in arm_smmu_register_legacy_master()
176 err = iommu_fwspec_add_ids(dev, sids, it.cur_count); in arm_smmu_register_legacy_master()
177 kfree(sids); in arm_smmu_register_legacy_master()
2033 idx = arm_smmu_find_sme(smmu, rmr->sids[i], ~0); in arm_smmu_rmr_install_bypass_smr()
2038 smmu->smrs[idx].id = rmr->sids[i]; in arm_smmu_rmr_install_bypass_smr()
/linux-6.1.9/fs/cifs/
Dsmb2pdu.c2399 struct owner_group_sids *sids = (struct owner_group_sids *)buf; in setup_owner_group_sids() local
2402 sids->owner.Revision = 1; in setup_owner_group_sids()
2403 sids->owner.NumAuth = 3; in setup_owner_group_sids()
2404 sids->owner.Authority[5] = 5; in setup_owner_group_sids()
2405 sids->owner.SubAuthorities[0] = cpu_to_le32(88); in setup_owner_group_sids()
2406 sids->owner.SubAuthorities[1] = cpu_to_le32(1); in setup_owner_group_sids()
2407 sids->owner.SubAuthorities[2] = cpu_to_le32(current_fsuid().val); in setup_owner_group_sids()
2410 sids->group.Revision = 1; in setup_owner_group_sids()
2411 sids->group.NumAuth = 3; in setup_owner_group_sids()
2412 sids->group.Authority[5] = 5; in setup_owner_group_sids()
[all …]
/linux-6.1.9/security/selinux/include/
Dsecurity.h344 u32 **sids, u32 *nel);
/linux-6.1.9/security/selinux/
Dselinuxfs.c1133 u32 sid, *sids = NULL; in sel_write_user() local
1164 length = security_get_user_sids(state, sid, user, &sids, &nsids); in sel_write_user()
1171 rc = security_sid_to_context(state, sids[i], &newcon, &len); in sel_write_user()
1187 kfree(sids); in sel_write_user()
/linux-6.1.9/include/linux/
Diommu.h153 const u32 *sids; member
/linux-6.1.9/security/selinux/ss/
Dservices.c2752 u32 **sids, in security_get_user_sids() argument
2766 *sids = NULL; in security_get_user_sids()
2855 *sids = mysids2; in security_get_user_sids()
/linux-6.1.9/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c3721 ret = arm_smmu_init_sid_strtab(smmu, rmr->sids[i]); in arm_smmu_rmr_install_bypass_ste()
3724 rmr->sids[i]); in arm_smmu_rmr_install_bypass_ste()
3728 step = arm_smmu_get_step_for_sid(smmu, rmr->sids[i]); in arm_smmu_rmr_install_bypass_ste()