/linux-6.12.1/lib/ |
D | rbtree_test.c | 14 __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 …]
|
D | interval_tree_test.c | 14 __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.12.1/fs/btrfs/ |
D | ulist.c | 52 ulist->nnodes = 0; in ulist_init() 154 BUG_ON(ulist->nnodes == 0); in ulist_rbtree_erase() 155 ulist->nnodes--; in ulist_rbtree_erase() 234 ulist->nnodes++; in ulist_add_merge()
|
D | ulist.h | 40 unsigned long nnodes; member
|
D | qgroup.c | 2936 if (!roots || roots->nnodes == 0) in maybe_fs_roots() 2974 nr_new_roots = new_roots->nnodes; in btrfs_qgroup_account_extent() 2979 nr_old_roots = old_roots->nnodes; in btrfs_qgroup_account_extent()
|
D | backref.c | 1919 const unsigned long prev_ref_count = ctx->refs.nnodes; in btrfs_is_data_extent_shared() 1966 if ((ctx->refs.nnodes - prev_ref_count) > 1) in btrfs_is_data_extent_shared()
|
/linux-6.12.1/drivers/clk/zynqmp/ |
D | clkc.c | 412 u32 *nnodes) in __zynqmp_clock_get_topology() argument 421 topology[*nnodes].type = type; in __zynqmp_clock_get_topology() 422 topology[*nnodes].flag = FIELD_GET(CLK_TOPOLOGY_FLAGS, in __zynqmp_clock_get_topology() 424 topology[*nnodes].type_flag = in __zynqmp_clock_get_topology() 427 topology[*nnodes].custom_type_flag = in __zynqmp_clock_get_topology() 430 (*nnodes)++; in __zynqmp_clock_get_topology()
|
/linux-6.12.1/drivers/vfio/pci/pds/ |
D | dirty.c | 245 struct rb_root_cached *ranges, u32 nnodes, in pds_vfio_dirty_enable() argument 255 u32 num_ranges = nnodes; in pds_vfio_dirty_enable() 285 vfio_combine_iova_ranges(ranges, nnodes, max_regions); in pds_vfio_dirty_enable() 617 struct rb_root_cached *ranges, u32 nnodes, in pds_vfio_dma_logging_start() argument 627 err = pds_vfio_dirty_enable(pds_vfio, ranges, nnodes, page_size); in pds_vfio_dma_logging_start()
|
D | dirty.h | 38 struct rb_root_cached *ranges, u32 nnodes,
|
/linux-6.12.1/drivers/vfio/ |
D | vfio_main.c | 1059 u32 nnodes; in vfio_ioctl_device_feature_logging_start() local 1074 nnodes = control.num_ranges; in vfio_ioctl_device_feature_logging_start() 1075 if (!nnodes) in vfio_ioctl_device_feature_logging_start() 1078 if (nnodes > LOG_MAX_RANGES) in vfio_ioctl_device_feature_logging_start() 1082 nodes = kmalloc_array(nnodes, sizeof(struct interval_tree_node), in vfio_ioctl_device_feature_logging_start() 1087 for (i = 0; i < nnodes; i++) { in vfio_ioctl_device_feature_logging_start() 1115 ret = device->log_ops->log_start(device, &root, nnodes, in vfio_ioctl_device_feature_logging_start()
|
/linux-6.12.1/mm/ |
D | mempolicy.c | 2027 unsigned int target, nnodes; in interleave_nid() local 2031 nnodes = read_once_policy_nodemask(pol, &nodemask); in interleave_nid() 2032 if (!nnodes) in interleave_nid() 2034 target = ilx % nnodes; in interleave_nid() 2405 int nnodes, node; in alloc_pages_bulk_array_weighted_interleave() local 2417 nnodes = read_once_policy_nodemask(pol, &nodes); in alloc_pages_bulk_array_weighted_interleave() 2421 if (!nnodes) in alloc_pages_bulk_array_weighted_interleave() 2474 for (i = 0; i < nnodes; i++) { in alloc_pages_bulk_array_weighted_interleave()
|
/linux-6.12.1/kernel/time/ |
D | timer_migration.c | 1742 unsigned int nnodes = num_possible_nodes(); in tmigr_init() local 1762 cpus_per_node = DIV_ROUND_UP(ncpus, nnodes); in tmigr_init() 1769 nodelvl = DIV_ROUND_UP(order_base_2(nnodes), in tmigr_init()
|
/linux-6.12.1/drivers/vfio/pci/mlx5/ |
D | cmd.h | 236 struct rb_root_cached *ranges, u32 nnodes, u64 *page_size);
|
D | cmd.c | 851 struct rb_root_cached *ranges, u32 nnodes) in mlx5vf_create_tracker() argument 860 u32 num_ranges = nnodes; in mlx5vf_create_tracker() 871 vfio_combine_iova_ranges(ranges, nnodes, max_num_range); in mlx5vf_create_tracker() 1506 struct rb_root_cached *ranges, u32 nnodes, in mlx5vf_start_page_tracker() argument 1588 err = mlx5vf_create_tracker(mdev, mvdev, ranges, nnodes); in mlx5vf_start_page_tracker()
|
/linux-6.12.1/include/linux/ |
D | vfio.h | 229 struct rb_root_cached *ranges, u32 nnodes, u64 *page_size);
|
/linux-6.12.1/Documentation/bpf/ |
D | map_lru_hash_update.dot | 44 label="Able to free\nLOCAL_FREE_TARGET\nnodes?"]
|
/linux-6.12.1/samples/vfio-mdev/ |
D | mtty.c | 1289 u32 nnodes, u64 *page_size) in mtty_log_start() argument
|