/linux-master/arch/x86/platform/olpc/ |
H A D | olpc.c | 182 static bool __init check_ofw_architecture(struct device_node *root) argument 187 olpc_arch = of_get_property(root, "architecture", &propsize); 191 static u32 __init get_board_revision(struct device_node *root) argument 196 rev = of_get_property(root, "board-revision-int", &propsize); 205 struct device_node *root = of_find_node_by_path("/"); local 208 if (!root) 211 success = check_ofw_architecture(root); 213 olpc_platform_info.boardrev = get_board_revision(root); 221 of_node_put(root);
|
H A D | olpc_dt.c | 310 phandle root; local 317 root = olpc_dt_getsibling(0); 318 if (!root) { 319 pr_err("PROM: unable to get root node from OFW!\n"); 322 of_pdt_build_devicetree(root, &prom_olpc_ops);
|
/linux-master/block/ |
H A D | bfq-iosched.c | 602 /* +1 for bfqq entity, root cgroup not included */ 728 bfq_rq_pos_tree_lookup(struct bfq_data *bfqd, struct rb_root *root, argument 736 p = &root->rb_node; 901 struct rb_root_cached *root = &bfqq->bfqd->queue_weights_tree; local 903 struct rb_node **new = &(root->rb_root.rb_node), *parent = NULL; 959 rb_insert_color_cached(&bfqq->weight_counter->weights_node, root, 975 struct rb_root_cached *root; local 980 root = &bfqq->bfqd->queue_weights_tree; 985 rb_erase_cached(&bfqq->weight_counter->weights_node, root); 2685 struct rb_root *root local [all...] |
H A D | bfq-wf2q.c | 161 * is not the root group. We must not touch the root entity 335 * @root: the tree root. 338 static void bfq_extract(struct rb_root *root, struct bfq_entity *entity) argument 341 rb_erase(&entity->rb_node, root); 373 * @root: tree root. 379 static void bfq_insert(struct rb_root *root, struct bfq_entity *entity) argument 382 struct rb_node **node = &root [all...] |
H A D | elevator.c | 220 void elv_rb_add(struct rb_root *root, struct request *rq) argument 222 struct rb_node **p = &root->rb_node; 237 rb_insert_color(&rq->rb_node, root); 241 void elv_rb_del(struct rb_root *root, struct request *rq) argument 244 rb_erase(&rq->rb_node, root); 249 struct request *elv_rb_find(struct rb_root *root, sector_t sector) argument 251 struct rb_node *n = root->rb_node;
|
H A D | mq-deadline.c | 158 struct rb_root *root = deadline_rb_root(per_prio, rq); local 160 elv_rb_add(root, rq);
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | debugfs.c | 1563 static void add_secured_nodes(struct hl_dbg_device_entry *dev_entry, struct dentry *root) argument 1567 root, 1572 root, 1577 root, 1582 root, 1587 root, 1593 root, 1599 root, 1605 root, 1611 struct dentry *root) 1610 add_files_to_device(struct hl_device *hdev, struct hl_dbg_device_entry *dev_entry, struct dentry *root) argument [all...] |
H A D | habanalabs.h | 2357 * @root: root dentry. 2388 struct dentry *root; member in struct:hl_dbg_device_entry 2994 * so the first (root cause) CS timeout will not be overwritten. 3021 * is enable so the first (root cause) undefined opcode will not be 3042 * Since we're looking for the page-fault's root cause, 3060 * Since we're looking for the RAZWI's root cause,
|
/linux-master/drivers/acpi/ |
H A D | acpi_configfs.c | 258 struct config_group *root = &acpi_configfs.su_group; local 260 config_group_init(root); 266 acpi_table_group = configfs_register_default_group(root, "table",
|
H A D | internal.h | 36 void pci_ioapic_remove(struct acpi_pci_root *root); 37 int acpi_ioapic_remove(struct acpi_pci_root *root); 39 static inline void pci_ioapic_remove(struct acpi_pci_root *root) { return; } argument 40 static inline int acpi_ioapic_remove(struct acpi_pci_root *root) { return 0; } argument
|
H A D | ioapic.c | 213 void pci_ioapic_remove(struct acpi_pci_root *root) argument 219 if (root->device->handle != ioapic->root_handle) 230 int acpi_ioapic_remove(struct acpi_pci_root *root) argument 237 if (root->device->handle != ioapic->root_handle)
|
H A D | pci_mcfg.c | 206 static void pci_mcfg_apply_quirks(struct acpi_pci_root *root, argument 211 u16 segment = root->segment; 212 struct resource *bus_range = &root->secondary; 222 dev_info(&root->device->dev, "MCFG quirk: ECAM at %pR for %pR with %ps\n", 233 int pci_mcfg_lookup(struct acpi_pci_root *root, struct resource *cfgres, argument 237 struct resource *bus_res = &root->secondary; 238 u16 seg = root->segment; 243 if (root->mcfg_addr) 252 root->mcfg_addr = e->addr; 259 if (root [all...] |
H A D | pci_root.c | 60 * acpi_is_root_bridge - determine whether an ACPI CA node is a PCI root bridge 154 static void decode_osc_bits(struct acpi_pci_root *root, char *msg, u32 word, argument 167 dev_info(&root->device->dev, "_OSC: %s [%s]\n", msg, buf); 170 static void decode_osc_support(struct acpi_pci_root *root, char *msg, u32 word) argument 172 decode_osc_bits(root, msg, word, pci_osc_support_bit, 176 static void decode_osc_control(struct acpi_pci_root *root, char *msg, u32 word) argument 178 decode_osc_bits(root, msg, word, pci_osc_control_bit, 182 static void decode_cxl_osc_support(struct acpi_pci_root *root, char *msg, u32 word) argument 184 decode_osc_bits(root, msg, word, cxl_osc_support_bit, 188 static void decode_cxl_osc_control(struct acpi_pci_root *root, cha argument 194 is_pcie(struct acpi_pci_root *root) argument 199 is_cxl(struct acpi_pci_root *root) argument 207 to_uuid(struct acpi_pci_root *root) argument 214 cap_length(struct acpi_pci_root *root) argument 221 acpi_pci_run_osc(struct acpi_pci_root *root, const u32 *capbuf, u32 *pci_control, u32 *cxl_control) argument 243 acpi_pci_query_osc(struct acpi_pci_root *root, u32 support, u32 *control, u32 cxl_support, u32 *cxl_control) argument 285 struct acpi_pci_root *root; local 360 struct acpi_pci_root *root; local 546 os_control_query_checks(struct acpi_pci_root *root, u32 support) argument 564 negotiate_os_control(struct acpi_pci_root *root, int *no_aspm) argument 650 struct acpi_pci_root *root; local 780 struct acpi_pci_root *root = acpi_driver_data(device); local 810 struct resource *res1, *res2, *root = NULL; local 938 struct resource *res, *conflict, *root = NULL; local 1001 acpi_pci_root_create(struct acpi_pci_root *root, struct acpi_pci_root_ops *ops, struct acpi_pci_root_info *info, void *sysdata) argument [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | acdebug.h | 273 void acpi_db_generate_statistics(union acpi_parse_object *root, u8 is_method);
|
H A D | acparser.h | 142 union acpi_parse_object *root); 195 void acpi_ps_delete_parse_tree(union acpi_parse_object *root);
|
H A D | dbstats.c | 251 op = acpi_ps_get_depth_next(root, op);
|
/linux-master/drivers/android/ |
H A D | binderfs.c | 115 struct dentry *dentry, *root; local 184 root = sb->s_root; 185 inode_lock(d_inode(root)); 188 dentry = lookup_one_len(name, root, name_len); 190 inode_unlock(d_inode(root)); 198 inode_unlock(d_inode(root)); 205 fsnotify_create(root->d_inode, dentry); 206 inode_unlock(d_inode(root)); 312 struct binderfs_info *info = BINDERFS_SB(fc->root->d_sb); 322 static int binderfs_show_options(struct seq_file *seq, struct dentry *root) argument 397 struct dentry *root = sb->s_root; local [all...] |
/linux-master/drivers/ata/ |
H A D | libata-acpi.c | 29 #define SATA_ADR(root, pmp) (((root) << 16) | (pmp))
|
H A D | pata_macio.c | 485 struct device_node *root = of_find_node_by_path("/"); local 486 const char *model = of_get_property(root, "model", NULL); 488 of_node_put(root);
|
/linux-master/drivers/base/ |
H A D | core.c | 3321 /* subsystems can specify a default root directory for their devices */ 4296 * __root_device_register - allocate and register a root device 4297 * @name: root device name 4298 * @owner: owner module of the root device, usually THIS_MODULE 4300 * This function allocates a root device and registers it 4306 * allocate a root device and then use it as the parent of 4319 struct root_device *root; local 4322 root = kzalloc(sizeof(struct root_device), GFP_KERNEL); 4323 if (!root) 4326 err = dev_set_name(&root 4366 struct root_device *root = to_root_device(dev); local [all...] |
/linux-master/drivers/base/regmap/ |
H A D | regcache-rbtree.c | 35 struct rb_root root; member in struct:regcache_rbtree_ctx 78 node = rbtree_ctx->root.rb_node; 96 static int regcache_rbtree_insert(struct regmap *map, struct rb_root *root, argument 105 new = &root->rb_node; 126 rb_insert_color(&rbnode->node, root); 148 for (node = rb_first(&rbtree_ctx->root); node != NULL; 195 rbtree_ctx->root = RB_ROOT; 225 next = rb_first(&rbtree_ctx->root); 229 rb_erase(&rbtree_node->node, &rbtree_ctx->root); 402 node = rbtree_ctx->root [all...] |
H A D | regmap.c | 500 struct rb_root *root = &map->range_tree; local 501 struct rb_node **new = &(root->rb_node), *parent = NULL; 517 rb_insert_color(&data->node, root);
|
/linux-master/drivers/base/test/ |
H A D | Makefile | 4 obj-$(CONFIG_DM_KUNIT_TEST) += root-device-test.o
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_interval.c | 25 drbd_insert_interval(struct rb_root *root, struct drbd_interval *this) argument 27 struct rb_node **new = &root->rb_node, *parent = NULL; 53 rb_insert_augmented(&this->rb, root, &augment_callbacks); 59 * @root: red black tree root 69 drbd_contains_interval(struct rb_root *root, sector_t sector, argument 72 struct rb_node *node = root->rb_node; 96 drbd_remove_interval(struct rb_root *root, struct drbd_interval *this) argument 102 rb_erase_augmented(&this->rb, root, &augment_callbacks); 107 * @root 118 drbd_find_overlap(struct rb_root *root, sector_t sector, unsigned int size) argument [all...] |
H A D | drbd_interval.h | 38 #define drbd_for_each_overlap(i, root, sector, size) \ 39 for (i = drbd_find_overlap(root, sector, size); \
|