/kernel/linux/linux-5.10/fs/nfs/blocklayout/ |
H A D | dev.c | 46 container_of(d, struct pnfs_block_dev, node); in bl_free_deviceid_node() 49 kfree_rcu(dev, node.rcu); in bl_free_deviceid_node() 499 struct nfs4_deviceid_node *node = NULL; in bl_alloc_deviceid_node() local 537 node = &top->node; in bl_alloc_deviceid_node() 538 nfs4_init_deviceid_node(node, server, &pdev->dev_id); in bl_alloc_deviceid_node() 540 nfs4_mark_deviceid_unavailable(node); in bl_alloc_deviceid_node() 547 return node; in bl_alloc_deviceid_node()
|
/kernel/linux/linux-5.10/mm/ |
H A D | mmu_notifier.c | 98 struct interval_tree_node *node; in mn_itree_inv_start_range() local 103 node = interval_tree_iter_first(&subscriptions->itree, range->start, in mn_itree_inv_start_range() 105 if (node) { in mn_itree_inv_start_range() 107 res = container_of(node, struct mmu_interval_notifier, in mn_itree_inv_start_range() 120 struct interval_tree_node *node; in mn_itree_inv_next() local 122 node = interval_tree_iter_next(&interval_sub->interval_tree, in mn_itree_inv_next() 124 if (!node) in mn_itree_inv_next() 126 return container_of(node, struct mmu_interval_notifier, interval_tree); in mn_itree_inv_next()
|
/kernel/linux/linux-5.10/kernel/events/ |
H A D | ring_buffer.c | 610 static struct page *rb_alloc_aux_page(int node, int order) in rb_alloc_aux_page() argument 618 page = alloc_pages_node(node, PERF_AUX_GFP, order); in rb_alloc_aux_page() 676 int node = (event->cpu == -1) ? -1 : cpu_to_node(event->cpu); in rb_alloc_aux() local 706 node); in rb_alloc_aux() 716 page = rb_alloc_aux_page(node, order); in rb_alloc_aux() 796 int node; in perf_mmap_alloc_page() local 798 node = (cpu == -1) ? cpu : cpu_to_node(cpu); in perf_mmap_alloc_page() 799 page = alloc_pages_node(node, GFP_KERNEL | __GFP_ZERO, 0); in perf_mmap_alloc_page()
|
/kernel/linux/linux-5.10/net/caif/ |
H A D | cfcnfg.c | 30 struct list_head node; member 138 list_for_each_entry_rcu(phy, &cnfg->phys, node) in cfcnfg_get_phyinfo_rcu() 154 list_for_each_entry_rcu(phy, &cnfg->phys, node) { in cfcnfg_get_phyid() 162 list_for_each_entry_rcu(phy, &cnfg->phys, node) in cfcnfg_get_phyid() 173 list_for_each_entry_rcu(phy, &cnfg->phys, node) in cfcnfg_get_id_from_ifi() 516 list_add_rcu(&phyinfo->node, &cnfg->phys); in cfcnfg_add_phy_layer() 582 list_del_rcu(&phyinfo->node); in cfcnfg_del_phy_layer() 588 list_add_rcu(&phyinfo->node, &cnfg->phys); in cfcnfg_del_phy_layer()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_client_blt.c | 203 *cs++ = lower_32_bits(dst->vma->node.start); in prepare_blit() 205 *cs++ = upper_32_bits(dst->vma->node.start); in prepare_blit() 208 *cs++ = lower_32_bits(src->vma->node.start); in prepare_blit() 210 *cs++ = upper_32_bits(src->vma->node.start); in prepare_blit() 426 if (drm_mm_node_allocated(&vma->node) && vma->node.start != addr) { in pin_buffer() 482 t->batch->node.start, in tiled_blit() 483 t->batch->node.size, in tiled_blit()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | i2c.h | 302 * @dev: Driver model device node for the slave. 392 * @of_node: pointer to OpenFirmware device node 393 * @fwnode: device node supplied by the platform firmware 943 struct i2c_client *of_find_i2c_device_by_node(struct device_node *node); 946 struct i2c_adapter *of_find_i2c_adapter_by_node(struct device_node *node); 949 struct i2c_adapter *of_get_i2c_adapter_by_node(struct device_node *node); 955 int of_i2c_get_board_info(struct device *dev, struct device_node *node, 960 static inline struct i2c_client *of_find_i2c_device_by_node(struct device_node *node) in of_find_i2c_device_by_node() argument 965 static inline struct i2c_adapter *of_find_i2c_adapter_by_node(struct device_node *node) in of_find_i2c_adapter_by_node() argument 970 static inline struct i2c_adapter *of_get_i2c_adapter_by_node(struct device_node *node) in of_get_i2c_adapter_by_node() argument 982 of_i2c_get_board_info(struct device *dev, struct device_node *node, struct i2c_board_info *info) of_i2c_get_board_info() argument [all...] |
/kernel/linux/linux-6.6/drivers/memory/tegra/ |
H A D | tegra20.c | 374 static int tegra20_mc_icc_aggreate(struct icc_node *node, u32 tag, u32 avg_bw, in tegra20_mc_icc_aggreate() argument 398 struct icc_node *node; in tegra20_mc_of_icc_xlate_extended() local 400 list_for_each_entry(node, &mc->provider.nodes, node_list) { in tegra20_mc_of_icc_xlate_extended() 401 if (node->id != idx) in tegra20_mc_of_icc_xlate_extended() 408 ndata->node = node; in tegra20_mc_of_icc_xlate_extended() 411 if (strstarts(node->name, "display") || in tegra20_mc_of_icc_xlate_extended() 412 strstarts(node->name, "vi")) in tegra20_mc_of_icc_xlate_extended()
|
/kernel/linux/linux-6.6/fs/nfs/blocklayout/ |
H A D | dev.c | 46 container_of(d, struct pnfs_block_dev, node); in bl_free_deviceid_node() 49 kfree_rcu(dev, node.rcu); in bl_free_deviceid_node() 481 struct nfs4_deviceid_node *node = NULL; in bl_alloc_deviceid_node() local 519 node = &top->node; in bl_alloc_deviceid_node() 520 nfs4_init_deviceid_node(node, server, &pdev->dev_id); in bl_alloc_deviceid_node() 522 nfs4_mark_deviceid_unavailable(node); in bl_alloc_deviceid_node() 529 return node; in bl_alloc_deviceid_node()
|
/kernel/linux/linux-6.6/drivers/siox/ |
H A D | siox-core.c | 153 list_for_each_entry(sdevice, &smaster->devices, node) { in siox_poll() 194 list_for_each_entry(sdevice, &smaster->devices, node) { in siox_poll() 362 list_for_each_entry(sdevice, &smaster->devices, node) { in __siox_stop() 754 struct siox_device, node); in siox_master_unregister() 755 list_del(&sdevice->node); in siox_master_unregister() 822 list_add_tail(&sdevice->node, &smaster->devices); in siox_device_add() 864 sdevice = container_of(smaster->devices.prev, struct siox_device, node); in siox_device_remove() 865 list_del(&sdevice->node); in siox_device_remove()
|
/kernel/linux/linux-6.6/drivers/perf/ |
H A D | qcom_l3_pmu.c | 156 struct hlist_node node; member 703 static int qcom_l3_cache_pmu_online_cpu(unsigned int cpu, struct hlist_node *node) in qcom_l3_cache_pmu_online_cpu() argument 705 struct l3cache_pmu *l3pmu = hlist_entry_safe(node, struct l3cache_pmu, node); in qcom_l3_cache_pmu_online_cpu() 714 static int qcom_l3_cache_pmu_offline_cpu(unsigned int cpu, struct hlist_node *node) in qcom_l3_cache_pmu_offline_cpu() argument 716 struct l3cache_pmu *l3pmu = hlist_entry_safe(node, struct l3cache_pmu, node); in qcom_l3_cache_pmu_offline_cpu() 785 ret = cpuhp_state_add_instance(CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE, &l3pmu->node); in qcom_l3_cache_pmu_probe()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_ddp_comp.c | 510 int mtk_ddp_comp_get_id(struct device_node *node, in mtk_ddp_comp_get_id() argument 513 int id = of_alias_get_id(node, mtk_ddp_comp_stem[comp_type]); in mtk_ddp_comp_get_id() 546 int mtk_ddp_comp_init(struct device_node *node, struct mtk_ddp_comp *comp, in mtk_ddp_comp_init() argument 563 /* Not all drm components have a DTS device node, such as ovl_adaptor, in mtk_ddp_comp_init() 566 if (!node) in mtk_ddp_comp_init() 569 comp_pdev = of_find_device_by_node(node); in mtk_ddp_comp_init() 571 DRM_INFO("Waiting for device %s\n", node->full_name); in mtk_ddp_comp_init() 595 priv->regs = of_iomap(node, 0); in mtk_ddp_comp_init() 596 priv->clk = of_clk_get(node, 0); in mtk_ddp_comp_init()
|
/kernel/linux/linux-6.6/tools/lib/perf/ |
H A D | evlist.c | 95 list_add_tail(&evsel->node, &evlist->entries); in perf_evlist__add() 105 list_del_init(&evsel->node); in perf_evlist__remove() 127 node); in perf_evlist__next() 129 next = list_next_entry(prev, node); in perf_evlist__next() 133 if (&next->node == &evlist->entries) in perf_evlist__next() 144 list_del_init(&pos->node); in perf_evlist__purge() 259 hlist_add_head(&sid->node, &evlist->heads[hash]); in perf_evlist__id_hash() 719 struct perf_evsel, node); in perf_evlist__set_leader()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | config.c | 599 list_for_each_entry(section, sections, node) in find_section() 611 list_for_each_entry(item, §ion->items, node) in find_config_item() 634 list_add_tail(§ion->node, sections); in add_section() 653 list_add_tail(&item->node, §ion->items); in add_config_item() 849 list_for_each_entry_safe(item, tmp, §ion->items, node) { in perf_config_section__purge() 850 list_del_init(&item->node); in perf_config_section__purge() 866 list_for_each_entry_safe(section, tmp, &set->sections, node) { in perf_config_set__purge() 867 list_del_init(§ion->node); in perf_config_set__purge()
|
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | sidtab.c | 516 struct sidtab_node_inner *node = entry.ptr_inner; in sidtab_destroy_tree() local 518 if (!node) in sidtab_destroy_tree() 522 sidtab_destroy_tree(node->entries[i], level - 1); in sidtab_destroy_tree() 523 kfree(node); in sidtab_destroy_tree() 525 struct sidtab_node_leaf *node = entry.ptr_leaf; in sidtab_destroy_tree() local 527 if (!node) in sidtab_destroy_tree() 531 sidtab_destroy_entry(&node->entries[i]); in sidtab_destroy_tree() 532 kfree(node); in sidtab_destroy_tree()
|
/kernel/liteos_a/kernel/extended/power/ |
H A D | los_pm.c | 280 UINT32 LOS_PmRegister(LOS_PmNodeType type, VOID *node) in LOS_PmRegister() argument 284 if (node == NULL) { in LOS_PmRegister() 290 return OsPmDeviceRegister(pm, (LosPmDevice *)node); in LOS_PmRegister() 295 return OsPmSysctrlRegister(pm, (LosPmSysctrl *)node); in LOS_PmRegister() 328 UINT32 LOS_PmUnregister(LOS_PmNodeType type, VOID *node) in LOS_PmUnregister() argument 332 if (node == NULL) { in LOS_PmUnregister() 338 return OsPmDeviceUnregister(pm, (LosPmDevice *)node); in LOS_PmUnregister() 343 return OsPmSysctrlUnregister(pm, (LosPmSysctrl *)node); in LOS_PmUnregister()
|
/kernel/linux/linux-6.6/drivers/scsi/device_handler/ |
H A D | scsi_dh_rdac.c | 155 struct list_head node; /* list of all controllers */ member 185 struct list_head node; member 322 list_del(&ctlr->node); in release_controller() 331 list_for_each_entry(tmp, &ctlr_list, node) { in get_controller() 356 list_add(&ctlr->node, &ctlr_list); in get_controller() 425 list_for_each_entry_rcu(tmp, &h->ctlr->dh_list, node) { in check_ownership() 457 list_add_rcu(&h->node, &h->ctlr->dh_list); in initialize_controller() 782 list_del_rcu(&h->node); in rdac_bus_detach()
|
/kernel/linux/linux-6.6/mm/ |
H A D | mmu_notifier.c | 98 struct interval_tree_node *node; in mn_itree_inv_start_range() local 103 node = interval_tree_iter_first(&subscriptions->itree, range->start, in mn_itree_inv_start_range() 105 if (node) { in mn_itree_inv_start_range() 107 res = container_of(node, struct mmu_interval_notifier, in mn_itree_inv_start_range() 120 struct interval_tree_node *node; in mn_itree_inv_next() local 122 node = interval_tree_iter_next(&interval_sub->interval_tree, in mn_itree_inv_next() 124 if (!node) in mn_itree_inv_next() 126 return container_of(node, struct mmu_interval_notifier, interval_tree); in mn_itree_inv_next()
|
/kernel/linux/linux-6.6/net/caif/ |
H A D | cfcnfg.c | 30 struct list_head node; member 138 list_for_each_entry_rcu(phy, &cnfg->phys, node) in cfcnfg_get_phyinfo_rcu() 154 list_for_each_entry_rcu(phy, &cnfg->phys, node) { in cfcnfg_get_phyid() 162 list_for_each_entry_rcu(phy, &cnfg->phys, node) in cfcnfg_get_phyid() 173 list_for_each_entry_rcu(phy, &cnfg->phys, node) in cfcnfg_get_id_from_ifi() 516 list_add_rcu(&phyinfo->node, &cnfg->phys); in cfcnfg_add_phy_layer() 582 list_del_rcu(&phyinfo->node); in cfcnfg_del_phy_layer() 588 list_add_rcu(&phyinfo->node, &cnfg->phys); in cfcnfg_del_phy_layer()
|
/kernel/linux/linux-6.6/drivers/phy/cadence/ |
H A D | phy-cadence-sierra.c | 905 struct device_node *node = dev->of_node; in cdns_sierra_clk_unregister() local 907 of_clk_del_provider(node); in cdns_sierra_clk_unregister() 913 struct device_node *node = dev->of_node; in cdns_sierra_clk_register() local 929 ret = of_clk_add_hw_provider(node, of_clk_hw_onecell_get, in cdns_sierra_clk_register() 932 dev_err(dev, "Failed to add clock provider: %s\n", node->name); in cdns_sierra_clk_register() 1253 int i, j, node, mlane, num_lanes, ret; in cdns_sierra_phy_configure_multilink() local 1291 for (node = 0; node < sp->nsubnodes; node++) { in cdns_sierra_phy_configure_multilink() 1292 if (node in cdns_sierra_phy_configure_multilink() 1367 int ret, node = 0; cdns_sierra_phy_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | fsldma.c | 427 list_for_each_entry(child, &desc->tx_list, node) { in fsl_dma_tx_submit() 447 list_del(&desc->node); in fsl_dma_free_descriptor() 492 list_for_each_entry_safe(desc, _desc, &chan->ld_completed, node) in fsldma_clean_completed_descriptor() 541 list_del(&desc->node); in fsldma_clean_running_descriptor() 552 list_add_tail(&desc->node, &chan->ld_completed); in fsldma_clean_running_descriptor() 599 desc = list_first_entry(&chan->ld_pending, struct fsl_desc_sw, node); in fsl_chan_xfer_ld_queue() 645 list_for_each_entry_safe(desc, _desc, &chan->ld_running, node) { in fsldma_cleanup_descriptors() 725 list_for_each_entry_safe(desc, _desc, list, node) in fsldma_free_desc_list() 734 list_for_each_entry_safe_reverse(desc, _desc, list, node) in fsldma_free_desc_list_reverse() 804 list_add_tail(&new->node, in fsl_dma_prep_memcpy() 1105 fsl_dma_chan_probe(struct fsldma_device *fdev, struct device_node *node, u32 feature, const char *compatible) fsl_dma_chan_probe() argument [all...] |
H A D | mmp_pdma.c | 83 struct list_head node; member 135 container_of(lh, struct mmp_pdma_desc_sw, node) 327 struct mmp_pdma_desc_sw, node); in start_pending_queue() 351 list_for_each_entry(child, &desc->tx_list, node) { in mmp_pdma_tx_submit() 420 list_for_each_entry_safe(desc, _desc, list, node) { in mmp_pdma_free_desc_list() 421 list_del(&desc->node); in mmp_pdma_free_desc_list() 505 list_add_tail(&new->node, &first->tx_list); in mmp_pdma_prep_memcpy() 579 list_add_tail(&new->node, &first->tx_list); in mmp_pdma_prep_slave_sg() 674 list_add_tail(&new->node, &first->tx_list); in mmp_pdma_prep_dma_cyclic() 783 list_for_each_entry(sw, &chan->chain_running, node) { in mmp_pdma_residue() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | pci-common.c | 350 struct pci_controller* pci_find_hose_for_OF_device(struct device_node* node) in pci_find_hose_for_OF_device() argument 352 while(node) { in pci_find_hose_for_OF_device() 355 if (hose->dn == node) in pci_find_hose_for_OF_device() 357 node = node->parent; in pci_find_hose_for_OF_device() 658 * @dev: device node of the host bridge 662 * node and setup the resource mapping of a pci controller based on its 981 /* Fixup NUMA node as it may not be setup yet by the generic in pcibios_bus_add_device() 1205 list_for_each_entry(b, &bus->children, node) in pcibios_allocate_bus_resources() 1338 list_for_each_entry(b, &pci_root_buses, node) in pcibios_resource_survey() 1569 struct device_node *node = hose->dn; pcibios_scan_phb() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | pci-common.c | 352 struct pci_controller* pci_find_hose_for_OF_device(struct device_node* node) in pci_find_hose_for_OF_device() argument 354 while(node) { in pci_find_hose_for_OF_device() 357 if (hose->dn == node) in pci_find_hose_for_OF_device() 359 node = node->parent; in pci_find_hose_for_OF_device() 734 * @dev: device node of the host bridge 738 * node and setup the resource mapping of a pci controller based on its 1058 /* Fixup NUMA node as it may not be setup yet by the generic in pcibios_bus_add_device() 1287 list_for_each_entry(b, &bus->children, node) in pcibios_allocate_bus_resources() 1420 list_for_each_entry(b, &pci_root_buses, node) in pcibios_resource_survey() 1650 struct device_node *node = hose->dn; pcibios_scan_phb() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | rx_common.c | 737 struct hlist_node *node; in efx_rps_hash_find() local 742 hlist_for_each(node, head) { in efx_rps_hash_find() 743 rule = container_of(node, struct efx_arfs_rule, node); in efx_rps_hash_find() 756 struct hlist_node *node; in efx_rps_hash_add() local 761 hlist_for_each(node, head) { in efx_rps_hash_add() 762 rule = container_of(node, struct efx_arfs_rule, node); in efx_rps_hash_add() 772 hlist_add_head(&rule->node, head); in efx_rps_hash_add() 781 struct hlist_node *node; in efx_rps_hash_del() local [all...] |
/kernel/linux/linux-5.10/drivers/iio/adc/ |
H A D | at91_adc.c | 836 static int at91_adc_probe_dt_ts(struct device_node *node, in at91_adc_probe_dt_ts() argument 842 ret = of_property_read_u32(node, "atmel,adc-ts-wires", &prop); in at91_adc_probe_dt_ts() 861 of_property_read_u32(node, "atmel,adc-ts-pressure-threshold", &prop); in at91_adc_probe_dt_ts() 875 struct device_node *node = pdev->dev.of_node; in at91_adc_probe_dt() local 880 if (!node) in at91_adc_probe_dt() 886 st->use_external = of_property_read_bool(node, "atmel,adc-use-external-triggers"); in at91_adc_probe_dt() 888 if (of_property_read_u32(node, "atmel,adc-channels-used", &prop)) { in at91_adc_probe_dt() 895 st->sleep_mode = of_property_read_bool(node, "atmel,adc-sleep-mode"); in at91_adc_probe_dt() 897 if (of_property_read_u32(node, "atmel,adc-startup-time", &prop)) { in at91_adc_probe_dt() 905 of_property_read_u32(node, "atme in at91_adc_probe_dt() [all...] |