/linux-master/net/netlabel/ |
H A D | netlabel_kapi.c | 43 * netlbl_cfg_map_del - Remove a NetLabel/LSM domain mapping 44 * @domain: the domain mapping to remove 51 * Removes a NetLabel/LSM domain mapping. A @domain value of NULL causes the 52 * default domain mapping to be removed. Returns zero on success, negative 56 int netlbl_cfg_map_del(const char *domain, argument 63 return netlbl_domhsh_remove(domain, family, audit_info); 67 return netlbl_domhsh_remove_af4(domain, addr, mask, 71 return netlbl_domhsh_remove_af6(domain, add 95 netlbl_cfg_unlbl_map_add(const char *domain, u16 family, const void *addr, const void *mask, struct netlbl_audit *audit_info) argument 323 netlbl_cfg_cipsov4_map_add(u32 doi, const char *domain, const struct in_addr *addr, const struct in_addr *mask, struct netlbl_audit *audit_info) argument 448 netlbl_cfg_calipso_map_add(u32 doi, const char *domain, const struct in6_addr *addr, const struct in6_addr *mask, struct netlbl_audit *audit_info) argument [all...] |
/linux-master/drivers/s390/crypto/ |
H A D | zcrypt_ccamisc.c | 35 u16 domain; member in struct:cca_info_list_entry 292 int cca_genseckey(u16 cardnr, u16 domain, argument 340 preqcblk->domain = domain; 384 ZCRYPT_DBF_ERR("%s zcrypt_send_cprb (cardnr=%d domain=%d) failed, errno %d\n", 385 __func__, (int)cardnr, (int)domain, rc); 435 int cca_clr2seckey(u16 cardnr, u16 domain, u32 keybitsize, argument 481 preqcblk->domain = domain; 522 ZCRYPT_DBF_ERR("%s zcrypt_send_cprb (cardnr=%d domain 574 cca_sec2protkey(u16 cardnr, u16 domain, const u8 *seckey, u8 *protkey, u32 *protkeylen, u32 *protkeytype) argument 739 cca_gencipherkey(u16 cardnr, u16 domain, u32 keybitsize, u32 keygenflags, u8 *keybuf, size_t *keybufsize) argument 934 _ip_cprb_helper(u16 cardnr, u16 domain, const char *rule_array_1, const char *rule_array_2, const char *rule_array_3, const u8 *clr_key_value, int clr_key_bit_size, u8 *key_token, int *key_token_size) argument 1169 cca_cipher2protkey(u16 cardnr, u16 domain, const u8 *ckey, u8 *protkey, u32 *protkeylen, u32 *protkeytype) argument 1334 cca_ecc2protkey(u16 cardnr, u16 domain, const u8 *key, u8 *protkey, u32 *protkeylen, u32 *protkeytype) argument 1481 cca_query_crypto_facility(u16 cardnr, u16 domain, const char *keyword, u8 *rarray, size_t *rarraylen, u8 *varray, size_t *varraylen) argument 1581 cca_info_cache_fetch(u16 cardnr, u16 domain, struct cca_info *ci) argument 1599 cca_info_cache_update(u16 cardnr, u16 domain, const struct cca_info *ci) argument 1628 cca_info_cache_scrub(u16 cardnr, u16 domain) argument 1659 fetch_cca_info(u16 cardnr, u16 domain, struct cca_info *ci) argument 1871 cca_findcard2(u32 **apqns, u32 *nr_apqns, u16 cardnr, u16 domain, int minhwtype, int mktype, u64 cur_mkvp, u64 old_mkvp, int verify) argument [all...] |
H A D | zcrypt_msgtype6.h | 121 unsigned int *domain) 159 *domain = (unsigned short)msg->cprbx.domain; 119 rng_type6cprb_msgx(struct ap_message *ap_msg, unsigned int random_number_length, unsigned int *domain) argument
|
/linux-master/drivers/gpu/drm/loongson/ |
H A D | lsdc_ttm.c | 31 const char *lsdc_domain_to_str(u32 domain) argument 33 switch (domain) { 47 static void lsdc_bo_set_placement(struct lsdc_bo *lbo, u32 domain) argument 58 if (domain & LSDC_GEM_DOMAIN_VRAM) { 63 if (domain & LSDC_GEM_DOMAIN_GTT) { 68 if (domain & LSDC_GEM_DOMAIN_SYSTEM) { 286 int lsdc_bo_pin(struct lsdc_bo *lbo, u32 domain, u64 *gpu_addr) argument 296 if (lbo->sharing_count && domain == LSDC_GEM_DOMAIN_VRAM) 299 if (domain) 300 lsdc_bo_set_placement(lbo, domain); 433 lsdc_bo_create(struct drm_device *ddev, u32 domain, size_t size, bool kernel, struct sg_table *sg, struct dma_resv *resv) argument 489 lsdc_bo_create_kernel_pinned(struct drm_device *ddev, u32 domain, size_t size) argument [all...] |
/linux-master/drivers/irqchip/ |
H A D | qcom-irq-combiner.c | 32 struct irq_domain *domain; member in struct:combiner 72 generic_handle_domain_irq(combiner->domain, hwirq); 101 static int combiner_irq_map(struct irq_domain *domain, unsigned int irq, argument 105 irq_set_chip_data(irq, domain->host_data); 110 static void combiner_irq_unmap(struct irq_domain *domain, unsigned int irq) argument 250 combiner->domain = irq_domain_create_linear(pdev->dev.fwnode, combiner->nirqs, 252 if (!combiner->domain)
|
H A D | irq-ls1x.c | 27 * @domain: IRQ domain. 32 struct irq_domain *domain; member in struct:ls1x_intc_priv 53 generic_handle_domain_irq(priv->domain, bit); 128 /* Set up an IRQ domain */ 129 priv->domain = irq_domain_add_linear(node, 32, &irq_generic_chip_ops, 131 if (!priv->domain) { 132 pr_err("ls1x-irq: cannot add IRQ domain\n"); 137 err = irq_alloc_domain_generic_chips(priv->domain, 32, 2, 142 pr_err("ls1x-irq: unable to register IRQ domain\ [all...] |
H A D | irq-vt8500.c | 63 struct irq_domain *domain; /* Domain for this controller */ member in struct:vt8500_irq_data 72 struct vt8500_irq_data *priv = d->domain->host_data; 93 struct vt8500_irq_data *priv = d->domain->host_data; 104 struct vt8500_irq_data *priv = d->domain->host_data; 186 generic_handle_domain_irq(intc[i].domain, irqnr); 203 intc[active_cnt].domain = irq_domain_add_linear(node, 64, 211 if (!intc[active_cnt].domain) { 212 pr_err("%s: Unable to add irq domain!\n", __func__);
|
H A D | irq-ls-extirq.c | 99 ls_extirq_domain_alloc(struct irq_domain *domain, unsigned int virq, argument 102 struct ls_extirq_data *priv = domain->host_data; 113 irq_domain_set_hwirq_and_chip(domain, virq, hwirq, &ls_extirq_chip, 116 return irq_domain_alloc_irqs_parent(domain, virq, 1, &priv->map[hwirq]); 174 struct irq_domain *domain, *parent_domain; local 180 pr_err("Cannot find parent domain\n"); 211 domain = irq_domain_add_hierarchy(parent_domain, 0, priv->nirq, node, 213 if (!domain) {
|
H A D | irq-bcm2836.c | 19 struct irq_domain *domain; member in struct:bcm2836_arm_irqchip_intc 146 generic_handle_domain_irq(intc.domain, hwirq); 250 .fwnode = intc.domain->fwnode, 262 ipi_domain = irq_domain_create_linear(intc.domain->fwnode, 325 intc.domain = irq_domain_add_linear(node, LAST_IRQ + 1, 328 if (!intc.domain) 329 panic("%pOF: unable to create IRQ domain\n", node); 331 irq_domain_update_bus_token(intc.domain, DOMAIN_BUS_WIRED);
|
H A D | irq-riscv-aplic-direct.c | 101 static int aplic_direct_irqdomain_alloc(struct irq_domain *domain, unsigned int virq, argument 104 struct aplic_priv *priv = domain->host_data; 116 irq_domain_set_info(domain, virq + i, hwirq + i, &aplic_direct_chip, 220 struct irq_domain *domain; local 283 /* Find parent domain and register chained handler */ 284 domain = irq_find_matching_fwnode(riscv_get_intc_hwnode(), 286 if (!aplic_direct_parent_irq && domain) { 287 aplic_direct_parent_irq = irq_create_mapping(domain, RV_IRQ_EXT); 310 /* Create irq domain instance for the APLIC */ 314 dev_err(dev, "failed to create direct irq domain\ [all...] |
H A D | irq-owl-sirq.c | 228 static int owl_sirq_domain_alloc(struct irq_domain *domain, unsigned int virq, argument 231 struct owl_sirq_chip_data *chip_data = domain->host_data; 241 ret = owl_sirq_domain_translate(domain, fwspec, &hwirq, &type); 259 irq_domain_set_hwirq_and_chip(domain, virq, hwirq, &owl_sirq_chip, 262 parent_fwspec.fwnode = domain->parent->fwnode; 268 return irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); 281 struct irq_domain *domain, *parent_domain; local 287 pr_err("%pOF: failed to find sirq parent domain\n", node); 326 domain = irq_domain_add_hierarchy(parent_domain, 0, NUM_SIRQ, node, 328 if (!domain) { [all...] |
H A D | irq-imx-intmux.c | 68 struct irq_domain *domain; member in struct:intmux_irqchip_data 169 /* Handle pure domain searches */ 197 generic_handle_domain_irq(irqchip_data->domain, pos); 205 struct irq_domain *domain; local 257 domain = irq_domain_add_linear(np, 32, &imx_intmux_domain_ops, 259 if (!domain) { 261 dev_err(&pdev->dev, "failed to create IRQ domain\n"); 264 data->irqchip_data[i].domain = domain; 265 irq_domain_set_pm_device(domain, [all...] |
H A D | irq-nvic.c | 48 static int nvic_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, argument 56 ret = irq_domain_translate_onecell(domain, fwspec, &hwirq, &type); 61 irq_map_generic_chip(domain, virq + i, hwirq + i); 96 pr_warn("Failed to allocate irq domain\n");
|
H A D | irq-wpcm450-aic.c | 38 struct irq_domain *domain; member in struct:wpcm450_aic 72 generic_handle_domain_irq(aic->domain, hwirq); 157 aic->domain = irq_domain_add_linear(node, AIC_NUM_IRQS, &wpcm450_aic_ops, aic);
|
/linux-master/arch/arm/mach-imx/ |
H A D | gpc.c | 181 /* No PPI should point to this domain */ 193 static int imx_gpc_domain_alloc(struct irq_domain *domain, argument 205 return -EINVAL; /* No PPI should point to this domain */ 212 irq_domain_set_hwirq_and_chip(domain, irq + i, hwirq + i, 216 parent_fwspec.fwnode = domain->parent->fwnode; 217 return irq_domain_alloc_irqs_parent(domain, irq, nr_irqs, 230 struct irq_domain *parent_domain, *domain; local 240 pr_err("%pOF: unable to obtain parent domain\n", node); 248 domain = irq_domain_add_hierarchy(parent_domain, 0, GPC_MAX_IRQS, 251 if (!domain) { [all...] |
/linux-master/arch/s390/include/uapi/asm/ |
H A D | pkey.h | 77 /* Struct to hold apqn target info (card/domain pair) */ 80 __u16 domain; member in struct:pkey_apqn 119 __u16 domain; /* in: domain or FFFF for any */ member in struct:pkey_genseck 130 __u16 domain; /* in: domain or FFFF for any */ member in struct:pkey_clr2seck 142 __u16 domain; /* in: domain or FFFF for any */ member in struct:pkey_sec2protk 165 __u16 domain; /* out: domain numbe member in struct:pkey_findcard 189 __u16 domain; /* out: domain number */ member in struct:pkey_verifykey 322 __u16 domain; /* in/out: domain number */ member in struct:pkey_verifykey2 [all...] |
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.h | 81 u32 domain, u32 tile_mode, u32 tile_flags, bool internal); 82 int nouveau_bo_init(struct nouveau_bo *, u64 size, int align, u32 domain, 84 int nouveau_bo_new(struct nouveau_cli *, u64 size, int align, u32 domain, 88 int nouveau_bo_pin_locked(struct nouveau_bo *nvbo, uint32_t domain, bool contig); 129 nouveau_bo_new_pin_map(struct nouveau_cli *cli, u64 size, int align, u32 domain, argument 132 int ret = nouveau_bo_new(cli, size, align, domain, 135 ret = nouveau_bo_pin(*pnvbo, domain, true);
|
/linux-master/security/landlock/ |
H A D | fs.c | 353 * The lifetime of the returned rule is tied to @domain. 358 find_rule(const struct landlock_ruleset *const domain, argument 374 rule = landlock_find_rule(domain, id); 392 get_raw_handled_fs_accesses(const struct landlock_ruleset *const domain) argument 397 for (layer_level = 0; layer_level < domain->num_layers; layer_level++) 399 landlock_get_raw_fs_access_mask(domain, layer_level); 404 get_handled_fs_accesses(const struct landlock_ruleset *const domain) argument 407 return get_raw_handled_fs_accesses(domain) | 412 get_fs_domain(const struct landlock_ruleset *const domain) argument 414 if (!domain || !get_raw_handled_fs_accesse 769 is_access_to_paths_allowed( const struct landlock_ruleset *const domain, const struct path *const path, const access_mask_t access_request_parent1, layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS], const struct dentry *const dentry_child1, const access_mask_t access_request_parent2, layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS], const struct dentry *const dentry_child2) argument 927 check_access_path(const struct landlock_ruleset *const domain, const struct path *const path, access_mask_t access_request) argument 1006 collect_domain_accesses( const struct landlock_ruleset *const domain, const struct dentry *const mnt_root, struct dentry *dir, layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS]) argument [all...] |
/linux-master/security/tomoyo/ |
H A D | gc.c | 50 if (head->r.domain == element || head->r.group == element || 51 head->r.acl == element || &head->w.domain->list == element) 253 struct tomoyo_domain_info *domain = local 254 container_of(element, typeof(*domain), list); 259 * Since this domain is referenced from neither 263 list_for_each_entry_safe(acl, tmp, &domain->acl_info_list, list) { 267 tomoyo_put_name(domain->domainname); 402 * Don't kfree() until "struct tomoyo_io_buffer"->r.{domain,group,acl} 403 * and "struct tomoyo_io_buffer"->w.domain forget this element. 532 struct tomoyo_domain_info *domain; local [all...] |
/linux-master/drivers/thermal/ti-soc-thermal/ |
H A D | omap4-thermal-data.c | 74 .domain = "cpu", 205 .domain = "cpu", 236 .domain = "cpu",
|
/linux-master/tools/testing/selftests/net/ |
H A D | bind_bhash.c | 34 int domain = use_v6 ? AF_INET6 : AF_INET; local 36 sock_fd = socket(domain, SOCK_STREAM, 0); 42 hint.ai_family = domain;
|
/linux-master/sound/firewire/tascam/ |
H A D | tascam-stream.c | 358 err = amdtp_domain_init(&tscm->domain); 370 amdtp_domain_stop(&tscm->domain); 380 amdtp_domain_destroy(&tscm->domain); 398 amdtp_domain_stop(&tscm->domain); 419 err = amdtp_domain_set_events_per_period(&tscm->domain, 443 amdtp_domain_stop(&tscm->domain); 469 err = amdtp_domain_add_stream(&tscm->domain, &tscm->rx_stream, 474 err = amdtp_domain_add_stream(&tscm->domain, &tscm->tx_stream, 491 err = amdtp_domain_start(&tscm->domain, tx_init_skip_cycles, true, true); 495 if (!amdtp_domain_wait_ready(&tscm->domain, READY_TIMEOUT_M [all...] |
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.c | 397 vmw_bo_placement_set(vmw_bo, params->domain, params->busy_domain); 747 static u32 placement_flags(u32 domain, u32 desired, u32 fallback) argument 749 if (desired & fallback & domain) 752 if (desired & domain) 761 u32 domain = desired | fallback; local 767 if (domain & VMW_BO_DOMAIN_MOB) { 775 if (domain & VMW_BO_DOMAIN_GMR) { 783 if (domain & VMW_BO_DOMAIN_VRAM) { 791 if (domain & VMW_BO_DOMAIN_WAITABLE_SYS) { 799 if (domain 819 vmw_bo_placement_set(struct vmw_bo *bo, u32 domain, u32 busy_domain) argument 849 u32 domain = VMW_BO_DOMAIN_GMR | VMW_BO_DOMAIN_VRAM; local [all...] |
/linux-master/drivers/iommu/ |
H A D | tegra-smmu.c | 55 struct iommu_domain domain; member in struct:tegra_smmu_as 69 return container_of(dom, struct tegra_smmu_as, domain); 311 as->domain.geometry.aperture_start = 0; 312 as->domain.geometry.aperture_end = 0xffffffff; 313 as->domain.geometry.force_aperture = true; 315 return &as->domain; 318 static void tegra_smmu_domain_free(struct iommu_domain *domain) argument 320 struct tegra_smmu_as *as = to_smmu_as(domain); 479 static int tegra_smmu_attach_dev(struct iommu_domain *domain, argument 484 struct tegra_smmu_as *as = to_smmu_as(domain); 516 struct iommu_domain *domain = iommu_get_domain_for_dev(dev); local 714 __tegra_smmu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp, unsigned long *flags) argument 751 __tegra_smmu_unmap(struct iommu_domain *domain, unsigned long iova, size_t size, struct iommu_iotlb_gather *gather) argument 768 tegra_smmu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, size_t count, int prot, gfp_t gfp, size_t *mapped) argument 786 tegra_smmu_unmap(struct iommu_domain *domain, unsigned long iova, size_t size, size_t count, struct iommu_iotlb_gather *gather) argument 799 tegra_smmu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova) argument [all...] |
/linux-master/arch/powerpc/perf/ |
H A D | hv-24x7-catalog.h | 37 __u8 domain; /* Chip = 1, Core = 2 */ member in struct:hv_24x7_event_data
|