Lines Matching refs:nc_flag
274 u_char nc_flag; /* flag bits */ member
369 KASSERT((ncp->nc_flag & NCF_INVALID) == 0, in cache_ncp_invalidate()
371 atomic_store_char(&ncp->nc_flag, ncp->nc_flag | NCF_INVALID); in cache_ncp_invalidate()
386 _nc_flag = atomic_load_char(&_ncp->nc_flag); \
398 _nc_flag = atomic_load_char(&_ncp->nc_flag); \
470 MPASS(atomic_load_char(&ncp->nc_flag) & NCF_NEGATIVE); in NCP2NEGSTATE()
495 KASSERT((ncp->nc_flag & NCF_TS) != 0 || in cache_out_ts()
692 if (__predict_false(ncp->nc_flag & NCF_TS)) { in cache_free_uma()
740 if ((ncp->nc_flag & NCF_DVDROP) != 0) { in cache_free()
757 if ((ncp->nc_flag & NCF_DVDROP) != 0) { in cache_free_batch()
1197 ncp->nc_flag |= NCF_NEGATIVE; in cache_neg_init()
1293 u_char nc_flag; in cache_neg_promote_cond() local
1337 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_neg_promote_cond()
1338 if ((nc_flag & NCF_NEGATIVE) == 0) { in cache_neg_promote_cond()
1373 MPASS(ncp->nc_flag & NCF_NEGATIVE); in cache_neg_insert()
1488 ncp2->nc_nlen == nlen && (ncp2->nc_flag & NCF_NEGATIVE) != 0) in cache_neg_evict()
1554 if (!(ncp->nc_flag & NCF_NEGATIVE)) in cache_zap_locked()
1563 if (!(ncp->nc_flag & NCF_NEGATIVE)) { in cache_zap_locked()
1573 if (ncp->nc_flag & NCF_ISDOTDOT) { in cache_zap_locked()
1580 ncp->nc_flag |= NCF_DVDROP; in cache_zap_locked()
1591 MPASS(ncp->nc_flag & NCF_NEGATIVE); in cache_zap_negative_locked_vnode_kl()
1610 if (ncp->nc_flag & NCF_NEGATIVE) { in cache_zap_locked_vnode_kl2()
1685 if (!(ncp->nc_flag & NCF_NEGATIVE)) in cache_zap_unlocked_bucket()
1715 if (!(ncp->nc_flag & NCF_NEGATIVE)) in cache_zap_locked_bucket()
1752 if ((ncp->nc_flag & NCF_ISDOTDOT) != 0) { in cache_remove_cnp()
1873 if ((ncp->nc_flag & NCF_ISDOTDOT) != 0) { in cache_lookup_dotdot()
1874 if (ncp->nc_flag & NCF_NEGATIVE) in cache_lookup_dotdot()
1884 if ((ncp->nc_flag & (NCF_ISDOTDOT | NCF_DTS)) == in cache_lookup_dotdot()
1919 whiteout = (ncp->nc_flag & NCF_WHITE); in cache_lookup_dotdot()
2001 if (ncp->nc_flag & NCF_NEGATIVE) in cache_lookup_fallback()
2034 whiteout = (ncp->nc_flag & NCF_WHITE); in cache_lookup_fallback()
2055 u_short nc_flag; in cache_lookup() local
2096 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_lookup()
2097 if (nc_flag & NCF_NEGATIVE) in cache_lookup()
2131 whiteout = (atomic_load_char(&ncp->nc_flag) & NCF_WHITE); in cache_lookup()
2286 u_char nc_flag; in cache_enter_lock() local
2297 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_enter_lock()
2298 if ((nc_flag & NCF_ISDOTDOT) == 0) in cache_enter_lock()
2302 if ((nc_flag & NCF_NEGATIVE) != 0) in cache_enter_lock()
2311 (ncp->nc_flag & NCF_ISDOTDOT) != 0 && in cache_enter_lock()
2329 u_char nc_flag; in cache_enter_lock_dd() local
2338 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_enter_lock_dd()
2339 if ((nc_flag & NCF_ISDOTDOT) == 0) in cache_enter_lock_dd()
2343 if ((nc_flag & NCF_NEGATIVE) != 0) in cache_enter_lock_dd()
2348 (ncp->nc_flag & NCF_ISDOTDOT) != 0 && in cache_enter_lock_dd()
2384 if (ncp != NULL && (ncp->nc_flag & NCF_ISDOTDOT)) { in cache_enter_dotdot_prep()
2457 ncp->nc_flag = flag | NCF_WIP; in cache_enter_time()
2466 ncp_ts->nc_nc.nc_flag |= NCF_TS; in cache_enter_time()
2469 ncp_ts->nc_nc.nc_flag |= NCF_DTS; in cache_enter_time()
2489 if ((n2->nc_flag & NCF_NEGATIVE) != 0) in cache_enter_time()
2506 MPASS((n2->nc_flag & (NCF_TS | NCF_DTS)) == (ncp->nc_flag & (NCF_TS | NCF_DTS))); in cache_enter_time()
2509 KASSERT((n2->nc_flag & NCF_TS) != 0, in cache_enter_time()
2516 n2_ts->nc_nc.nc_flag |= NCF_DTS; in cache_enter_time()
2547 if ((ndd->nc_flag & NCF_ISDOTDOT) != 0) in cache_enter_time()
2579 atomic_store_char(&ncp->nc_flag, ncp->nc_flag | NCF_WHITE); in cache_enter_time()
2596 atomic_store_char(&ncp->nc_flag, ncp->nc_flag & ~NCF_WIP); in cache_enter_time()
2869 KASSERT(ncp->nc_flag & NCF_ISDOTDOT, in cache_purge_impl()
2948 if (!(ncp->nc_flag & NCF_NEGATIVE)) in cache_purge_negative()
3292 if ((ncp->nc_flag & NCF_ISDOTDOT) == 0) in vn_dd_from_dst()
3309 if (ncp != NULL && (ncp->nc_flag & NCF_ISDOTDOT) == 0) { in vn_vptocnp()
3505 u_char nc_flag; in vn_fullpath_any_smr() local
3570 nc_flag = atomic_load_char(&ncp->nc_flag); in vn_fullpath_any_smr()
3571 if ((nc_flag & NCF_ISDOTDOT) != 0) { in vn_fullpath_any_smr()
3755 if ((ncp->nc_flag & NCF_ISDOTDOT) != 0) in vn_dir_dd_ino()
3778 if ((ncp->nc_flag & NCF_ISDOTDOT) == 0) in vn_commname()
5184 u_char nc_flag; in cache_fplookup_dotdot() local
5230 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_fplookup_dotdot()
5231 if ((nc_flag & NCF_ISDOTDOT) != 0) { in cache_fplookup_dotdot()
5232 if ((nc_flag & NCF_NEGATIVE) != 0) in cache_fplookup_dotdot()
5261 u_char nc_flag __diagused; in cache_fplookup_neg()
5265 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_fplookup_neg()
5266 MPASS((nc_flag & NCF_NEGATIVE) != 0); in cache_fplookup_neg()
5436 u_char nc_flag; in cache_fplookup_next() local
5466 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_fplookup_next()
5467 if ((nc_flag & NCF_NEGATIVE) != 0) { in cache_fplookup_next()
5865 u_char nc_flag; in cache_fplookup_trailingslash() local
5957 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_fplookup_trailingslash()
5958 if ((nc_flag & NCF_ISDOTDOT) != 0) { in cache_fplookup_trailingslash()