| /linux/drivers/iommu/ |
| H A D | sprd-iommu.c | 66 struct sprd_iommu_domain *dom; member 86 static struct sprd_iommu_domain *to_sprd_domain(struct iommu_domain *dom) in to_sprd_domain() argument 88 return container_of(dom, struct sprd_iommu_domain, domain); in to_sprd_domain() 138 struct sprd_iommu_domain *dom; in sprd_iommu_domain_alloc_paging() local 140 dom = kzalloc_obj(*dom); in sprd_iommu_domain_alloc_paging() 141 if (!dom) in sprd_iommu_domain_alloc_paging() 144 spin_lock_init(&dom->pgtlock); in sprd_iommu_domain_alloc_paging() 146 dom->domain.pgsize_bitmap = SPRD_IOMMU_PAGE_SIZE; in sprd_iommu_domain_alloc_paging() 148 dom->domain.geometry.aperture_start = 0; in sprd_iommu_domain_alloc_paging() 149 dom->domain.geometry.aperture_end = SZ_256M - 1; in sprd_iommu_domain_alloc_paging() [all …]
|
| /linux/drivers/pmdomain/amlogic/ |
| H A D | meson-ee-pwrc.c | 433 struct meson_ee_pwrc_domain *dom) in meson_ee_pwrc_init_domain() argument 437 dom->pwrc = pwrc; in meson_ee_pwrc_init_domain() 438 dom->num_rstc = dom->desc.reset_names_count; in meson_ee_pwrc_init_domain() 439 dom->num_clks = dom->desc.clk_names_count; in meson_ee_pwrc_init_domain() 441 if (dom->num_rstc) { in meson_ee_pwrc_init_domain() 444 if (count != dom->num_rstc) in meson_ee_pwrc_init_domain() 446 count, dom->desc.name); in meson_ee_pwrc_init_domain() 448 dom->rstc = devm_reset_control_array_get_exclusive(&pdev->dev); in meson_ee_pwrc_init_domain() 449 if (IS_ERR(dom->rstc)) in meson_ee_pwrc_init_domain() 450 return PTR_ERR(dom->rstc); in meson_ee_pwrc_init_domain() [all …]
|
| /linux/net/tipc/ |
| H A D | monitor.c | 139 static int dom_rec_len(struct tipc_mon_domain *dom, u16 mcnt) in dom_rec_len() argument 248 struct tipc_mon_domain *dom = peer->domain; in mon_apply_domain() local 253 if (!dom || !peer->is_up) in mon_apply_domain() 259 for (i = 0; i < dom->member_cnt; i++) { in mon_apply_domain() 260 addr = dom->members[i]; in mon_apply_domain() 274 struct tipc_mon_domain *dom = self->domain; in mon_update_local_domain() local 276 u64 prev_up_map = dom->up_map; in mon_update_local_domain() 285 dom->len = dom_rec_len(dom, member_cnt); in mon_update_local_domain() 286 diff = dom->member_cnt != member_cnt; in mon_update_local_domain() 287 dom->member_cnt = member_cnt; in mon_update_local_domain() [all …]
|
| /linux/drivers/iommu/iommufd/ |
| H A D | hwpt_noiommu.c | 44 struct noiommu_domain *dom; in noiommu_alloc_paging_flags() local 57 dom = kzalloc_obj(*dom); in noiommu_alloc_paging_flags() 58 if (!dom) in noiommu_alloc_paging_flags() 61 spin_lock_init(&dom->lock); in noiommu_alloc_paging_flags() 62 dom->amdv1.iommu.nid = NUMA_NO_NODE; in noiommu_alloc_paging_flags() 63 dom->amdv1.iommu.driver_ops = &noiommu_driver_ops; in noiommu_alloc_paging_flags() 64 dom->domain.ops = &noiommu_amdv1_ops; in noiommu_alloc_paging_flags() 67 rc = pt_iommu_amdv1_init(&dom->amdv1, &cfg, GFP_KERNEL); in noiommu_alloc_paging_flags() 69 kfree(dom); in noiommu_alloc_paging_flags() 73 return &dom->domain; in noiommu_alloc_paging_flags()
|
| /linux/drivers/pmdomain/bcm/ |
| H A D | raspberrypi-power.c | 89 struct rpi_power_domain *dom = &rpi_domains->domains[xlate_index]; in rpi_common_init_power_domain() local 91 dom->fw = rpi_domains->fw; in rpi_common_init_power_domain() 93 dom->base.name = name; in rpi_common_init_power_domain() 94 dom->base.flags = GENPD_FLAG_ACTIVE_WAKEUP; in rpi_common_init_power_domain() 95 dom->base.power_on = rpi_domain_on; in rpi_common_init_power_domain() 96 dom->base.power_off = rpi_domain_off; in rpi_common_init_power_domain() 106 pm_genpd_init(&dom->base, NULL, true); in rpi_common_init_power_domain() 108 rpi_domains->xlate.domains[xlate_index] = &dom->base; in rpi_common_init_power_domain() 114 struct rpi_power_domain *dom = &rpi_domains->domains[xlate_index]; in rpi_init_power_domain() local 120 dom->domain = xlate_index + 1; in rpi_init_power_domain() [all …]
|
| /linux/include/uapi/xen/ |
| H A D | privcmd.h | 58 domid_t dom; /* target domain */ member 64 domid_t dom; /* target domain */ member 75 domid_t dom; /* target domain */ member 87 domid_t dom; member 93 domid_t dom; member 109 domid_t dom; member 125 domid_t dom; member
|
| /linux/fs/smb/client/ |
| H A D | dns_resolve.c | 59 int dns_resolve_name(const char *dom, const char *name, in dns_resolve_name() argument 66 cifs_dbg(FYI, "%s: dom=%s name=%.*s\n", __func__, dom, (int)namelen, name); in dns_resolve_name() 83 if (dom && *dom && cifs_netbios_name(name, namelen)) { in dns_resolve_name() 84 len = strnlen(dom, CIFS_MAX_DOMAINNAME_LEN) + namelen + 2; in dns_resolve_name() 89 scnprintf(s, len, "%.*s.%s", (int)namelen, name, dom); in dns_resolve_name()
|
| /linux/mm/ |
| H A D | page-writeback.c | 125 .dom = &global_wb_domain, \ 128 #define GDTC_INIT_NO_WB .dom = &global_wb_domain 131 .dom = mem_cgroup_wb_domain(__wb), \ 137 return dtc->dom; in mdtc_valid() 142 return dtc->dom; in dtc_dom() 549 static void wb_domain_writeout_add(struct wb_domain *dom, in wb_domain_writeout_add() argument 553 __fprop_add_percpu_max(&dom->completions, completions, in wb_domain_writeout_add() 556 if (unlikely(!dom->period_time)) { in wb_domain_writeout_add() 563 dom->period_time = wp_next_time(jiffies); in wb_domain_writeout_add() 564 mod_timer(&dom->period_timer, dom->period_time); in wb_domain_writeout_add() [all …]
|
| /linux/fs/nfs_common/ |
| H A D | nfslocalio.c | 41 nfs_uuid->dom = NULL; in nfs_uuid_init() 106 struct auth_domain *dom, struct module *mod) in nfs_uuid_is_local() argument 134 kref_get(&dom->ref); in nfs_uuid_is_local() 135 nfs_uuid->dom = dom; in nfs_uuid_is_local() 163 if (nfs_uuid->dom) { in nfs_uuid_put() 164 auth_domain_put(nfs_uuid->dom); in nfs_uuid_put() 165 nfs_uuid->dom = NULL; in nfs_uuid_put() 292 localio = nfs_to->nfsd_open_local_fh(net, uuid->dom, rpc_clnt, cred, in nfs_open_local_fh()
|
| /linux/include/xen/interface/ |
| H A D | event_channel.h | 29 domid_t dom, remote_dom; member 130 domid_t dom; member 143 domid_t dom; member 146 domid_t dom; member 190 domid_t dom; member
|
| H A D | grant_table.h | 286 domid_t dom; member 326 domid_t dom; member 340 domid_t dom; member 414 domid_t dom; member 470 domid_t dom; member 483 domid_t dom; member
|
| /linux/drivers/iommu/amd/ |
| H A D | nested.c | 16 static inline struct nested_domain *to_ndomain(struct iommu_domain *dom) in to_ndomain() argument 18 return container_of(dom, struct nested_domain, domain); in to_ndomain() 191 static void set_dte_nested(struct amd_iommu *iommu, struct iommu_domain *dom, in set_dte_nested() argument 195 struct nested_domain *ndom = to_ndomain(dom); in set_dte_nested() 237 static int nested_attach_device(struct iommu_domain *dom, struct device *dev, in nested_attach_device() argument 254 set_dte_nested(iommu, dom, dev_data, &new); in nested_attach_device() 263 static void nested_domain_free(struct iommu_domain *dom) in nested_domain_free() argument 267 struct nested_domain *ndom __free(kfree) = to_ndomain(dom); in nested_domain_free()
|
| /linux/arch/arm/include/asm/ |
| H A D | domain.h | 55 #define domain_mask(dom) ((3) << (2 * (dom))) argument 56 #define domain_val(dom,type) ((type) << (2 * (dom))) argument
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | topology.c | 88 static inline u32 topo_apicid(u32 apicid, enum x86_topology_domains dom) in topo_apicid() argument 90 if (dom == TOPO_SMT_DOMAIN) in topo_apicid() 92 return apicid & (UINT_MAX << x86_topo_system.dom_shifts[dom - 1]); in topo_apicid() 216 int cpu, dom; in topo_register_apic() local 243 for (dom = TOPO_SMT_DOMAIN; dom < TOPO_MAX_DOMAIN; dom++) in topo_register_apic() 244 set_bit(topo_apicid(apic_id, dom), apic_maps[dom].map); in topo_register_apic()
|
| /linux/drivers/s390/crypto/ |
| H A D | ap_bus.c | 1826 int card, dom; in ap_select_domain() local 1838 for (dom = 0; dom <= ap_max_domain_id; dom++) { in ap_select_domain() 1839 if (!ap_test_config_usage_domain(dom) || in ap_select_domain() 1840 !test_bit_inv(dom, ap_perms.aqm)) in ap_select_domain() 1846 status = ap_test_queue(AP_MKQID(card, dom), in ap_select_domain() 1855 if (dom <= ap_max_domain_id) { in ap_select_domain() 1856 ap_domain_index = dom; in ap_select_domain() 2006 int rc, dom; in ap_scan_domains() local 2014 for (dom = 0; dom <= ap_max_domain_id; dom++) { in ap_scan_domains() 2015 qid = AP_MKQID(ac->id, dom); in ap_scan_domains() [all …]
|
| H A D | zcrypt_msgtype6.h | 99 unsigned int *fc, unsigned int *dom); 102 unsigned int *fc, unsigned int *dom); 104 int *fc, unsigned int *dom);
|
| /linux/net/sunrpc/ |
| H A D | svcauth.c | 224 struct auth_domain *dom = container_of(kref, struct auth_domain, ref); in auth_domain_release() local 226 hlist_del_rcu(&dom->hash); in auth_domain_release() 227 dom->flavour->domain_release(dom); in auth_domain_release() 231 void auth_domain_put(struct auth_domain *dom) in auth_domain_put() argument 233 kref_put_lock(&dom->ref, auth_domain_release, &auth_domain_lock); in auth_domain_put()
|
| H A D | svcauth_unix.c | 48 struct auth_domain *dom = container_of(head, struct auth_domain, rcu_head); in svcauth_unix_domain_release_rcu() local 49 struct unix_domain *ud = container_of(dom, struct unix_domain, h); in svcauth_unix_domain_release_rcu() 51 kfree(dom->name); in svcauth_unix_domain_release_rcu() 55 static void svcauth_unix_domain_release(struct auth_domain *dom) in svcauth_unix_domain_release() argument 57 call_rcu(&dom->rcu_head, svcauth_unix_domain_release_rcu); in svcauth_unix_domain_release() 199 struct auth_domain *dom; in ip_map_parse() local 241 dom = unix_domain_find(buf); in ip_map_parse() 242 if (dom == NULL) in ip_map_parse() 245 dom = NULL; in ip_map_parse() 251 container_of(dom, struct unix_domain, h), in ip_map_parse() [all …]
|
| /linux/security/landlock/ |
| H A D | cred.c | 38 struct landlock_domain *const dom = landlock_cred(cred)->domain; in hook_cred_free() 40 if (dom) in hook_cred_free() 41 landlock_put_domain_deferred(dom); in hook_cred_free() 37 struct landlock_ruleset *const dom = landlock_cred(cred)->domain; hook_cred_free() local
|
| H A D | audit.c | 204 const struct landlock_ruleset dom = { test_get_denied_layer() local
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
| H A D | gt215.c | 275 int idx, u32 pll, int dom) in calc_clk() argument 277 int ret = gt215_pll_info(&clk->base, idx, pll, cstate->domain[dom], in calc_clk() 278 &clk->eng[dom]); in calc_clk() 363 prog_pll(struct gt215_clk *clk, int idx, u32 pll, int dom) in prog_pll() argument 365 struct gt215_clk_info *info = &clk->eng[dom]; in prog_pll() 407 prog_clk(struct gt215_clk *clk, int idx, int dom) in prog_clk() argument 409 struct gt215_clk_info *info = &clk->eng[dom]; in prog_clk() 443 prog_core(struct gt215_clk *clk, int dom) in prog_core() argument 445 struct gt215_clk_info *info = &clk->eng[dom]; in prog_core() 452 prog_pll(clk, 0x00, 0x004200, dom); in prog_core()
|
| /linux/drivers/irqchip/ |
| H A D | irq-sni-exiu.c | 163 static int exiu_domain_alloc(struct irq_domain *dom, unsigned int virq, in exiu_domain_alloc() argument 168 struct exiu_irq_data *info = dom->host_data; in exiu_domain_alloc() 172 if (is_of_node(dom->parent->fwnode)) { in exiu_domain_alloc() 184 irq_domain_set_hwirq_and_chip(dom, virq, hwirq, &exiu_irq_chip, info); in exiu_domain_alloc() 186 parent_fwspec.fwnode = dom->parent->fwnode; in exiu_domain_alloc() 187 return irq_domain_alloc_irqs_parent(dom, virq, nr_irqs, &parent_fwspec); in exiu_domain_alloc()
|
| H A D | irq-aspeed-vic.c | 54 struct irq_domain *dom; member 103 generic_handle_domain_irq(vic->dom, irq); in avic_handle_irq() 214 vic->dom = irq_domain_create_simple(of_fwnode_handle(node), NUM_IRQS, 0, in avic_of_init()
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | gss_mech_switch.c | 63 struct auth_domain *dom; in gss_mech_svc_setup() local 73 dom = svcauth_gss_register_pseudoflavor( in gss_mech_svc_setup() 75 if (IS_ERR(dom)) { in gss_mech_svc_setup() 76 status = PTR_ERR(dom); in gss_mech_svc_setup() 79 pf->domain = dom; in gss_mech_svc_setup()
|
| /linux/arch/loongarch/pci/ |
| H A D | pci.c | 73 struct irq_domain *dom; in pcibios_device_add() local 76 dom = irq_find_matching_fwnode(get_pch_msi_handle(id), DOMAIN_BUS_PCI_MSI); in pcibios_device_add() 77 dev_set_msi_domain(&dev->dev, dom); in pcibios_device_add()
|