/linux-4.1.27/fs/btrfs/ |
D | transaction.c | 108 struct btrfs_root *root, *tmp; in switch_commit_roots() local 111 list_for_each_entry_safe(root, tmp, &trans->switch_commits, in switch_commit_roots() 113 list_del_init(&root->dirty_list); in switch_commit_roots() 114 free_extent_buffer(root->commit_root); in switch_commit_roots() 115 root->commit_root = btrfs_root_node(root); in switch_commit_roots() 116 if (is_fstree(root->objectid)) in switch_commit_roots() 117 btrfs_unpin_free_ino(root); in switch_commit_roots() 118 clear_btree_io_tree(&root->dirty_log_pages); in switch_commit_roots() 151 static noinline int join_transaction(struct btrfs_root *root, unsigned int type) in join_transaction() argument 154 struct btrfs_fs_info *fs_info = root->fs_info; in join_transaction() [all …]
|
D | inode-map.c | 31 struct btrfs_root *root = data; in caching_kthread() local 32 struct btrfs_fs_info *fs_info = root->fs_info; in caching_kthread() 33 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in caching_kthread() 41 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in caching_kthread() 60 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in caching_kthread() 71 ret = btrfs_next_leaf(root, path); in caching_kthread() 90 root->ino_cache_progress = last; in caching_kthread() 103 if (key.objectid >= root->highest_objectid) in caching_kthread() 109 wake_up(&root->ino_cache_wait); in caching_kthread() 117 if (last < root->highest_objectid - 1) { in caching_kthread() [all …]
|
D | tree-defrag.c | 33 struct btrfs_root *root) in btrfs_defrag_leaves() argument 44 if (root->fs_info->extent_root == root) { in btrfs_defrag_leaves() 52 if (!test_bit(BTRFS_ROOT_REF_COWS, &root->state)) in btrfs_defrag_leaves() 55 if (btrfs_test_opt(root, SSD)) in btrfs_defrag_leaves() 62 level = btrfs_header_level(root->node); in btrfs_defrag_leaves() 67 if (root->defrag_progress.objectid == 0) { in btrfs_defrag_leaves() 71 root_node = btrfs_lock_root_node(root); in btrfs_defrag_leaves() 74 root->defrag_max.objectid = 0; in btrfs_defrag_leaves() 76 btrfs_node_key_to_cpu(root_node, &root->defrag_max, in btrfs_defrag_leaves() 82 memcpy(&key, &root->defrag_progress, sizeof(key)); in btrfs_defrag_leaves() [all …]
|
D | disk-io.c | 59 static void free_fs_root(struct btrfs_root *root); 62 static void btrfs_destroy_ordered_extents(struct btrfs_root *root); 64 struct btrfs_root *root); 65 static void btrfs_destroy_delalloc_inodes(struct btrfs_root *root); 66 static int btrfs_destroy_marked_extents(struct btrfs_root *root, 69 static int btrfs_destroy_pinned_extent(struct btrfs_root *root, 71 static int btrfs_cleanup_transaction(struct btrfs_root *root); 72 static void btrfs_error_commit_super(struct btrfs_root *root); 229 BTRFS_I(inode)->root->fs_info->fs_devices->latest_bdev; in btree_get_extent() 244 em->bdev = BTRFS_I(inode)->root->fs_info->fs_devices->latest_bdev; in btree_get_extent() [all …]
|
D | transaction.h | 124 struct btrfs_root *root; member 134 struct btrfs_root *root; member 151 BTRFS_I(inode)->last_sub_trans = BTRFS_I(inode)->root->log_transid; in btrfs_set_inode_last_trans() 152 BTRFS_I(inode)->last_log_commit = BTRFS_I(inode)->root->last_log_commit; in btrfs_set_inode_last_trans() 157 struct btrfs_root *root); 158 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, 161 struct btrfs_root *root, int num_items); 162 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root); 163 struct btrfs_trans_handle *btrfs_join_transaction_nolock(struct btrfs_root *root); 164 struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root); [all …]
|
D | ctree.c | 29 *root, struct btrfs_path *path, int level); 31 *root, struct btrfs_key *ins_key, 34 struct btrfs_root *root, struct extent_buffer *dst, 37 struct btrfs_root *root, 40 static void del_ptr(struct btrfs_root *root, struct btrfs_path *path, 148 struct extent_buffer *btrfs_root_node(struct btrfs_root *root) in btrfs_root_node() argument 154 eb = rcu_dereference(root->node); in btrfs_root_node() 176 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root) in btrfs_lock_root_node() argument 181 eb = btrfs_root_node(root); in btrfs_lock_root_node() 183 if (eb == root->node) in btrfs_lock_root_node() [all …]
|
D | inode.c | 66 struct btrfs_root *root; member 138 struct btrfs_root *root, struct inode *inode, in insert_inline_extent() argument 168 ret = btrfs_insert_empty_item(trans, root, path, &key, in insert_inline_extent() 226 ret = btrfs_update_inode(trans, root, inode); in insert_inline_extent() 239 static noinline int cow_file_range_inline(struct btrfs_root *root, in cow_file_range_inline() argument 249 u64 aligned_end = ALIGN(end, root->sectorsize); in cow_file_range_inline() 261 data_len > BTRFS_MAX_INLINE_DATA_SIZE(root) || in cow_file_range_inline() 263 (actual_end & (root->sectorsize - 1)) == 0) || in cow_file_range_inline() 265 data_len > root->fs_info->max_inline) { in cow_file_range_inline() 273 trans = btrfs_join_transaction(root); in cow_file_range_inline() [all …]
|
D | ioctl.c | 217 struct btrfs_root *root = ip->root; in btrfs_ioctl_setflags() local 228 if (btrfs_root_readonly(root)) in btrfs_ioctl_setflags() 325 if (root->fs_info->compress_type == BTRFS_COMPRESS_LZO) in btrfs_ioctl_setflags() 341 trans = btrfs_start_transaction(root, 1); in btrfs_ioctl_setflags() 350 ret = btrfs_update_inode(trans, root, inode); in btrfs_ioctl_setflags() 352 btrfs_end_transaction(trans, root); in btrfs_ioctl_setflags() 442 struct btrfs_root *root = BTRFS_I(dir)->root; in create_subvol() local 455 ret = btrfs_find_free_objectid(root->fs_info->tree_root, &objectid); in create_subvol() 471 ret = btrfs_subvolume_reserve_metadata(root, &block_rsv, in create_subvol() 476 trans = btrfs_start_transaction(root, 0); in create_subvol() [all …]
|
D | delayed-inode.c | 52 struct btrfs_root *root, u64 inode_id) in btrfs_init_delayed_node() argument 54 delayed_node->root = root; in btrfs_init_delayed_node() 82 struct btrfs_root *root) in btrfs_get_delayed_root() argument 84 return root->fs_info->delayed_root; in btrfs_get_delayed_root() 90 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_delayed_node() local 100 spin_lock(&root->inode_lock); in btrfs_get_delayed_node() 101 node = radix_tree_lookup(&root->delayed_nodes_tree, ino); in btrfs_get_delayed_node() 106 spin_unlock(&root->inode_lock); in btrfs_get_delayed_node() 112 spin_unlock(&root->inode_lock); in btrfs_get_delayed_node() 115 spin_unlock(&root->inode_lock); in btrfs_get_delayed_node() [all …]
|
D | extent-tree.c | 78 struct btrfs_root *root, u64 bytenr, 81 struct btrfs_root *root, 91 struct btrfs_root *root, 96 struct btrfs_root *root, 113 int btrfs_pin_extent(struct btrfs_root *root, 230 static int add_excluded_extent(struct btrfs_root *root, in add_excluded_extent() argument 234 set_extent_bits(&root->fs_info->freed_extents[0], in add_excluded_extent() 236 set_extent_bits(&root->fs_info->freed_extents[1], in add_excluded_extent() 241 static void free_excluded_extents(struct btrfs_root *root, in free_excluded_extents() argument 249 clear_extent_bits(&root->fs_info->freed_extents[0], in free_excluded_extents() [all …]
|
D | disk-io.h | 47 struct extent_buffer *read_tree_block(struct btrfs_root *root, u64 bytenr, 49 void readahead_tree_block(struct btrfs_root *root, u64 bytenr); 50 int reada_tree_block_flagged(struct btrfs_root *root, u64 bytenr, 52 struct extent_buffer *btrfs_find_create_tree_block(struct btrfs_root *root, 59 void close_ctree(struct btrfs_root *root); 61 struct btrfs_root *root, int max_mirrors); 63 int btrfs_commit_super(struct btrfs_root *root); 68 int btrfs_init_fs_root(struct btrfs_root *root); 70 struct btrfs_root *root); 84 void btrfs_btree_balance_dirty(struct btrfs_root *root); [all …]
|
D | tree-log.c | 97 struct btrfs_root *root, struct inode *inode, 103 struct btrfs_root *root, 106 struct btrfs_root *root, 140 struct btrfs_root *root, in start_log_trans() argument 146 mutex_lock(&root->log_mutex); in start_log_trans() 147 if (root->log_root) { in start_log_trans() 148 if (btrfs_need_log_full_commit(root->fs_info, trans)) { in start_log_trans() 152 if (!root->log_start_pid) { in start_log_trans() 153 root->log_start_pid = current->pid; in start_log_trans() 154 clear_bit(BTRFS_ROOT_MULTI_LOG_TASKS, &root->state); in start_log_trans() [all …]
|
D | super.c | 251 struct btrfs_root *root, const char *function, in __btrfs_abort_transaction() argument 258 &root->fs_info->fs_state)) { in __btrfs_abort_transaction() 269 btrfs_warn(root->fs_info, in __btrfs_abort_transaction() 276 wake_up(&root->fs_info->transaction_wait); in __btrfs_abort_transaction() 277 wake_up(&root->fs_info->transaction_blocked_wait); in __btrfs_abort_transaction() 278 __btrfs_std_error(root->fs_info, function, line, errno, NULL); in __btrfs_abort_transaction() 388 int btrfs_parse_options(struct btrfs_root *root, char *options) in btrfs_parse_options() argument 390 struct btrfs_fs_info *info = root->fs_info; in btrfs_parse_options() 399 cache_gen = btrfs_super_cache_generation(root->fs_info->super_copy); in btrfs_parse_options() 424 btrfs_info(root->fs_info, "allowing degraded mounts"); in btrfs_parse_options() [all …]
|
D | dir-item.c | 34 struct btrfs_root *root, in insert_with_overflow() argument 46 ret = btrfs_insert_empty_item(trans, root, path, cpu_key, data_size); in insert_with_overflow() 49 di = btrfs_match_dir_item_name(root, path, name, name_len); in insert_with_overflow() 52 btrfs_extend_item(root, path, data_size); in insert_with_overflow() 69 struct btrfs_root *root, in btrfs_insert_xattr_item() argument 82 BUG_ON(name_len + data_len > BTRFS_MAX_XATTR_SIZE(root)); in btrfs_insert_xattr_item() 89 dir_item = insert_with_overflow(trans, root, path, &key, data_size, in btrfs_insert_xattr_item() 121 *root, const char *name, int name_len, in btrfs_insert_dir_item() 147 dir_item = insert_with_overflow(trans, root, path, &key, data_size, in btrfs_insert_dir_item() 169 if (root == root->fs_info->tree_root) { in btrfs_insert_dir_item() [all …]
|
D | file-item.c | 41 struct btrfs_root *root, in btrfs_insert_file_extent() argument 61 ret = btrfs_insert_empty_item(trans, root, path, &file_key, in btrfs_insert_file_extent() 88 struct btrfs_root *root, in btrfs_lookup_csum() argument 98 u16 csum_size = btrfs_super_csum_size(root->fs_info->super_copy); in btrfs_lookup_csum() 104 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum() 118 root->fs_info->sb->s_blocksize_bits; in btrfs_lookup_csum() 140 struct btrfs_root *root, in btrfs_lookup_file_extent() argument 152 ret = btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent() 161 static int __btrfs_lookup_bio_sums(struct btrfs_root *root, in __btrfs_lookup_bio_sums() argument 179 u16 csum_size = btrfs_super_csum_size(root->fs_info->super_copy); in __btrfs_lookup_bio_sums() [all …]
|
D | relocation.c | 60 struct btrfs_root *root; member 289 static struct rb_node *tree_insert(struct rb_root *root, u64 bytenr, in tree_insert() argument 292 struct rb_node **p = &root->rb_node; in tree_insert() 309 rb_insert_color(node, root); in tree_insert() 313 static struct rb_node *tree_search(struct rb_root *root, u64 bytenr) in tree_search() argument 315 struct rb_node *n = root->rb_node; in tree_search() 337 if (bnode->root) in backref_tree_panic() 338 fs_info = bnode->root->fs_info; in backref_tree_panic() 527 static int should_ignore_root(struct btrfs_root *root) in should_ignore_root() argument 531 if (!test_bit(BTRFS_ROOT_REF_COWS, &root->state)) in should_ignore_root() [all …]
|
D | root-tree.c | 81 int btrfs_find_root(struct btrfs_root *root, struct btrfs_key *search_key, in btrfs_find_root() argument 90 ret = btrfs_search_slot(NULL, root, search_key, path, 0, 0); in btrfs_find_root() 136 *root, struct btrfs_key *key, struct btrfs_root_item in btrfs_update_root() 150 ret = btrfs_search_slot(trans, root, key, path, 0, 1); in btrfs_update_root() 152 btrfs_abort_transaction(trans, root, ret); in btrfs_update_root() 157 btrfs_print_leaf(root, path->nodes[0]); in btrfs_update_root() 158 btrfs_crit(root->fs_info, "unable to update root key %llu %u %llu", in btrfs_update_root() 175 ret = btrfs_search_slot(trans, root, key, path, in btrfs_update_root() 178 btrfs_abort_transaction(trans, root, ret); in btrfs_update_root() 182 ret = btrfs_del_item(trans, root, path); in btrfs_update_root() [all …]
|
D | xattr.c | 39 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_getxattr() local 50 di = btrfs_lookup_xattr(NULL, root, path, btrfs_ino(inode), name, in __btrfs_getxattr() 96 struct btrfs_root *root = BTRFS_I(inode)->root; in do_setxattr() local 101 if (name_len + size > BTRFS_MAX_XATTR_SIZE(root)) in do_setxattr() 110 di = btrfs_lookup_xattr(trans, root, path, btrfs_ino(inode), in do_setxattr() 117 ret = btrfs_delete_one_dir_name(trans, root, path, di); in do_setxattr() 130 di = btrfs_lookup_xattr(NULL, root, path, btrfs_ino(inode), in do_setxattr() 142 ret = btrfs_insert_xattr_item(trans, root, path, btrfs_ino(inode), in do_setxattr() 152 di = btrfs_match_dir_item_name(root, path, name, name_len); in do_setxattr() 159 di = btrfs_match_dir_item_name(root, path, name, name_len); in do_setxattr() [all …]
|
D | file.c | 62 u64 root; member 74 if (defrag1->root > defrag2->root) in __compare_inode_defrag() 76 else if (defrag1->root < defrag2->root) in __compare_inode_defrag() 98 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_add_inode_defrag() local 104 p = &root->fs_info->defrag_inodes.rb_node; in __btrfs_add_inode_defrag() 128 rb_insert_color(&defrag->rb_node, &root->fs_info->defrag_inodes); in __btrfs_add_inode_defrag() 132 static inline int __need_auto_defrag(struct btrfs_root *root) in __need_auto_defrag() argument 134 if (!btrfs_test_opt(root, AUTO_DEFRAG)) in __need_auto_defrag() 137 if (btrfs_fs_closing(root->fs_info)) in __need_auto_defrag() 150 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_add_inode_defrag() local [all …]
|
D | inode-map.h | 4 void btrfs_init_free_ino_ctl(struct btrfs_root *root); 5 void btrfs_unpin_free_ino(struct btrfs_root *root); 6 void btrfs_return_ino(struct btrfs_root *root, u64 objectid); 7 int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid); 8 int btrfs_save_ino_cache(struct btrfs_root *root, 11 int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid); 12 int btrfs_find_highest_objectid(struct btrfs_root *root, u64 *objectid);
|
D | export.c | 34 fid->root_objectid = BTRFS_I(inode)->root->objectid; in btrfs_encode_fh() 42 parent_root_id = BTRFS_I(parent)->root->objectid; in btrfs_encode_fh() 63 struct btrfs_root *root; in btrfs_get_dentry() local 78 root = btrfs_read_fs_root_no_name(fs_info, &key); in btrfs_get_dentry() 79 if (IS_ERR(root)) { in btrfs_get_dentry() 80 err = PTR_ERR(root); in btrfs_get_dentry() 88 inode = btrfs_iget(sb, &key, root, NULL); in btrfs_get_dentry() 156 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_get_parent() local 169 key.objectid = root->root_key.objectid; in btrfs_get_parent() 172 root = root->fs_info->tree_root; in btrfs_get_parent() [all …]
|
D | volumes.c | 46 struct btrfs_root *root, 48 static int btrfs_relocate_sys_chunks(struct btrfs_root *root); 976 struct btrfs_root *root = device->dev_root; in btrfs_account_dev_extents_size() local 998 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_account_dev_extents_size() 1002 ret = btrfs_previous_item(root, path, key.objectid, key.type); in btrfs_account_dev_extents_size() 1011 ret = btrfs_next_leaf(root, path); in btrfs_account_dev_extents_size() 1083 search_list = &trans->root->fs_info->pinned_chunks; in contains_pending_extent() 1116 struct btrfs_root *root = device->dev_root; in find_free_dev_extent() local 1134 search_start = max(root->fs_info->alloc_start, 1024ull * 1024); in find_free_dev_extent() 1157 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in find_free_dev_extent() [all …]
|
D | ctree.h | 463 __le64 root; member 653 __le64 root; member 670 __le64 root; member 1223 struct rb_root root; member 1269 struct btrfs_root *root; member 2162 #define btrfs_test_opt(root, opt) ((root)->fs_info->mount_opt & \ argument 2165 #define btrfs_set_and_info(root, opt, fmt, args...) \ argument 2167 if (!btrfs_test_opt(root, opt)) \ 2168 btrfs_info(root->fs_info, fmt, ##args); \ 2169 btrfs_set_opt(root->fs_info->mount_opt, opt); \ [all …]
|
D | ordered-data.c | 41 static struct rb_node *tree_insert(struct rb_root *root, u64 file_offset, in tree_insert() argument 44 struct rb_node **p = &root->rb_node; in tree_insert() 61 rb_insert_color(node, root); in tree_insert() 77 static struct rb_node *__tree_search(struct rb_root *root, u64 file_offset, in __tree_search() argument 80 struct rb_node *n = root->rb_node; in __tree_search() 154 struct rb_root *root = &tree->tree; in tree_search() local 165 ret = __tree_search(root, file_offset, &prev); in tree_search() 188 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_add_ordered_extent() local 234 spin_lock(&root->ordered_extent_lock); in __btrfs_add_ordered_extent() 236 &root->ordered_extents); in __btrfs_add_ordered_extent() [all …]
|
D | delayed-inode.h | 58 struct btrfs_root *root; member 102 struct btrfs_root *root, const char *name, 108 struct btrfs_root *root, struct inode *dir, 114 struct btrfs_root *root); 116 struct btrfs_root *root, int nr); 118 void btrfs_balance_delayed_items(struct btrfs_root *root); 129 struct btrfs_root *root, struct inode *inode); 134 void btrfs_kill_all_delayed_nodes(struct btrfs_root *root); 137 void btrfs_destroy_delayed_inodes(struct btrfs_root *root); 154 void btrfs_assert_delayed_root_empty(struct btrfs_root *root);
|
D | inode-item.c | 97 struct btrfs_root *root, in btrfs_lookup_inode_extref() argument 111 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_inode_extref() 122 struct btrfs_root *root, in btrfs_del_inode_extref() argument 147 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_inode_extref() 160 btrfs_std_error(root->fs_info, -ENOENT); in btrfs_del_inode_extref() 175 ret = btrfs_del_item(trans, root, path); in btrfs_del_inode_extref() 185 btrfs_truncate_item(root, path, item_size - del_len, 1); in btrfs_del_inode_extref() 194 struct btrfs_root *root, in btrfs_del_inode_ref() argument 220 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_inode_ref() 240 ret = btrfs_del_item(trans, root, path); in btrfs_del_inode_ref() [all …]
|
D | free-space-cache.h | 53 struct inode *lookup_free_space_inode(struct btrfs_root *root, 56 int create_free_space_inode(struct btrfs_root *root, 61 int btrfs_check_trunc_cache_free_space(struct btrfs_root *root, 63 int btrfs_truncate_free_space_cache(struct btrfs_root *root, 69 int btrfs_wait_cache_io(struct btrfs_root *root, 74 int btrfs_write_out_cache(struct btrfs_root *root, 78 struct inode *lookup_free_ino_inode(struct btrfs_root *root, 80 int create_free_ino_inode(struct btrfs_root *root, 84 struct btrfs_root *root); 85 int btrfs_write_out_ino_cache(struct btrfs_root *root, [all …]
|
D | tree-log.h | 59 struct btrfs_root *root, struct btrfs_log_ctx *ctx); 60 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root); 65 struct btrfs_root *root, struct dentry *dentry, 70 struct btrfs_root *root, 74 struct btrfs_root *root, 77 void btrfs_end_log_trans(struct btrfs_root *root); 78 int btrfs_pin_log_trans(struct btrfs_root *root);
|
D | props.c | 159 static int iterate_object_props(struct btrfs_root *root, in iterate_object_props() argument 186 ret = btrfs_next_leaf(root, path); in iterate_object_props() 276 struct btrfs_root *root = BTRFS_I(inode)->root; in inode_prop_iterator() local 281 btrfs_warn(root->fs_info, in inode_prop_iterator() 284 root->root_key.objectid, ret); in inode_prop_iterator() 291 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_load_inode_props() local 295 ret = iterate_object_props(root, path, ino, inode_prop_iterator, inode); in btrfs_load_inode_props() 305 struct btrfs_root *root = BTRFS_I(inode)->root; in inherit_props() local 323 num_bytes = btrfs_calc_trans_metadata_size(root, 1); in inherit_props() 324 ret = btrfs_block_rsv_add(root, trans->block_rsv, in inherit_props() [all …]
|
D | btrfs_inode.h | 62 struct btrfs_root *root; member 210 const struct btrfs_root *root) in btrfs_inode_hash() argument 212 u64 h = objectid ^ (root->objectid * GOLDEN_RATIO_PRIME); in btrfs_inode_hash() 223 unsigned long h = btrfs_inode_hash(inode->i_ino, BTRFS_I(inode)->root); in btrfs_insert_inode_hash() 249 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_is_free_space_inode() local 251 if (root == root->fs_info->tree_root && in btrfs_is_free_space_inode() 268 BTRFS_I(inode)->root->last_log_commit) { in btrfs_inode_in_log()
|
D | dev-replace.c | 47 static int btrfs_dev_replace_find_srcdev(struct btrfs_root *root, u64 srcdevid, 309 int btrfs_dev_replace_start(struct btrfs_root *root, in btrfs_dev_replace_start() argument 313 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_dev_replace_start() 335 trans = btrfs_attach_transaction(root); in btrfs_dev_replace_start() 337 ret = btrfs_commit_transaction(trans, root); in btrfs_dev_replace_start() 346 ret = btrfs_dev_replace_find_srcdev(root, args->start.srcdevid, in btrfs_dev_replace_start() 354 ret = btrfs_init_dev_replace_tgtdev(root, args->start.tgtdev_name, in btrfs_dev_replace_start() 401 btrfs_wait_ordered_roots(root->fs_info, -1); in btrfs_dev_replace_start() 404 trans = btrfs_start_transaction(root, 0); in btrfs_dev_replace_start() 411 ret = btrfs_commit_transaction(trans, root); in btrfs_dev_replace_start() [all …]
|
D | orphan.c | 23 struct btrfs_root *root, u64 offset) in btrfs_insert_orphan_item() argument 37 ret = btrfs_insert_empty_item(trans, root, path, &key, 0); in btrfs_insert_orphan_item() 44 struct btrfs_root *root, u64 offset) in btrfs_del_orphan_item() argument 58 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_orphan_item() 66 ret = btrfs_del_item(trans, root, path); in btrfs_del_orphan_item()
|
D | volumes.h | 419 int btrfs_read_sys_array(struct btrfs_root *root); 420 int btrfs_read_chunk_tree(struct btrfs_root *root); 425 int btrfs_map_bio(struct btrfs_root *root, int rw, struct bio *bio, 433 int btrfs_find_device_missing_or_by_path(struct btrfs_root *root, 439 int btrfs_rm_device(struct btrfs_root *root, char *device_path); 447 int btrfs_init_new_device(struct btrfs_root *root, char *path); 448 int btrfs_init_dev_replace_tgtdev(struct btrfs_root *root, char *device_path, 459 int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset); 464 int btrfs_get_dev_stats(struct btrfs_root *root, 481 unsigned long btrfs_full_stripe_len(struct btrfs_root *root, [all …]
|
D | free-space-cache.c | 46 static struct inode *__lookup_free_space_inode(struct btrfs_root *root, in __lookup_free_space_inode() argument 62 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in __lookup_free_space_inode() 77 inode = btrfs_iget(root->fs_info->sb, &location, root, NULL); in __lookup_free_space_inode() 94 struct inode *lookup_free_space_inode(struct btrfs_root *root, in lookup_free_space_inode() argument 108 inode = __lookup_free_space_inode(root, path, in lookup_free_space_inode() 115 btrfs_info(root->fs_info, in lookup_free_space_inode() 131 static int __create_free_space_inode(struct btrfs_root *root, in __create_free_space_inode() argument 144 ret = btrfs_insert_empty_inode(trans, root, path, ino); in __create_free_space_inode() 174 ret = btrfs_insert_empty_item(trans, root, path, &key, in __create_free_space_inode() 192 int create_free_space_inode(struct btrfs_root *root, in create_free_space_inode() argument [all …]
|
D | compression.c | 88 static inline int compressed_bio_size(struct btrfs_root *root, in compressed_bio_size() argument 91 u16 csum_size = btrfs_super_csum_size(root->fs_info->super_copy); in compressed_bio_size() 94 (DIV_ROUND_UP(disk_size, root->sectorsize)) * csum_size; in compressed_bio_size() 130 btrfs_info(BTRFS_I(inode)->root->fs_info, in check_compressed_csum() 336 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_submit_compressed_write() local 348 cb = kmalloc(compressed_bio_size(root, compressed_len), GFP_NOFS); in btrfs_submit_compressed_write() 362 bdev = BTRFS_I(inode)->root->fs_info->fs_devices->latest_bdev; in btrfs_submit_compressed_write() 397 ret = btrfs_bio_wq_end_io(root->fs_info, bio, in btrfs_submit_compressed_write() 402 ret = btrfs_csum_one_bio(root, inode, bio, in btrfs_submit_compressed_write() 407 ret = btrfs_map_bio(root, WRITE, bio, 0, 1); in btrfs_submit_compressed_write() [all …]
|
D | reada.c | 108 static int __readahead_hook(struct btrfs_root *root, struct extent_buffer *eb, in __readahead_hook() argument 117 struct btrfs_fs_info *fs_info = root->fs_info; in __readahead_hook() 191 btrfs_debug(root->fs_info, in __readahead_hook() 236 int btree_readahead_hook(struct btrfs_root *root, struct extent_buffer *eb, in btree_readahead_hook() argument 241 ret = __readahead_hook(root, eb, start, err); in btree_readahead_hook() 243 reada_start_machine(root->fs_info); in btree_readahead_hook() 318 static struct reada_extent *reada_find_extent(struct btrfs_root *root, in reada_find_extent() argument 325 struct btrfs_fs_info *fs_info = root->fs_info; in reada_find_extent() 349 blocksize = root->nodesize; in reada_find_extent() 366 btrfs_err(root->fs_info, in reada_find_extent() [all …]
|
D | delayed-ref.c | 46 if (ref1->root < ref2->root) in comp_tree_refs() 48 if (ref1->root > ref2->root) in comp_tree_refs() 66 if (ref1->root < ref2->root) in comp_data_refs() 68 if (ref1->root > ref2->root) in comp_data_refs() 139 static struct btrfs_delayed_ref_node *tree_insert(struct rb_root *root, in tree_insert() argument 142 struct rb_node **p = &root->rb_node; in tree_insert() 164 rb_insert_color(node, root); in tree_insert() 169 static struct btrfs_delayed_ref_head *htree_insert(struct rb_root *root, in htree_insert() argument 172 struct rb_node **p = &root->rb_node; in htree_insert() 194 rb_insert_color(node, root); in htree_insert() [all …]
|
D | print-tree.c | 172 void btrfs_print_leaf(struct btrfs_root *root, struct extent_buffer *l) in btrfs_print_leaf() argument 193 btrfs_info(root->fs_info, "leaf %llu total ptrs %d free space %d", in btrfs_print_leaf() 194 btrfs_header_bytenr(l), nr, btrfs_leaf_free_space(root, l)); in btrfs_print_leaf() 313 void btrfs_print_tree(struct btrfs_root *root, struct extent_buffer *c) in btrfs_print_tree() argument 324 btrfs_print_leaf(root, c); in btrfs_print_tree() 327 btrfs_info(root->fs_info, "node %llu level %d total ptrs %d free spc %u", in btrfs_print_tree() 329 (u32)BTRFS_NODEPTRS_PER_BLOCK(root) - nr); in btrfs_print_tree() 337 struct extent_buffer *next = read_tree_block(root, in btrfs_print_tree() 346 btrfs_print_tree(root, next); in btrfs_print_tree()
|
D | ulist.c | 50 ulist->root = RB_ROOT; in ulist_init() 69 ulist->root = RB_ROOT; in ulist_fini() 120 struct rb_node *n = ulist->root.rb_node; in ulist_rbtree_search() 137 struct rb_node **p = &ulist->root.rb_node; in ulist_rbtree_insert() 153 rb_insert_color(&ins->rb_node, &ulist->root); in ulist_rbtree_insert()
|
D | raid56.h | 45 int raid56_parity_recover(struct btrfs_root *root, struct bio *bio, 48 int raid56_parity_write(struct btrfs_root *root, struct bio *bio, 52 raid56_parity_alloc_scrub_rbio(struct btrfs_root *root, struct bio *bio,
|
/linux-4.1.27/Documentation/cpuidle/ |
D | sysfs.txt | 31 drwxr-xr-x 2 root root 0 Feb 8 10:42 state0 32 drwxr-xr-x 2 root root 0 Feb 8 10:42 state1 33 drwxr-xr-x 2 root root 0 Feb 8 10:42 state2 34 drwxr-xr-x 2 root root 0 Feb 8 10:42 state3 38 -r--r--r-- 1 root root 4096 Feb 8 10:42 desc 39 -rw-r--r-- 1 root root 4096 Feb 8 10:42 disable 40 -r--r--r-- 1 root root 4096 Feb 8 10:42 latency 41 -r--r--r-- 1 root root 4096 Feb 8 10:42 name 42 -r--r--r-- 1 root root 4096 Feb 8 10:42 power 43 -r--r--r-- 1 root root 4096 Feb 8 10:42 time [all …]
|
/linux-4.1.27/drivers/acpi/ |
D | pci_root.c | 161 static void decode_osc_bits(struct acpi_pci_root *root, char *msg, u32 word, in decode_osc_bits() argument 174 dev_info(&root->device->dev, "_OSC: %s [%s]\n", msg, buf); in decode_osc_bits() 177 static void decode_osc_support(struct acpi_pci_root *root, char *msg, u32 word) in decode_osc_support() argument 179 decode_osc_bits(root, msg, word, pci_osc_support_bit, in decode_osc_support() 183 static void decode_osc_control(struct acpi_pci_root *root, char *msg, u32 word) in decode_osc_control() argument 185 decode_osc_bits(root, msg, word, pci_osc_control_bit, in decode_osc_control() 210 static acpi_status acpi_pci_query_osc(struct acpi_pci_root *root, in acpi_pci_query_osc() argument 218 support |= root->osc_support_set; in acpi_pci_query_osc() 224 capbuf[OSC_CONTROL_DWORD] = *control | root->osc_control_set; in acpi_pci_query_osc() 227 capbuf[OSC_CONTROL_DWORD] = root->osc_control_set; in acpi_pci_query_osc() [all …]
|
/linux-4.1.27/lib/ |
D | radix-tree.c | 82 static inline gfp_t root_gfp_mask(struct radix_tree_root *root) in root_gfp_mask() argument 84 return root->gfp_mask & __GFP_BITS_MASK; in root_gfp_mask() 105 static inline void root_tag_set(struct radix_tree_root *root, unsigned int tag) in root_tag_set() argument 107 root->gfp_mask |= (__force gfp_t)(1 << (tag + __GFP_BITS_SHIFT)); in root_tag_set() 110 static inline void root_tag_clear(struct radix_tree_root *root, unsigned int tag) in root_tag_clear() argument 112 root->gfp_mask &= (__force gfp_t)~(1 << (tag + __GFP_BITS_SHIFT)); in root_tag_clear() 115 static inline void root_tag_clear_all(struct radix_tree_root *root) in root_tag_clear_all() argument 117 root->gfp_mask &= __GFP_BITS_MASK; in root_tag_clear_all() 120 static inline int root_tag_get(struct radix_tree_root *root, unsigned int tag) in root_tag_get() argument 122 return (__force unsigned)root->gfp_mask & (1 << (tag + __GFP_BITS_SHIFT)); in root_tag_get() [all …]
|
D | rbtree_test.c | 19 static struct rb_root root = RB_ROOT; variable 24 static void insert(struct test_node *node, struct rb_root *root) in insert() argument 26 struct rb_node **new = &root->rb_node, *parent = NULL; in insert() 38 rb_insert_color(&node->rb, root); in insert() 41 static inline void erase(struct test_node *node, struct rb_root *root) in erase() argument 43 rb_erase(&node->rb, root); in erase() 67 static void insert_augmented(struct test_node *node, struct rb_root *root) in RB_DECLARE_CALLBACKS() 69 struct rb_node **new = &root->rb_node, *rb_parent = NULL; in RB_DECLARE_CALLBACKS() 87 rb_insert_augmented(&node->rb, root, &augment_callbacks); in RB_DECLARE_CALLBACKS() 90 static void erase_augmented(struct test_node *node, struct rb_root *root) in erase_augmented() argument [all …]
|
D | rbtree.c | 64 struct rb_root *root, int color) in __rb_rotate_set_parents() argument 69 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents() 73 __rb_insert(struct rb_node *node, struct rb_root *root, in __rb_insert() argument 156 __rb_rotate_set_parents(gparent, parent, root, RB_RED); in __rb_insert() 190 __rb_rotate_set_parents(gparent, parent, root, RB_RED); in __rb_insert() 202 ____rb_erase_color(struct rb_node *parent, struct rb_root *root, in ____rb_erase_color() argument 230 __rb_rotate_set_parents(parent, sibling, root, in ____rb_erase_color() 305 __rb_rotate_set_parents(parent, sibling, root, in ____rb_erase_color() 316 __rb_rotate_set_parents(parent, sibling, root, in ____rb_erase_color() 355 __rb_rotate_set_parents(parent, sibling, root, in ____rb_erase_color() [all …]
|
D | interval_tree_test.c | 11 static struct rb_root root = RB_ROOT; variable 18 search(unsigned long query, struct rb_root *root) in search() argument 23 for (node = interval_tree_iter_first(root, query, query); node; in search() 62 interval_tree_insert(nodes + j, &root); in interval_tree_test_init() 64 interval_tree_remove(nodes + j, &root); in interval_tree_test_init() 76 interval_tree_insert(nodes + j, &root); in interval_tree_test_init() 83 results += search(queries[j], &root); in interval_tree_test_init()
|
/linux-4.1.27/fs/btrfs/tests/ |
D | qgroup-tests.c | 33 static int insert_normal_tree_ref(struct btrfs_root *root, u64 bytenr, in insert_normal_tree_ref() argument 59 ret = btrfs_insert_empty_item(&trans, root, path, &ins, size); in insert_normal_tree_ref() 86 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, in add_tree_ref() argument 109 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1); in add_tree_ref() 131 ret = btrfs_insert_empty_item(&trans, root, path, &key, 0); in add_tree_ref() 138 static int remove_extent_item(struct btrfs_root *root, u64 bytenr, in remove_extent_item() argument 159 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1); in remove_extent_item() 165 btrfs_del_item(&trans, root, path); in remove_extent_item() 170 static int remove_extent_ref(struct btrfs_root *root, u64 bytenr, in remove_extent_ref() argument 193 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1); in remove_extent_ref() [all …]
|
D | inode-tests.c | 26 static void insert_extent(struct btrfs_root *root, u64 start, u64 len, in insert_extent() argument 32 struct extent_buffer *leaf = root->node; in insert_extent() 47 setup_items_for_insert(root, &path, &key, &value_len, value_len, in insert_extent() 62 static void insert_inode_item_key(struct btrfs_root *root) in insert_inode_item_key() argument 65 struct extent_buffer *leaf = root->node; in insert_inode_item_key() 78 setup_items_for_insert(root, &path, &key, &value_len, value_len, in insert_inode_item_key() 100 static void setup_file_extents(struct btrfs_root *root) in setup_file_extents() argument 107 insert_extent(root, offset, 5, 5, 0, 0, 0, BTRFS_FILE_EXTENT_REG, 0, in setup_file_extents() 118 insert_extent(root, offset, 1, 1, 0, 0, 0, BTRFS_FILE_EXTENT_INLINE, 0, in setup_file_extents() 124 insert_extent(root, offset, 4, 4, 0, 0, 0, BTRFS_FILE_EXTENT_REG, 0, in setup_file_extents() [all …]
|
D | extent-buffer-tests.c | 28 struct btrfs_root *root; in test_btrfs_split_item() local 43 root = btrfs_alloc_dummy_root(); in test_btrfs_split_item() 44 if (IS_ERR(root)) { in test_btrfs_split_item() 46 return PTR_ERR(root); in test_btrfs_split_item() 52 kfree(root); in test_btrfs_split_item() 68 setup_items_for_insert(root, path, &key, &value_len, value_len, in test_btrfs_split_item() 81 ret = btrfs_split_item(NULL, root, path, &key, 17); in test_btrfs_split_item() 142 ret = btrfs_split_item(NULL, root, path, &key, 4); in test_btrfs_split_item() 221 kfree(root); in test_btrfs_split_item()
|
D | btrfs-tests.c | 161 void btrfs_free_dummy_root(struct btrfs_root *root) in btrfs_free_dummy_root() argument 163 if (!root) in btrfs_free_dummy_root() 165 if (root->node) in btrfs_free_dummy_root() 166 free_extent_buffer(root->node); in btrfs_free_dummy_root() 167 if (root->fs_info) in btrfs_free_dummy_root() 168 btrfs_free_dummy_fs_info(root->fs_info); in btrfs_free_dummy_root() 169 kfree(root); in btrfs_free_dummy_root()
|
/linux-4.1.27/fs/kernfs/ |
D | mount.c | 24 struct kernfs_root *root = kernfs_info(sb)->root; in kernfs_sop_remount_fs() local 25 struct kernfs_syscall_ops *scops = root->syscall_ops; in kernfs_sop_remount_fs() 28 return scops->remount_fs(root, flags, data); in kernfs_sop_remount_fs() 34 struct kernfs_root *root = kernfs_root(dentry->d_fsdata); in kernfs_sop_show_options() local 35 struct kernfs_syscall_ops *scops = root->syscall_ops; in kernfs_sop_show_options() 38 return scops->show_options(sf, root); in kernfs_sop_show_options() 61 return kernfs_info(sb)->root; in kernfs_root_from_sb() 69 struct dentry *root; in kernfs_fill_super() local 80 inode = kernfs_get_inode(sb, info->root->kn); in kernfs_fill_super() 88 root = d_make_root(inode); in kernfs_fill_super() [all …]
|
D | dir.c | 321 struct kernfs_root *root = kernfs_root(kn); in kernfs_put_active() local 333 wake_up_all(&root->deactivate_waitq); in kernfs_put_active() 347 struct kernfs_root *root = kernfs_root(kn); in kernfs_drain() local 361 wait_event(root->deactivate_waitq, in kernfs_drain() 396 struct kernfs_root *root; in kernfs_put() local 400 root = kernfs_root(kn); in kernfs_put() 424 ida_simple_remove(&root->ino_ida, kn->ino); in kernfs_put() 433 ida_destroy(&root->ino_ida); in kernfs_put() 434 kfree(root); in kernfs_put() 506 static struct kernfs_node *__kernfs_new_node(struct kernfs_root *root, in __kernfs_new_node() argument [all …]
|
/linux-4.1.27/include/linux/ |
D | radix-tree.h | 122 #define INIT_RADIX_TREE(root, mask) \ argument 124 (root)->height = 0; \ 125 (root)->gfp_mask = (mask); \ 126 (root)->rnode = NULL; \ 263 int __radix_tree_create(struct radix_tree_root *root, unsigned long index, 266 void *__radix_tree_lookup(struct radix_tree_root *root, unsigned long index, 270 bool __radix_tree_delete_node(struct radix_tree_root *root, 275 radix_tree_gang_lookup(struct radix_tree_root *root, void **results, 277 unsigned int radix_tree_gang_lookup_slot(struct radix_tree_root *root, 283 void *radix_tree_tag_set(struct radix_tree_root *root, [all …]
|
D | rbtree_augmented.h | 44 extern void __rb_insert_augmented(struct rb_node *node, struct rb_root *root, 57 rb_insert_augmented(struct rb_node *node, struct rb_root *root, in rb_insert_augmented() argument 60 __rb_insert_augmented(node, root, augment->rotate); in rb_insert_augmented() 122 struct rb_node *parent, struct rb_root *root) in __rb_change_child() argument 130 root->rb_node = new; in __rb_change_child() 133 extern void __rb_erase_color(struct rb_node *parent, struct rb_root *root, 137 __rb_erase_augmented(struct rb_node *node, struct rb_root *root, in __rb_erase_augmented() argument 154 __rb_change_child(node, child, parent, root); in __rb_erase_augmented() 165 __rb_change_child(node, tmp, parent, root); in __rb_erase_augmented() 216 __rb_change_child(node, successor, tmp, root); in __rb_erase_augmented() [all …]
|
D | fs_struct.h | 14 struct path root, pwd; member 26 static inline void get_fs_root(struct fs_struct *fs, struct path *root) in get_fs_root() argument 29 *root = fs->root; in get_fs_root() 30 path_get(root); in get_fs_root()
|
D | interval_tree_generic.h | 68 ITSTATIC void ITPREFIX ## _insert(ITSTRUCT *node, struct rb_root *root) \ 70 struct rb_node **link = &root->rb_node, *rb_parent = NULL; \ 87 rb_insert_augmented(&node->ITRB, root, &ITPREFIX ## _augment); \ 90 ITSTATIC void ITPREFIX ## _remove(ITSTRUCT *node, struct rb_root *root) \ 92 rb_erase_augmented(&node->ITRB, root, &ITPREFIX ## _augment); \ 143 ITPREFIX ## _iter_first(struct rb_root *root, ITTYPE start, ITTYPE last) \ 147 if (!root->rb_node) \ 149 node = rb_entry(root->rb_node, ITSTRUCT, ITRB); \
|
D | oprofile.h | 53 int (*create_files)(struct dentry * root); 127 int oprofilefs_create_file(struct dentry * root, 130 int oprofilefs_create_file_perm(struct dentry * root, 134 int oprofilefs_create_ulong(struct dentry * root, 138 int oprofilefs_create_ro_ulong(struct dentry * root, 142 int oprofilefs_create_ro_atomic(struct dentry * root,
|
D | rbtree.h | 52 #define RB_EMPTY_ROOT(root) ((root)->rb_node == NULL) argument 77 struct rb_root *root); 102 #define rbtree_postorder_for_each_entry_safe(pos, n, root, field) \ argument 103 for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \
|
D | sysctl.h | 138 struct ctl_table_root *root; member 147 struct rb_root root; member 157 struct ctl_table_set *(*lookup)(struct ctl_table_root *root, 172 struct ctl_table_root *root, 176 void register_sysctl_root(struct ctl_table_root *root); 211 struct ctl_table_root *root, in setup_sysctl_set() argument
|
D | interval_tree.h | 14 interval_tree_insert(struct interval_tree_node *node, struct rb_root *root); 17 interval_tree_remove(struct interval_tree_node *node, struct rb_root *root); 20 interval_tree_iter_first(struct rb_root *root,
|
D | kernfs.h | 83 struct kernfs_root *root; member 147 int (*remount_fs)(struct kernfs_root *root, int *flags, char *data); 148 int (*show_options)(struct seq_file *sf, struct kernfs_root *root); 284 void kernfs_destroy_root(struct kernfs_root *root); 314 struct kernfs_root *root, unsigned long magic, 317 struct super_block *kernfs_pin_sb(struct kernfs_root *root, const void *ns); 363 static inline void kernfs_destroy_root(struct kernfs_root *root) { } in kernfs_destroy_root() argument 408 struct kernfs_root *root, unsigned long magic, in kernfs_mount_ns() argument 467 struct kernfs_root *root, unsigned long magic, in kernfs_mount() argument 470 return kernfs_mount_ns(fs_type, flags, root, in kernfs_mount()
|
D | rmap.h | 28 struct anon_vma *root; /* Root of this anon_vma tree */ member 110 down_write(&anon_vma->root->rwsem); in anon_vma_lock_write() 115 up_write(&anon_vma->root->rwsem); in anon_vma_unlock_write() 120 down_read(&anon_vma->root->rwsem); in anon_vma_lock_read() 125 up_read(&anon_vma->root->rwsem); in anon_vma_unlock_read()
|
D | ioport.h | 141 extern struct resource *request_resource_conflict(struct resource *root, struct resource *new); 142 extern int request_resource(struct resource *root, struct resource *new); 145 extern void reserve_region_with_split(struct resource *root, 150 extern void insert_resource_expand_to_fit(struct resource *root, struct resource *new); 152 extern int allocate_resource(struct resource *root, struct resource *new, 160 struct resource *lookup_resource(struct resource *root, resource_size_t start); 211 extern int devm_request_resource(struct device *dev, struct resource *root,
|
D | of_platform.h | 67 extern int of_platform_bus_probe(struct device_node *root, 71 extern int of_platform_populate(struct device_node *root, 77 static inline int of_platform_populate(struct device_node *root, in of_platform_populate() argument
|
/linux-4.1.27/drivers/eisa/ |
D | eisa-bus.c | 44 struct eisa_root_device *root, in is_forced_dev() argument 50 x = (root->bus_nr << 8) | edev->slot; in is_forced_dev() 188 static int __init eisa_init_device(struct eisa_root_device *root, in eisa_init_device() argument 196 sig_addr = SLOT_ADDRESS(root, slot) + EISA_VENDOR_ID_OFFSET; in eisa_init_device() 204 edev->state = inb(SLOT_ADDRESS(root, slot) + EISA_CONFIG_OFFSET) in eisa_init_device() 206 edev->base_addr = SLOT_ADDRESS(root, slot); in eisa_init_device() 207 edev->dma_mask = root->dma_mask; /* Default DMA mask */ in eisa_init_device() 209 edev->dev.parent = root->dev; in eisa_init_device() 213 dev_set_name(&edev->dev, "%02X:%02X", root->bus_nr, slot); in eisa_init_device() 223 if (is_forced_dev(enable_dev, enable_dev_count, root, edev)) in eisa_init_device() [all …]
|
/linux-4.1.27/Documentation/target/ |
D | tcm_mod_builder.txt | 72 drwxr-xr-x 2 root root 4096 2010-10-05 03:23 . 73 drwxr-xr-x 9 root root 4096 2010-10-05 03:22 .. 74 -rw-r--r-- 1 root root 282 2010-10-05 03:22 Kbuild 75 -rw-r--r-- 1 root root 171 2010-10-05 03:22 Kconfig 76 -rw-r--r-- 1 root root 49 2010-10-05 03:23 modules.order 77 -rw-r--r-- 1 root root 738 2010-10-05 03:22 tcm_nab5000_base.h 78 -rw-r--r-- 1 root root 9096 2010-10-05 03:22 tcm_nab5000_configfs.c 79 -rw-r--r-- 1 root root 191200 2010-10-05 03:23 tcm_nab5000_configfs.o 80 -rw-r--r-- 1 root root 40504 2010-10-05 03:23 .tcm_nab5000_configfs.o.cmd 81 -rw-r--r-- 1 root root 5414 2010-10-05 03:22 tcm_nab5000_fabric.c [all …]
|
/linux-4.1.27/drivers/md/persistent-data/ |
D | dm-bitset.c | 36 int dm_bitset_empty(struct dm_disk_bitset *info, dm_block_t *root) in dm_bitset_empty() argument 38 return dm_array_empty(&info->array_info, root); in dm_bitset_empty() 42 int dm_bitset_resize(struct dm_disk_bitset *info, dm_block_t root, in dm_bitset_resize() argument 51 return dm_array_resize(&info->array_info, root, old_blocks, new_blocks, in dm_bitset_resize() 56 int dm_bitset_del(struct dm_disk_bitset *info, dm_block_t root) in dm_bitset_del() argument 58 return dm_array_del(&info->array_info, root); in dm_bitset_del() 62 int dm_bitset_flush(struct dm_disk_bitset *info, dm_block_t root, in dm_bitset_flush() argument 74 r = dm_array_set_value(&info->array_info, root, info->current_index, in dm_bitset_flush() 86 static int read_bits(struct dm_disk_bitset *info, dm_block_t root, in read_bits() argument 92 r = dm_array_get_value(&info->array_info, root, array_index, &value); in read_bits() [all …]
|
D | dm-array.c | 253 static int lookup_ablock(struct dm_array_info *info, dm_block_t root, in lookup_ablock() argument 261 r = dm_btree_lookup(&info->btree_info, root, &key, &block_le); in lookup_ablock() 272 struct dm_block *block, dm_block_t *root) in insert_ablock() argument 277 return dm_btree_insert(&info->btree_info, *root, &index, &block_le, root); in insert_ablock() 285 static int shadow_ablock(struct dm_array_info *info, dm_block_t *root, in shadow_ablock() argument 297 r = dm_btree_lookup(&info->btree_info, *root, &key, &block_le); in shadow_ablock() 328 r = insert_ablock(info, index, *block, root); in shadow_ablock() 340 const void *value, dm_block_t *root) in insert_new_ablock() argument 351 r = insert_ablock(info, block_index, block, root); in insert_new_ablock() 360 dm_block_t *root) in insert_full_ablocks() argument [all …]
|
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,
|
D | dm-array.h | 92 int dm_array_empty(struct dm_array_info *info, dm_block_t *root); 109 int dm_array_resize(struct dm_array_info *info, dm_block_t root, 118 int dm_array_del(struct dm_array_info *info, dm_block_t root); 130 int dm_array_get_value(struct dm_array_info *info, dm_block_t root, 148 int dm_array_set_value(struct dm_array_info *info, dm_block_t root, 160 int dm_array_walk(struct dm_array_info *info, dm_block_t root,
|
D | dm-bitset.h | 112 int dm_bitset_del(struct dm_disk_bitset *info, dm_block_t root); 124 int dm_bitset_set_bit(struct dm_disk_bitset *info, dm_block_t root, 137 int dm_bitset_clear_bit(struct dm_disk_bitset *info, dm_block_t root, 151 int dm_bitset_test_bit(struct dm_disk_bitset *info, dm_block_t root, 161 int dm_bitset_flush(struct dm_disk_bitset *info, dm_block_t root,
|
D | dm-btree.c | 121 int dm_btree_empty(struct dm_btree_info *info, dm_block_t *root) in dm_btree_empty() argument 143 *root = dm_block_location(b); in dm_btree_empty() 253 int dm_btree_del(struct dm_btree_info *info, dm_block_t root) in dm_btree_del() argument 265 r = push_frame(s, root, 0); in dm_btree_del() 348 int dm_btree_lookup(struct dm_btree_info *info, dm_block_t root, in dm_btree_lookup() argument 371 r = btree_lookup_raw(&spine, root, keys[level], in dm_btree_lookup() 385 root = le64_to_cpu(internal_value_le); in dm_btree_lookup() 423 static int btree_split_sibling(struct shadow_spine *s, dm_block_t root, in btree_split_sibling() argument 595 static int btree_insert_raw(struct shadow_spine *s, dm_block_t root, in btree_insert_raw() argument 603 r = shadow_step(s, root, vt); in btree_insert_raw() [all …]
|
/linux-4.1.27/arch/powerpc/platforms/85xx/ |
D | mpc85xx_rdb.c | 50 unsigned long root = of_get_flat_dt_root(); in mpc85xx_rdb_pic_init() local 56 if (of_flat_dt_is_compatible(root, "fsl,MPC85XXRDB-CAMP")) { in mpc85xx_rdb_pic_init() 151 unsigned long root = of_get_flat_dt_root(); in p2020_rdb_probe() local 153 if (of_flat_dt_is_compatible(root, "fsl,P2020RDB")) in p2020_rdb_probe() 160 unsigned long root = of_get_flat_dt_root(); in p1020_rdb_probe() local 162 if (of_flat_dt_is_compatible(root, "fsl,P1020RDB")) in p1020_rdb_probe() 169 unsigned long root = of_get_flat_dt_root(); in p1020_rdb_pc_probe() local 171 return of_flat_dt_is_compatible(root, "fsl,P1020RDB-PC"); in p1020_rdb_pc_probe() 176 unsigned long root = of_get_flat_dt_root(); in p1020_rdb_pd_probe() local 178 return of_flat_dt_is_compatible(root, "fsl,P1020RDB-PD"); in p1020_rdb_pd_probe() [all …]
|
D | xes_mpc85xx.c | 119 struct device_node *root; in xes_mpc85xx_setup_arch() local 122 root = of_find_node_by_path("/"); in xes_mpc85xx_setup_arch() 123 if (root == NULL) in xes_mpc85xx_setup_arch() 126 model = of_get_property(root, "model", NULL); in xes_mpc85xx_setup_arch() 147 unsigned long root = of_get_flat_dt_root(); in xes_mpc8572_probe() local 149 return of_flat_dt_is_compatible(root, "xes,MPC8572"); in xes_mpc8572_probe() 154 unsigned long root = of_get_flat_dt_root(); in xes_mpc8548_probe() local 156 return of_flat_dt_is_compatible(root, "xes,MPC8548"); in xes_mpc8548_probe() 161 unsigned long root = of_get_flat_dt_root(); in xes_mpc8540_probe() local 163 return of_flat_dt_is_compatible(root, "xes,MPC8540"); in xes_mpc8540_probe()
|
D | mpc85xx_ds.c | 69 unsigned long root = of_get_flat_dt_root(); in mpc85xx_ds_pic_init() local 71 if (of_flat_dt_is_compatible(root, "fsl,MPC8572DS-CAMP")) { in mpc85xx_ds_pic_init() 172 unsigned long root = of_get_flat_dt_root(); in mpc8544_ds_probe() local 174 return !!of_flat_dt_is_compatible(root, "MPC8544DS"); in mpc8544_ds_probe() 190 unsigned long root = of_get_flat_dt_root(); in mpc8572_ds_probe() local 192 return !!of_flat_dt_is_compatible(root, "fsl,MPC8572DS"); in mpc8572_ds_probe() 200 unsigned long root = of_get_flat_dt_root(); in p2020_ds_probe() local 202 return !!of_flat_dt_is_compatible(root, "fsl,P2020DS"); in p2020_ds_probe()
|
D | p1010rdb.c | 65 unsigned long root = of_get_flat_dt_root(); in p1010_rdb_probe() local 67 if (of_flat_dt_is_compatible(root, "fsl,P1010RDB")) in p1010_rdb_probe() 69 if (of_flat_dt_is_compatible(root, "fsl,P1010RDB-PB")) in p1010_rdb_probe()
|
D | ge_imp3a.c | 50 unsigned long root = of_get_flat_dt_root(); in ge_imp3a_pic_init() local 52 if (of_flat_dt_is_compatible(root, "fsl,MPC8572DS-CAMP")) { in ge_imp3a_pic_init() 201 unsigned long root = of_get_flat_dt_root(); in ge_imp3a_probe() local 203 return of_flat_dt_is_compatible(root, "ge,IMP3A"); in ge_imp3a_probe()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | interval_tree.c | 127 #define interval_for_each(node, root) \ argument 128 for (node = interval_first(root); node != NULL; \ 131 #define interval_for_each_reverse(node, root) \ argument 132 for (node = interval_last(root); node != NULL; \ 178 enum interval_iter interval_iterate(struct interval_node *root, in interval_iterate() argument 185 interval_for_each(node, root) { in interval_iterate() 195 enum interval_iter interval_iterate_reverse(struct interval_node *root, in interval_iterate_reverse() argument 202 interval_for_each_reverse(node, root) { in interval_iterate_reverse() 214 struct interval_node *interval_find(struct interval_node *root, in interval_find() argument 217 struct interval_node *walk = root; in interval_find() [all …]
|
/linux-4.1.27/fs/nfs/blocklayout/ |
D | extent_tree.c | 18 ext_tree_first(struct rb_root *root) in ext_tree_first() argument 20 struct rb_node *node = rb_first(root); in ext_tree_first() 45 __ext_tree_search(struct rb_root *root, sector_t start) in __ext_tree_search() argument 47 struct rb_node *node = root->rb_node; in __ext_tree_search() 94 ext_try_to_merge_left(struct rb_root *root, struct pnfs_block_extent *be) in ext_try_to_merge_left() argument 100 rb_erase(&be->be_node, root); in ext_try_to_merge_left() 110 ext_try_to_merge_right(struct rb_root *root, struct pnfs_block_extent *be) in ext_try_to_merge_right() argument 116 rb_erase(&right->be_node, root); in ext_try_to_merge_right() 125 __ext_tree_insert(struct rb_root *root, in __ext_tree_insert() argument 128 struct rb_node **p = &root->rb_node, *parent = NULL; in __ext_tree_insert() [all …]
|
/linux-4.1.27/drivers/mmc/core/ |
D | debugfs.c | 213 struct dentry *root; in mmc_add_host_debugfs() local 215 root = debugfs_create_dir(mmc_hostname(host), NULL); in mmc_add_host_debugfs() 216 if (IS_ERR(root)) in mmc_add_host_debugfs() 219 if (!root) in mmc_add_host_debugfs() 224 host->debugfs_root = root; in mmc_add_host_debugfs() 226 if (!debugfs_create_file("ios", S_IRUSR, root, host, &mmc_ios_fops)) in mmc_add_host_debugfs() 229 if (!debugfs_create_file("clock", S_IRUSR | S_IWUSR, root, host, in mmc_add_host_debugfs() 235 root, &host->clk_delay)) in mmc_add_host_debugfs() 243 root, in mmc_add_host_debugfs() 250 debugfs_remove_recursive(root); in mmc_add_host_debugfs() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/ |
D | fsl.txt | 5 Required root node properties: 9 Required root node properties: 13 Required root node properties: 17 Required root node properties: 21 Required root node properties: 25 Required root node properties: 29 Required root node properties: 33 Required root node properties: 37 Required root node properties: 41 Required root node properties: [all …]
|
D | rockchip.txt | 5 Required root node properties: 9 Required root node properties: 13 Required root node properties: 17 Required root node properties: 21 Required root node properties: 27 Required root node properties:
|
D | mediatek.txt | 5 Required root node property: 18 Required root node properties: 21 Required root node properties: 24 Required root node properties: 27 Required root node properties: 30 Required root node properties:
|
D | spear.txt | 5 Required root node property: 9 Required root node property: 13 Required root node property: 17 Required root node property: 21 Required root node property: 25 Required root node property:
|
D | sti.txt | 5 Required root node property: 9 Required root node property: 13 Required root node property: 17 Required root node property: 21 Required root node property:
|
D | vt8500.txt | 5 Required root node property: 9 Required root node property: 13 Required root node property: 17 Required root node property: 21 Required root node property:
|
D | altera.txt | 5 Required root node properties: 9 Required root node properties: 13 Required root node properties:
|
D | davinci.txt | 5 Required root node properties: 9 Required root node properties: 16 Required root node properties:
|
D | armada-370-xp.txt | 7 Required root node property: 14 Required root node property: 21 Required root node property:
|
/linux-4.1.27/drivers/oprofile/ |
D | oprofile_files.c | 178 void oprofile_create_files(struct dentry *root) in oprofile_create_files() argument 186 oprofilefs_create_file(root, "enable", &enable_fops); in oprofile_create_files() 187 oprofilefs_create_file_perm(root, "dump", &dump_fops, 0666); in oprofile_create_files() 188 oprofilefs_create_file(root, "buffer", &event_buffer_fops); in oprofile_create_files() 189 oprofilefs_create_ulong(root, "buffer_size", &oprofile_buffer_size); in oprofile_create_files() 190 oprofilefs_create_ulong(root, "buffer_watershed", &oprofile_buffer_watershed); in oprofile_create_files() 191 oprofilefs_create_ulong(root, "cpu_buffer_size", &oprofile_cpu_buffer_size); in oprofile_create_files() 192 oprofilefs_create_file(root, "cpu_type", &cpu_type_fops); in oprofile_create_files() 193 oprofilefs_create_file(root, "backtrace_depth", &depth_fops); in oprofile_create_files() 194 oprofilefs_create_file(root, "pointer_size", &pointer_size_fops); in oprofile_create_files() [all …]
|
D | oprofilefs.c | 135 static int __oprofilefs_create_file(struct dentry *root, char const *name, in __oprofilefs_create_file() argument 141 mutex_lock(&d_inode(root)->i_mutex); in __oprofilefs_create_file() 142 dentry = d_alloc_name(root, name); in __oprofilefs_create_file() 144 mutex_unlock(&d_inode(root)->i_mutex); in __oprofilefs_create_file() 147 inode = oprofilefs_get_inode(root->d_sb, S_IFREG | perm); in __oprofilefs_create_file() 150 mutex_unlock(&d_inode(root)->i_mutex); in __oprofilefs_create_file() 156 mutex_unlock(&d_inode(root)->i_mutex); in __oprofilefs_create_file() 161 int oprofilefs_create_ulong(struct dentry *root, in oprofilefs_create_ulong() argument 164 return __oprofilefs_create_file(root, name, in oprofilefs_create_ulong() 169 int oprofilefs_create_ro_ulong(struct dentry *root, in oprofilefs_create_ro_ulong() argument [all …]
|
/linux-4.1.27/tools/perf/util/ |
D | strfilter.c | 27 strfilter_node__delete(filter->root); in strfilter__delete() 79 struct strfilter_node root, *cur, *last_op; in strfilter_node__new() local 85 memset(&root, 0, sizeof(root)); in strfilter_node__new() 86 last_op = cur = &root; in strfilter_node__new() 101 if (!cur->r || !root.r) in strfilter_node__new() 103 cur = strfilter_node__alloc(OP_or, root.r, NULL); in strfilter_node__new() 106 root.r = cur; in strfilter_node__new() 142 return root.r; in strfilter_node__new() 147 strfilter_node__delete(root.r); in strfilter_node__new() 161 filter->root = strfilter_node__new(rules, &ep); in strfilter__new() [all …]
|
D | callchain.h | 102 static inline void callchain_init(struct callchain_root *root) in callchain_init() argument 104 INIT_LIST_HEAD(&root->node.val); in callchain_init() 106 root->node.parent = NULL; in callchain_init() 107 root->node.hit = 0; in callchain_init() 108 root->node.children_hit = 0; in callchain_init() 109 root->node.rb_root_in = RB_ROOT; in callchain_init() 110 root->max_depth = 0; in callchain_init() 119 int callchain_append(struct callchain_root *root, 202 void free_callchain(struct callchain_root *root);
|
D | callchain.c | 255 rb_insert_callchain(struct rb_root *root, struct callchain_node *chain, in rb_insert_callchain() argument 258 struct rb_node **p = &root->rb_node; in rb_insert_callchain() 291 rb_insert_color(&chain->rb_node, root); in rb_insert_callchain() 318 sort_chain_flat(struct rb_root *rb_root, struct callchain_root *root, in sort_chain_flat() argument 321 __sort_chain_flat(rb_root, &root->node, min_hit); in sort_chain_flat() 568 append_chain(struct callchain_node *root, 573 append_chain_children(struct callchain_node *root, in append_chain_children() argument 579 struct rb_node **p = &root->rb_root_in.rb_node; in append_chain_children() 604 rnode = add_child(root, cursor, period); in append_chain_children() 606 rb_insert_color(&rnode->rb_node_in, &root->rb_root_in); in append_chain_children() [all …]
|
/linux-4.1.27/kernel/ |
D | cgroup.c | 277 if (!(cgrp->root->subsys_mask & (1 << ss->id))) in cgroup_e_css() 413 #define for_each_root(root) \ argument 414 list_for_each_entry((root), &cgroup_roots, root_list) 633 BUG_ON(cgrp1->root != cgrp2->root); in compare_css_sets() 642 if (cgrp1->root == new_cgrp->root) { in compare_css_sets() 663 struct cgroup_root *root = cgrp->root; in find_existing_css_set() local 675 if (root->subsys_mask & (1UL << i)) { in find_existing_css_set() 829 if (c->root == cgrp->root) in find_css_set() 855 return root_cgrp->root; in cgroup_root_from_kf() 858 static int cgroup_init_root_id(struct cgroup_root *root) in cgroup_init_root_id() argument [all …]
|
D | resource.c | 106 struct resource *root = m->private; in r_show() local 108 int width = root->end < 0x10000 ? 4 : 8; in r_show() 112 if (p->parent == root) in r_show() 208 static struct resource * __request_resource(struct resource *root, struct resource *new) in __request_resource() argument 215 return root; in __request_resource() 216 if (start < root->start) in __request_resource() 217 return root; in __request_resource() 218 if (end > root->end) in __request_resource() 219 return root; in __request_resource() 220 p = &root->child; in __request_resource() [all …]
|
/linux-4.1.27/net/bridge/ |
D | br_stp_bpdu.c | 90 buf[5] = bpdu->root.prio[0]; in br_send_config_bpdu() 91 buf[6] = bpdu->root.prio[1]; in br_send_config_bpdu() 92 buf[7] = bpdu->root.addr[0]; in br_send_config_bpdu() 93 buf[8] = bpdu->root.addr[1]; in br_send_config_bpdu() 94 buf[9] = bpdu->root.addr[2]; in br_send_config_bpdu() 95 buf[10] = bpdu->root.addr[3]; in br_send_config_bpdu() 96 buf[11] = bpdu->root.addr[4]; in br_send_config_bpdu() 97 buf[12] = bpdu->root.addr[5]; in br_send_config_bpdu() 195 bpdu.root.prio[0] = buf[2]; in br_stp_rcv() 196 bpdu.root.prio[1] = buf[3]; in br_stp_rcv() [all …]
|
/linux-4.1.27/Documentation/ |
D | initrd.txt | 9 This RAM disk can then be mounted as the root file system and programs 10 can be run from it. Afterwards, a new root file system can be mounted 11 from a different device. The previous root (from initrd) is then moved 30 3) if the root device is not /dev/ram0, the old (deprecated) 31 change_root procedure is followed. see the "Obsolete root change 33 4) root device is mounted. if it is /dev/ram0, the initrd image is 34 then mounted as root 38 6) init mounts the "real" root file system 39 7) init places the root file system at the root directory using the 41 8) init execs the /sbin/init on the new root filesystem, performing [all …]
|
D | IRQ-affinity.txt | 21 [root@moon 44]# cd /proc/irq/44 22 [root@moon 44]# cat smp_affinity 25 [root@moon 44]# echo 0f > smp_affinity 26 [root@moon 44]# cat smp_affinity 28 [root@moon 44]# ping -f h 34 [root@moon 44]# cat /proc/interrupts | grep 'CPU\|44:' 42 [root@moon 44]# echo f0 > smp_affinity 43 [root@moon 44]# cat smp_affinity 45 [root@moon 44]# ping -f h 51 [root@moon 44]# cat /proc/interrupts | 'CPU\|44:' [all …]
|
/linux-4.1.27/arch/powerpc/platforms/52xx/ |
D | efika.c | 75 struct device_node *root; in efika_pcisetup() local 78 root = of_find_node_by_path("/"); in efika_pcisetup() 79 if (root == NULL) { in efika_pcisetup() 86 pcictrl = of_get_next_child(root, pcictrl); in efika_pcisetup() 91 of_node_put(root); in efika_pcisetup() 146 struct device_node *root; in efika_show_cpuinfo() local 151 root = of_find_node_by_path("/"); in efika_show_cpuinfo() 152 if (!root) in efika_show_cpuinfo() 155 revision = of_get_property(root, "revision", NULL); in efika_show_cpuinfo() 156 codegendescription = of_get_property(root, "CODEGEN,description", NULL); in efika_show_cpuinfo() [all …]
|
/linux-4.1.27/drivers/misc/genwqe/ |
D | card_debugfs.c | 346 struct dentry *root; in genwqe_init_debugfs() local 355 root = debugfs_create_dir(card_name, cd->debugfs_genwqe); in genwqe_init_debugfs() 356 if (!root) { in genwqe_init_debugfs() 362 file = debugfs_create_file("ddcb_info", S_IRUGO, root, cd, in genwqe_init_debugfs() 369 file = debugfs_create_file("info", S_IRUGO, root, cd, in genwqe_init_debugfs() 376 file = debugfs_create_x64("err_inject", 0666, root, &cd->err_inject); in genwqe_init_debugfs() 382 file = debugfs_create_u32("ddcb_software_timeout", 0666, root, in genwqe_init_debugfs() 389 file = debugfs_create_u32("kill_timeout", 0666, root, in genwqe_init_debugfs() 398 cd->debugfs_root = root; in genwqe_init_debugfs() 402 file = debugfs_create_file("curr_regs", S_IRUGO, root, cd, in genwqe_init_debugfs() [all …]
|
/linux-4.1.27/fs/cachefiles/ |
D | security.c | 54 struct dentry *root) in cachefiles_check_cache_dir() argument 58 ret = security_inode_mkdir(d_backing_inode(root), root, 0); in cachefiles_check_cache_dir() 65 ret = security_inode_create(d_backing_inode(root), root, 0); in cachefiles_check_cache_dir() 80 struct dentry *root, in cachefiles_determine_cache_security() argument 98 ret = set_create_files_as(new, d_backing_inode(root)); in cachefiles_determine_cache_security() 110 ret = cachefiles_check_cache_dir(cache, root); in cachefiles_determine_cache_security()
|
D | bind.c | 89 struct dentry *graveyard, *cachedir, *root; in cachefiles_daemon_add_cache() local 122 root = path.dentry; in cachefiles_daemon_add_cache() 126 if (d_is_negative(root) || in cachefiles_daemon_add_cache() 127 !d_backing_inode(root)->i_op->lookup || in cachefiles_daemon_add_cache() 128 !d_backing_inode(root)->i_op->mkdir || in cachefiles_daemon_add_cache() 129 !d_backing_inode(root)->i_op->setxattr || in cachefiles_daemon_add_cache() 130 !d_backing_inode(root)->i_op->getxattr || in cachefiles_daemon_add_cache() 131 !root->d_sb->s_op->statfs || in cachefiles_daemon_add_cache() 132 !root->d_sb->s_op->sync_fs) in cachefiles_daemon_add_cache() 136 if (root->d_sb->s_flags & MS_RDONLY) in cachefiles_daemon_add_cache() [all …]
|
/linux-4.1.27/sound/firewire/oxfw/ |
D | oxfw-proc.c | 78 static void add_node(struct snd_oxfw *oxfw, struct snd_info_entry *root, in add_node() argument 85 entry = snd_info_create_card_entry(oxfw->card, name, root); in add_node() 96 struct snd_info_entry *root; in snd_oxfw_proc_init() local 102 root = snd_info_create_card_entry(oxfw->card, "firewire", in snd_oxfw_proc_init() 104 if (root == NULL) in snd_oxfw_proc_init() 106 root->mode = S_IFDIR | S_IRUGO | S_IXUGO; in snd_oxfw_proc_init() 107 if (snd_info_register(root) < 0) { in snd_oxfw_proc_init() 108 snd_info_free_entry(root); in snd_oxfw_proc_init() 112 add_node(oxfw, root, "formation", proc_read_formation); in snd_oxfw_proc_init()
|
/linux-4.1.27/lib/zlib_inflate/ |
D | inftrees.c | 29 unsigned root; /* number of index bits for root table */ in zlib_inflate_table() local 99 root = *bits; in zlib_inflate_table() 102 if (root > max) root = max; in zlib_inflate_table() 114 if (root < min) root = min; in zlib_inflate_table() 191 curr = root; /* current table index bits */ in zlib_inflate_table() 194 used = 1U << root; /* use root table entries */ in zlib_inflate_table() 246 if (len > root && (huff & mask) != low) { in zlib_inflate_table() 249 drop = root; in zlib_inflate_table() 272 (*table)[low].bits = (unsigned char)root; in zlib_inflate_table() 291 len = root; in zlib_inflate_table() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
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,
|
/linux-4.1.27/arch/powerpc/platforms/chrp/ |
D | setup.c | 100 struct device_node *root; in chrp_show_cpuinfo() local 103 root = of_find_node_by_path("/"); in chrp_show_cpuinfo() 104 if (root) in chrp_show_cpuinfo() 105 model = of_get_property(root, "model", NULL); in chrp_show_cpuinfo() 153 of_node_put(root); in chrp_show_cpuinfo() 196 struct device_node *root; in sio_init() local 199 root = of_find_node_by_path("/"); in sio_init() 200 if (!root) in sio_init() 203 model = of_get_property(root, "model", NULL); in sio_init() 211 of_node_put(root); in sio_init() [all …]
|
/linux-4.1.27/Documentation/isdn/ |
D | README.avmb1 | 80 dr-xr-xr-x 2 root root 0 Jul 1 14:03 . 81 dr-xr-xr-x 82 root root 0 Jun 30 19:08 .. 82 -r--r--r-- 1 root root 0 Jul 1 14:03 applications 83 -r--r--r-- 1 root root 0 Jul 1 14:03 applstats 84 -r--r--r-- 1 root root 0 Jul 1 14:03 capi20 85 -r--r--r-- 1 root root 0 Jul 1 14:03 capidrv 86 -r--r--r-- 1 root root 0 Jul 1 14:03 controller 87 -r--r--r-- 1 root root 0 Jul 1 14:03 contrstats 88 -r--r--r-- 1 root root 0 Jul 1 14:03 driver 89 -r--r--r-- 1 root root 0 Jul 1 14:03 ncci [all …]
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
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, 51 int usnic_uiom_insert_interval(struct rb_root *root, 59 void usnic_uiom_remove_interval(struct rb_root *root, 69 struct rb_root *root,
|
D | usnic_uiom_interval_tree.c | 88 find_intervals_intersection_sorted(struct rb_root *root, unsigned long start, in find_intervals_intersection_sorted() argument 96 for (node = usnic_uiom_interval_tree_iter_first(root, start, last); in find_intervals_intersection_sorted() 106 struct rb_root *root, in usnic_uiom_get_intervals_diff() argument 116 find_intervals_intersection_sorted(root, start, last, in usnic_uiom_get_intervals_diff() 163 int usnic_uiom_insert_interval(struct rb_root *root, unsigned long start, in usnic_uiom_insert_interval() argument 174 find_intervals_intersection_sorted(root, start, last, in usnic_uiom_insert_interval() 218 usnic_uiom_interval_tree_remove(interval, root); in usnic_uiom_insert_interval() 223 usnic_uiom_interval_tree_insert(interval, root); in usnic_uiom_insert_interval() 234 void usnic_uiom_remove_interval(struct rb_root *root, unsigned long start, in usnic_uiom_remove_interval() argument 239 for (interval = usnic_uiom_interval_tree_iter_first(root, start, last); in usnic_uiom_remove_interval() [all …]
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
D | qpace_setup.c | 49 struct device_node *root; in qpace_show_cpuinfo() local 52 root = of_find_node_by_path("/"); in qpace_show_cpuinfo() 53 if (root) in qpace_show_cpuinfo() 54 model = of_get_property(root, "model", NULL); in qpace_show_cpuinfo() 56 of_node_put(root); in qpace_show_cpuinfo() 124 unsigned long root = of_get_flat_dt_root(); in qpace_probe() local 126 if (!of_flat_dt_is_compatible(root, "IBM,QPACE")) in qpace_probe()
|
D | setup.c | 70 struct device_node *root; in cell_show_cpuinfo() local 73 root = of_find_node_by_path("/"); in cell_show_cpuinfo() 74 if (root) in cell_show_cpuinfo() 75 model = of_get_property(root, "model", NULL); in cell_show_cpuinfo() 77 of_node_put(root); in cell_show_cpuinfo() 160 struct device_node *root = of_find_node_by_path("/"); in cell_publish_devices() local 170 for_each_child_of_node(root, np) { in cell_publish_devices() 258 unsigned long root = of_get_flat_dt_root(); in cell_probe() local 260 if (!of_flat_dt_is_compatible(root, "IBM,CBEA") && in cell_probe() 261 !of_flat_dt_is_compatible(root, "IBM,CPBW-1.0")) in cell_probe()
|
/linux-4.1.27/sound/firewire/bebob/ |
D | bebob_proc.c | 158 add_node(struct snd_bebob *bebob, struct snd_info_entry *root, const char *name, in add_node() argument 163 entry = snd_info_create_card_entry(bebob->card, name, root); in add_node() 174 struct snd_info_entry *root; in snd_bebob_proc_init() local 180 root = snd_info_create_card_entry(bebob->card, "firewire", in snd_bebob_proc_init() 182 if (root == NULL) in snd_bebob_proc_init() 184 root->mode = S_IFDIR | S_IRUGO | S_IXUGO; in snd_bebob_proc_init() 185 if (snd_info_register(root) < 0) { in snd_bebob_proc_init() 186 snd_info_free_entry(root); in snd_bebob_proc_init() 190 add_node(bebob, root, "clock", proc_read_clock); in snd_bebob_proc_init() 191 add_node(bebob, root, "firmware", proc_read_hw_info); in snd_bebob_proc_init() [all …]
|
/linux-4.1.27/arch/avr32/kernel/ |
D | ocd.c | 121 struct dentry *root; in ocd_debugfs_init() local 123 root = debugfs_create_dir("ocd", NULL); in ocd_debugfs_init() 124 if (IS_ERR(root) || !root) in ocd_debugfs_init() 126 ocd_debugfs_root = root; in ocd_debugfs_init() 129 root, NULL, &fops_DC); in ocd_debugfs_init() 133 ocd_debugfs_DS = debugfs_create_file("DS", S_IRUSR, root, in ocd_debugfs_init() 138 ocd_debugfs_count = debugfs_create_file("count", S_IRUSR, root, in ocd_debugfs_init()
|
/linux-4.1.27/drivers/infiniband/hw/amso1100/ |
D | c2_alloc.c | 72 struct sp_chunk **root) in c2_init_mqsp_pool() argument 74 return c2_alloc_mqsp_chunk(c2dev, gfp_mask, root); in c2_init_mqsp_pool() 77 void c2_free_mqsp_pool(struct c2_dev *c2dev, struct sp_chunk *root) in c2_free_mqsp_pool() argument 81 while (root) { in c2_free_mqsp_pool() 82 next = root->next; in c2_free_mqsp_pool() 83 dma_free_coherent(&c2dev->pcidev->dev, PAGE_SIZE, root, in c2_free_mqsp_pool() 84 dma_unmap_addr(root, mapping)); in c2_free_mqsp_pool() 85 root = next; in c2_free_mqsp_pool()
|
/linux-4.1.27/Documentation/rapidio/ |
D | sysfs.txt | 147 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:0001 148 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:0004 149 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:0007 150 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:0002 151 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:0003 152 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:0005 153 lrwxrwxrwx 1 root root 0 Feb 11 15:11 device -> ../../../0000:01:00.0 154 -r--r--r-- 1 root root 4096 Feb 11 15:11 port_destid 155 drwxr-xr-x 2 root root 0 Feb 11 15:11 power 156 lrwxrwxrwx 1 root root 0 Feb 11 15:04 subsystem -> ../../../../../../class/rapidio_port [all …]
|
/linux-4.1.27/mm/ |
D | interval_tree.c | 31 struct rb_root *root) in vma_interval_tree_insert_after() argument 58 rb_insert_augmented(&node->shared.rb, root, in vma_interval_tree_insert_after() 77 struct rb_root *root) in INTERVAL_TREE_DEFINE() 83 __anon_vma_interval_tree_insert(node, root); in INTERVAL_TREE_DEFINE() 87 struct rb_root *root) in anon_vma_interval_tree_remove() argument 89 __anon_vma_interval_tree_remove(node, root); in anon_vma_interval_tree_remove() 93 anon_vma_interval_tree_iter_first(struct rb_root *root, in anon_vma_interval_tree_iter_first() argument 96 return __anon_vma_interval_tree_iter_first(root, first, last); in anon_vma_interval_tree_iter_first()
|
D | rmap.c | 81 anon_vma->root = anon_vma; in anon_vma_alloc() 109 if (rwsem_is_locked(&anon_vma->root->rwsem)) { in anon_vma_free() 222 static inline struct anon_vma *lock_anon_vma_root(struct anon_vma *root, struct anon_vma *anon_vma) in lock_anon_vma_root() argument 224 struct anon_vma *new_root = anon_vma->root; in lock_anon_vma_root() 225 if (new_root != root) { in lock_anon_vma_root() 226 if (WARN_ON_ONCE(root)) in lock_anon_vma_root() 227 up_write(&root->rwsem); in lock_anon_vma_root() 228 root = new_root; in lock_anon_vma_root() 229 down_write(&root->rwsem); in lock_anon_vma_root() 231 return root; in lock_anon_vma_root() [all …]
|
D | cleancache.c | 307 struct dentry *root = debugfs_create_dir("cleancache", NULL); in init_cleancache() local 308 if (root == NULL) in init_cleancache() 310 debugfs_create_u64("succ_gets", S_IRUGO, root, &cleancache_succ_gets); in init_cleancache() 312 root, &cleancache_failed_gets); in init_cleancache() 313 debugfs_create_u64("puts", S_IRUGO, root, &cleancache_puts); in init_cleancache() 315 root, &cleancache_invalidates); in init_cleancache()
|
D | slab.h | 170 #define for_each_memcg_cache(iter, root) \ argument 171 list_for_each_entry(iter, &(root)->memcg_params.list, \ 174 #define for_each_memcg_cache_safe(iter, tmp, root) \ argument 175 list_for_each_entry_safe(iter, tmp, &(root)->memcg_params.list, \ 256 #define for_each_memcg_cache(iter, root) \ argument 257 for ((void)(iter), (void)(root); 0; ) 258 #define for_each_memcg_cache_safe(iter, tmp, root) \ argument 259 for ((void)(iter), (void)(tmp), (void)(root); 0; )
|
/linux-4.1.27/drivers/of/ |
D | platform.c | 386 int of_platform_bus_probe(struct device_node *root, in of_platform_bus_probe() argument 393 root = root ? of_node_get(root) : of_find_node_by_path("/"); in of_platform_bus_probe() 394 if (!root) in of_platform_bus_probe() 398 pr_debug(" starting at: %s\n", root->full_name); in of_platform_bus_probe() 401 if (of_match_node(matches, root)) { in of_platform_bus_probe() 402 rc = of_platform_bus_create(root, matches, NULL, parent, false); in of_platform_bus_probe() 403 } else for_each_child_of_node(root, child) { in of_platform_bus_probe() 411 of_node_put(root); in of_platform_bus_probe() 435 int of_platform_populate(struct device_node *root, in of_platform_populate() argument 443 root = root ? of_node_get(root) : of_find_node_by_path("/"); in of_platform_populate() [all …]
|
/linux-4.1.27/fs/autofs4/ |
D | expire.c | 77 struct dentry *root) in get_next_positive_subdir() argument 79 struct autofs_sb_info *sbi = autofs4_sbi(root->d_sb); in get_next_positive_subdir() 84 spin_lock(&root->d_lock); in get_next_positive_subdir() 89 prev = dget_dlock(root); in get_next_positive_subdir() 94 if (next == &root->d_subdirs) { in get_next_positive_subdir() 95 spin_unlock(&root->d_lock); in get_next_positive_subdir() 112 spin_unlock(&root->d_lock); in get_next_positive_subdir() 124 struct dentry *root) in get_next_positive_dentry() argument 126 struct autofs_sb_info *sbi = autofs4_sbi(root->d_sb); in get_next_positive_dentry() 131 return dget(root); in get_next_positive_dentry() [all …]
|
D | inode.c | 71 static int autofs4_show_options(struct seq_file *m, struct dentry *root) in autofs4_show_options() argument 73 struct autofs_sb_info *sbi = autofs4_sbi(root->d_sb); in autofs4_show_options() 74 struct inode *root_inode = d_inode(root->d_sb->s_root); in autofs4_show_options() 208 struct dentry * root; in autofs4_fill_super() local 258 root = d_make_root(root_inode); in autofs4_fill_super() 259 if (!root) in autofs4_fill_super() 263 root->d_fsdata = ino; in autofs4_fill_super() 285 __managed_dentry_set_managed(root); in autofs4_fill_super() 324 s->s_root = root; in autofs4_fill_super() 335 dput(root); in autofs4_fill_super()
|
/linux-4.1.27/sound/firewire/fireworks/ |
D | fireworks_proc.c | 196 add_node(struct snd_efw *efw, struct snd_info_entry *root, const char *name, in add_node() argument 201 entry = snd_info_create_card_entry(efw->card, name, root); in add_node() 212 struct snd_info_entry *root; in snd_efw_proc_init() local 218 root = snd_info_create_card_entry(efw->card, "firewire", in snd_efw_proc_init() 220 if (root == NULL) in snd_efw_proc_init() 222 root->mode = S_IFDIR | S_IRUGO | S_IXUGO; in snd_efw_proc_init() 223 if (snd_info_register(root) < 0) { in snd_efw_proc_init() 224 snd_info_free_entry(root); in snd_efw_proc_init() 228 add_node(efw, root, "clock", proc_read_clock); in snd_efw_proc_init() 229 add_node(efw, root, "firmware", proc_read_hwinfo); in snd_efw_proc_init() [all …]
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_interval.c | 47 drbd_insert_interval(struct rb_root *root, struct drbd_interval *this) in drbd_insert_interval() argument 49 struct rb_node **new = &root->rb_node, *parent = NULL; in drbd_insert_interval() 75 rb_insert_augmented(&this->rb, root, &augment_callbacks); in drbd_insert_interval() 90 drbd_contains_interval(struct rb_root *root, sector_t sector, in drbd_contains_interval() argument 93 struct rb_node *node = root->rb_node; in drbd_contains_interval() 117 drbd_remove_interval(struct rb_root *root, struct drbd_interval *this) in drbd_remove_interval() argument 119 rb_erase_augmented(&this->rb, root, &augment_callbacks); in drbd_remove_interval() 134 drbd_find_overlap(struct rb_root *root, sector_t sector, unsigned int size) in drbd_find_overlap() argument 136 struct rb_node *node = root->rb_node; in drbd_find_overlap()
|
/linux-4.1.27/drivers/soc/tegra/ |
D | common.c | 23 struct device_node *root; in soc_is_tegra() local 25 root = of_find_node_by_path("/"); in soc_is_tegra() 26 if (!root) in soc_is_tegra() 29 return of_match_node(tegra_machine_match, root) != NULL; in soc_is_tegra()
|
/linux-4.1.27/arch/powerpc/oprofile/ |
D | common.c | 122 static int op_powerpc_create_files(struct dentry *root) in op_powerpc_create_files() argument 131 oprofilefs_create_ulong(root, "mmcr0", &sys.mmcr0); in op_powerpc_create_files() 132 oprofilefs_create_ulong(root, "mmcr1", &sys.mmcr1); in op_powerpc_create_files() 133 oprofilefs_create_ulong(root, "mmcra", &sys.mmcra); in op_powerpc_create_files() 145 oprofilefs_create_ulong(root, "cell_support", &sys.cell_support); in op_powerpc_create_files() 163 dir = oprofilefs_mkdir(root, buf); in op_powerpc_create_files() 182 oprofilefs_create_ulong(root, "enable_kernel", &sys.enable_kernel); in op_powerpc_create_files() 183 oprofilefs_create_ulong(root, "enable_user", &sys.enable_user); in op_powerpc_create_files()
|
/linux-4.1.27/drivers/irqchip/ |
D | irq-atmel-aic-common.c | 146 void __init aic_common_rtc_irq_fixup(struct device_node *root) in aic_common_rtc_irq_fixup() argument 151 np = of_find_compatible_node(root, NULL, "atmel,at91rm9200-rtc"); in aic_common_rtc_irq_fixup() 153 np = of_find_compatible_node(root, NULL, in aic_common_rtc_irq_fixup() 174 void __init aic_common_rtt_irq_fixup(struct device_node *root) in aic_common_rtt_irq_fixup() argument 198 struct device_node *root = of_find_node_by_path("/"); in aic_common_irq_fixup() local 201 if (!root) in aic_common_irq_fixup() 204 match = of_match_node(matches, root); in aic_common_irq_fixup() 205 of_node_put(root); in aic_common_irq_fixup() 209 fixup(root); in aic_common_irq_fixup() 212 of_node_put(root); in aic_common_irq_fixup()
|
D | irq-atmel-aic.c | 212 static void __init at91rm9200_aic_irq_fixup(struct device_node *root) in at91rm9200_aic_irq_fixup() argument 214 aic_common_rtc_irq_fixup(root); in at91rm9200_aic_irq_fixup() 217 static void __init at91sam9260_aic_irq_fixup(struct device_node *root) in at91sam9260_aic_irq_fixup() argument 219 aic_common_rtt_irq_fixup(root); in at91sam9260_aic_irq_fixup() 222 static void __init at91sam9g45_aic_irq_fixup(struct device_node *root) in at91sam9g45_aic_irq_fixup() argument 224 aic_common_rtc_irq_fixup(root); in at91sam9g45_aic_irq_fixup() 225 aic_common_rtt_irq_fixup(root); in at91sam9g45_aic_irq_fixup()
|
/linux-4.1.27/include/trace/events/ |
D | btrfs.h | 71 TP_PROTO(struct btrfs_root *root), 73 TP_ARGS(root), 81 __entry->generation = root->fs_info->generation; 82 __entry->root_objectid = root->root_key.objectid; 114 BTRFS_I(inode)->root->root_key.objectid; 171 TP_PROTO(struct btrfs_root *root, struct extent_map *map), 173 TP_ARGS(root, map), 190 __entry->root_objectid = root->root_key.objectid; 259 BTRFS_I(inode)->root->root_key.objectid; 338 BTRFS_I(inode)->root->root_key.objectid; [all …]
|
/linux-4.1.27/fs/nilfs2/ |
D | inode.c | 48 struct nilfs_root *root; member 56 struct nilfs_root *root = NILFS_I(inode)->i_root; in nilfs_inode_add_blocks() local 59 if (root) in nilfs_inode_add_blocks() 60 atomic64_add(n, &root->blocks_count); in nilfs_inode_add_blocks() 65 struct nilfs_root *root = NILFS_I(inode)->i_root; in nilfs_inode_sub_blocks() local 68 if (root) in nilfs_inode_sub_blocks() 69 atomic64_sub(n, &root->blocks_count); in nilfs_inode_sub_blocks() 352 struct nilfs_root *root, in nilfs_insert_inode_locked() argument 356 .ino = ino, .root = root, .cno = 0, .for_gc = 0 in nilfs_insert_inode_locked() 368 struct nilfs_root *root; in nilfs_new_inode() local [all …]
|
D | the_nilfs.c | 722 struct nilfs_root *root; in nilfs_lookup_root() local 727 root = rb_entry(n, struct nilfs_root, rb_node); in nilfs_lookup_root() 729 if (cno < root->cno) { in nilfs_lookup_root() 731 } else if (cno > root->cno) { in nilfs_lookup_root() 734 atomic_inc(&root->count); in nilfs_lookup_root() 736 return root; in nilfs_lookup_root() 748 struct nilfs_root *root, *new; in nilfs_find_or_create_root() local 751 root = nilfs_lookup_root(nilfs, cno); in nilfs_find_or_create_root() 752 if (root) in nilfs_find_or_create_root() 753 return root; in nilfs_find_or_create_root() [all …]
|
D | super.c | 530 struct nilfs_root *root; in nilfs_attach_checkpoint() local 535 root = nilfs_find_or_create_root( in nilfs_attach_checkpoint() 537 if (!root) in nilfs_attach_checkpoint() 540 if (root->ifile) in nilfs_attach_checkpoint() 558 err = nilfs_ifile_read(sb, root, nilfs->ns_inode_size, in nilfs_attach_checkpoint() 559 &raw_cp->cp_ifile_inode, &root->ifile); in nilfs_attach_checkpoint() 563 atomic64_set(&root->inodes_count, in nilfs_attach_checkpoint() 565 atomic64_set(&root->blocks_count, in nilfs_attach_checkpoint() 571 *rootp = root; in nilfs_attach_checkpoint() 577 nilfs_put_root(root); in nilfs_attach_checkpoint() [all …]
|
D | sysfs.c | 120 struct nilfs_root *root, char *buf) in nilfs_snapshot_inodes_count_show() argument 123 (unsigned long long)atomic64_read(&root->inodes_count)); in nilfs_snapshot_inodes_count_show() 128 struct nilfs_root *root, char *buf) in nilfs_snapshot_blocks_count_show() argument 131 (unsigned long long)atomic64_read(&root->blocks_count)); in nilfs_snapshot_blocks_count_show() 141 struct nilfs_root *root, char *buf) in nilfs_snapshot_README_show() argument 160 struct nilfs_root *root = in nilfs_snapshot_attr_show() local 165 return a->show ? a->show(a, root, buf) : 0; in nilfs_snapshot_attr_show() 172 struct nilfs_root *root = in nilfs_snapshot_attr_store() local 177 return a->store ? a->store(a, root, buf, len) : 0; in nilfs_snapshot_attr_store() 182 struct nilfs_root *root = container_of(kobj, struct nilfs_root, in nilfs_snapshot_attr_release() local [all …]
|
/linux-4.1.27/net/sched/ |
D | cls_cgroup.c | 32 struct cls_cgroup_head *head = rcu_dereference_bh(tp->root); in cls_cgroup_classify() 79 static void cls_cgroup_destroy_rcu(struct rcu_head *root) in cls_cgroup_destroy_rcu() argument 81 struct cls_cgroup_head *head = container_of(root, in cls_cgroup_destroy_rcu() 96 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_change() 137 rcu_assign_pointer(tp->root, new); in cls_cgroup_change() 148 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_destroy() 154 RCU_INIT_POINTER(tp->root, NULL); in cls_cgroup_destroy() 167 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_walk() 183 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_dump()
|
D | cls_fw.c | 62 struct fw_head *head = rcu_dereference_bh(tp->root); in fw_classify() 100 struct fw_head *head = rtnl_dereference(tp->root); in fw_get() 132 struct fw_head *head = rtnl_dereference(tp->root); in fw_destroy() 153 RCU_INIT_POINTER(tp->root, NULL); in fw_destroy() 160 struct fw_head *head = rtnl_dereference(tp->root); in fw_delete() 193 struct fw_head *head = rtnl_dereference(tp->root); in fw_change_attrs() 242 struct fw_head *head = rtnl_dereference(tp->root); in fw_change() 309 rcu_assign_pointer(tp->root, head); in fw_change() 337 struct fw_head *head = rtnl_dereference(tp->root); in fw_walk() 367 struct fw_head *head = rtnl_dereference(tp->root); in fw_dump()
|
/linux-4.1.27/include/asm-generic/ |
D | pci.h | 12 struct resource *root = NULL; in pcibios_select_root() local 15 root = &ioport_resource; in pcibios_select_root() 17 root = &iomem_resource; in pcibios_select_root() 19 return root; in pcibios_select_root()
|
/linux-4.1.27/fs/hpfs/ |
D | super.c | 474 static int hpfs_show_options(struct seq_file *seq, struct dentry *root) in hpfs_show_options() argument 476 struct hpfs_sb_info *sbi = hpfs_sb(root->d_sb); in hpfs_show_options() 524 struct inode *root; in hpfs_fill_super() local 598 sbi->sb_root = le32_to_cpu(superblock->root); in hpfs_fill_super() 696 root = iget_locked(s, sbi->sb_root); in hpfs_fill_super() 697 if (!root) in hpfs_fill_super() 699 hpfs_init_inode(root); in hpfs_fill_super() 700 hpfs_read_inode(root); in hpfs_fill_super() 701 unlock_new_inode(root); in hpfs_fill_super() 702 s->s_root = d_make_root(root); in hpfs_fill_super() [all …]
|
/linux-4.1.27/arch/x86/pci/ |
D | acpi.c | 235 struct resource *res1, *res2, *root = NULL; in validate_resources() local 239 root = (type & IORESOURCE_MEM) ? &iomem_resource : &ioport_resource; in validate_resources() 251 end = min(res1->end, root->end); in validate_resources() 298 struct resource *res, *conflict, *root = NULL; in add_resources() local 306 root = &iomem_resource; in add_resources() 308 root = &ioport_resource; in add_resources() 312 conflict = insert_resource_conflict(root, res); in add_resources() 390 struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root) in pci_acpi_scan_root() argument 392 struct acpi_device *device = root->device; in pci_acpi_scan_root() 394 int domain = root->segment; in pci_acpi_scan_root() [all …]
|
/linux-4.1.27/drivers/pci/pcie/ |
D | portdrv_acpi.c | 37 struct acpi_pci_root *root; in pcie_port_acpi_setup() local 48 root = acpi_pci_find_root(handle); in pcie_port_acpi_setup() 49 if (!root) in pcie_port_acpi_setup() 52 flags = root->osc_control_set; in pcie_port_acpi_setup()
|
D | aspm.c | 43 struct pcie_link_state *root; /* pointer to the root port link */ member 540 link->root = link; in alloc_pcie_link_state() 542 link->root = link->parent->root; in alloc_pcie_link_state() 611 static void pcie_update_aspm_capable(struct pcie_link_state *root) in pcie_update_aspm_capable() argument 614 BUG_ON(root->parent); in pcie_update_aspm_capable() 616 if (link->root != root) in pcie_update_aspm_capable() 623 if (link->root != root) in pcie_update_aspm_capable() 638 struct pcie_link_state *link, *root, *parent_link; in pcie_aspm_exit_link_state() local 653 root = link->root; in pcie_aspm_exit_link_state() 665 pcie_update_aspm_capable(root); in pcie_aspm_exit_link_state() [all …]
|
/linux-4.1.27/Documentation/filesystems/ |
D | automount-support.txt | 37 vfsmount and its root dentry. The ref counts on these will need 42 [root@andromeda root]# mount -t afs \#root.afs. /afs 43 [root@andromeda root]# ls /afs 45 [root@andromeda root]# ls /afs/cambridge 47 [root@andromeda root]# ls /afs/cambridge/afsdoc/ 52 [root@andromeda root]# cat /proc/mounts 54 #root.afs. /afs afs rw 0 0 55 #root.cell. /afs/cambridge.redhat.com afs rw 0 0
|
D | afs.txt | 64 When inserting the driver modules the root cell must be specified along with a 89 mount -t afs "%cambridge.redhat.com:root.afs." /afs 90 mount -t afs "#cambridge.redhat.com:root.cell." /afs/cambridge 91 mount -t afs "#root.afs." /afs 92 mount -t afs "#root.cell." /afs/cambridge 140 [root@andromeda ~]# cat /proc/fs/afs/cells 147 [root@andromeda ~]# cat /proc/fs/afs/cambridge.redhat.com/servers 150 [root@andromeda ~]# cat /proc/fs/afs/cambridge.redhat.com/vlservers 153 [root@andromeda ~]# cat /proc/fs/afs/cambridge.redhat.com/volumes 155 1 Val 20000000 20000001 20000002 root.afs [all …]
|
/linux-4.1.27/Documentation/input/ |
D | input.txt | 68 crw-r--r-- 1 root root 13, 63 Mar 28 22:45 mice 182 crw-r--r-- 1 root root 13, 32 Mar 28 22:45 mouse0 183 crw-r--r-- 1 root root 13, 33 Mar 29 00:41 mouse1 184 crw-r--r-- 1 root root 13, 34 Mar 29 00:41 mouse2 185 crw-r--r-- 1 root root 13, 35 Apr 1 10:50 mouse3 188 crw-r--r-- 1 root root 13, 62 Apr 1 10:50 mouse30 189 crw-r--r-- 1 root root 13, 63 Apr 1 10:50 mice 217 crw-r--r-- 1 root root 13, 0 Apr 1 10:50 js0 218 crw-r--r-- 1 root root 13, 1 Apr 1 10:50 js1 219 crw-r--r-- 1 root root 13, 2 Apr 1 10:50 js2 [all …]
|
/linux-4.1.27/fs/configfs/ |
D | mount.c | 72 struct dentry *root; in configfs_fill_super() local 92 root = d_make_root(inode); in configfs_fill_super() 93 if (!root) { in configfs_fill_super() 98 configfs_root_group.cg_item.ci_dentry = root; in configfs_fill_super() 99 root->d_fsdata = &configfs_root; in configfs_fill_super() 100 sb->s_root = root; in configfs_fill_super()
|
/linux-4.1.27/net/netfilter/ |
D | nft_rbtree.c | 24 struct rb_root root; member 43 parent = priv->root.rb_node; in nft_rbtree_lookup() 89 p = &priv->root.rb_node; in __nft_rbtree_insert() 107 rb_insert_color(&new->node, &priv->root); in __nft_rbtree_insert() 131 rb_erase(&rbe->node, &priv->root); in nft_rbtree_remove() 147 const struct rb_node *parent = priv->root.rb_node; in nft_rbtree_deactivate() 184 for (node = rb_first(&priv->root); node != NULL; node = rb_next(node)) { in nft_rbtree_walk() 216 priv->root = RB_ROOT; in nft_rbtree_init() 226 while ((node = priv->root.rb_node) != NULL) { in nft_rbtree_destroy() 227 rb_erase(node, &priv->root); in nft_rbtree_destroy()
|
D | xt_connlimit.c | 187 static void tree_nodes_free(struct rb_root *root, in tree_nodes_free() argument 195 rb_erase(&rbconn->node, root); in tree_nodes_free() 201 count_tree(struct net *net, struct rb_root *root, in count_tree() argument 216 rbnode = &(root->rb_node); in count_tree() 234 tree_nodes_free(root, gc_nodes, gc_count); in count_tree() 255 tree_nodes_free(root, gc_nodes, gc_count); in count_tree() 284 rb_insert_color(&rbconn->node, root); in count_tree() 295 struct rb_root *root; in count_them() local 301 root = &data->climit_root6[hash]; in count_them() 304 root = &data->climit_root4[hash]; in count_them() [all …]
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_debugfs.c | 88 struct dentry *root, struct drm_minor *minor) in drm_debugfs_create_files() argument 108 root, tmp, &drm_debugfs_fops); in drm_debugfs_create_files() 111 root->d_name.name, files[i].name); in drm_debugfs_create_files() 145 struct dentry *root) in drm_debugfs_init() argument 154 minor->debugfs_root = debugfs_create_dir(name, root); in drm_debugfs_init() 380 struct dentry *root, *ent; in drm_debugfs_connector_add() local 385 root = debugfs_create_dir(connector->name, minor->debugfs_root); in drm_debugfs_connector_add() 386 if (!root) in drm_debugfs_connector_add() 389 connector->debugfs_entry = root; in drm_debugfs_connector_add() 392 ent = debugfs_create_file("force", S_IRUGO | S_IWUSR, root, connector, in drm_debugfs_connector_add() [all …]
|
D | drm_pci.c | 370 struct pci_dev *root; in drm_pcie_get_speed_cap_mask() local 377 root = dev->pdev->bus->self; in drm_pcie_get_speed_cap_mask() 380 if (root->vendor == PCI_VENDOR_ID_VIA || in drm_pcie_get_speed_cap_mask() 381 root->vendor == PCI_VENDOR_ID_SERVERWORKS) in drm_pcie_get_speed_cap_mask() 384 pcie_capability_read_dword(root, PCI_EXP_LNKCAP, &lnkcap); in drm_pcie_get_speed_cap_mask() 385 pcie_capability_read_dword(root, PCI_EXP_LNKCAP2, &lnkcap2); in drm_pcie_get_speed_cap_mask() 401 …DRM_INFO("probing gen 2 caps for device %x:%x = %x/%x\n", root->vendor, root->device, lnkcap, lnkc… in drm_pcie_get_speed_cap_mask()
|
/linux-4.1.27/drivers/mtd/ubi/ |
D | wl.h | 4 static int anchor_pebs_avalible(struct rb_root *root); 6 static struct ubi_wl_entry *find_anchor_wl_entry(struct rb_root *root); 17 struct rb_root *root); 24 struct rb_root *root) { in may_reserve_for_fm() argument
|
/linux-4.1.27/drivers/mtd/ |
D | mtdswap.c | 84 struct rb_root *root; member 98 struct rb_root root; member 175 #define TREE_ROOT(d, name) (&d->trees[MTDSWAP_ ## name].root) 209 if (eb->root) { in mtdswap_eb_detach() 210 tp = container_of(eb->root, struct mtdswap_tree, root); in mtdswap_eb_detach() 214 rb_erase(&eb->rb, eb->root); in mtdswap_eb_detach() 218 static void __mtdswap_rb_add(struct rb_root *root, struct swap_eb *eb) in __mtdswap_rb_add() argument 223 p = &root->rb_node; in __mtdswap_rb_add() 234 rb_insert_color(&eb->rb, root); in __mtdswap_rb_add() 239 struct rb_root *root; in mtdswap_rb_add() local [all …]
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | omapdss-boot-init.c | 40 bool root; member 120 static void __init omapdss_add_to_list(struct device_node *node, bool root) in omapdss_add_to_list() argument 126 n->root = root; in omapdss_add_to_list() 143 static void __init omapdss_walk_device(struct device_node *node, bool root) in omapdss_walk_device() argument 147 omapdss_add_to_list(node, root); in omapdss_walk_device() 216 if (!n->root) in omapdss_boot_init()
|
/linux-4.1.27/fs/ |
D | fs_struct.c | 20 old_root = fs->root; in set_fs_root() 21 fs->root = *path; in set_fs_root() 70 hits += replace_path(&fs->root, old_root, new_root); in chroot_fs_refs() 88 path_put(&fs->root); in free_fs_struct() 122 fs->root = old->root; in copy_fs_struct() 123 path_get(&fs->root); in copy_fs_struct()
|
D | binfmt_misc.c | 625 struct dentry *root; in bm_entry_write() local 640 root = dget(file->f_path.dentry->d_sb->s_root); in bm_entry_write() 641 mutex_lock(&d_inode(root)->i_mutex); in bm_entry_write() 645 mutex_unlock(&d_inode(root)->i_mutex); in bm_entry_write() 646 dput(root); in bm_entry_write() 668 struct dentry *root, *dentry; in bm_register_write() local 677 root = dget(sb->s_root); in bm_register_write() 678 mutex_lock(&d_inode(root)->i_mutex); in bm_register_write() 679 dentry = lookup_one_len(e->name, root, strlen(e->name)); in bm_register_write() 714 mutex_unlock(&d_inode(root)->i_mutex); in bm_register_write() [all …]
|
D | proc_namespace.c | 110 err = seq_path_root(m, &mnt_path, &p->root, " \t\n\\"); in show_vfsmnt() 146 err = seq_path_root(m, &mnt_path, &p->root, " \t\n\\"); in show_mountinfo() 158 int dom = get_dominating_id(r, &p->root); in show_mountinfo() 212 err = seq_path_root(m, &mnt_path, &p->root, " \t\n\\"); in show_vfsstat() 239 struct path root; in mounts_open_common() local 261 get_fs_root(task->fs, &root); in mounts_open_common() 276 p->root = root; in mounts_open_common() 286 path_put(&root); in mounts_open_common() 296 path_put(&p->root); in mounts_release()
|
D | namespace.c | 895 static struct mount *next_mnt(struct mount *p, struct mount *root) in next_mnt() argument 900 if (p == root) in next_mnt() 925 struct dentry *root; in vfs_kern_mount() local 937 root = mount_fs(type, flags, name, data); in vfs_kern_mount() 938 if (IS_ERR(root)) { in vfs_kern_mount() 941 return ERR_CAST(root); in vfs_kern_mount() 944 mnt->mnt.mnt_root = root; in vfs_kern_mount() 945 mnt->mnt.mnt_sb = root->d_sb; in vfs_kern_mount() 949 list_add_tail(&mnt->mnt_instance, &root->d_sb->s_mounts); in vfs_kern_mount() 955 static struct mount *clone_mnt(struct mount *old, struct dentry *root, in clone_mnt() argument [all …]
|
/linux-4.1.27/Documentation/cpu-freq/ |
D | cpufreq-stats.txt | 23 in /sysfs (<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/) for each CPU. 45 drwxr-xr-x 2 root root 0 May 14 16:06 . 46 drwxr-xr-x 3 root root 0 May 14 15:58 .. 47 -r--r--r-- 1 root root 4096 May 14 16:06 time_in_state 48 -r--r--r-- 1 root root 4096 May 14 16:06 total_trans 49 -r--r--r-- 1 root root 4096 May 14 16:06 trans_table
|
/linux-4.1.27/arch/x86/platform/olpc/ |
D | olpc.c | 266 static bool __init check_ofw_architecture(struct device_node *root) in check_ofw_architecture() argument 271 olpc_arch = of_get_property(root, "architecture", &propsize); in check_ofw_architecture() 275 static u32 __init get_board_revision(struct device_node *root) in get_board_revision() argument 280 rev = of_get_property(root, "board-revision-int", &propsize); in get_board_revision() 289 struct device_node *root = of_find_node_by_path("/"); in platform_detect() local 292 if (!root) in platform_detect() 295 success = check_ofw_architecture(root); in platform_detect() 297 olpc_platform_info.boardrev = get_board_revision(root); in platform_detect() 301 of_node_put(root); in platform_detect()
|
/linux-4.1.27/drivers/usb/musb/ |
D | musb_debugfs.c | 243 struct dentry *root; in musb_init_debugfs() local 247 root = debugfs_create_dir(dev_name(musb->controller), NULL); in musb_init_debugfs() 248 if (!root) { in musb_init_debugfs() 253 file = debugfs_create_file("regdump", S_IRUGO, root, musb, in musb_init_debugfs() 261 root, musb, &musb_test_mode_fops); in musb_init_debugfs() 267 musb->debugfs_root = root; in musb_init_debugfs() 272 debugfs_remove_recursive(root); in musb_init_debugfs()
|
/linux-4.1.27/Documentation/networking/ |
D | dl2k.txt | 76 [root@XXX /] mkdir cdrom 77 [root@XXX /] mount -r -t iso9660 -o conv=auto /dev/cdrom /cdrom 78 [root@XXX /] cd root 79 [root@XXX /root] mkdir dl2k 80 [root@XXX /root] cd dl2k 81 [root@XXX dl2k] cp /cdrom/linux/dl2k.tgz /root/dl2k 82 [root@XXX dl2k] tar xfvz dl2k.tgz 83 [root@XXX dl2k] make all 88 [root@XXX /] cd root 89 [root@XXX /root] mkdir dl2k [all …]
|
/linux-4.1.27/fs/sysfs/ |
D | mount.c | 29 struct dentry *root; in sysfs_mount() local 39 root = kernfs_mount_ns(fs_type, flags, sysfs_root, in sysfs_mount() 41 if (IS_ERR(root) || !new_sb) in sysfs_mount() 43 return root; in sysfs_mount()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | pci.h | 89 struct resource *root = NULL; in pcibios_select_root() local 92 root = &ioport_resource; in pcibios_select_root() 94 root = &iomem_resource; in pcibios_select_root() 96 return root; in pcibios_select_root()
|
/linux-4.1.27/Documentation/fmc/ |
D | fmc-chardev.txt | 32 spusa.root# insmod fmc-chardev.ko 37 spusa.root# ls -l /dev/fmc* 38 crw------- 1 root root 10, 58 Nov 20 19:23 /dev/fmc-0200 39 crw------- 1 root root 10, 57 Nov 20 19:23 /dev/fmc-0400 40 spusa.root# dd bs=4 skip=64 count=1 if=/dev/fmc-0200 2> /dev/null | od -t x1z 57 spusa.root# ./fmc-mem /dev/fmc-0200 100 59 spusa.root# ./fmc-mem /dev/fmc-0200 100 +40 | od -Ax -t x1z
|
D | fmc-write-eeprom.txt | 45 spusa.root# od -t x1 -Ax /lib/firmware/try.tlv 48 spusa.root# insmod /tmp/fmc-write-eeprom.ko busid=0x0200 file=try.tlv 66 spusa.root# insmod fmc-fakedev.ko 69 spusa.root# insmod fmc-write-eeprom.ko busid=0 file=fdelay-eeprom.bin; \ 84 spusa.root# cd /sys/bus/fmc/devices; ls -l */eeprom 85 -r--r--r-- 1 root root 8192 Feb 21 12:30 FmcAdc100m14b4cha-0800/eeprom 86 -r--r--r-- 1 root root 8192 Feb 21 12:30 FmcDelay1ns4cha-0200/eeprom 87 -r--r--r-- 1 root root 8192 Feb 21 12:30 FmcDio5cha-0400/eeprom
|
/linux-4.1.27/fs/ceph/ |
D | super.c | 410 static int ceph_show_options(struct seq_file *m, struct dentry *root) in ceph_show_options() argument 412 struct ceph_fs_client *fsc = ceph_sb_to_client(root->d_sb); in ceph_show_options() 716 struct dentry *root; in open_root_dentry() local 725 root = ERR_PTR(-ENOMEM); in open_root_dentry() 742 root = d_make_root(inode); in open_root_dentry() 743 if (!root) { in open_root_dentry() 744 root = ERR_PTR(-ENOMEM); in open_root_dentry() 748 root = d_obtain_root(inode); in open_root_dentry() 750 ceph_init_dentry(root); in open_root_dentry() 751 dout("open_root_inode success, root dentry is %p\n", root); in open_root_dentry() [all …]
|
/linux-4.1.27/arch/powerpc/platforms/maple/ |
D | setup.c | 218 struct device_node *root, *np, *mpic_node = NULL; in maple_init_IRQ() local 247 root = of_find_node_by_path("/"); in maple_init_IRQ() 248 naddr = of_n_addr_cells(root); in maple_init_IRQ() 249 opprop = of_get_property(root, "platform-open-pic", &opplen); in maple_init_IRQ() 287 of_node_put(root); in maple_init_IRQ() 301 unsigned long root = of_get_flat_dt_root(); in maple_probe() local 303 if (!of_flat_dt_is_compatible(root, "Momentum,Maple") && in maple_probe() 304 !of_flat_dt_is_compatible(root, "Momentum,Apache")) in maple_probe()
|
/linux-4.1.27/arch/x86/mm/ |
D | pat_rbtree.c | 76 static struct memtype *memtype_rb_lowest_match(struct rb_root *root, in RB_DECLARE_CALLBACKS() 79 struct rb_node *node = root->rb_node; in RB_DECLARE_CALLBACKS() 101 static struct memtype *memtype_rb_exact_match(struct rb_root *root, in memtype_rb_exact_match() argument 106 match = memtype_rb_lowest_match(root, start, end); in memtype_rb_exact_match() 123 static int memtype_rb_check_conflict(struct rb_root *root, in memtype_rb_check_conflict() argument 169 static void memtype_rb_insert(struct rb_root *root, struct memtype *newdata) in memtype_rb_insert() argument 171 struct rb_node **node = &(root->rb_node); in memtype_rb_insert() 188 rb_insert_augmented(&newdata->rb, root, &memtype_rb_augment_cb); in memtype_rb_insert()
|
/linux-4.1.27/tools/perf/tests/ |
D | hists_common.c | 156 struct rb_root *root; in print_hists_in() local 160 root = &hists->entries_collapsed; in print_hists_in() 162 root = hists->entries_in; in print_hists_in() 165 node = rb_first(root); in print_hists_in() 186 struct rb_root *root; in print_hists_out() local 189 root = &hists->entries; in print_hists_out() 192 node = rb_first(root); in print_hists_out()
|
D | hists_link.c | 150 struct rb_root *root; in __validate_match() local 157 root = &hists->entries_collapsed; in __validate_match() 159 root = hists->entries_in; in __validate_match() 161 node = rb_first(root); in __validate_match() 200 struct rb_root *root; in __validate_link() local 209 root = &hists->entries_collapsed; in __validate_link() 211 root = hists->entries_in; in __validate_link() 213 node = rb_first(root); in __validate_link()
|
D | hists_output.c | 127 struct rb_root *root; in test1() local 162 root = &hists->entries; in test1() 163 node = rb_first(root); in test1() 229 struct rb_root *root; in test2() local 262 root = &hists->entries; in test2() 263 node = rb_first(root); in test2() 285 struct rb_root *root; in test3() local 316 root = &hists->entries; in test3() 317 node = rb_first(root); in test3() 359 struct rb_root *root; in test4() local [all …]
|
/linux-4.1.27/drivers/pci/ |
D | setup-res.c | 111 struct resource *root, *conflict; in pci_claim_resource() local 119 root = pci_find_parent_resource(dev, res); in pci_claim_resource() 120 if (!root) { in pci_claim_resource() 127 conflict = request_resource_conflict(root, res); in pci_claim_resource() 169 struct resource *root, *conflict; in pci_revert_fw_address() local 181 root = pci_find_parent_resource(dev, res); in pci_revert_fw_address() 182 if (!root) { in pci_revert_fw_address() 184 root = &ioport_resource; in pci_revert_fw_address() 186 root = &iomem_resource; in pci_revert_fw_address() 191 conflict = request_resource_conflict(root, res); in pci_revert_fw_address()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | proc_powerpc.c | 84 struct proc_dir_entry *root; in proc_ppc64_create() local 86 root = proc_mkdir("powerpc", NULL); in proc_ppc64_create() 87 if (!root) in proc_ppc64_create() 98 if (!proc_mkdir("rtas", root)) in proc_ppc64_create()
|
D | eeh_dev.c | 83 struct pci_dn *root = phb->pci_data; in eeh_dev_phb_init_dynamic() local 89 eeh_dev_init(root, phb); in eeh_dev_phb_init_dynamic() 92 traverse_pci_dn(root, eeh_dev_init, phb); in eeh_dev_phb_init_dynamic()
|
/linux-4.1.27/fs/9p/ |
D | vfs_super.c | 118 struct dentry *root = NULL; in v9fs_mount() local 158 root = d_make_root(inode); in v9fs_mount() 159 if (!root) { in v9fs_mount() 163 sb->s_root = root; in v9fs_mount() 171 d_inode(root)->i_ino = v9fs_qid2ino(&st->qid); in v9fs_mount() 172 v9fs_stat2inode_dotl(st, d_inode(root)); in v9fs_mount() 182 d_inode(root)->i_ino = v9fs_qid2ino(&st->qid); in v9fs_mount() 183 v9fs_stat2inode(st, d_inode(root), sb); in v9fs_mount() 191 v9fs_fid_add(root, fid); in v9fs_mount()
|
/linux-4.1.27/security/apparmor/ |
D | apparmorfs.c | 569 static struct aa_namespace *__next_namespace(struct aa_namespace *root, in __next_namespace() argument 583 while (ns != root) { in __next_namespace() 605 static struct aa_profile *__first_profile(struct aa_namespace *root, in __first_profile() argument 608 for (; ns; ns = __next_namespace(root, ns)) { in __first_profile() 662 static struct aa_profile *next_profile(struct aa_namespace *root, in next_profile() argument 670 return __first_profile(root, __next_namespace(root, profile->ns)); in next_profile() 685 struct aa_namespace *root = aa_current_profile()->ns; in p_start() local 687 f->private = aa_get_namespace(root); in p_start() 691 mutex_lock(&root->lock); in p_start() 692 profile = __first_profile(root, root); in p_start() [all …]
|
/linux-4.1.27/fs/proc/ |
D | proc_sysctl.c | 66 .root = &sysctl_table_root, 107 struct rb_node *node = dir->root.rb_node; in find_entry() 136 struct rb_node **p = &head->parent->root.rb_node; in insert_entry() 168 rb_insert_color(node, &head->parent->root); in insert_entry() 176 rb_erase(node, &head->parent->root); in erase_entry() 180 struct ctl_table_root *root, struct ctl_table_set *set, in init_header() argument 189 head->root = root; in init_header() 218 if (!RB_EMPTY_ROOT(&dir->root)) in insert_header() 322 lookup_header_set(struct ctl_table_root *root, struct nsproxy *namespaces) in lookup_header_set() argument 324 struct ctl_table_set *set = &root->default_set; in lookup_header_set() [all …]
|
/linux-4.1.27/drivers/net/wan/ |
D | dscc4.c | 194 struct dscc4_dev_priv *root; member 693 struct dscc4_dev_priv *root; in dscc4_free1() local 697 root = ppriv->root; in dscc4_free1() 700 unregister_hdlc_device(dscc4_to_dev(root + i)); in dscc4_free1() 703 free_netdev(root[i].dev); in dscc4_free1() 704 kfree(root); in dscc4_free1() 754 rc = request_irq(pdev->irq, dscc4_irq, IRQF_SHARED, DRV_NAME, priv->root); in dscc4_init_one() 788 dpriv = priv->root + i; in dscc4_init_one() 796 dpriv = priv->root + i; in dscc4_init_one() 821 dpriv = priv->root + i; in dscc4_init_one() [all …]
|
/linux-4.1.27/arch/powerpc/platforms/pasemi/ |
D | setup.c | 189 struct device_node *root, *mpic_node; in pas_init_IRQ() local 216 root = of_find_node_by_path("/"); in pas_init_IRQ() 217 naddr = of_n_addr_cells(root); in pas_init_IRQ() 218 opprop = of_get_property(root, "platform-open-pic", &opplen); in pas_init_IRQ() 221 of_node_put(root); in pas_init_IRQ() 248 of_node_put(root); in pas_init_IRQ() 423 unsigned long root = of_get_flat_dt_root(); in pas_probe() local 425 if (!of_flat_dt_is_compatible(root, "PA6T-1682M") && in pas_probe() 426 !of_flat_dt_is_compatible(root, "pasemi,pwrficient")) in pas_probe()
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/mrvl/ |
D | mrvl.txt | 5 Required root node properties: 9 Required root node properties: 13 Required root node properties:
|
/linux-4.1.27/include/rdma/ |
D | ib_umem_odp.h | 109 void rbt_ib_umem_insert(struct umem_odp_node *node, struct rb_root *root); 110 void rbt_ib_umem_remove(struct umem_odp_node *node, struct rb_root *root); 117 int rbt_ib_umem_for_each_in_range(struct rb_root *root, u64 start, u64 end, 120 struct umem_odp_node *rbt_ib_umem_iter_first(struct rb_root *root,
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | pci.h | 114 struct resource *root = NULL; in pcibios_select_root() local 117 root = &ioport_resource; in pcibios_select_root() 119 root = &iomem_resource; in pcibios_select_root() 121 return root; in pcibios_select_root()
|
/linux-4.1.27/Documentation/x86/x86_64/ |
D | fake-numa-for-cpusets | 39 [root@xroads /]# mkdir exampleset 40 [root@xroads /]# mount -t cpuset none exampleset 41 [root@xroads /]# mkdir exampleset/ddset 42 [root@xroads /]# cd exampleset/ddset 43 [root@xroads /exampleset/ddset]# echo 0-1 > cpus 44 [root@xroads /exampleset/ddset]# echo 0-1 > mems 52 [root@xroads /exampleset/ddset]# echo $$ > tasks 53 [root@xroads /exampleset/ddset]# dd if=/dev/zero of=tmp bs=1024 count=1G
|
/linux-4.1.27/Documentation/device-mapper/ |
D | snapshot.txt | 93 brw------- 1 root root 254, 11 29 ago 18:15 /dev/mapper/volumeGroup-base-real 94 brw------- 1 root root 254, 12 29 ago 18:15 /dev/mapper/volumeGroup-snap-cow 95 brw------- 1 root root 254, 13 29 ago 18:15 /dev/mapper/volumeGroup-snap 96 brw------- 1 root root 254, 10 29 ago 18:14 /dev/mapper/volumeGroup-base 122 brw------- 1 root root 254, 11 29 ago 18:15 /dev/mapper/volumeGroup-base-real 123 brw------- 1 root root 254, 12 29 ago 18:16 /dev/mapper/volumeGroup-base-cow 124 brw------- 1 root root 254, 10 29 ago 18:16 /dev/mapper/volumeGroup-base
|
/linux-4.1.27/fs/devpts/ |
D | inode.c | 245 struct dentry *root = sb->s_root; in mknod_ptmx() local 256 mutex_lock(&d_inode(root)->i_mutex); in mknod_ptmx() 264 dentry = d_alloc_name(root, "ptmx"); in mknod_ptmx() 293 mutex_unlock(&d_inode(root)->i_mutex); in mknod_ptmx() 332 static int devpts_show_options(struct seq_file *seq, struct dentry *root) in devpts_show_options() argument 334 struct pts_fs_info *fsi = DEVPTS_SB(root->d_sb); in devpts_show_options() 607 struct dentry *root = sb->s_root; in devpts_pty_new() local 625 mutex_lock(&d_inode(root)->i_mutex); in devpts_pty_new() 627 dentry = d_alloc_name(root, s); in devpts_pty_new() 630 fsnotify_create(d_inode(root), dentry); in devpts_pty_new() [all …]
|
/linux-4.1.27/drivers/base/regmap/ |
D | regcache-rbtree.c | 39 struct rb_root root; member 82 node = rbtree_ctx->root.rb_node; in regcache_rbtree_lookup() 100 static int regcache_rbtree_insert(struct regmap *map, struct rb_root *root, in regcache_rbtree_insert() argument 109 new = &root->rb_node; in regcache_rbtree_insert() 131 rb_insert_color(&rbnode->node, root); in regcache_rbtree_insert() 153 for (node = rb_first(&rbtree_ctx->root); node != NULL; in rbtree_show() 210 rbtree_ctx->root = RB_ROOT; in regcache_rbtree_init() 240 next = rb_first(&rbtree_ctx->root); in regcache_rbtree_exit() 244 rb_erase(&rbtree_node->node, &rbtree_ctx->root); in regcache_rbtree_exit() 416 for (node = rb_first(&rbtree_ctx->root); node; in regcache_rbtree_write() [all …]
|
/linux-4.1.27/fs/efivarfs/ |
D | super.c | 118 struct dentry *dentry, *root = sb->s_root; in efivarfs_callback() local 150 inode = efivarfs_get_inode(sb, d_inode(root), S_IFREG | 0644, 0, in efivarfs_callback() 155 dentry = efivarfs_alloc_dentry(root, name); in efivarfs_callback() 194 struct dentry *root; in efivarfs_fill_super() local 212 root = d_make_root(inode); in efivarfs_fill_super() 213 sb->s_root = root; in efivarfs_fill_super() 214 if (!root) in efivarfs_fill_super()
|
/linux-4.1.27/arch/alpha/oprofile/ |
D | common.c | 109 op_axp_create_files(struct dentry *root) in op_axp_create_files() argument 118 dir = oprofilefs_mkdir(root, buf); in op_axp_create_files() 130 oprofilefs_create_ulong(root, "enable_pal", in op_axp_create_files() 132 oprofilefs_create_ulong(root, "enable_kernel", in op_axp_create_files() 134 oprofilefs_create_ulong(root, "enable_user", in op_axp_create_files()
|
/linux-4.1.27/kernel/trace/ |
D | trace_events_filter.c | 414 struct filter_pred *root, in walk_pred_tree() argument 417 struct filter_pred *pred = root; in walk_pred_tree() 446 if (pred == root) in walk_pred_tree() 548 struct filter_pred *root; in filter_match_preds() local 567 root = rcu_dereference_sched(filter->root); in filter_match_preds() 568 if (!root) in filter_match_preds() 572 ret = walk_pred_tree(preds, root, filter_match_preds_cb, &data); in filter_match_preds() 1444 struct filter_pred *root) in check_pred_tree() argument 1457 return walk_pred_tree(filter->preds, root, in check_pred_tree() 1473 static int count_leafs(struct filter_pred *preds, struct filter_pred *root) in count_leafs() argument [all …]
|
/linux-4.1.27/arch/arm/mach-imx/ |
D | cpu.c | 80 struct device_node *root; in imx_soc_device_init() local 90 root = of_find_node_by_path("/"); in imx_soc_device_init() 91 ret = of_property_read_string(root, "model", &soc_dev_attr->machine); in imx_soc_device_init() 92 of_node_put(root); in imx_soc_device_init()
|
/linux-4.1.27/drivers/md/ |
D | dm-era-target.c | 29 dm_block_t root; member 52 unsigned nr_bits, dm_block_t *root) in setup_on_disk_bitset() argument 56 r = dm_bitset_empty(info, root); in setup_on_disk_bitset() 60 return dm_bitset_resize(info, *root, 0, nr_bits, false, root); in setup_on_disk_bitset() 74 ws->md.root = INVALID_WRITESET_ROOT; in writeset_alloc() 93 r = setup_on_disk_bitset(info, ws->md.nr_bits, &ws->md.root); in writeset_init() 111 dm_block_t old = m->root; in writeset_marked_on_disk() 117 int r = dm_bitset_test_bit(info, m->root, block, &m->root, result); in writeset_marked_on_disk() 123 BUG_ON(m->root != old); in writeset_marked_on_disk() 137 r = dm_bitset_set_bit(info, ws->md.root, block, &ws->md.root); in writeset_test_and_set() [all …]
|
/linux-4.1.27/arch/microblaze/include/asm/ |
D | pci.h | 89 struct resource *root = NULL; in pcibios_select_root() local 92 root = &ioport_resource; in pcibios_select_root() 94 root = &iomem_resource; in pcibios_select_root() 96 return root; in pcibios_select_root()
|
/linux-4.1.27/drivers/parisc/ |
D | eisa.c | 67 struct eisa_root_device root; member 367 eisa_dev.root.dev = &dev->dev; in eisa_probe() 368 dev_set_drvdata(&dev->dev, &eisa_dev.root); in eisa_probe() 369 eisa_dev.root.bus_base_addr = 0; in eisa_probe() 370 eisa_dev.root.res = &eisa_dev.hba.io_space; in eisa_probe() 371 eisa_dev.root.slots = result; in eisa_probe() 372 eisa_dev.root.dma_mask = 0xffffffff; /* wild guess */ in eisa_probe() 373 if (eisa_root_register (&eisa_dev.root)) { in eisa_probe()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | setup.c | 83 struct device_node *root; in pSeries_show_cpuinfo() local 86 root = of_find_node_by_path("/"); in pSeries_show_cpuinfo() 87 if (root) in pSeries_show_cpuinfo() 88 model = of_get_property(root, "model", NULL); in pSeries_show_cpuinfo() 90 of_node_put(root); in pSeries_show_cpuinfo() 473 struct device_node *root = of_find_node_by_path("/"); in find_and_init_phbs() local 475 for_each_child_of_node(root, node) { in find_and_init_phbs() 489 of_node_put(root); in find_and_init_phbs() 782 unsigned long root = of_get_flat_dt_root(); in pSeries_probe() local 783 const char *dtype = of_get_flat_dt_prop(root, "device_type", NULL); in pSeries_probe() [all …]
|
/linux-4.1.27/Documentation/early-userspace/ |
D | README | 15 containing a root filesystem image. This archive is compressed, and 40 a way to create images with root-owned files even though the image was 51 user root (0). INITRAMFS_ROOT_GID can be set to a group ID that needs 52 to be mapped to group root (0). 61 can create a 'root-image' directory and install all files into it. 63 special files can be listed in a 'root-files' file. Both 'root-image' 64 and 'root-files' can be listed in CONFIG_INITRAMFS_SOURCE and a complete 103 system boot using that filesystem as root. 127 The kernel has currently 3 ways to mount the root filesystem: 131 final root filesystem, based on the root= option and optional init= to run [all …]
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
D | debugfs.c | 215 stats->root = debugfs_create_dir(namep, *cmd); in mlx5_cmdif_debugfs_init() 216 if (!stats->root) { in mlx5_cmdif_debugfs_init() 224 stats->root, stats, in mlx5_cmdif_debugfs_init() 233 stats->root, in mlx5_cmdif_debugfs_init() 487 struct dentry *root, struct mlx5_rsc_debug **dbg, in add_res_tree() argument 503 d->root = debugfs_create_dir(resn, root); in add_res_tree() 504 if (!d->root) { in add_res_tree() 512 d->root, &d->fields[i], in add_res_tree() 523 debugfs_remove_recursive(d->root); in add_res_tree() 532 debugfs_remove_recursive(d->root); in rem_res_tree()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | scom.c | 186 static int scom_debug_init_one(struct dentry *root, struct device_node *dn, in scom_debug_init_one() argument 201 dir = debugfs_create_dir(ent->name, root); in scom_debug_init_one() 217 struct dentry *root; in scom_debug_init() local 220 root = debugfs_create_dir("scom", powerpc_debugfs_root); in scom_debug_init() 221 if (!root) in scom_debug_init() 229 rc |= scom_debug_init_one(root, dn, id); in scom_debug_init()
|
/linux-4.1.27/arch/x86/kvm/ |
D | mmu_audit.c | 66 hpa_t root = vcpu->arch.mmu.root_hpa; in mmu_spte_walk() local 68 sp = page_header(root); in mmu_spte_walk() 74 hpa_t root = vcpu->arch.mmu.pae_root[i]; in mmu_spte_walk() local 76 if (root && VALID_PAGE(root)) { in mmu_spte_walk() 77 root &= PT64_BASE_ADDR_MASK; in mmu_spte_walk() 78 sp = page_header(root); in mmu_spte_walk()
|
/linux-4.1.27/fs/coda/ |
D | inode.c | 154 struct inode *root = NULL; in coda_fill_super() local 212 root = coda_cnode_make(&fid, sb); in coda_fill_super() 213 if (IS_ERR(root)) { in coda_fill_super() 214 error = PTR_ERR(root); in coda_fill_super() 221 __func__, root->i_ino, root->i_sb->s_id); in coda_fill_super() 222 sb->s_root = d_make_root(root); in coda_fill_super()
|
/linux-4.1.27/drivers/input/serio/ |
D | i8042-sparcio.h | 110 struct device_node *root = of_find_node_by_path("/"); in i8042_platform_init() local 112 if (!strcmp(root->name, "SUNW,JavaStation-1")) { in i8042_platform_init() 140 struct device_node *root = of_find_node_by_path("/"); in i8042_platform_exit() local 142 if (strcmp(root->name, "SUNW,JavaStation-1")) in i8042_platform_exit()
|
/linux-4.1.27/Documentation/filesystems/nfs/ |
D | nfsroot.txt | 1 Mounting the root filesystem via NFS (nfsroot) 12 for example, it is necessary for the root filesystem to be present on a 16 for the root filesystem. For the rest of this text 'client' means the 40 told what root fs device to use. And in the case of nfsroot, where to find 41 both the server and the name of the directory on the server to mount as root. 45 root=/dev/nfs 52 nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>] 62 <root-dir> Name of the directory on the server to mount as root. 109 Only required for NFS root. That is autoconfiguration 110 will not be triggered if it is missing and NFS root is not [all …]
|