Searched refs:mirror_count (Results 1 – 3 of 3) sorted by relevance
55 lan966x->mirror_count++; in lan966x_mirror_port_add()88 lan966x->mirror_count--; in lan966x_mirror_port_del()90 if (lan966x->mirror_count == 0) { in lan966x_mirror_port_del()
384 u32 mirror_count; member
1086 unsigned int mirror_count) in nfs_pageio_alloc_mirrors() argument1093 if (mirror_count == 1) in nfs_pageio_alloc_mirrors()1095 ret = kmalloc_array(mirror_count, sizeof(*ret), nfs_io_gfp_mask()); in nfs_pageio_alloc_mirrors()1097 for (i = 0; i < mirror_count; i++) in nfs_pageio_alloc_mirrors()1111 unsigned int mirror_count = 1; in nfs_pageio_setup_mirroring() local1114 mirror_count = pgio->pg_ops->pg_get_mirror_count(pgio, req); in nfs_pageio_setup_mirroring()1115 if (mirror_count == pgio->pg_mirror_count || pgio->pg_error < 0) in nfs_pageio_setup_mirroring()1118 if (!mirror_count || mirror_count > NFS_PAGEIO_DESCRIPTOR_MIRROR_MAX) { in nfs_pageio_setup_mirroring()1123 pgio->pg_mirrors = nfs_pageio_alloc_mirrors(pgio, mirror_count); in nfs_pageio_setup_mirroring()1127 mirror_count = 1; in nfs_pageio_setup_mirroring()[all …]