Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/acpi/arm64/
Diort.c806 kfree(rmr_data->sids); in iort_rmr_free()
813 u32 *sids, u32 num_sids) in iort_rmr_alloc() argument
825 sids_copy = kmemdup_array(sids, num_sids, sizeof(*sids), GFP_KERNEL); in iort_rmr_alloc()
830 rmr_data->sids = sids_copy; in iort_rmr_alloc()
889 u32 *sids, u32 num_sids, in iort_get_rmrs() argument
923 sids, num_sids); in iort_get_rmrs()
931 static u32 *iort_rmr_alloc_sids(u32 *sids, u32 count, u32 id_start, in iort_rmr_alloc_sids() argument
938 new_sids = krealloc_array(sids, count + new_count, in iort_rmr_alloc_sids()
984 u32 *sids = NULL; in iort_node_get_rmr_info() local
1021 sids = iort_rmr_alloc_sids(sids, num_sids, map->output_base, in iort_node_get_rmr_info()
[all …]
/linux-6.12.1/drivers/iommu/arm/arm-smmu/
Darm-smmu.c153 u32 *sids; in arm_smmu_register_legacy_master() local
185 sids = kcalloc(it.cur_count, sizeof(*sids), GFP_KERNEL); in arm_smmu_register_legacy_master()
186 if (!sids) in arm_smmu_register_legacy_master()
190 of_phandle_iterator_args(&it, sids, it.cur_count); in arm_smmu_register_legacy_master()
191 err = iommu_fwspec_add_ids(dev, sids, it.cur_count); in arm_smmu_register_legacy_master()
192 kfree(sids); in arm_smmu_register_legacy_master()
2107 idx = arm_smmu_find_sme(smmu, rmr->sids[i], ~0); in arm_smmu_rmr_install_bypass_smr()
2112 smmu->smrs[idx].id = rmr->sids[i]; in arm_smmu_rmr_install_bypass_smr()
/linux-6.12.1/security/selinux/include/
Dsecurity.h286 int security_get_user_sids(u32 callsid, char *username, u32 **sids, u32 *nel);
/linux-6.12.1/fs/smb/client/
Dsmb2pdu.c2605 struct owner_group_sids *sids = (struct owner_group_sids *)buf; in setup_owner_group_sids() local
2608 sids->owner.Revision = 1; in setup_owner_group_sids()
2609 sids->owner.NumAuth = 3; in setup_owner_group_sids()
2610 sids->owner.Authority[5] = 5; in setup_owner_group_sids()
2611 sids->owner.SubAuthorities[0] = cpu_to_le32(88); in setup_owner_group_sids()
2612 sids->owner.SubAuthorities[1] = cpu_to_le32(1); in setup_owner_group_sids()
2613 sids->owner.SubAuthorities[2] = cpu_to_le32(current_fsuid().val); in setup_owner_group_sids()
2616 sids->group.Revision = 1; in setup_owner_group_sids()
2617 sids->group.NumAuth = 3; in setup_owner_group_sids()
2618 sids->group.Authority[5] = 5; in setup_owner_group_sids()
[all …]
/linux-6.12.1/security/selinux/
Dselinuxfs.c1066 u32 sid, *sids = NULL; in sel_write_user() local
1096 length = security_get_user_sids(sid, user, &sids, &nsids); in sel_write_user()
1103 rc = security_sid_to_context(sids[i], &newcon, &len); in sel_write_user()
1119 kfree(sids); in sel_write_user()
/linux-6.12.1/include/linux/
Diommu.h298 const u32 *sids; member
/linux-6.12.1/security/selinux/ss/
Dservices.c2706 u32 **sids, in security_get_user_sids() argument
2720 *sids = NULL; in security_get_user_sids()
2808 *sids = mysids2; in security_get_user_sids()
/linux-6.12.1/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c4482 ret = arm_smmu_init_sid_strtab(smmu, rmr->sids[i]); in arm_smmu_rmr_install_bypass_ste()
4485 rmr->sids[i]); in arm_smmu_rmr_install_bypass_ste()
4494 arm_smmu_get_step_for_sid(smmu, rmr->sids[i])); in arm_smmu_rmr_install_bypass_ste()