Searched refs:root (Results 1 - 25 of 101) sorted by relevance

12345

/drivers/acpi/
H A Dpci_root.c82 struct acpi_pci_root *root; local
92 list_for_each_entry(root, &acpi_pci_roots, node) {
93 driver->add(root->device->handle);
104 struct acpi_pci_root *root; local
118 list_for_each_entry(root, &acpi_pci_roots, node)
119 driver->remove(root->device->handle);
126 struct acpi_pci_root *root; local
128 list_for_each_entry(root, &acpi_pci_roots, node)
129 if ((root->segment == (u16) seg) &&
130 (root
234 acpi_pci_query_osc(struct acpi_pci_root *root, u32 support, u32 *control) argument
263 acpi_pci_osc_support(struct acpi_pci_root *root, u32 flags) argument
279 struct acpi_pci_root *root; local
315 struct acpi_pci_root *root; local
398 struct acpi_pci_root *root; local
457 struct acpi_pci_root *root; local
636 struct acpi_pci_root *root = acpi_driver_data(device); local
644 struct acpi_pci_root *root = acpi_driver_data(device); local
[all...]
/drivers/md/persistent-data/
H A Ddm-btree.h94 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_highest_key(struct dm_btree_info *info, dm_block_t root,
H A Ddm-space-map-disk.h23 void *root, size_t len);
/drivers/pci/pcie/
H A Dportdrv_acpi.c23 * @port: PCIe Port service for a root port or event collector.
36 struct acpi_pci_root *root; local
47 root = acpi_pci_find_root(handle);
48 if (!root)
51 flags = root->osc_control_set;
/drivers/oprofile/
H A Doprofile_files.c178 void oprofile_create_files(struct super_block *sb, struct dentry *root) argument
186 oprofilefs_create_file(sb, root, "enable", &enable_fops);
187 oprofilefs_create_file_perm(sb, root, "dump", &dump_fops, 0666);
188 oprofilefs_create_file(sb, root, "buffer", &event_buffer_fops);
189 oprofilefs_create_ulong(sb, root, "buffer_size", &oprofile_buffer_size);
190 oprofilefs_create_ulong(sb, root, "buffer_watershed", &oprofile_buffer_watershed);
191 oprofilefs_create_ulong(sb, root, "cpu_buffer_size", &oprofile_cpu_buffer_size);
192 oprofilefs_create_file(sb, root, "cpu_type", &cpu_type_fops);
193 oprofilefs_create_file(sb, root, "backtrace_depth", &depth_fops);
194 oprofilefs_create_file(sb, root, "pointer_siz
[all...]
H A Doprofile_stats.h32 void oprofile_create_stats_files(struct super_block *sb, struct dentry *root);
H A Doprofilefs.c136 struct dentry *root, char const *name, const struct file_operations *fops,
142 dentry = d_alloc_name(root, name);
157 int oprofilefs_create_ulong(struct super_block *sb, struct dentry *root, argument
160 return __oprofilefs_create_file(sb, root, name,
165 int oprofilefs_create_ro_ulong(struct super_block *sb, struct dentry *root, argument
168 return __oprofilefs_create_file(sb, root, name,
187 int oprofilefs_create_ro_atomic(struct super_block *sb, struct dentry *root, argument
190 return __oprofilefs_create_file(sb, root, name,
195 int oprofilefs_create_file(struct super_block *sb, struct dentry *root, argument
198 return __oprofilefs_create_file(sb, root, nam
135 __oprofilefs_create_file(struct super_block *sb, struct dentry *root, char const *name, const struct file_operations *fops, int perm, void *priv) argument
202 oprofilefs_create_file_perm(struct super_block *sb, struct dentry *root, char const *name, const struct file_operations *fops, int perm) argument
209 oprofilefs_mkdir(struct super_block *sb, struct dentry *root, char const *name) argument
[all...]
H A Doprof.h36 void oprofile_create_files(struct super_block *sb, struct dentry *root);
H A Doprofile_stats.c41 void oprofile_create_stats_files(struct super_block *sb, struct dentry *root) argument
49 dir = oprofilefs_mkdir(sb, root, "stats");
/drivers/eisa/
H A Deisa-bus.c44 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
259 eisa_request_resources(struct eisa_root_device *root, struct eisa_device *edev, int slot) argument
313 eisa_probe(struct eisa_root_device *root) argument
422 eisa_root_register(struct eisa_root_device *root) argument
[all...]
/drivers/mmc/core/
H A Ddebugfs.c191 struct dentry *root; local
193 root = debugfs_create_dir(mmc_hostname(host), NULL);
194 if (IS_ERR(root))
197 if (!root)
202 host->debugfs_root = root;
204 if (!debugfs_create_file("ios", S_IRUSR, root, host, &mmc_ios_fops))
207 if (!debugfs_create_file("clock", S_IRUSR | S_IWUSR, root, host,
213 root, &host->clk_delay))
221 root,
228 debugfs_remove_recursive(root);
324 struct dentry *root; local
[all...]
/drivers/infiniband/hw/amso1100/
H A Dc2_alloc.c72 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/gpu/drm/
H A Ddrm_proc.c86 * \param root DRI proc dir entry.
91 * gdm_proc_lists in the given root directory.
94 struct proc_dir_entry *root, struct drm_minor *minor)
117 ent = proc_create_data(files[i].name, S_IRUGO, root,
121 root->name, files[i].name);
142 * \param root DRI proc dir entry.
144 * \return root entry pointer on success, or NULL on failure.
146 * Create the DRI proc root entry "/proc/dri", the device proc root entry
151 struct proc_dir_entry *root)
93 drm_proc_create_files(struct drm_info_list *files, int count, struct proc_dir_entry *root, struct drm_minor *minor) argument
150 drm_proc_init(struct drm_minor *minor, int minor_id, struct proc_dir_entry *root) argument
207 drm_proc_cleanup(struct drm_minor *minor, struct proc_dir_entry *root) argument
[all...]
H A Ddrm_debugfs.c81 * \param root DRI debugfs dir entry.
86 * gdm_debugfs_lists in the given root directory.
89 struct dentry *root, struct drm_minor *minor)
109 root, tmp, &drm_debugfs_fops);
112 root->d_name.name, files[i].name);
139 * \param root DRI debugfs dir entry.
141 * Create the DRI debugfs root entry "/sys/kernel/debug/dri", the device debugfs root entry
146 struct dentry *root)
155 minor->debugfs_root = debugfs_create_dir(name, root);
88 drm_debugfs_create_files(struct drm_info_list *files, int count, struct dentry *root, struct drm_minor *minor) argument
145 drm_debugfs_init(struct drm_minor *minor, int minor_id, struct dentry *root) argument
[all...]
/drivers/of/
H A Dplatform.c389 * @root: parent of the first level to probe or NULL for the root of the tree
393 * Note that children of the provided root are not instantiated as devices
394 * unless the specified root itself matches the bus list and is not NULL.
396 int of_platform_bus_probe(struct device_node *root, argument
403 root = root ? of_node_get(root) : of_find_node_by_path("/");
404 if (!root)
408 pr_debug(" starting at: %s\n", root
444 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/staging/tidspbridge/rmgr/
H A Dnldr.c222 struct lib_node root; /* Library containing node phase */ member in struct:nldr_nodeobject
281 struct lib_node *root, struct dsp_uuid uuid,
295 struct lib_node *root);
380 nldr_node_obj->root.lib = nldr_obj->base_lib;
633 struct lib_node root = { NULL, 0, NULL }; local
640 root = nldr_node_obj->create_lib;
643 root = nldr_node_obj->execute_lib;
646 root = nldr_node_obj->delete_lib;
653 root = nldr_node_obj->root;
1072 struct lib_node *root = (struct lib_node *)parg; local
1151 load_lib(struct nldr_nodeobject *nldr_node_obj, struct lib_node *root, struct dsp_uuid uuid, bool root_prstnt, struct dbll_library_obj **lib_path, enum nldr_phase phase, u16 depth) argument
1667 unload_lib(struct nldr_nodeobject *nldr_node_obj, struct lib_node *root) argument
1804 struct lib_node root = { NULL, 0, NULL }; local
[all...]
/drivers/input/serio/
H A Di8042-sparcio.h110 struct device_node *root = of_find_node_by_path("/"); local
112 if (!strcmp(root->name, "SUNW,JavaStation-1")) {
140 struct device_node *root = of_find_node_by_path("/"); local
142 if (strcmp(root->name, "SUNW,JavaStation-1"))
/drivers/block/paride/
H A Dmkd9 mknod $1 $2 $3 $4 ; chmod 0660 $1 ; chown root:disk $1
/drivers/mtd/ubi/
H A Dscan.h70 * @root: root of the RB-tree containing all the eraseblock belonging to this
85 struct rb_root root; member in struct:ubi_scan_volume
90 * @volumes: root of the volume RB-tree
155 rb_erase(&seb->u.rb, &sv->root);
/drivers/nubus/
H A Dproc.c82 /* Can't do this recursively since the root directory is structured
86 struct nubus_dir* root)
92 while (nubus_readdir(root, &ent) != -1) {
104 printk(KERN_ERR "NuBus root directory node %x:%x has no subdir!\n",
116 struct nubus_dir root; local
139 nubus_get_root_dir(dev->board, &root);
140 nubus_proc_populate(dev, e, &root);
84 nubus_proc_populate(struct nubus_dev* dev, struct proc_dir_entry* parent, struct nubus_dir* root) argument
/drivers/pci/
H A Dsetup-res.c96 struct resource *root, *conflict; local
98 root = pci_find_parent_resource(dev, res);
99 if (!root) {
105 conflict = request_resource_conflict(root, res);
174 struct resource *root, *conflict; local
187 root = pci_find_parent_resource(dev, res);
188 if (!root) {
190 root = &ioport_resource;
192 root = &iomem_resource;
197 conflict = request_resource_conflict(root, re
[all...]
/drivers/usb/musb/
H A Dmusb_debugfs.c240 struct dentry *root; local
244 root = debugfs_create_dir("musb", NULL);
245 if (!root) {
250 file = debugfs_create_file("regdump", S_IRUGO, root, musb,
258 root, musb, &musb_test_mode_fops);
264 musb_debugfs_root = root;
269 debugfs_remove_recursive(root);
/drivers/base/regmap/
H A Dregcache-rbtree.c37 struct rb_root root; member in struct:regcache_rbtree_ctx
78 node = rbtree_ctx->root.rb_node;
95 static int regcache_rbtree_insert(struct rb_root *root, argument
104 new = &root->rb_node;
126 rb_insert_color(&rbnode->node, root);
145 for (node = rb_first(&rbtree_ctx->root); node != NULL;
202 rbtree_ctx->root = RB_ROOT;
234 next = rb_first(&rbtree_ctx->root);
238 rb_erase(&rbtree_node->node, &rbtree_ctx->root);
322 for (node = rb_first(&rbtree_ctx->root); nod
[all...]
/drivers/xen/xenbus/
H A Dxenbus_probe.h40 char *root; member in struct:xen_bus_type
/drivers/parisc/
H A Deisa.c67 struct eisa_root_device root; member in struct:eisa_ba
367 eisa_dev.root.dev = &dev->dev;
368 dev_set_drvdata(&dev->dev, &eisa_dev.root);
369 eisa_dev.root.bus_base_addr = 0;
370 eisa_dev.root.res = &eisa_dev.hba.io_space;
371 eisa_dev.root.slots = result;
372 eisa_dev.root.dma_mask = 0xffffffff; /* wild guess */
373 if (eisa_root_register (&eisa_dev.root)) {
374 printk(KERN_ERR "EISA: Failed to register EISA root\n");

Completed in 566 milliseconds

12345