/kernel/linux/linux-6.6/drivers/crypto/virtio/ |
H A D | virtio_crypto_mgr.c | 170 * virtcrypto_get_dev_node() - Get vcrypto_dev on the node. 171 * @node: Node id the driver works. 177 * Function returns the virtio crypto device used fewest on the node, 184 struct virtio_crypto *virtcrypto_get_dev_node(int node, uint32_t service, in virtcrypto_get_dev_node() argument 194 if ((node == dev_to_node(&tmp_dev->vdev->dev) || in virtcrypto_get_dev_node() 207 pr_info("virtio_crypto: Could not find a device on node %d\n", in virtcrypto_get_dev_node() 208 node); in virtcrypto_get_dev_node()
|
/kernel/linux/linux-6.6/drivers/nfc/nfcmrvl/ |
H A D | spi.c | 106 static int nfcmrvl_spi_parse_dt(struct device_node *node, in nfcmrvl_spi_parse_dt() argument 111 ret = nfcmrvl_parse_dt(node, pdata); in nfcmrvl_spi_parse_dt() 117 ret = irq_of_parse_and_map(node, 0); in nfcmrvl_spi_parse_dt()
|
H A D | uart.c | 59 static int nfcmrvl_uart_parse_dt(struct device_node *node, in nfcmrvl_uart_parse_dt() argument 65 matched_node = of_get_compatible_child(node, "marvell,nfc-uart"); in nfcmrvl_uart_parse_dt() 67 matched_node = of_get_compatible_child(node, "mrvl,nfc-uart"); in nfcmrvl_uart_parse_dt()
|
/kernel/linux/linux-6.6/drivers/perf/hisilicon/ |
H A D | hisi_uncore_pmu.h | 96 struct hlist_node node; member 129 int hisi_uncore_pmu_online_cpu(unsigned int cpu, struct hlist_node *node); 130 int hisi_uncore_pmu_offline_cpu(unsigned int cpu, struct hlist_node *node);
|
/kernel/linux/linux-6.6/drivers/phy/broadcom/ |
H A D | phy-bcm-cygnus-pcie.c | 116 struct device_node *node = dev->of_node, *child; in cygnus_pcie_phy_probe() local 122 if (of_get_child_count(node) == 0) { in cygnus_pcie_phy_probe() 123 dev_err(dev, "PHY no child node\n"); in cygnus_pcie_phy_probe() 139 for_each_available_child_of_node(node, child) { in cygnus_pcie_phy_probe()
|
/kernel/linux/linux-6.6/drivers/opp/ |
H A D | opp.h | 70 * @node: opp table node. The nodes are maintained throughout the lifetime 89 * @np: OPP's device node. 95 struct list_head node; member 124 * @node: list node 132 struct list_head node; member 148 * @node: table node - contains the devices with OPPs that 156 * @np: struct device_node pointer for opp's DT node 195 struct list_head node, lazy; global() member [all...] |
H A D | core.c | 46 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev() 60 list_for_each_entry(opp_table, &opp_tables, node) { in _find_opp_table_unlocked() 331 list_for_each_entry(opp, &opp_table->opp_list, node) { in dev_pm_opp_get_max_volt_latency() 410 list_for_each_entry(opp, &opp_table->opp_list, node) { in _get_opp_count() 512 list_for_each_entry(temp_opp, &opp_table->opp_list, node) { in _opp_table_find_key() 1127 opp = list_first_entry(&opp_table->opp_list, struct dev_pm_opp, node); in _find_current_opp() 1372 list_del(&opp_dev->node); in _remove_opp_dev() 1389 list_add(&opp_dev->node, &opp_table->dev_list); in _add_opp_dev() 1565 list_add(&opp_table->node, &opp_tables); in _add_opp_table_indexed() 1594 list_del(&opp_table->node); in _opp_table_kref_release() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/adreno/ |
H A D | a5xx_debugfs.c | 72 struct drm_info_node *node = m->private; in show() local 73 struct drm_device *dev = node->minor->dev; in show() 77 node->info_ent->data; in show()
|
/kernel/linux/linux-6.6/drivers/gpu/host1x/ |
H A D | context.c | 24 struct device_node *node = host1x->dev->of_node; in host1x_memory_context_list_init() local 33 err = of_property_count_u32_elems(node, "iommu-map"); in host1x_memory_context_list_init() 70 err = of_dma_configure_id(&ctx->dev, node, true, &i); in host1x_memory_context_list_init()
|
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-mvebu-pic.c | 135 struct device_node *node = pdev->dev.of_node; in mvebu_pic_probe() local 147 pic->parent_irq = irq_of_parse_and_map(node, 0); in mvebu_pic_probe() 153 pic->domain = irq_domain_add_linear(node, PIC_MAX_IRQS, in mvebu_pic_probe()
|
H A D | irq-ts4800.c | 107 struct device_node *node = pdev->dev.of_node; in ts4800_ic_probe() local 122 parent_irq = irq_of_parse_and_map(node, 0); in ts4800_ic_probe() 128 data->domain = irq_domain_add_linear(node, 8, &ts4800_ic_ops, data); in ts4800_ic_probe()
|
/kernel/linux/linux-6.6/lib/kunit/ |
H A D | resource.c | 40 list_add_tail(&res->node, &test->resources); in __kunit_add_resource() 54 was_linked = !list_empty(&res->node); in kunit_remove_resource() 55 list_del_init(&res->node); in kunit_remove_resource()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
H A D | kvmgt.c | 256 struct rb_node *node = kvmgt_vdev(vgpu)->dma_addr_cache.rb_node; in __gvt_cache_find_dma_addr() local 259 while (node) { in __gvt_cache_find_dma_addr() 260 itr = rb_entry(node, struct gvt_dma, dma_addr_node); in __gvt_cache_find_dma_addr() 263 node = node->rb_left; in __gvt_cache_find_dma_addr() 265 node = node->rb_right; in __gvt_cache_find_dma_addr() 274 struct rb_node *node = kvmgt_vdev(vgpu)->gfn_cache.rb_node; in __gvt_cache_find_gfn() local 277 while (node) { in __gvt_cache_find_gfn() 278 itr = rb_entry(node, struc in __gvt_cache_find_gfn() 354 struct rb_node *node = NULL; gvt_cache_destroy() local 1754 kvmgt_page_track_write(struct kvm_vcpu *vcpu, gpa_t gpa, const u8 *val, int len, struct kvm_page_track_notifier_node *node) kvmgt_page_track_write() argument 1766 kvmgt_page_track_flush_slot(struct kvm *kvm, struct kvm_memory_slot *slot, struct kvm_page_track_notifier_node *node) kvmgt_page_track_flush_slot() argument [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | migrate.c | 1614 struct list_head *pagelist, int node) in do_move_pages_to_node() 1618 .nid = node, in do_move_pages_to_node() 1635 * target node 1639 int node, struct list_head *pagelist, bool migrate_all) in add_page_for_migration() 1665 if (page_to_nid(page) == node) in add_page_for_migration() 1704 static int move_pages_and_store_status(struct mm_struct *mm, int node, in move_pages_and_store_status() argument 1713 err = do_move_pages_to_node(mm, pagelist, node); in move_pages_and_store_status() 1727 return store_status(status, start, node, i - start); in move_pages_and_store_status() 1750 int node; in do_pages_move() local 1755 if (get_user(node, node in do_pages_move() 1613 do_move_pages_to_node(struct mm_struct *mm, struct list_head *pagelist, int node) do_move_pages_to_node() argument 1638 add_page_for_migration(struct mm_struct *mm, unsigned long addr, int node, struct list_head *pagelist, bool migrate_all) add_page_for_migration() argument 2091 migrate_misplaced_page(struct page *page, struct vm_area_struct *vma, int node) migrate_misplaced_page() argument 2146 migrate_misplaced_transhuge_page(struct mm_struct *mm, struct vm_area_struct *vma, pmd_t *pmd, pmd_t entry, unsigned long address, struct page *page, int node) migrate_misplaced_transhuge_page() argument [all...] |
/kernel/linux/linux-5.10/kernel/time/ |
H A D | hrtimer.c | 515 timer = container_of(next, struct hrtimer, node); in __hrtimer_next_event_base() 522 timer = container_of(next, struct hrtimer, node); in __hrtimer_next_event_base() 994 return timerqueue_add(&base->active, &timer->node); in enqueue_hrtimer() 1027 if (!timerqueue_del(&base->active, &timer->node)) in __remove_hrtimer() 1495 timerqueue_init(&timer->node); in __hrtimer_init() 1649 struct timerqueue_node *node; in __hrtimer_run_queues() local 1654 while ((node = timerqueue_getnext(&base->active))) { in __hrtimer_run_queues() 1657 timer = container_of(node, struct hrtimer, node); in __hrtimer_run_queues() 2121 struct timerqueue_node *node; in migrate_hrtimer_list() local 2230 struct timerqueue_node *node; migrate_hrtimer_list() local [all...] |
/kernel/linux/linux-5.10/net/core/ |
H A D | sock_map.c | 858 struct hlist_node node; member 893 hlist_for_each_entry_rcu(elem, head, node) { in sock_hash_lookup_elem_raw() 943 hlist_del_rcu(&elem->node); in sock_hash_delete_from_link() 964 hlist_del_rcu(&elem->node); in sock_hash_delete_elem() 1055 hlist_add_head_rcu(&elem_new->node, &bucket->head); in sock_hash_update_common() 1057 hlist_del_rcu(&elem->node); in sock_hash_update_common() 1088 elem_next = hlist_entry_safe(rcu_dereference(hlist_next_rcu(&elem->node)), in sock_hash_get_next_key() 1089 struct bpf_shtab_elem, node); in sock_hash_get_next_key() 1101 struct bpf_shtab_elem, node); in sock_hash_get_next_key() 1179 struct hlist_node *node; in sock_hash_free() local 1346 struct hlist_node *node; sock_hash_seq_find_next() local [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | kvm_host.h | 1039 struct rb_node *node; member 1045 iter->node = rb_next(iter->node); in kvm_memslot_iter_next() 1046 if (!iter->node) in kvm_memslot_iter_next() 1049 iter->slot = container_of(iter->node, struct kvm_memory_slot, gfn_node[iter->slots->node_idx]); in kvm_memslot_iter_next() 1063 * Find the so called "upper bound" of a key - the first node that has in kvm_memslot_iter_start() 1066 iter->node = NULL; in kvm_memslot_iter_start() 1070 iter->node = tmp; in kvm_memslot_iter_start() 1081 if (iter->node) { in kvm_memslot_iter_start() 1083 * A NULL previous node mean in kvm_memslot_iter_start() 1670 struct rb_node *node; search_memslots() local [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | sock_map.c | 836 struct hlist_node node; member 871 hlist_for_each_entry_rcu(elem, head, node) { in sock_hash_lookup_elem_raw() 921 hlist_del_rcu(&elem->node); in sock_hash_delete_from_link() 942 hlist_del_rcu(&elem->node); in sock_hash_delete_elem() 1027 hlist_add_head_rcu(&elem_new->node, &bucket->head); in sock_hash_update_common() 1029 hlist_del_rcu(&elem->node); in sock_hash_update_common() 1060 elem_next = hlist_entry_safe(rcu_dereference(hlist_next_rcu(&elem->node)), in sock_hash_get_next_key() 1061 struct bpf_shtab_elem, node); in sock_hash_get_next_key() 1073 struct bpf_shtab_elem, node); in sock_hash_get_next_key() 1137 struct hlist_node *node; in sock_hash_free() local 1304 struct hlist_node *node; sock_hash_seq_find_next() local [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-mq.c | 3366 int node = blk_mq_get_hctx_node(set, hctx_idx); in blk_mq_alloc_rq_map() local 3369 if (node == NUMA_NO_NODE) in blk_mq_alloc_rq_map() 3370 node = set->numa_node; in blk_mq_alloc_rq_map() 3372 tags = blk_mq_init_tags(nr_tags, reserved_tags, node, in blk_mq_alloc_rq_map() 3379 node); in blk_mq_alloc_rq_map() 3385 node); in blk_mq_alloc_rq_map() 3399 unsigned int hctx_idx, int node) in blk_mq_init_request() 3404 ret = set->ops->init_request(set, rq, hctx_idx, node); in blk_mq_init_request() 3418 int node = blk_mq_get_hctx_node(set, hctx_idx); in blk_mq_alloc_rqs() local 3421 if (node in blk_mq_alloc_rqs() 3398 blk_mq_init_request(struct blk_mq_tag_set *set, struct request *rq, unsigned int hctx_idx, int node) blk_mq_init_request() argument 3527 blk_mq_hctx_notify_offline(unsigned int cpu, struct hlist_node *node) blk_mq_hctx_notify_offline() argument 3560 blk_mq_hctx_notify_online(unsigned int cpu, struct hlist_node *node) blk_mq_hctx_notify_online() argument 3575 blk_mq_hctx_notify_dead(unsigned int cpu, struct hlist_node *node) blk_mq_hctx_notify_dead() argument 3724 blk_mq_alloc_hctx(struct request_queue *q, struct blk_mq_tag_set *set, int node) blk_mq_alloc_hctx() argument 4188 blk_mq_alloc_and_init_hctx( struct blk_mq_tag_set *set, struct request_queue *q, int hctx_idx, int node) blk_mq_alloc_and_init_hctx() argument 4232 int node = blk_mq_get_hctx_node(set, i); blk_mq_realloc_hw_ctxs() local 4680 struct list_head node; global() member [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | twl6040.c | 88 struct device_node *node; in twl6040_has_vibra() local 90 node = of_get_child_by_name(parent, "vibra"); in twl6040_has_vibra() 91 if (node) { in twl6040_has_vibra() 92 of_node_put(node); in twl6040_has_vibra() 639 struct device_node *node = client->dev.of_node; in twl6040_probe() local 644 if (!node) { in twl6040_probe() 645 dev_err(&client->dev, "of node is missing\n"); in twl6040_probe() 716 twl6040->audpwron = of_get_named_gpio(node, in twl6040_probe() 771 if (twl6040_has_vibra(node)) { in twl6040_probe()
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss.c | 419 * camss_of_parse_endpoint_node - Parse port endpoint node 421 * @node: Device node to be parsed 422 * @csd: Parsed data from port endpoint node 427 struct device_node *node, in camss_of_parse_endpoint_node() 435 v4l2_fwnode_endpoint_parse(of_fwnode_handle(node), &vep); in camss_of_parse_endpoint_node() 459 * camss_of_parse_ports - Parse ports node 463 * Return number of "port" nodes found in "ports" node 468 struct device_node *node = NULL; in camss_of_parse_ports() local 472 for_each_endpoint_of_node(dev->of_node, node) { in camss_of_parse_ports() 426 camss_of_parse_endpoint_node(struct device *dev, struct device_node *node, struct camss_async_subdev *csd) camss_of_parse_endpoint_node() argument [all...] |
/kernel/linux/linux-5.10/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() 780 list_del_rcu(&h->node); in rdac_bus_detach()
|
/kernel/linux/linux-5.10/drivers/perf/ |
H A D | qcom_l3_pmu.c | 156 struct hlist_node node; member 706 static int qcom_l3_cache_pmu_online_cpu(unsigned int cpu, struct hlist_node *node) in qcom_l3_cache_pmu_online_cpu() argument 708 struct l3cache_pmu *l3pmu = hlist_entry_safe(node, struct l3cache_pmu, node); in qcom_l3_cache_pmu_online_cpu() 717 static int qcom_l3_cache_pmu_offline_cpu(unsigned int cpu, struct hlist_node *node) in qcom_l3_cache_pmu_offline_cpu() argument 719 struct l3cache_pmu *l3pmu = hlist_entry_safe(node, struct l3cache_pmu, node); in qcom_l3_cache_pmu_offline_cpu() 790 ret = cpuhp_state_add_instance(CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE, &l3pmu->node); in qcom_l3_cache_pmu_probe()
|
/kernel/linux/linux-5.10/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() 750 struct siox_device, node); in siox_master_unregister() 751 list_del(&sdevice->node); in siox_master_unregister() 818 list_add_tail(&sdevice->node, &smaster->devices); in siox_device_add() 860 sdevice = container_of(smaster->devices.prev, struct siox_device, node); in siox_device_remove() 861 list_del(&sdevice->node); in siox_device_remove()
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | sidtab.c | 511 struct sidtab_node_inner *node = entry.ptr_inner; in sidtab_destroy_tree() local 513 if (!node) in sidtab_destroy_tree() 517 sidtab_destroy_tree(node->entries[i], level - 1); in sidtab_destroy_tree() 518 kfree(node); in sidtab_destroy_tree() 520 struct sidtab_node_leaf *node = entry.ptr_leaf; in sidtab_destroy_tree() local 522 if (!node) in sidtab_destroy_tree() 526 sidtab_destroy_entry(&node->entries[i]); in sidtab_destroy_tree() 527 kfree(node); in sidtab_destroy_tree()
|