Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_mirror.c55 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()
Dlan966x_main.h384 u32 mirror_count; member
/linux-6.6.21/fs/nfs/
Dpagelist.c1086 unsigned int mirror_count) in nfs_pageio_alloc_mirrors() argument
1093 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() local
1114 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 …]