Home
last modified time | relevance | path

Searched refs:rentry (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/acpi/
H A Dacpi_watchdog.c107 struct resource_entry *rentry; in acpi_watchdog_init() local
131 struct resource_entry *rentry; in acpi_watchdog_init() local
150 resource_list_for_each_entry(rentry, &resource_list) { in acpi_watchdog_init()
151 if (rentry->res->flags == res.flags && in acpi_watchdog_init()
152 resource_union(rentry->res, &res, rentry->res)) { in acpi_watchdog_init()
159 rentry = resource_list_create_entry(NULL, 0); in acpi_watchdog_init()
160 if (!rentry) in acpi_watchdog_init()
163 *rentry->res = res; in acpi_watchdog_init()
164 resource_list_add_tail(rentry, &resource_list); in acpi_watchdog_init()
174 resource_list_for_each_entry(rentry, &resource_list) in acpi_watchdog_init()
[all …]
H A Dacpi_apd.c70 struct resource_entry *rentry; in fch_misc_setup() local
95 list_for_each_entry(rentry, &resource_list, node) { in fch_misc_setup()
96 clk_data->base = devm_ioremap(&adev->dev, rentry->res->start, in fch_misc_setup()
97 resource_size(rentry->res)); in fch_misc_setup()
H A Dacpi_platform.c146 struct resource_entry *rentry; in acpi_create_platform_device() local
154 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device()
155 acpi_platform_fill_resource(adev, rentry->res, in acpi_create_platform_device()
H A Dscan.c1543 struct resource_entry *rentry; in acpi_dma_get_range() local
1579 list_for_each_entry(rentry, &list, node) { in acpi_dma_get_range()
1580 if (rentry->res->start >= rentry->res->end) { in acpi_dma_get_range()
1588 r->cpu_start = rentry->res->start; in acpi_dma_get_range()
1589 r->dma_start = rentry->res->start - rentry->offset; in acpi_dma_get_range()
1590 r->size = resource_size(rentry->res); in acpi_dma_get_range()
2628 struct resource_entry *rentry; in acpi_scan_claim_resources() local
2640 list_for_each_entry(rentry, &resource_list, node) { in acpi_scan_claim_resources()
2641 struct resource *res = rentry->res; in acpi_scan_claim_resources()
/linux/drivers/acpi/arm64/
H A Damba.c41 struct resource_entry *rentry; in amba_handler_attach() local
63 list_for_each_entry(rentry, &resource_list, node) { in amba_handler_attach()
64 switch (resource_type(rentry->res)) { in amba_handler_attach()
67 dev->res = *rentry->res; in amba_handler_attach()
74 dev->irq[irq_no++] = rentry->res->start; in amba_handler_attach()
/linux/fs/xfs/scrub/
H A Dattr.c310 struct xfs_attr_leaf_name_remote *rentry; in xchk_xattr_entry() local
338 rentry = xfs_attr3_leaf_name_remote(leaf, idx); in xchk_xattr_entry()
339 namesize = xfs_attr_leaf_entsize_remote(rentry->namelen); in xchk_xattr_entry()
340 name_end = (char *)rentry + namesize; in xchk_xattr_entry()
341 if (rentry->namelen == 0) in xchk_xattr_entry()
343 if (rentry->valueblk == 0 && in xchk_xattr_entry()
492 struct xfs_attr_leaf_name_remote *rentry; in xchk_xattr_rec() local
549 rentry = (struct xfs_attr_leaf_name_remote *) in xchk_xattr_rec()
551 if (rentry->namelen <= 0) { in xchk_xattr_rec()
559 calc_hash = xfs_attr_hashval(mp, ent->flags, rentry->name, in xchk_xattr_rec()
[all …]
H A Dattr_repair.c322 struct xfs_attr_leaf_name_remote *rentry, in xrep_xattr_salvage_remote_attr() argument
334 .namelen = rentry->namelen, in xrep_xattr_salvage_remote_attr()
335 .name = rentry->name, in xrep_xattr_salvage_remote_attr()
336 .valuelen = be32_to_cpu(rentry->valuelen), in xrep_xattr_salvage_remote_attr()
346 namesize = xfs_attr_leaf_entsize_remote(rentry->namelen); in xrep_xattr_salvage_remote_attr()
347 if ((char *)rentry + namesize > buf_end) in xrep_xattr_salvage_remote_attr()
350 !xrep_xattr_want_salvage(rx, ent->flags, rentry->name, in xrep_xattr_salvage_remote_attr()
351 rentry->namelen, NULL, args.valuelen)) in xrep_xattr_salvage_remote_attr()
377 error = xrep_xattr_salvage_key(rx, ent->flags, rentry->name, in xrep_xattr_salvage_remote_attr()
378 rentry->namelen, ab->value, args.valuelen); in xrep_xattr_salvage_remote_attr()
[all …]
/linux/drivers/dma/
H A Dacpi-dma.c49 struct resource_entry *rentry; in acpi_dma_parse_resource_group() local
61 list_for_each_entry(rentry, &resource_list, node) { in acpi_dma_parse_resource_group()
62 if (resource_type(rentry->res) == IORESOURCE_MEM) in acpi_dma_parse_resource_group()
63 mem = rentry->res->start; in acpi_dma_parse_resource_group()
64 else if (resource_type(rentry->res) == IORESOURCE_IRQ) in acpi_dma_parse_resource_group()
65 irq = rentry->res->start; in acpi_dma_parse_resource_group()
/linux/drivers/soc/tegra/fuse/
H A Dtegra-apbmisc.c267 struct resource_entry *rentry; in tegra_acpi_init_apbmisc() local
291 resource_list_for_each_entry(rentry, &resource_list) { in tegra_acpi_init_apbmisc()
295 resources[rcount++] = rentry->res; in tegra_acpi_init_apbmisc()
/linux/drivers/acpi/x86/
H A Dlpss.c617 struct resource_entry *rentry; in acpi_lpss_create_device() local
635 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in acpi_lpss_create_device()
636 if (rentry) { in acpi_lpss_create_device()
640 pdata->mmio_size = resource_size(rentry->res); in acpi_lpss_create_device()
641 pdata->mmio_base = ioremap(rentry->res->start, pdata->mmio_size); in acpi_lpss_create_device()
/linux/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c663 struct resource_entry *rentry; in pmc_usb_probe_iom() local
686 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in pmc_usb_probe_iom()
687 if (rentry) in pmc_usb_probe_iom()
688 pmc->iom_base = devm_ioremap_resource(pmc->dev, rentry->res); in pmc_usb_probe_iom()
/linux/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c306 struct xfs_attr_leaf_name_remote *rentry; in xfs_attr3_leaf_verify_entry() local
334 rentry = xfs_attr3_leaf_name_remote(leaf, idx); in xfs_attr3_leaf_verify_entry()
335 namesize = xfs_attr_leaf_entsize_remote(rentry->namelen); in xfs_attr3_leaf_verify_entry()
336 name_end = (char *)rentry + namesize; in xfs_attr3_leaf_verify_entry()
337 if (rentry->namelen == 0) in xfs_attr3_leaf_verify_entry()
340 rentry->valueblk == 0) in xfs_attr3_leaf_verify_entry()
/linux/arch/x86/kernel/apic/
H A Dio_apic.c1829 struct IO_APIC_route_entry rentry; in ioapic_irq_get_chip_state() local
1839 rentry = __ioapic_read_entry(p->apic, p->pin); in ioapic_irq_get_chip_state()
1846 if (rentry.irr && rentry.is_level) { in ioapic_irq_get_chip_state()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c2604 u16 entry, rentry; in npc_mcam_set_bit() local
2607 rentry = mcam->bmap_entries - index - 1; in npc_mcam_set_bit()
2610 __set_bit(rentry, mcam->bmap_reverse); in npc_mcam_set_bit()
2620 u16 entry, rentry; in npc_mcam_clear_bit() local
2623 rentry = mcam->bmap_entries - index - 1; in npc_mcam_clear_bit()
2626 __clear_bit(rentry, mcam->bmap_reverse); in npc_mcam_clear_bit()
/linux/kernel/trace/
H A Dtrace_functions_graph.c1246 struct fgraph_retaddr_ent_entry *rentry; in print_graph_entry() local
1247 u8 save_buf[sizeof(*rentry) + FTRACE_REGS_MAX_ARGS * sizeof(long)]; in print_graph_entry()