Searched refs:acw (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zvol_os.c | 196 static int zvol_geom_access(struct g_provider *pp, int acr, int acw, int ace); 446 zvol_geom_access(struct g_provider *pp, int acr, int acw, int ace) in zvol_geom_access() argument 456 KASSERT((acr >= 0 && acw >= 0 && ace >= 0) || in zvol_geom_access() 457 (acr <= 0 && acw <= 0 && ace <= 0), in zvol_geom_access() 459 pp->name, acr, acw, ace)); in zvol_geom_access() 462 if (acr <= 0 && acw <= 0 && ace <= 0) in zvol_geom_access() 476 count = acr + acw + ace; in zvol_geom_access() 483 if (acw != 0) in zvol_geom_access()
|
| H A D | vdev_geom.c | 322 if (cp->acw > 0) in vdev_geom_detach() 323 g_access(cp, 0, -cp->acw, 0); in vdev_geom_detach() 902 } else if (cp->acw == 0 && (spamode & FWRITE) != 0) { in vdev_geom_open()
|