Searched refs:SG_MAX_SINGLE_ALLOC (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/lib/ |
H A D | scatterlist.c | 153 if (nents == SG_MAX_SINGLE_ALLOC) { in sg_kmalloc() 173 if (nents == SG_MAX_SINGLE_ALLOC) { in sg_kfree() 245 __sg_free_table(&table->sgt, SG_MAX_SINGLE_ALLOC, 0, sg_kfree, in sg_free_append_table() 258 __sg_free_table(table, SG_MAX_SINGLE_ALLOC, 0, sg_kfree, in sg_free_table() 378 ret = __sg_alloc_table(table, nents, SG_MAX_SINGLE_ALLOC, in sg_alloc_table() 401 alloc_size = min_t(unsigned long, needed_sges, SG_MAX_SINGLE_ALLOC); in get_next_sg()
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | scatterlist.c | 318 if (size > SG_MAX_SINGLE_ALLOC) in igt_sg_alloc() 369 if (prime > SG_MAX_SINGLE_ALLOC) in igt_sg_trim()
|
/openbmc/linux/include/linux/ |
H A D | scatterlist.h | 511 #define SG_MAX_SINGLE_ALLOC (PAGE_SIZE / sizeof(struct scatterlist)) macro
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dmem.c | 698 unsigned long max = min(SG_MAX_SINGLE_ALLOC, npages); in nouveau_dmem_migrate_vma()
|
/openbmc/linux/drivers/vfio/pci/mlx5/ |
H A D | main.c | 90 filled << PAGE_SHIFT, UINT_MAX, SG_MAX_SINGLE_ALLOC, in mlx5vf_add_migration_pages()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | bcmsdh.c | 765 SG_MAX_SINGLE_ALLOC); in brcmf_sdiod_sgtable_alloc()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_gpu_error.c | 108 e->end = sgl + SG_MAX_SINGLE_ALLOC - 1; in __i915_error_grow()
|
/openbmc/linux/net/smc/ |
H A D | smc_core.c | 2024 compressed = min_t(u8, compressed, ilog2((SG_MAX_SINGLE_ALLOC * PAGE_SIZE) >> 14)); in smc_compress_bufsize()
|