/drivers/soc/tegra/ |
H A D | common.c | 23 struct device_node *root; local 25 root = of_find_node_by_path("/"); 26 if (!root) 29 return of_match_node(tegra_machine_match, root) != NULL;
|
/drivers/acpi/ |
H A D | pci_root.c | 80 * acpi_is_root_bridge - determine whether an ACPI CA node is a PCI root bridge 160 static void decode_osc_bits(struct acpi_pci_root *root, char *msg, u32 word, argument 173 dev_info(&root->device->dev, "_OSC: %s [%s]\n", msg, buf); 176 static void decode_osc_support(struct acpi_pci_root *root, char *msg, u32 word) argument 178 decode_osc_bits(root, msg, word, pci_osc_support_bit, 182 static void decode_osc_control(struct acpi_pci_root *root, char *msg, u32 word) argument 184 decode_osc_bits(root, msg, word, pci_osc_control_bit, 209 static acpi_status acpi_pci_query_osc(struct acpi_pci_root *root, argument 217 support |= root->osc_support_set; 223 capbuf[OSC_CONTROL_DWORD] = *control | root 238 acpi_pci_osc_support(struct acpi_pci_root *root, u32 flags) argument 250 struct acpi_pci_root *root; local 289 struct acpi_pci_root *root; local 372 struct acpi_pci_root *root; local 425 negotiate_os_control(struct acpi_pci_root *root, int *no_aspm, int *clear_aspm) argument 525 struct acpi_pci_root *root; local 631 struct acpi_pci_root *root = acpi_driver_data(device); local [all...] |
/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom_interval_tree.h | 36 struct rb_root *root); 39 struct rb_root *root); 41 usnic_uiom_interval_tree_iter_first(struct rb_root *root, 48 * Inserts {start...last} into {root}. If there are overlaps, 51 int usnic_uiom_insert_interval(struct rb_root *root, 55 * Removed {start...last} from {root}. The nodes removed are returned in 59 void usnic_uiom_remove_interval(struct rb_root *root, 63 * Returns {start...last} - {root} (relative complement of {start...last} in 64 * {root}) in diff_set sorted ascendingly 69 struct rb_root *root, [all...] |
/drivers/md/persistent-data/ |
H A D | dm-array.h | 25 * size along with the array root in your encompassing data. 38 * b) Get yourself a root. The root is the index of a block of data on the 40 * pre existing root in your metadata that you wish to use, or you may 45 * root for a _new_ array. If you've incremented the old root, via 47 * it in parallel with the new root. 90 * root - on success this will be filled out with the root block 92 int dm_array_empty(struct dm_array_info *info, dm_block_t *root); [all...] |
H A D | dm-btree.h | 94 int dm_btree_empty(struct dm_btree_info *info, dm_block_t *root); 100 int dm_btree_del(struct dm_btree_info *info, dm_block_t root); 109 int dm_btree_lookup(struct dm_btree_info *info, dm_block_t root, 115 int dm_btree_insert(struct dm_btree_info *info, dm_block_t root, 124 int dm_btree_insert_notify(struct dm_btree_info *info, dm_block_t root, 134 int dm_btree_remove(struct dm_btree_info *info, dm_block_t root, 142 int dm_btree_find_lowest_key(struct dm_btree_info *info, dm_block_t root, 150 int dm_btree_find_highest_key(struct dm_btree_info *info, dm_block_t root, 158 int dm_btree_walk(struct dm_btree_info *info, dm_block_t root,
|
H A D | dm-bitset.h | 33 * b) Get yourself a root. The root is the index of a block of data on the 35 * pre existing root in your metadata that you wish to use, or you may 40 * root for a _new_ array. If you've incremented the old root, via 42 * it in parallel with the new root. 45 * return a root for a new, updated bitset. 91 * new_root - on success, points to the new root block 99 * old_root - the root block of the array on disk 103 * new_root - on success, points to the new root bloc [all...] |
H A D | dm-bitset.c | 36 int dm_bitset_empty(struct dm_disk_bitset *info, dm_block_t *root) argument 38 return dm_array_empty(&info->array_info, root); 42 int dm_bitset_resize(struct dm_disk_bitset *info, dm_block_t root, argument 51 return dm_array_resize(&info->array_info, root, old_blocks, new_blocks, 56 int dm_bitset_del(struct dm_disk_bitset *info, dm_block_t root) argument 58 return dm_array_del(&info->array_info, root); 62 int dm_bitset_flush(struct dm_disk_bitset *info, dm_block_t root, argument 74 r = dm_array_set_value(&info->array_info, root, info->current_index, 86 static int read_bits(struct dm_disk_bitset *info, dm_block_t root, argument 92 r = dm_array_get_value(&info->array_info, root, array_inde 104 get_array_entry(struct dm_disk_bitset *info, dm_block_t root, uint32_t index, dm_block_t *new_root) argument 122 dm_bitset_set_bit(struct dm_disk_bitset *info, dm_block_t root, uint32_t index, dm_block_t *new_root) argument 139 dm_bitset_clear_bit(struct dm_disk_bitset *info, dm_block_t root, uint32_t index, dm_block_t *new_root) argument 156 dm_bitset_test_bit(struct dm_disk_bitset *info, dm_block_t root, uint32_t index, dm_block_t *new_root, bool *result) argument [all...] |
H A D | dm-space-map-disk.h | 23 void *root, size_t len);
|
H A D | dm-array.c | 253 static int lookup_ablock(struct dm_array_info *info, dm_block_t root, argument 261 r = dm_btree_lookup(&info->btree_info, root, &key, &block_le); 272 struct dm_block *block, dm_block_t *root) 277 return dm_btree_insert(&info->btree_info, *root, &index, &block_le, root); 282 * btree to point to this new shadow. 'root' is an input/output parameter 283 * for both the current root block, and the new one. 285 static int shadow_ablock(struct dm_array_info *info, dm_block_t *root, argument 297 r = dm_btree_lookup(&info->btree_info, *root, &key, &block_le); 328 r = insert_ablock(info, index, *block, root); 271 insert_ablock(struct dm_array_info *info, uint64_t index, struct dm_block *block, dm_block_t *root) argument 337 insert_new_ablock(struct dm_array_info *info, size_t size_of_block, uint32_t max_entries, unsigned block_index, uint32_t nr, const void *value, dm_block_t *root) argument 357 insert_full_ablocks(struct dm_array_info *info, size_t size_of_block, unsigned begin_block, unsigned end_block, unsigned max_entries, const void *value, dm_block_t *root) argument 384 dm_block_t root; member in struct:resize 635 dm_array_empty(struct dm_array_info *info, dm_block_t *root) argument 641 array_resize(struct dm_array_info *info, dm_block_t root, uint32_t old_size, uint32_t new_size, const void *value, dm_block_t *new_root) argument 682 dm_array_del(struct dm_array_info *info, dm_block_t root) argument 688 dm_array_get_value(struct dm_array_info *info, dm_block_t root, uint32_t index, void *value_le) argument 716 array_set_value(struct dm_array_info *info, dm_block_t root, uint32_t index, const void *value, dm_block_t *new_root) argument 805 dm_array_walk(struct dm_array_info *info, dm_block_t root, int (*fn)(void *, uint64_t key, void *leaf), void *context) argument [all...] |
/drivers/staging/lustre/lustre/include/ |
H A D | interval_tree.h | 102 struct interval_node **root); 103 void interval_erase(struct interval_node *node, struct interval_node **root); 107 enum interval_iter interval_search(struct interval_node *root, 112 enum interval_iter interval_iterate(struct interval_node *root, 114 enum interval_iter interval_iterate_reverse(struct interval_node *root, 117 void interval_expand(struct interval_node *root, 120 int interval_is_overlapped(struct interval_node *root, 122 struct interval_node *interval_find(struct interval_node *root,
|
/drivers/pci/pcie/ |
H A D | portdrv_acpi.c | 24 * @port: PCIe Port service for a root port or event collector. 37 struct acpi_pci_root *root; local 48 root = acpi_pci_find_root(handle); 49 if (!root) 52 flags = root->osc_control_set;
|
/drivers/eisa/ |
H A D | eisa-bus.c | 44 struct eisa_root_device *root, 50 x = (root->bus_nr << 8) | edev->slot; 188 static int __init eisa_init_device(struct eisa_root_device *root, argument 196 sig_addr = SLOT_ADDRESS(root, slot) + EISA_VENDOR_ID_OFFSET; 204 edev->state = inb(SLOT_ADDRESS(root, slot) + EISA_CONFIG_OFFSET) 206 edev->base_addr = SLOT_ADDRESS(root, slot); 207 edev->dma_mask = root->dma_mask; /* Default DMA mask */ 209 edev->dev.parent = root->dev; 213 dev_set_name(&edev->dev, "%02X:%02X", root->bus_nr, slot); 223 if (is_forced_dev(enable_dev, enable_dev_count, root, ede 42 is_forced_dev(int *forced_tab, int forced_count, struct eisa_root_device *root, struct eisa_device *edev) argument 261 eisa_request_resources(struct eisa_root_device *root, struct eisa_device *edev, int slot) argument 315 eisa_probe(struct eisa_root_device *root) argument 417 eisa_root_register(struct eisa_root_device *root) argument [all...] |
/drivers/oprofile/ |
H A D | oprofile_files.c | 178 void oprofile_create_files(struct dentry *root) argument 186 oprofilefs_create_file(root, "enable", &enable_fops); 187 oprofilefs_create_file_perm(root, "dump", &dump_fops, 0666); 188 oprofilefs_create_file(root, "buffer", &event_buffer_fops); 189 oprofilefs_create_ulong(root, "buffer_size", &oprofile_buffer_size); 190 oprofilefs_create_ulong(root, "buffer_watershed", &oprofile_buffer_watershed); 191 oprofilefs_create_ulong(root, "cpu_buffer_size", &oprofile_cpu_buffer_size); 192 oprofilefs_create_file(root, "cpu_type", &cpu_type_fops); 193 oprofilefs_create_file(root, "backtrace_depth", &depth_fops); 194 oprofilefs_create_file(root, "pointer_siz [all...] |
H A D | oprofilefs.c | 135 static int __oprofilefs_create_file(struct dentry *root, char const *name, argument 141 mutex_lock(&root->d_inode->i_mutex); 142 dentry = d_alloc_name(root, name); 144 mutex_unlock(&root->d_inode->i_mutex); 147 inode = oprofilefs_get_inode(root->d_sb, S_IFREG | perm); 150 mutex_unlock(&root->d_inode->i_mutex); 156 mutex_unlock(&root->d_inode->i_mutex); 161 int oprofilefs_create_ulong(struct dentry *root, argument 164 return __oprofilefs_create_file(root, name, 169 int oprofilefs_create_ro_ulong(struct dentry *root, argument 191 oprofilefs_create_ro_atomic(struct dentry *root, char const *name, atomic_t *val) argument 199 oprofilefs_create_file(struct dentry *root, char const *name, const struct file_operations *fops) argument 206 oprofilefs_create_file_perm(struct dentry *root, char const *name, const struct file_operations *fops, int perm) argument [all...] |
H A D | oprofile_stats.h | 31 void oprofile_create_stats_files(struct dentry *root);
|
H A D | oprof.h | 35 void oprofile_create_files(struct dentry *root);
|
/drivers/mmc/core/ |
H A D | debugfs.c | 213 struct dentry *root; local 215 root = debugfs_create_dir(mmc_hostname(host), NULL); 216 if (IS_ERR(root)) 219 if (!root) 224 host->debugfs_root = root; 226 if (!debugfs_create_file("ios", S_IRUSR, root, host, &mmc_ios_fops)) 229 if (!debugfs_create_file("clock", S_IRUSR | S_IWUSR, root, host, 235 root, &host->clk_delay)) 243 root, 250 debugfs_remove_recursive(root); 346 struct dentry *root; local [all...] |
/drivers/infiniband/hw/amso1100/ |
H A D | c2_alloc.c | 72 struct sp_chunk **root) 74 return c2_alloc_mqsp_chunk(c2dev, gfp_mask, root); 77 void c2_free_mqsp_pool(struct c2_dev *c2dev, struct sp_chunk *root) argument 81 while (root) { 82 next = root->next; 83 dma_free_coherent(&c2dev->pcidev->dev, PAGE_SIZE, root, 84 dma_unmap_addr(root, mapping)); 85 root = next; 71 c2_init_mqsp_pool(struct c2_dev *c2dev, gfp_t gfp_mask, struct sp_chunk **root) argument
|
/drivers/staging/lustre/lustre/ldlm/ |
H A D | interval_tree.c | 126 #define interval_for_each(node, root) \ 127 for (node = interval_first(root); node != NULL; \ 130 #define interval_for_each_reverse(node, root) \ 131 for (node = interval_last(root); node != NULL; \ 177 enum interval_iter interval_iterate(struct interval_node *root, argument 184 interval_for_each(node, root) { 194 enum interval_iter interval_iterate_reverse(struct interval_node *root, argument 201 interval_for_each_reverse(node, root) { 213 struct interval_node *interval_find(struct interval_node *root, argument 216 struct interval_node *walk = root; 248 __rotate_left(struct interval_node *node, struct interval_node **root) argument 277 __rotate_right(struct interval_node *node, struct interval_node **root) argument 314 interval_insert_color(struct interval_node *node, struct interval_node **root) argument 366 interval_insert(struct interval_node *node, struct interval_node **root) argument 407 interval_erase_color(struct interval_node *node, struct interval_node *parent, struct interval_node **root) argument 503 interval_erase(struct interval_node *node, struct interval_node **root) argument 667 interval_is_overlapped(struct interval_node *root, struct interval_node_extent *ext) argument 705 interval_expand_low(struct interval_node *root, __u64 low) argument 733 interval_expand(struct interval_node *root, struct interval_node_extent *ext, struct interval_node_extent *limiter) argument [all...] |
/drivers/block/drbd/ |
H A D | drbd_interval.c | 47 drbd_insert_interval(struct rb_root *root, struct drbd_interval *this) argument 49 struct rb_node **new = &root->rb_node, *parent = NULL; 75 rb_insert_augmented(&this->rb, root, &augment_callbacks); 90 drbd_contains_interval(struct rb_root *root, sector_t sector, argument 93 struct rb_node *node = root->rb_node; 117 drbd_remove_interval(struct rb_root *root, struct drbd_interval *this) argument 119 rb_erase_augmented(&this->rb, root, &augment_callbacks); 134 drbd_find_overlap(struct rb_root *root, sector_t sector, unsigned int size) argument 136 struct rb_node *node = root->rb_node;
|
H A D | drbd_interval.h | 37 #define drbd_for_each_overlap(i, root, sector, size) \ 38 for (i = drbd_find_overlap(root, sector, size); \
|
/drivers/misc/genwqe/ |
H A D | card_debugfs.c | 346 struct dentry *root; local 355 root = debugfs_create_dir(card_name, cd->debugfs_genwqe); 356 if (!root) { 362 file = debugfs_create_file("ddcb_info", S_IRUGO, root, cd, 369 file = debugfs_create_file("info", S_IRUGO, root, cd, 376 file = debugfs_create_x64("err_inject", 0666, root, &cd->err_inject); 382 file = debugfs_create_u32("ddcb_software_timeout", 0666, root, 389 file = debugfs_create_u32("kill_timeout", 0666, root, 398 cd->debugfs_root = root; 402 file = debugfs_create_file("curr_regs", S_IRUGO, root, c [all...] |
/drivers/of/ |
H A D | platform.c | 430 * @root: parent of the first level to probe or NULL for the root of the tree 434 * Note that children of the provided root are not instantiated as devices 435 * unless the specified root itself matches the bus list and is not NULL. 437 int of_platform_bus_probe(struct device_node *root, argument 444 root = root ? of_node_get(root) : of_find_node_by_path("/"); 445 if (!root) 449 pr_debug(" starting at: %s\n", root 486 of_platform_populate(struct device_node *root, const struct of_device_id *matches, const struct of_dev_auxdata *lookup, struct device *parent) argument [all...] |
/drivers/mfd/ |
H A D | qcom-spmi-pmic.c | 29 struct device_node *root = sdev->dev.of_node; local 36 return of_platform_populate(root, NULL, NULL, &sdev->dev);
|
/drivers/irqchip/ |
H A D | irq-atmel-aic-common.h | 35 void __init aic_common_rtc_irq_fixup(struct device_node *root);
|