Home
last modified time | relevance | path

Searched refs:nodes (Results 1 – 25 of 52) sorted by relevance

123

/drivers/md/persistent-data/
Ddm-btree-spine.c131 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 …]
Ddm-btree-internal.h67 struct dm_block *nodes[2]; member
80 struct dm_block *nodes[2]; member
Ddm-btree.c585 s->nodes[1] = left; in btree_split_sibling()
588 s->nodes[1] = right; in btree_split_sibling()
993 struct cursor_node *n = c->nodes + c->depth - 1; in prefetch_values()
1008 struct cursor_node *n = c->nodes + c->depth - 1; in leaf_node()
1017 struct cursor_node *n = c->nodes + c->depth; in push_node()
1040 unlock_block(c->info, c->nodes[c->depth].b); in pop_node()
1052 n = c->nodes + c->depth - 1; in inc_or_backtrack()
1073 n = c->nodes + c->depth - 1; in find_leaf()
1134 struct cursor_node *n = c->nodes + c->depth - 1; in dm_btree_cursor_get_value()
/drivers/gpu/drm/nouveau/nvkm/core/
Dmm.c26 #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()
244 prev = list_last_entry(&mm->nodes, typeof(*node), nl_entry); in nvkm_mm_init()
253 list_add_tail(&node->nl_entry, &mm->nodes); in nvkm_mm_init()
257 INIT_LIST_HEAD(&mm->nodes); in nvkm_mm_init()
273 list_add_tail(&node->nl_entry, &mm->nodes); in nvkm_mm_init()
283 int nodes = 0; in nvkm_mm_fini() local
288 list_for_each_entry(node, &mm->nodes, nl_entry) { in nvkm_mm_fini()
290 if (++nodes > mm->heap_nodes) { in nvkm_mm_fini()
297 list_for_each_entry_safe(node, temp, &mm->nodes, nl_entry) { in nvkm_mm_fini()
/drivers/misc/mic/scif/
Dscif_fd.c270 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/base/regmap/
Dregcache-rbtree.c145 int nodes = 0; in rbtree_show() local
164 nodes++; in rbtree_show()
168 if (nodes) in rbtree_show()
169 average = registers / nodes; in rbtree_show()
174 nodes, registers, average, mem_size); in rbtree_show()
/drivers/md/bcache/
Dbtree.c1251 gc->nodes++; in btree_gc_mark_node()
1298 unsigned i, nodes = 0, keys = 0, blocks; in btree_gc_coalesce() local
1312 while (nodes < GC_MERGE_NODES && !IS_ERR_OR_NULL(r[nodes].b)) in btree_gc_coalesce()
1313 keys += r[nodes++].keys; in btree_gc_coalesce()
1317 if (nodes < 2 || in btree_gc_coalesce()
1319 block_bytes(b->c)) > blocks * (nodes - 1)) in btree_gc_coalesce()
1322 for (i = 0; i < nodes; i++) { in btree_gc_coalesce()
1337 for (i = 0; i < nodes; i++) in btree_gc_coalesce()
1340 for (i = nodes - 1; i > 0; --i) { in btree_gc_coalesce()
1406 for (i = 0; i < nodes; i++) in btree_gc_coalesce()
[all …]
Dsysfs.c404 size_t nodes; member
412 op->nodes++; in bch_btree_bset_stats()
438 op.nodes, in bch_bset_print_stats()
507 (c->gc_stats.nodes ?: 1) * btree_bytes(c)); in bch_btree_used()
538 sysfs_print(btree_nodes, c->gc_stats.nodes); in SHOW()
/drivers/gpu/drm/exynos/
Dexynos_drm_mic.c258 struct device_node *nodes[3]; in parse_dt() local
270 nodes[j++] = remote_node; in parse_dt()
287 nodes[j++] = remote_node; in parse_dt()
305 of_node_put(nodes[j]); in parse_dt()
/drivers/nvme/host/
DKconfig17 bool "SCSI emulation for NVMe device nodes"
21 and block devices nodes, as well as a translation for a small
/drivers/hwmon/
Dapplesmc.c117 struct applesmc_dev_attr *nodes; /* dynamic node array */ member
1092 for (grp = groups; grp->nodes; grp++) { in applesmc_destroy_nodes()
1093 for (node = grp->nodes; node->sda.dev_attr.attr.name; node++) in applesmc_destroy_nodes()
1096 kfree(grp->nodes); in applesmc_destroy_nodes()
1097 grp->nodes = NULL; in applesmc_destroy_nodes()
1112 grp->nodes = kcalloc(num + 1, sizeof(*node), GFP_KERNEL); in applesmc_create_nodes()
1113 if (!grp->nodes) { in applesmc_create_nodes()
1118 node = &grp->nodes[i]; in applesmc_create_nodes()
/drivers/net/wireless/ath/ath9k/
Ddynack.c90 list_for_each_entry(an, &da->nodes, list) in ath_dynack_compute_ackto()
289 list_add_tail(&an->list, &da->nodes); in ath_dynack_node_init()
348 INIT_LIST_HEAD(&da->nodes); in ath_dynack_init()
Ddynack.h74 struct list_head nodes; member
/drivers/staging/board/
DTODO1 * replace platform device code with DT nodes once the driver supports DT
/drivers/staging/lustre/
DREADME.txt43 on multiple nodes).
47 client nodes.
/drivers/md/
Dmd-cluster.c820 static int join(struct mddev *mddev, int nodes) in join() argument
847 if (nodes < cinfo->slot_number) { in join()
849 cinfo->slot_number, nodes); in join()
1194 cinfo->other_bitmap_lockres = kzalloc((mddev->bitmap_info.nodes - 1) * in lock_all_bitmaps()
1203 for (slot = 0; slot < mddev->bitmap_info.nodes; slot++) { in lock_all_bitmaps()
1230 for (i = 0; i < mddev->bitmap_info.nodes - 1; i++) { in unlock_all_bitmaps()
1253 for (sn = 0; sn < mddev->bitmap_info.nodes; sn++) { in gather_bitmaps()
Dmd.h421 int nodes; /* Maximum number of nodes in the cluster */ member
606 extern int md_setup_cluster(struct mddev *mddev, int nodes);
677 return mddev->cluster_info && mddev->bitmap_info.nodes > 1; in mddev_is_clustered()
Dmd-cluster.h12 int (*join)(struct mddev *mddev, int nodes);
Dbitmap.c443 sb->nodes = cpu_to_le32(bitmap->mddev->bitmap_info.nodes); in bitmap_update_sb()
541 bitmap->mddev->bitmap_info.nodes = 0; in bitmap_new_disk_sb()
555 int nodes = 0; in bitmap_read_sb() local
617 nodes = le32_to_cpu(sb->nodes); in bitmap_read_sb()
657 if (!nodes && (events < bitmap->mddev->events)) { in bitmap_read_sb()
679 if (err == 0 && nodes && (bitmap->cluster_slot < 0)) { in bitmap_read_sb()
680 err = md_setup_cluster(bitmap->mddev, nodes); in bitmap_read_sb()
697 bitmap->mddev->bitmap_info.nodes = nodes; in bitmap_read_sb()
1852 md_cluster_ops->load_bitmaps(mddev, mddev->bitmap_info.nodes); in bitmap_load()
/drivers/staging/rtl8712/
Drtl871x_event.h100 struct event_node nodes[C2HEVENT_SZ]; member
/drivers/target/sbp/
DKconfig6 This enables you to expose SCSI devices to other nodes on the FireWire
/drivers/gpu/drm/nouveau/include/nvkm/core/
Dmm.h20 struct list_head nodes; member
/drivers/misc/sgi-gru/
Dgrulib.h148 int nodes; member
/drivers/net/can/rcar/
DKconfig17 mode, which can interoperate with CAN2.0 nodes but does not support
/drivers/media/dvb-core/
DKconfig27 will be required to manage the device nodes.

123