Searched refs:new_nodes (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/md/bcache/
H A Dbtree.c1301 struct btree *new_nodes[GC_MERGE_NODES]; btree_gc_coalesce() local
1311 memset(new_nodes, 0, sizeof(new_nodes)); btree_gc_coalesce()
1325 new_nodes[i] = btree_node_alloc_replacement(r[i].b, NULL); btree_gc_coalesce()
1326 if (IS_ERR_OR_NULL(new_nodes[i])) btree_gc_coalesce()
1340 mutex_lock(&new_nodes[i]->write_lock); btree_gc_coalesce()
1343 struct bset *n1 = btree_bset_first(new_nodes[i]); btree_gc_coalesce()
1344 struct bset *n2 = btree_bset_first(new_nodes[i - 1]); btree_gc_coalesce()
1372 btree_blocks(new_nodes[i])) btree_gc_coalesce()
1381 btree_blocks(new_nodes[i])); btree_gc_coalesce()
1384 bkey_copy_key(&new_nodes[i]->key, last); btree_gc_coalesce()
1401 bkey_u64s(&new_nodes[i]->key))) btree_gc_coalesce()
1404 bch_btree_node_write(new_nodes[i], &cl); btree_gc_coalesce()
1405 bch_keylist_add(&keylist, &new_nodes[i]->key); btree_gc_coalesce()
1409 mutex_unlock(&new_nodes[i]->write_lock); btree_gc_coalesce()
1414 BUG_ON(btree_bset_first(new_nodes[0])->keys); btree_gc_coalesce()
1415 btree_node_free(new_nodes[0]); btree_gc_coalesce()
1416 rw_unlock(true, new_nodes[0]); btree_gc_coalesce()
1417 new_nodes[0] = NULL; btree_gc_coalesce()
1434 r[i].b = new_nodes[i]; btree_gc_coalesce()
1457 if (!IS_ERR_OR_NULL(new_nodes[i])) { btree_gc_coalesce()
1458 btree_node_free(new_nodes[i]); btree_gc_coalesce()
1459 rw_unlock(true, new_nodes[i]); btree_gc_coalesce()
/linux-4.4.14/kernel/
H A Dcompat.c1110 const compat_ulong_t __user *, new_nodes) COMPAT_SYSCALL_DEFINE4()
1123 old = compat_alloc_user_space(new_nodes ? size * 2 : size); COMPAT_SYSCALL_DEFINE4()
1124 if (new_nodes) COMPAT_SYSCALL_DEFINE4()
1129 if (new_nodes) { COMPAT_SYSCALL_DEFINE4()
1130 if (compat_get_bitmap(nodes_addr(tmp_mask), new_nodes, nr_bits)) COMPAT_SYSCALL_DEFINE4()
/linux-4.4.14/include/linux/
H A Dcompat.h433 const compat_ulong_t __user *new_nodes);
/linux-4.4.14/mm/
H A Dmempolicy.c1341 const unsigned long __user *, new_nodes) SYSCALL_DEFINE4()
1362 err = get_nodes(new, new_nodes, maxnode); SYSCALL_DEFINE4()

Completed in 193 milliseconds