/linux-3.3/drivers/iommu/ |
D | amd_iommu.c | 76 * Domain for untranslated devices - only allocated 93 static void update_domain(struct protection_domain *domain); 204 * find the domain for a specific device 472 "domain=0x%04x address=0x%016llx flags=0x%04x]\n", in iommu_print_event() 484 "domain=0x%04x address=0x%016llx flags=0x%04x]\n", in iommu_print_event() 689 * TLB entries for this domain in build_inv_iommu_pages() 720 * TLB entries for this domain in build_inv_iotlb_pages() 973 static void __domain_flush_pages(struct protection_domain *domain, in __domain_flush_pages() argument 980 build_inv_iommu_pages(&cmd, address, size, domain->id, pde); in __domain_flush_pages() 983 if (!domain->dev_iommu[i]) in __domain_flush_pages() [all …]
|
D | iommu.c | 119 * iommu_set_fault_handler() - set a fault handler for an iommu domain 120 * @domain: iommu domain 129 void iommu_set_fault_handler(struct iommu_domain *domain, in iommu_set_fault_handler() argument 132 BUG_ON(!domain); in iommu_set_fault_handler() 134 domain->handler = handler; in iommu_set_fault_handler() 140 struct iommu_domain *domain; in iommu_domain_alloc() local 146 domain = kzalloc(sizeof(*domain), GFP_KERNEL); in iommu_domain_alloc() 147 if (!domain) in iommu_domain_alloc() 150 domain->ops = bus->iommu_ops; in iommu_domain_alloc() 152 ret = domain->ops->domain_init(domain); in iommu_domain_alloc() [all …]
|
D | intel-iommu.c | 219 * 8-23: domain id 340 * This domain is a statically identity mapping domain. 341 * 1. This domain creats a static 1:1 mapping to all usable memory. 343 * 3. Each iommu mapps to this domain if successful. 348 /* devices under the same p2p bridge are owned in one domain */ 351 /* domain represents a virtual machine, more than one devices 352 * across iommus may be owned in one domain, e.g. kvm guest. 360 int id; /* domain id */ 362 unsigned long iommu_bmp; /* bitmap of iommus this domain uses*/ 365 struct iova_domain iovad; /* iova's that belong to this domain */ [all …]
|
/linux-3.3/include/linux/ |
D | iommu.h | 53 * @domain_init: init iommu domain 54 * @domain_destroy: destroy iommu domain 55 * @attach_dev: attach device to an iommu domain 56 * @detach_dev: detach device from an iommu domain 57 * @map: map a physically contiguous memory region to an iommu domain 58 * @unmap: unmap a physically contiguous memory region from an iommu domain 60 * @domain_has_cap: domain capabilities query 61 * @commit: commit iommu domain 65 int (*domain_init)(struct iommu_domain *domain); 66 void (*domain_destroy)(struct iommu_domain *domain); [all …]
|
D | pm_domain.h | 16 GPD_STATE_ACTIVE = 0, /* PM domain is active */ 17 GPD_STATE_WAIT_MASTER, /* PM domain's master is being waited for */ 18 GPD_STATE_BUSY, /* Something is happening to the PM domain */ 20 GPD_STATE_POWER_OFF, /* PM domain is off */ 24 bool (*power_down_ok)(struct dev_pm_domain *domain); 45 struct dev_pm_domain domain; /* PM domain operations */ member 47 struct list_head master_links; /* Links with PM domain as a master */ 48 struct list_head slave_links; /* Links with PM domain as a slave */ 56 enum gpd_status status; /* Current state of the domain */ 65 int (*power_off)(struct generic_pm_domain *domain); [all …]
|
/linux-3.3/net/netlabel/ |
D | netlabel_domainhash.c | 2 * NetLabel Domain Hash Table 4 * This file manages the domain hash table that NetLabel uses to determine 5 * which network labeling protocol to use for a given domain. The NetLabel 53 /* Domain hash table */ 63 * Domain Hash Table Helper Functions 67 * netlbl_domhsh_free_entry - Frees a domain hash table entry 101 kfree(ptr->domain); in netlbl_domhsh_free_entry() 106 * netlbl_domhsh_hash - Hashing function for the domain hash table 107 * @domain: the domain name to hash 110 * This is the hashing function for the domain hash table, it returns the [all …]
|
D | netlabel_domainhash.h | 2 * NetLabel Domain Hash Table 4 * This file manages the domain hash table that NetLabel uses to determine 5 * which network labeling protocol to use for a given domain. The NetLabel 41 /* Domain hash table size */ 45 /* Domain mapping definition structures */ 71 char *domain; member 86 /* Manipulate the domain hash table */ 93 int netlbl_domhsh_remove_af4(const char *domain, 97 int netlbl_domhsh_remove(const char *domain, struct netlbl_audit *audit_info); 99 struct netlbl_dom_map *netlbl_domhsh_getentry(const char *domain); [all …]
|
/linux-3.3/Documentation/scheduler/ |
D | sched-stats.txt | 9 per-domain. Note that domains (and their associated information) will only 12 In version 14 of schedstat, there is at least one level of domain 14 domain. Domains have no particular names in this implementation, but 16 cpus on the machine, while domain0 is the most tightly focused domain, 18 are no architectures which need more than three domain levels. The first 19 field in the domain stats is a bit map indicating which cpus are affected 20 by that domain. 56 Domain statistics 58 One of these is produced per domain for each cpu described. (Note that if 62 domain<N> <cpumask> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3… [all …]
|
D | sched-domains.txt | 1 Each CPU has a "base" scheduling domain (struct sched_domain). The domain 3 MUST be NULL terminated, and domain structures should be per-CPU as they are 6 Each scheduling domain spans a number of CPUs (stored in the ->span field). 7 A domain's span MUST be a superset of it child's span (this restriction could 8 be relaxed if the need arises), and a base domain for CPU i MUST span at least 9 i. The top domain for each CPU will generally span all CPUs in the system 12 explicitly set. A sched domain's span means "balance process load among these 15 Each scheduling domain must have one or more CPU groups (struct sched_group) 18 domain's span. The intersection of cpumasks from any two of these groups 20 contain the CPU to which the domain belongs. Groups may be shared among [all …]
|
/linux-3.3/kernel/irq/ |
D | irqdomain.c | 14 * @domain: ptr to initialized irq_domain structure 20 void irq_domain_add(struct irq_domain *domain) in irq_domain_add() argument 30 irq_domain_for_each_irq(domain, hwirq, irq) { in irq_domain_add() 33 WARN(1, "error: assigning domain to non existant irq_desc"); in irq_domain_add() 36 if (d->domain) { in irq_domain_add() 38 WARN(1, "error: irq_desc already assigned to a domain"); in irq_domain_add() 41 d->domain = domain; in irq_domain_add() 46 list_add(&domain->list, &irq_domain_list); in irq_domain_add() 52 * @domain: ptr to registered irq_domain. 54 void irq_domain_del(struct irq_domain *domain) in irq_domain_del() argument [all …]
|
/linux-3.3/drivers/dca/ |
D | dca-core.c | 60 struct dca_domain *domain; in dca_allocate_domain() local 62 domain = kzalloc(sizeof(*domain), GFP_NOWAIT); in dca_allocate_domain() 63 if (!domain) in dca_allocate_domain() 66 INIT_LIST_HEAD(&domain->dca_providers); in dca_allocate_domain() 67 domain->pci_rc = rc; in dca_allocate_domain() 69 return domain; in dca_allocate_domain() 72 static void dca_free_domain(struct dca_domain *domain) in dca_free_domain() argument 74 list_del(&domain->node); in dca_free_domain() 75 kfree(domain); in dca_free_domain() 97 struct dca_domain *domain; in unregister_dca_providers() local [all …]
|
/linux-3.3/drivers/base/power/ |
D | domain.c | 2 * drivers/base/power/domain.c - Common code related to device power domains. 110 * Wait for the domain to transition into either the active, in genpd_acquire_lock() 140 * __pm_genpd_poweron - Restore power to a given PM domain and its masters. 141 * @genpd: PM domain to power up. 153 /* If the domain's master is being waited for, we have to wait too. */ in __pm_genpd_poweron() 233 * pm_genpd_poweron - Restore power to a given PM domain and its masters. 234 * @genpd: PM domain to power up. 252 * @pdd: Domain data of the device to save the state of. 253 * @genpd: PM domain the device belongs to. 282 * @pdd: Domain data of the device to restore the state of. [all …]
|
D | domain_governor.c | 18 * default_stop_ok - Default PM domain governor routine for stopping devices. 35 * default_power_down_ok - Default generic PM domain power off governor routine. 36 * @pd: PM domain to check. 38 * This routine must be executed under the PM domain's lock. 52 * It doesn't make sense to remove power from the domain if saving in default_power_down_ok() 56 * All devices in this domain have been stopped already at this point. in default_power_down_ok() 80 * the current domain to turn off and on (that's how much time in default_power_down_ok() 88 * Check if the devices in the domain can be off enough time. in default_power_down_ok() 114 * There are no latency constraints, so the domain can spend in default_power_down_ok() 123 * to turn the domain on is the maximum theoretical time this domain can in default_power_down_ok() [all …]
|
/linux-3.3/Documentation/power/regulator/ |
D | overview.txt | 47 o Power Domain - Electronic circuit that is supplied its input power by the 49 domain. 61 Domain 1: Switch-1, Consumers D & E. 62 Domain 2: Switch-2, Consumers B & C. 63 Domain 3: Consumer A. 67 Domain-1 --> Domain-2 --> Domain-3. 69 A power domain may have regulators that are supplied power 78 Domain 1: Regulator-2, Consumer B. 79 Domain 2: Consumer A. 83 Domain-1 --> Domain-2 [all …]
|
/linux-3.3/security/tomoyo/ |
D | domain.c | 2 * security/tomoyo/domain.c 13 /* The initial domain. */ 76 * tomoyo_update_domain - Update an entry for domain policy. 108 * Domain transition preference is allowed for only in tomoyo_update_domain() 160 const struct tomoyo_domain_info *domain = r->domain; in tomoyo_check_acl() local 163 const struct list_head *list = &domain->acl_info_list; in tomoyo_check_acl() 179 list = &domain->ns->acl_group[domain->group]; in tomoyo_check_acl() 275 * tomoyo_scan_transition - Try to find specific domain transition type. 278 * @domainname: The name of current domain. 317 * tomoyo_transition_type - Get domain transition type. [all …]
|
/linux-3.3/net/tipc/ |
D | addr.c | 41 * tipc_addr_domain_valid - validates a network domain address 46 * Returns 1 if domain address is valid, otherwise 0 75 int tipc_in_scope(u32 domain, u32 addr) in tipc_in_scope() argument 77 if (!domain || (domain == addr)) in tipc_in_scope() 79 if (domain == tipc_cluster_mask(addr)) /* domain <Z.C.0> */ in tipc_in_scope() 81 if (domain == tipc_zone_mask(addr)) /* domain <Z.0.0> */ in tipc_in_scope() 87 * tipc_addr_scope - convert message lookup domain to a 2-bit scope value 90 int tipc_addr_scope(u32 domain) in tipc_addr_scope() argument 92 if (likely(!domain)) in tipc_addr_scope() 94 if (tipc_node(domain)) in tipc_addr_scope() [all …]
|
/linux-3.3/arch/arm/include/asm/ |
D | domain.h | 2 * arch/arm/include/asm/domain.h 14 * Domain numbers 16 * DOMAIN_IO - domain 2 includes all IO only 17 * DOMAIN_USER - domain 1 includes all user memory only 18 * DOMAIN_KERNEL - domain 0 includes all kernel memory only 20 * The domain numbering depends on whether we support 36 physical 23 * be set for domain 0. We could just default to DOMAIN_IO as zero, 44 * Domain types 62 "mcr p15, 0, %0, c3, c0 @ set domain" \ 70 unsigned int domain = thread->cpu_domain; \ [all …]
|
/linux-3.3/arch/ia64/kernel/ |
D | irq_ia64.c | 82 .domain = CPU_MASK_NONE 116 static inline int find_unassigned_vector(cpumask_t domain) in find_unassigned_vector() argument 121 cpus_and(mask, domain, cpu_online_map); in find_unassigned_vector() 127 cpus_and(mask, domain, vector_table[vector]); in find_unassigned_vector() 135 static int __bind_irq_vector(int irq, int vector, cpumask_t domain) in __bind_irq_vector() argument 144 cpus_and(mask, domain, cpu_online_map); in __bind_irq_vector() 147 if ((cfg->vector == vector) && cpus_equal(cfg->domain, domain)) in __bind_irq_vector() 154 cfg->domain = domain; in __bind_irq_vector() 156 cpus_or(vector_table[vector], vector_table[vector], domain); in __bind_irq_vector() 160 int bind_irq_vector(int irq, int vector, cpumask_t domain) in bind_irq_vector() argument [all …]
|
/linux-3.3/Documentation/networking/ |
D | regulatory.txt | 16 to the kernel one regulatory domain to be used as the central 17 core regulatory domain all wireless devices should adhere to. 22 Userspace gets a regulatory domain in the kernel by having 27 is CRDA - central regulatory domain agent. Its documented here: 32 it needs a new regulatory domain. A udev rule can be put in place 33 to trigger crda to send the respective regulatory domain for a 54 # set regulatory domain to "Costa Rica" 57 This will request the kernel to set the regulatory domain to 59 to provide a regulatory domain for the alpha2 specified by the user 65 regulatory domain is required. More on this to be added [all …]
|
/linux-3.3/arch/arm/mach-davinci/ |
D | psc.c | 30 /* Return nonzero iff the domain's clock is active */ 51 /* Enable or disable a PSC domain */ 52 void davinci_psc_config(unsigned int domain, unsigned int ctlr, in davinci_psc_config() argument 82 pdstat = __raw_readl(psc_base + PDSTAT + 4 * domain); in davinci_psc_config() 84 pdctl = __raw_readl(psc_base + PDCTL + 4 * domain); in davinci_psc_config() 86 __raw_writel(pdctl, psc_base + PDCTL + 4 * domain); in davinci_psc_config() 88 ptcmd = 1 << domain; in davinci_psc_config() 93 } while ((((epcpr >> domain) & 1) == 0)); in davinci_psc_config() 95 pdctl = __raw_readl(psc_base + PDCTL + 4 * domain); in davinci_psc_config() 97 __raw_writel(pdctl, psc_base + PDCTL + 4 * domain); in davinci_psc_config() [all …]
|
/linux-3.3/drivers/base/ |
D | map.c | 32 int kobj_map(struct kobj_map *domain, dev_t dev, unsigned long range, in kobj_map() argument 57 mutex_lock(domain->lock); in kobj_map() 59 struct probe **s = &domain->probes[index % 255]; in kobj_map() 65 mutex_unlock(domain->lock); in kobj_map() 69 void kobj_unmap(struct kobj_map *domain, dev_t dev, unsigned long range) in kobj_unmap() argument 79 mutex_lock(domain->lock); in kobj_unmap() 82 for (s = &domain->probes[index % 255]; *s; s = &(*s)->next) { in kobj_unmap() 92 mutex_unlock(domain->lock); in kobj_unmap() 96 struct kobject *kobj_lookup(struct kobj_map *domain, dev_t dev, int *index) in kobj_lookup() argument 103 mutex_lock(domain->lock); in kobj_lookup() [all …]
|
/linux-3.3/virt/kvm/ |
D | iommu.c | 69 struct iommu_domain *domain = kvm->arch.iommu_domain; in kvm_iommu_map_pages() local 73 if (!domain) in kvm_iommu_map_pages() 88 if (iommu_iova_to_phys(domain, gfn_to_gpa(gfn))) { in kvm_iommu_map_pages() 115 r = iommu_map(domain, gfn_to_gpa(gfn), pfn_to_hpa(pfn), in kvm_iommu_map_pages() 158 struct iommu_domain *domain = kvm->arch.iommu_domain; in kvm_assign_device() local 162 if (!domain) in kvm_assign_device() 169 r = iommu_attach_device(domain, &pdev->dev); in kvm_assign_device() 210 struct iommu_domain *domain = kvm->arch.iommu_domain; in kvm_deassign_device() local 214 if (!domain) in kvm_deassign_device() 221 iommu_detach_device(domain, &pdev->dev); in kvm_deassign_device() [all …]
|
/linux-3.3/drivers/xen/xen-pciback/ |
D | pciback.h | 60 /* Get/Put PCI Devices that are hidden from the PCI Backend Domain */ 62 int domain, int bus, 84 unsigned int domain, unsigned int bus, 87 unsigned int domain, unsigned int bus); 98 unsigned int *domain, unsigned int *bus, 105 unsigned int domain, unsigned int bus, 131 xen_pcibk_get_pci_dev(struct xen_pcibk_device *pdev, unsigned int domain, in xen_pcibk_get_pci_dev() argument 135 return xen_pcibk_backend->get(pdev, domain, bus, devfn); in xen_pcibk_get_pci_dev() 140 * Add for domain0 PCIE-AER handling. Get guest domain/bus/devfn in xen_pcibk 147 unsigned int *domain, in xen_pcibk_get_pcifront_dev() argument [all …]
|
/linux-3.3/fs/ocfs2/dlm/ |
D | dlmdomain.c | 6 * defines domain join / leave apis 130 * be used to determine what a running domain is actually using. 136 * - Message DLM_BEGIN_EXIT_DOMAIN_MSG added to mark start of exit domain 263 static struct dlm_ctxt * __dlm_lookup_domain_full(const char *domain, int len) in __dlm_lookup_domain_full() argument 271 * but domain may not be! */ in __dlm_lookup_domain_full() 275 memcmp(tmp->name, domain, len)==0) in __dlm_lookup_domain_full() 283 /* For null terminated domain strings ONLY */ 284 static struct dlm_ctxt * __dlm_lookup_domain(const char *domain) in __dlm_lookup_domain() argument 288 return __dlm_lookup_domain_full(domain, strlen(domain)); in __dlm_lookup_domain() 293 * 1) the domain does not exist [all …]
|
/linux-3.3/include/xen/interface/ |
D | sched.h | 45 * Halt execution of this domain (all VCPUs) and notify the system controller. 68 * Declare a shutdown for another domain. The main use of this function is 70 * domains. A para-virtualized domain may use SCHEDOP_shutdown directly. 75 domid_t domain_id; /* Remote domain ID */ 80 * Latch a shutdown code, so that when the domain later shuts down it 87 * Setup, poke and destroy a domain watchdog timer. 89 * With id == 0, setup a domain watchdog timer to cause domain shutdown 91 * With id != 0 and timeout == 0, destroy domain watchdog timer. 105 #define SHUTDOWN_poweroff 0 /* Domain exited normally. Clean up and kill. */
|