Lines Matching defs:use
11 * Redistribution and use in source and binary forms, with or without
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42 * Redistribution and use in source and binary forms, with or without
60 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
63 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
102 * yet ready to use.
104 * ready to use.
114 * vcache_new() and is ready to use.
762 u_int use, next;
765 for (use = atomic_load_relaxed(&vp->v_usecount);; use = next) {
766 if (__predict_false((use & VUSECOUNT_MASK) == 1)) {
769 KASSERT((use & VUSECOUNT_MASK) > 1);
770 next = atomic_cas_uint(&vp->v_usecount, use, use - 1);
771 if (__predict_true(next == use)) {
848 u_int use, next;
867 for (use = atomic_load_relaxed(&vp->v_usecount);; use = next) {
868 if (__predict_false((use & VUSECOUNT_MASK) > 1)) {
886 KASSERT((use & VUSECOUNT_MASK) == 1);
887 next = use & ~VUSECOUNT_VGET;
888 if (next != use) {
889 next = atomic_cas_uint(&vp->v_usecount, use, next);
891 if (__predict_true(next == use)) {
968 use = atomic_load_relaxed(&vp->v_usecount);
969 if ((use & VUSECOUNT_VGET) != 0) {
972 KASSERT((use & VUSECOUNT_MASK) == 1);
1022 use = atomic_load_relaxed(&vp->v_usecount);
1023 if ((use & VUSECOUNT_VGET) != 0) {
1027 KASSERT((use & VUSECOUNT_MASK) == 1);
1044 for (use = atomic_load_relaxed(&vp->v_usecount);; use = next) {
1045 if (__predict_false((use & VUSECOUNT_VGET) != 0 &&
1046 (use & VUSECOUNT_MASK) == 1)) {
1050 next = atomic_cas_uint(&vp->v_usecount, use, use - 1);
1051 if (__predict_true(next == use)) {
1052 if (__predict_false((use & VUSECOUNT_MASK) != 1)) {
1525 u_int use, next;
1527 for (use = atomic_load_relaxed(&vp->v_usecount);; use = next) {
1528 if (__predict_false((use & VUSECOUNT_GATE) == 0)) {
1532 use, (use + 1) | VUSECOUNT_VGET);
1533 if (__predict_true(next == use)) {
1877 * Prevent the vnode from being recycled or brought into use