Home
last modified time | relevance | path

Searched refs:PCPU_MIN_UNIT_SIZE (Results 1 – 11 of 11) sorted by relevance

/linux/tools/testing/selftests/bpf/
H A Dnetcnt_common.h21 #define PCPU_MIN_UNIT_SIZE 32768 macro
33 __u8 data[PCPU_MIN_UNIT_SIZE];
/linux/include/linux/
H A Dpercpu.h28 #define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10) macro
/linux/tools/testing/selftests/bpf/map_tests/
H A Dmap_percpu_stats.c20 #define PCPU_MIN_UNIT_SIZE 32768 macro
463 int value_sz = PCPU_MIN_UNIT_SIZE + 1; in map_percpu_stats_map_value_size()
/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_ppm.c350 unsigned int max = (PCPU_MIN_UNIT_SIZE - sizeof(*pools)) << 3; in ppm_alloc_cpu_pool()
/linux/mm/
H A Dpercpu.c1777 if (unlikely(!size || size > PCPU_MIN_UNIT_SIZE || align > PAGE_SIZE || in pcpu_alloc_noprof()
2588 PCPU_SETUP_BUG_ON(ai->unit_size < PCPU_MIN_UNIT_SIZE); in pcpu_setup_first_chunk()
2843 min_unit_size = max_t(size_t, size_sum, PCPU_MIN_UNIT_SIZE); in pcpu_build_alloc_info()
3356 roundup_pow_of_two(max_t(size_t, PCPU_MIN_UNIT_SIZE, in setup_per_cpu_areas()
/linux/net/openvswitch/
H A Dflow_table.c368 (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()
H A Ddatapath.c2053 PCPU_MIN_UNIT_SIZE / sizeof(struct mask_cache_entry)),
/linux/kernel/bpf/
H A Dlocal_storage.c296 PCPU_MIN_UNIT_SIZE); in cgroup_storage_map_alloc()
H A Darraymap.c77 if (percpu && round_up(attr->value_size, 8) > PCPU_MIN_UNIT_SIZE) in array_map_alloc_check()
H A Dhashtab.c466 if (percpu && round_up(attr->value_size, 8) > PCPU_MIN_UNIT_SIZE) in htab_map_alloc_check()
/linux/drivers/scsi/libfc/
H A Dfc_exch.c2493 pool_exch_range = (PCPU_MIN_UNIT_SIZE - sizeof(*pool)) / in fc_exch_mgr_alloc()