Searched refs:PCPU_MIN_UNIT_SIZE (Results 1 – 10 of 10) sorted by relevance
21 #define PCPU_MIN_UNIT_SIZE 32768 macro 33 __u8 data[PCPU_MIN_UNIT_SIZE];
20 #define PCPU_MIN_UNIT_SIZE 32768 macro 463 int value_sz = PCPU_MIN_UNIT_SIZE + 1; in map_percpu_stats_map_value_size()
350 unsigned int max = (PCPU_MIN_UNIT_SIZE - sizeof(*pools)) << 3; in ppm_alloc_cpu_pool() 356 /* make sure per cpu pool fits into PCPU_MIN_UNIT_SIZE */ in ppm_alloc_cpu_pool()
1764 if (unlikely(!size || size > PCPU_MIN_UNIT_SIZE || align > PAGE_SIZE || in pcpu_alloc_noprof() 2581 PCPU_SETUP_BUG_ON(ai->unit_size < PCPU_MIN_UNIT_SIZE); in pcpu_setup_first_chunk() 2821 min_unit_size = max_t(size_t, size_sum, PCPU_MIN_UNIT_SIZE); in pcpu_build_alloc_info() 3320 roundup_pow_of_two(max_t(size_t, PCPU_MIN_UNIT_SIZE, in setup_per_cpu_areas()
368 (size * sizeof(struct mask_cache_entry)) > PCPU_MIN_UNIT_SIZE) in tbl_mask_cache_alloc() 398 (size * sizeof(struct mask_cache_entry)) > PCPU_MIN_UNIT_SIZE) in ovs_flow_tbl_masks_cache_resize()
2083 PCPU_MIN_UNIT_SIZE / sizeof(struct mask_cache_entry)),
291 /* percpu is bound by PCPU_MIN_UNIT_SIZE, non-percu in cgroup_storage_map_alloc() 296 PCPU_MIN_UNIT_SIZE); in cgroup_storage_map_alloc()
76 /* percpu map value size is bound by PCPU_MIN_UNIT_SIZE */ in array_map_alloc_check() 77 if (percpu && round_up(attr->value_size, 8) > PCPU_MIN_UNIT_SIZE) in array_map_alloc_check()
460 /* percpu map value size is bound by PCPU_MIN_UNIT_SIZE */ in htab_map_alloc_check() 461 if (percpu && round_up(attr->value_size, 8) > PCPU_MIN_UNIT_SIZE) in htab_map_alloc_check()
2492 /* reduce range so per cpu pool fits into PCPU_MIN_UNIT_SIZE pool */ in fc_exch_mgr_alloc() 2493 pool_exch_range = (PCPU_MIN_UNIT_SIZE - sizeof(*pool)) / in fc_exch_mgr_alloc()