Home
last modified time | relevance | path

Searched refs:nnodes (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/lib/
Drbtree_test.c14 __param(int, nnodes, 100, "Number of nodes in the rb-tree");
152 for (i = 0; i < nnodes; i++) { in init()
248 nodes = kmalloc_array(nnodes, sizeof(*nodes), GFP_KERNEL); in rbtree_test_init()
260 for (j = 0; j < nnodes; j++) in rbtree_test_init()
262 for (j = 0; j < nnodes; j++) in rbtree_test_init()
276 for (j = 0; j < nnodes; j++) in rbtree_test_init()
278 for (j = 0; j < nnodes; j++) in rbtree_test_init()
289 for (i = 0; i < nnodes; i++) in rbtree_test_init()
329 for (i = 0; i < nnodes; i++) in rbtree_test_init()
335 for (j = 0; j < nnodes; j++) { in rbtree_test_init()
[all …]
Dinterval_tree_test.c14 __param(int, nnodes, 100, "Number of nodes in the interval tree");
45 for (i = 0; i < nnodes; i++) { in init()
68 nodes = kmalloc_array(nnodes, sizeof(struct interval_tree_node), in interval_tree_test_init()
87 for (j = 0; j < nnodes; j++) in interval_tree_test_init()
89 for (j = 0; j < nnodes; j++) in interval_tree_test_init()
101 for (j = 0; j < nnodes; j++) in interval_tree_test_init()
/linux-6.1.9/fs/btrfs/
Dulist.c51 ulist->nnodes = 0; in ulist_init()
140 BUG_ON(ulist->nnodes == 0); in ulist_rbtree_erase()
141 ulist->nnodes--; in ulist_rbtree_erase()
213 ulist->nnodes++; in ulist_add_merge()
Dulist.h39 unsigned long nnodes; member
Dqgroup.c2621 if (!roots || roots->nnodes == 0) in maybe_fs_roots()
2660 nr_new_roots = new_roots->nnodes; in btrfs_qgroup_account_extent()
2665 nr_old_roots = old_roots->nnodes; in btrfs_qgroup_account_extent()
Dbackref.c1769 if (level == -1 && tmp->nnodes > 1) in btrfs_is_data_extent_shared()
/linux-6.1.9/drivers/clk/zynqmp/
Dclkc.c411 u32 *nnodes) in __zynqmp_clock_get_topology() argument
420 topology[*nnodes].type = type; in __zynqmp_clock_get_topology()
421 topology[*nnodes].flag = FIELD_GET(CLK_TOPOLOGY_FLAGS, in __zynqmp_clock_get_topology()
423 topology[*nnodes].type_flag = in __zynqmp_clock_get_topology()
426 topology[*nnodes].custom_type_flag = in __zynqmp_clock_get_topology()
429 (*nnodes)++; in __zynqmp_clock_get_topology()
/linux-6.1.9/drivers/vfio/
Dvfio_main.c1314 u32 nnodes; in vfio_ioctl_device_feature_logging_start() local
1329 nnodes = control.num_ranges; in vfio_ioctl_device_feature_logging_start()
1330 if (!nnodes) in vfio_ioctl_device_feature_logging_start()
1333 if (nnodes > LOG_MAX_RANGES) in vfio_ioctl_device_feature_logging_start()
1337 nodes = kmalloc_array(nnodes, sizeof(struct interval_tree_node), in vfio_ioctl_device_feature_logging_start()
1342 for (i = 0; i < nnodes; i++) { in vfio_ioctl_device_feature_logging_start()
1370 ret = device->log_ops->log_start(device, &root, nnodes, in vfio_ioctl_device_feature_logging_start()
/linux-6.1.9/drivers/vfio/pci/mlx5/
Dcmd.h133 struct rb_root_cached *ranges, u32 nnodes, u64 *page_size);
Dcmd.c476 struct rb_root_cached *ranges, u32 nnodes) in mlx5vf_create_tracker() argument
485 u32 num_ranges = nnodes; in mlx5vf_create_tracker()
496 combine_ranges(ranges, nnodes, max_num_range); in mlx5vf_create_tracker()
1099 struct rb_root_cached *ranges, u32 nnodes, in mlx5vf_start_page_tracker() argument
1181 err = mlx5vf_create_tracker(mdev, mvdev, ranges, nnodes); in mlx5vf_start_page_tracker()
/linux-6.1.9/include/linux/
Dvfio.h134 struct rb_root_cached *ranges, u32 nnodes, u64 *page_size);
/linux-6.1.9/mm/
Dmempolicy.c1957 unsigned int target, nnodes; in offset_il_node() local
1969 nnodes = nodes_weight(nodemask); in offset_il_node()
1970 if (!nnodes) in offset_il_node()
1972 target = (unsigned int)n % nnodes; in offset_il_node()