Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/nfs/
Dpagelist.c978 unsigned int mirror_count) in nfs_pageio_alloc_mirrors() argument
985 if (mirror_count == 1) in nfs_pageio_alloc_mirrors()
987 ret = kmalloc_array(mirror_count, sizeof(*ret), nfs_io_gfp_mask()); in nfs_pageio_alloc_mirrors()
989 for (i = 0; i < mirror_count; i++) in nfs_pageio_alloc_mirrors()
1003 unsigned int mirror_count = 1; in nfs_pageio_setup_mirroring() local
1006 mirror_count = pgio->pg_ops->pg_get_mirror_count(pgio, req); in nfs_pageio_setup_mirroring()
1007 if (mirror_count == pgio->pg_mirror_count || pgio->pg_error < 0) in nfs_pageio_setup_mirroring()
1010 if (!mirror_count || mirror_count > NFS_PAGEIO_DESCRIPTOR_MIRROR_MAX) { in nfs_pageio_setup_mirroring()
1015 pgio->pg_mirrors = nfs_pageio_alloc_mirrors(pgio, mirror_count); in nfs_pageio_setup_mirroring()
1019 mirror_count = 1; in nfs_pageio_setup_mirroring()
[all …]