/drivers/gpu/drm/selftests/ |
D | test-drm_mm.c | 266 struct drm_mm_node nodes[2]; in igt_debug() local 275 memset(nodes, 0, sizeof(nodes)); in igt_debug() 276 nodes[0].start = 512; in igt_debug() 277 nodes[0].size = 1024; in igt_debug() 278 ret = drm_mm_reserve_node(&mm, &nodes[0]); in igt_debug() 281 nodes[0].start, nodes[0].size); in igt_debug() 285 nodes[1].size = 1024; in igt_debug() 286 nodes[1].start = 4096 - 512 - nodes[1].size; in igt_debug() 287 ret = drm_mm_reserve_node(&mm, &nodes[1]); in igt_debug() 290 nodes[1].start, nodes[1].size); in igt_debug() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vram_mgr.c | 138 struct drm_mm_node *nodes; in amdgpu_vram_mgr_new() local 159 nodes = kvmalloc_array(num_nodes, sizeof(*nodes), in amdgpu_vram_mgr_new() 161 if (!nodes) in amdgpu_vram_mgr_new() 180 r = drm_mm_insert_node_in_range(mm, &nodes[i], in amdgpu_vram_mgr_new() 187 usage += nodes[i].size << PAGE_SHIFT; in amdgpu_vram_mgr_new() 188 vis_usage += amdgpu_vram_mgr_vis_size(adev, &nodes[i]); in amdgpu_vram_mgr_new() 193 start = nodes[i].start + nodes[i].size; in amdgpu_vram_mgr_new() 206 mem->mm_node = nodes; in amdgpu_vram_mgr_new() 212 drm_mm_remove_node(&nodes[i]); in amdgpu_vram_mgr_new() 215 kvfree(nodes); in amdgpu_vram_mgr_new() [all …]
|
D | amdgpu_vm.c | 1636 struct drm_mm_node *nodes, in amdgpu_vm_bo_split_mapping() argument 1665 if (nodes) { in amdgpu_vm_bo_split_mapping() 1666 while (pfn >= nodes->size) { in amdgpu_vm_bo_split_mapping() 1667 pfn -= nodes->size; in amdgpu_vm_bo_split_mapping() 1668 ++nodes; in amdgpu_vm_bo_split_mapping() 1676 if (nodes) { in amdgpu_vm_bo_split_mapping() 1677 addr = nodes->start << PAGE_SHIFT; in amdgpu_vm_bo_split_mapping() 1678 max_entries = (nodes->size - pfn) * in amdgpu_vm_bo_split_mapping() 1702 if (nodes && nodes->size == pfn) { in amdgpu_vm_bo_split_mapping() 1704 ++nodes; in amdgpu_vm_bo_split_mapping() [all …]
|
/drivers/md/persistent-data/ |
D | dm-btree-spine.c | 131 s->nodes[0] = NULL; in init_ro_spine() 132 s->nodes[1] = NULL; in init_ro_spine() 140 unlock_block(s->info, s->nodes[i]); in exit_ro_spine() 151 unlock_block(s->info, s->nodes[0]); in ro_step() 152 s->nodes[0] = s->nodes[1]; in ro_step() 156 r = bn_read_lock(s->info, new_child, s->nodes + s->count); in ro_step() 167 unlock_block(s->info, s->nodes[s->count]); in ro_pop() 175 block = s->nodes[s->count - 1]; in ro_node() 193 unlock_block(s->info, s->nodes[i]); in exit_shadow_spine() 205 unlock_block(s->info, s->nodes[0]); in shadow_step() [all …]
|
D | dm-btree-internal.h | 67 struct dm_block *nodes[2]; member 80 struct dm_block *nodes[2]; member
|
D | dm-btree.c | 590 s->nodes[1] = left; in btree_split_sibling() 593 s->nodes[1] = right; in btree_split_sibling() 999 struct cursor_node *n = c->nodes + c->depth - 1; in prefetch_values() 1014 struct cursor_node *n = c->nodes + c->depth - 1; in leaf_node() 1023 struct cursor_node *n = c->nodes + c->depth; in push_node() 1046 unlock_block(c->info, c->nodes[c->depth].b); in pop_node() 1058 n = c->nodes + c->depth - 1; in inc_or_backtrack() 1079 n = c->nodes + c->depth - 1; in find_leaf() 1151 struct cursor_node *n = c->nodes + c->depth - 1; in dm_btree_cursor_get_value()
|
/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 26 #define node(root, dir) ((root)->nl_entry.dir == &mm->nodes) ? NULL : \ 36 list_for_each_entry(node, &mm->nodes, nl_entry) { in nvkm_mm_dump() 246 prev = list_last_entry(&mm->nodes, typeof(*node), nl_entry); in nvkm_mm_init() 255 list_add_tail(&node->nl_entry, &mm->nodes); in nvkm_mm_init() 259 INIT_LIST_HEAD(&mm->nodes); in nvkm_mm_init() 275 list_add_tail(&node->nl_entry, &mm->nodes); in nvkm_mm_init() 285 int nodes = 0; in nvkm_mm_fini() local 290 list_for_each_entry(node, &mm->nodes, nl_entry) { in nvkm_mm_fini() 292 if (++nodes > mm->heap_nodes) { in nvkm_mm_fini() 299 list_for_each_entry_safe(node, temp, &mm->nodes, nl_entry) { in nvkm_mm_fini()
|
/drivers/misc/mic/scif/ |
D | scif_fd.c | 270 u16 *nodes; in scif_fdioctl() local 280 nodes = kmalloc_array(entries, sizeof(u16), GFP_KERNEL); in scif_fdioctl() 281 if (entries && !nodes) { in scif_fdioctl() 285 node_ids.len = scif_get_node_ids(nodes, entries, &self); in scif_fdioctl() 287 unodes = (void __user *)node_ids.nodes; in scif_fdioctl() 288 if (copy_to_user(unodes, nodes, sizeof(u16) * entries)) { in scif_fdioctl() 304 kfree(nodes); in scif_fdioctl()
|
/drivers/of/unittest-data/ |
D | overlay_base.dts | 9 * Do not add any nodes other than "/testcase-data-2" in node "/". 11 * dtc will create nodes "/__symbols__" and "/__local_fixups__".
|
/drivers/base/regmap/ |
D | regcache-rbtree.c | 144 int nodes = 0; in rbtree_show() local 163 nodes++; in rbtree_show() 167 if (nodes) in rbtree_show() 168 average = registers / nodes; in rbtree_show() 173 nodes, registers, average, mem_size); in rbtree_show()
|
/drivers/md/bcache/ |
D | btree.c | 1257 gc->nodes++; in btree_gc_mark_node() 1304 unsigned i, nodes = 0, keys = 0, blocks; in btree_gc_coalesce() local 1318 while (nodes < GC_MERGE_NODES && !IS_ERR_OR_NULL(r[nodes].b)) in btree_gc_coalesce() 1319 keys += r[nodes++].keys; in btree_gc_coalesce() 1323 if (nodes < 2 || in btree_gc_coalesce() 1325 block_bytes(b->c)) > blocks * (nodes - 1)) in btree_gc_coalesce() 1328 for (i = 0; i < nodes; i++) { in btree_gc_coalesce() 1343 for (i = 0; i < nodes; i++) in btree_gc_coalesce() 1346 for (i = nodes - 1; i > 0; --i) { in btree_gc_coalesce() 1412 for (i = 0; i < nodes; i++) in btree_gc_coalesce() [all …]
|
D | sysfs.c | 411 size_t nodes; member 419 op->nodes++; in bch_btree_bset_stats() 445 op.nodes, in bch_bset_print_stats() 514 (c->gc_stats.nodes ?: 1) * btree_bytes(c)); in bch_btree_used() 545 sysfs_print(btree_nodes, c->gc_stats.nodes); in SHOW()
|
/drivers/hwmon/ |
D | applesmc.c | 117 struct applesmc_dev_attr *nodes; /* dynamic node array */ member 1096 for (grp = groups; grp->nodes; grp++) { in applesmc_destroy_nodes() 1097 for (node = grp->nodes; node->sda.dev_attr.attr.name; node++) in applesmc_destroy_nodes() 1100 kfree(grp->nodes); in applesmc_destroy_nodes() 1101 grp->nodes = NULL; in applesmc_destroy_nodes() 1116 grp->nodes = kcalloc(num + 1, sizeof(*node), GFP_KERNEL); in applesmc_create_nodes() 1117 if (!grp->nodes) { in applesmc_create_nodes() 1122 node = &grp->nodes[i]; in applesmc_create_nodes()
|
/drivers/net/wireless/ath/ath9k/ |
D | dynack.c | 94 list_for_each_entry(an, &da->nodes, list) in ath_dynack_compute_ackto() 304 list_add_tail(&an->list, &da->nodes); in ath_dynack_node_init() 363 INIT_LIST_HEAD(&da->nodes); in ath_dynack_init()
|
/drivers/staging/board/ |
D | TODO | 1 * replace platform device code with DT nodes once the driver supports DT
|
/drivers/md/ |
D | md-cluster.c | 851 static int join(struct mddev *mddev, int nodes) in join() argument 879 if (nodes < cinfo->slot_number) { in join() 881 cinfo->slot_number, nodes); in join() 1103 int node_num = mddev->bitmap_info.nodes; in cluster_check_sync_size() 1384 cinfo->other_bitmap_lockres = kzalloc((mddev->bitmap_info.nodes - 1) * in lock_all_bitmaps() 1393 for (slot = 0; slot < mddev->bitmap_info.nodes; slot++) { in lock_all_bitmaps() 1420 for (i = 0; i < mddev->bitmap_info.nodes - 1; i++) { in unlock_all_bitmaps() 1443 for (sn = 0; sn < mddev->bitmap_info.nodes; sn++) { in gather_bitmaps()
|
D | md-cluster.h | 13 int (*join)(struct mddev *mddev, int nodes);
|
D | bitmap.c | 469 sb->nodes = cpu_to_le32(bitmap->mddev->bitmap_info.nodes); in bitmap_update_sb() 568 bitmap->mddev->bitmap_info.nodes = 0; in bitmap_new_disk_sb() 582 int nodes = 0; in bitmap_read_sb() local 644 nodes = le32_to_cpu(sb->nodes); in bitmap_read_sb() 683 if (!nodes && (events < bitmap->mddev->events)) { in bitmap_read_sb() 703 if (err == 0 && nodes && (bitmap->cluster_slot < 0)) { in bitmap_read_sb() 704 err = md_setup_cluster(bitmap->mddev, nodes); in bitmap_read_sb() 721 bitmap->mddev->bitmap_info.nodes = nodes; in bitmap_read_sb() 1905 md_cluster_ops->load_bitmaps(mddev, mddev->bitmap_info.nodes); in bitmap_load()
|
D | md.h | 449 int nodes; /* Maximum number of nodes in the cluster */ member 662 extern int md_setup_cluster(struct mddev *mddev, int nodes); 728 return mddev->cluster_info && mddev->bitmap_info.nodes > 1; in mddev_is_clustered()
|
/drivers/staging/lustre/ |
D | README.txt | 43 on multiple nodes). 47 client nodes.
|
/drivers/staging/rtl8723bs/include/ |
D | rtw_event.h | 104 struct event_node nodes[C2HEVENT_SZ]; member
|
/drivers/staging/rtl8712/ |
D | rtl871x_event.h | 100 struct event_node nodes[C2HEVENT_SZ]; member
|
/drivers/target/sbp/ |
D | Kconfig | 6 This enables you to expose SCSI devices to other nodes on the FireWire
|
/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | mm.h | 21 struct list_head nodes; member
|
/drivers/misc/sgi-gru/ |
D | grulib.h | 148 int nodes; member
|