Home
last modified time | relevance | path

Searched refs:SG_MAX_SINGLE_ALLOC (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/lib/
H A Dscatterlist.c153 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 Dscatterlist.c318 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 Dscatterlist.h511 #define SG_MAX_SINGLE_ALLOC (PAGE_SIZE / sizeof(struct scatterlist)) macro
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_dmem.c698 unsigned long max = min(SG_MAX_SINGLE_ALLOC, npages); in nouveau_dmem_migrate_vma()
/openbmc/linux/drivers/vfio/pci/mlx5/
H A Dmain.c90 filled << PAGE_SHIFT, UINT_MAX, SG_MAX_SINGLE_ALLOC, in mlx5vf_add_migration_pages()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dbcmsdh.c765 SG_MAX_SINGLE_ALLOC); in brcmf_sdiod_sgtable_alloc()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c108 e->end = sgl + SG_MAX_SINGLE_ALLOC - 1; in __i915_error_grow()
/openbmc/linux/net/smc/
H A Dsmc_core.c2024 compressed = min_t(u8, compressed, ilog2((SG_MAX_SINGLE_ALLOC * PAGE_SIZE) >> 14)); in smc_compress_bufsize()