Home
last modified time | relevance | path

Searched refs:PCPU_MIN_UNIT_SIZE (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dnetcnt_common.h21 #define PCPU_MIN_UNIT_SIZE 32768 macro
33 __u8 data[PCPU_MIN_UNIT_SIZE];
/kernel/linux/linux-5.10/include/linux/
H A Dpercpu.h23 #define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10) macro
/kernel/linux/linux-6.6/include/linux/
H A Dpercpu.h23 #define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10) macro
/kernel/linux/linux-5.10/mm/
H A Dpercpu.c1712 if (unlikely(!size || size > PCPU_MIN_UNIT_SIZE || align > PAGE_SIZE || in pcpu_alloc()
2438 PCPU_SETUP_BUG_ON(ai->unit_size < PCPU_MIN_UNIT_SIZE); in pcpu_setup_first_chunk()
2696 min_unit_size = max_t(size_t, size_sum, PCPU_MIN_UNIT_SIZE); in pcpu_build_alloc_info()
3130 roundup_pow_of_two(max_t(size_t, PCPU_MIN_UNIT_SIZE, in setup_per_cpu_areas()
/kernel/linux/linux-5.10/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()
356 /* make sure per cpu pool fits into PCPU_MIN_UNIT_SIZE */ in ppm_alloc_cpu_pool()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dlocal_storage.c291 /* 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()
/kernel/linux/linux-6.6/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()
356 /* make sure per cpu pool fits into PCPU_MIN_UNIT_SIZE */ in ppm_alloc_cpu_pool()
/kernel/linux/linux-6.6/mm/
H A Dpercpu.c1753 if (unlikely(!size || size > PCPU_MIN_UNIT_SIZE || align > PAGE_SIZE || in pcpu_alloc()
2615 PCPU_SETUP_BUG_ON(ai->unit_size < PCPU_MIN_UNIT_SIZE); in pcpu_setup_first_chunk()
2870 min_unit_size = max_t(size_t, size_sum, PCPU_MIN_UNIT_SIZE); in pcpu_build_alloc_info()
3383 roundup_pow_of_two(max_t(size_t, PCPU_MIN_UNIT_SIZE, in setup_per_cpu_areas()
/kernel/linux/linux-5.10/net/openvswitch/
H A Dflow_table.c370 (size * sizeof(struct mask_cache_entry)) > PCPU_MIN_UNIT_SIZE) in tbl_mask_cache_alloc()
400 (size * sizeof(struct mask_cache_entry)) > PCPU_MIN_UNIT_SIZE) in ovs_flow_tbl_masks_cache_resize()
H A Ddatapath.c1934 PCPU_MIN_UNIT_SIZE / sizeof(struct mask_cache_entry)),
/kernel/linux/linux-6.6/net/openvswitch/
H A Dflow_table.c371 (size * sizeof(struct mask_cache_entry)) > PCPU_MIN_UNIT_SIZE) in tbl_mask_cache_alloc()
401 (size * sizeof(struct mask_cache_entry)) > PCPU_MIN_UNIT_SIZE) in ovs_flow_tbl_masks_cache_resize()
H A Ddatapath.c2055 PCPU_MIN_UNIT_SIZE / sizeof(struct mask_cache_entry)),
/kernel/linux/linux-5.10/drivers/scsi/libfc/
H A Dfc_exch.c2494 /* reduce range so per cpu pool fits into PCPU_MIN_UNIT_SIZE pool */ in fc_exch_mgr_alloc()
2495 pool_exch_range = (PCPU_MIN_UNIT_SIZE - sizeof(*pool)) / in fc_exch_mgr_alloc()
/kernel/linux/linux-6.6/drivers/scsi/libfc/
H A Dfc_exch.c2492 /* 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()

Completed in 27 milliseconds