/linux-master/drivers/block/drbd/ |
H A D | drbd_receiver.c | 2100 find_request(struct drbd_device *device, struct rb_root *root, u64 id, argument 2107 if (drbd_contains_interval(root, sector, &req->i) && req->i.local) 5666 struct rb_root *root, const char *func, 5674 req = find_request(device, root, id, sector, missing_ok, func); 5665 validate_req_change_req_state(struct drbd_peer_device *peer_device, u64 id, sector_t sector, struct rb_root *root, const char *func, enum drbd_req_event what, bool missing_ok) argument
|
H A D | drbd_req.c | 58 static void drbd_remove_request_interval(struct rb_root *root, argument 64 drbd_remove_interval(root, i); 99 struct rb_root *root; local 102 root = &device->write_requests; 104 root = &device->read_requests; 105 drbd_remove_request_interval(root, req);
|
/linux-master/drivers/block/null_blk/ |
H A D | main.c | 849 struct radix_tree_root *root; local 851 root = is_cache ? &nullb->dev->cache : &nullb->dev->data; 855 t_page = radix_tree_lookup(root, idx); 860 ret = radix_tree_delete_item(root, idx, t_page); 872 struct radix_tree_root *root; local 874 root = is_cache ? &nullb->dev->cache : &nullb->dev->data; 876 if (radix_tree_insert(root, idx, t_page)) { 878 t_page = radix_tree_lookup(root, idx); 891 struct radix_tree_root *root; local 893 root 921 struct radix_tree_root *root; local [all...] |
/linux-master/drivers/block/xen-blkback/ |
H A D | blkback.c | 244 struct rb_root *root = &ring->persistent_gnts; local 252 if (RB_EMPTY_ROOT(root)) 259 foreach_grant_safe(persistent_gnt, n, root, node) { 281 rb_erase(&persistent_gnt->node, root); 338 struct rb_root *root; local 369 root = &ring->persistent_gnts; 371 foreach_grant_safe(persistent_gnt, n, root, node) { 382 rb_erase(&persistent_gnt->node, root);
|
/linux-master/drivers/bluetooth/ |
H A D | btbcm.c | 544 struct device_node *root; local 548 root = of_find_node_by_path("/"); 549 if (!root) 552 if (of_property_read_string_index(root, "compatible", 0, &tmp)) 558 of_node_put(root);
|
/linux-master/drivers/bus/ |
H A D | moxtet.c | 557 struct dentry *root, *entry; local 559 root = debugfs_create_dir("moxtet", NULL); 561 if (IS_ERR(root)) 562 return PTR_ERR(root); 564 entry = debugfs_create_file_unsafe("input", 0444, root, moxtet, 569 entry = debugfs_create_file_unsafe("output", 0644, root, moxtet, 574 moxtet->debugfs_root = root; 578 debugfs_remove_recursive(root);
|
/linux-master/drivers/clk/bcm/ |
H A D | clk-bcm21664.c | 21 BCM21664_CCU_COMMON(root, ROOT), 25 KONA_CLK(root, frac_1m, peri),
|
H A D | clk-bcm281xx.c | 23 BCM281XX_CCU_COMMON(root, ROOT), 26 KONA_CLK(root, frac_1m, peri),
|
/linux-master/drivers/clk/ |
H A D | clk-cdce925.c | 384 struct clk *root = clk_get_parent(pll); local 385 unsigned long root_rate = clk_get_rate(root);
|
H A D | clk.c | 3716 struct dentry *root; local 3721 root = debugfs_create_dir(core->name, pdentry); 3722 core->dentry = root; 3724 debugfs_create_file("clk_rate", clk_rate_mode, root, core, 3726 debugfs_create_file("clk_min_rate", 0444, root, core, &clk_min_rate_fops); 3727 debugfs_create_file("clk_max_rate", 0444, root, core, &clk_max_rate_fops); 3728 debugfs_create_ulong("clk_accuracy", 0444, root, &core->accuracy); 3729 debugfs_create_file("clk_phase", clk_phase_mode, root, core, 3731 debugfs_create_file("clk_flags", 0444, root, core, &clk_flags_fops); 3732 debugfs_create_u32("clk_prepare_count", 0444, root, 4526 clk_core_evict_parent_cache_subtree(struct clk_core *root, const struct clk_core *target) argument 4544 struct clk_core *root; local [all...] |
/linux-master/drivers/clk/imx/ |
H A D | clk-imx93.c | 264 const struct imx93_clk_root *root; local 316 root = &root_array[i]; 317 clks[root->clk] = imx93_clk_composite_flags(root->name, 318 parent_names[root->sel], 319 4, base + root->off, 3, 320 root->flags);
|
/linux-master/drivers/clk/tegra/ |
H A D | clk-dfll.c | 15 * The DFLL is a root clocksource which tolerates some amount of 1365 struct dentry *root; local 1370 root = debugfs_create_dir("tegra_dfll_fcpu", NULL); 1371 td->debugfs_dir = root; 1373 debugfs_create_file_unsafe("enable", 0644, root, td, 1375 debugfs_create_file_unsafe("lock", 0444, root, td, &lock_fops); 1376 debugfs_create_file_unsafe("rate", 0444, root, td, &rate_fops); 1377 debugfs_create_file("registers", 0444, root, td, &attr_registers_fops);
|
/linux-master/drivers/cpufreq/ |
H A D | pmac64-cpufreq.c | 402 struct device_node *root; local 404 root = of_find_node_by_path("/"); 405 if (root == NULL) { 406 pr_err("Can't find root of device tree\n"); 409 pfunc_set_vdnap0 = pmf_find_function(root, "set-vdnap0"); 411 pmf_find_function(root, "slewing-done"); 412 of_node_put(root);
|
/linux-master/drivers/cpuidle/ |
H A D | cpuidle-big_little.c | 169 struct device_node *root = of_find_node_by_path("/"); local 172 if (!root) 178 match_id = of_match_node(compatible_machine_match, root); 180 of_node_put(root);
|
/linux-master/drivers/crypto/caam/ |
H A D | ctrl.c | 615 static void caam_remove_debugfs(void *root) argument 617 debugfs_remove_recursive(root);
|
H A D | debugfs.c | 47 struct dentry *root) 55 ctrlpriv->ctl = debugfs_create_dir("ctl", root); 45 caam_debugfs_init(struct caam_drv_private *ctrlpriv, struct caam_perfmon __force *perfmon, struct dentry *root) argument
|
H A D | debugfs.h | 13 struct caam_perfmon __force *perfmon, struct dentry *root); 17 struct dentry *root) 15 caam_debugfs_init(struct caam_drv_private *ctrlpriv, struct caam_perfmon __force *perfmon, struct dentry *root) argument
|
/linux-master/drivers/crypto/ccp/ |
H A D | sev-dev.c | 235 struct path root; local 240 get_fs_root(init_task.fs, &root); 249 fp = file_open_root(&root, filename, flags, mode); 250 path_put(&root);
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_rl.c | 113 * Otherwise, it returns the default parent SLA (root or cluster) for 124 struct rl_sla *root = NULL; local 145 /* If input_parent_id is not valid, get root for this service type. */ 147 if (rl_data->root[i] && rl_data->root[i]->srv == sla_in->srv) { 148 root = rl_data->root[i]; 153 if (!root) 157 * If the type of this SLA is cluster, then return the root. 161 return root; [all...] |
H A D | adf_rl.h | 49 * @type: SLA type: root, cluster, node 105 * @root: array of pointers to root type SLAs, element number reflects node_id 117 struct rl_sla *root[RL_ROOT_MAX]; member in struct:adf_rl 128 * @parent: pointer to the parent SLA (root/cluster)
|
/linux-master/drivers/crypto/nx/ |
H A D | nx_debugfs.c | 35 struct dentry *root; local 37 root = debugfs_create_dir(NX_NAME, NULL); 38 drv->dfs_root = root; 41 root, &drv->stats.aes_ops.counter); 43 root, &drv->stats.sha256_ops.counter); 45 root, &drv->stats.sha512_ops.counter); 47 root, &drv->stats.aes_bytes.counter); 49 root, &drv->stats.sha256_bytes.counter); 51 root, &drv->stats.sha512_bytes.counter); 53 root, [all...] |
/linux-master/drivers/cxl/core/ |
H A D | pci.c | 442 struct cxl_port *root; local 458 root = to_cxl_port(port->dev.parent); 459 while (!is_cxl_root(root) && is_cxl_port(root->dev.parent)) 460 root = to_cxl_port(root->dev.parent); 461 if (!is_cxl_root(root)) { 462 dev_err(dev, "Failed to acquire root port for HDM enable\n"); 469 cxld_dev = device_find_child(&root->dev, &info->dvsec_range[i], 817 * Disable RCH root por [all...] |
H A D | region.c | 571 * root granularity. Regions with a granularity less than the root 574 * with a granularity greater than the root interleave result in invalid 1230 * While root level decoders support x3, x6, x12, switch level 1269 * root IG != region IG. 1697 * the endpoint to the root decoder and iteratively applying this 1702 * ...where @position is inferred from switch and root decoder target lists. 2263 * Keep root decoder pinned through cxl_region_release to fixup 2334 * @cxlrd: root decoder 2846 * Regions never span CXL root device 3183 cxl_add_to_region(struct cxl_port *root, struct cxl_endpoint_decoder *cxled) argument [all...] |
/linux-master/drivers/cxl/ |
H A D | cxl.h | 423 * route from the root of a CXL memory decode topology to the endpoints. They 424 * come in two flavors, root-level decoders, statically defined by platform 596 * @depth: How deep this port is relative to the root. depth 0 is the root. 626 * struct cxl_root - logical collection of root cxl_port items 629 * @ops: cxl root operations 717 * The platform firmware device hosting the root is also the top of the 864 int cxl_add_to_region(struct cxl_port *root, 876 static inline int cxl_add_to_region(struct cxl_port *root, argument
|
H A D | port.c | 16 * port. All descendant ports of a CXL root port (described by platform 33 static int discover_region(struct device *dev, void *root) argument 52 rc = cxl_add_to_region(root, cxled); 98 struct cxl_port *root; local 130 * This can't fail in practice as CXL root exit unregisters all 135 root = &cxl_root->port; 141 device_for_each_child(&port->dev, root, discover_region);
|