Lines Matching refs:nc_flag

361 	u_char	nc_flag;		/* flag bits */  member
456 KASSERT((ncp->nc_flag & NCF_INVALID) == 0, in cache_ncp_invalidate()
458 atomic_store_char(&ncp->nc_flag, ncp->nc_flag | NCF_INVALID); in cache_ncp_invalidate()
473 _nc_flag = atomic_load_char(&_ncp->nc_flag); \
485 _nc_flag = atomic_load_char(&_ncp->nc_flag); \
557 MPASS(atomic_load_char(&ncp->nc_flag) & NCF_NEGATIVE); in NCP2NEGSTATE()
582 KASSERT((ncp->nc_flag & NCF_TS) != 0 || in cache_out_ts()
779 if (__predict_false(ncp->nc_flag & NCF_TS)) { in cache_free_uma()
827 if ((ncp->nc_flag & NCF_DVDROP) != 0) { in cache_free()
844 if ((ncp->nc_flag & NCF_DVDROP) != 0) { in cache_free_batch()
1284 ncp->nc_flag |= NCF_NEGATIVE; in cache_neg_init()
1380 u_char nc_flag; in cache_neg_promote_cond() local
1424 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_neg_promote_cond()
1425 if ((nc_flag & NCF_NEGATIVE) == 0) { in cache_neg_promote_cond()
1460 MPASS(ncp->nc_flag & NCF_NEGATIVE); in cache_neg_insert()
1575 ncp2->nc_nlen == nlen && (ncp2->nc_flag & NCF_NEGATIVE) != 0) in cache_neg_evict()
1641 if (!(ncp->nc_flag & NCF_NEGATIVE)) in cache_zap_locked()
1650 if (!(ncp->nc_flag & NCF_NEGATIVE)) { in cache_zap_locked()
1660 if (ncp->nc_flag & NCF_ISDOTDOT) { in cache_zap_locked()
1667 ncp->nc_flag |= NCF_DVDROP; in cache_zap_locked()
1678 MPASS(ncp->nc_flag & NCF_NEGATIVE); in cache_zap_negative_locked_vnode_kl()
1697 if (ncp->nc_flag & NCF_NEGATIVE) { in cache_zap_locked_vnode_kl2()
1772 if (!(ncp->nc_flag & NCF_NEGATIVE)) in cache_zap_unlocked_bucket()
1802 if (!(ncp->nc_flag & NCF_NEGATIVE)) in cache_zap_locked_bucket()
1839 if ((ncp->nc_flag & NCF_ISDOTDOT) != 0) { in cache_remove_cnp()
1960 if ((ncp->nc_flag & NCF_ISDOTDOT) != 0) { in cache_lookup_dotdot()
1961 if (ncp->nc_flag & NCF_NEGATIVE) in cache_lookup_dotdot()
1971 if ((ncp->nc_flag & (NCF_ISDOTDOT | NCF_DTS)) == in cache_lookup_dotdot()
2006 whiteout = (ncp->nc_flag & NCF_WHITE); in cache_lookup_dotdot()
2088 if (ncp->nc_flag & NCF_NEGATIVE) in cache_lookup_fallback()
2121 whiteout = (ncp->nc_flag & NCF_WHITE); in cache_lookup_fallback()
2142 u_short nc_flag; in cache_lookup() local
2183 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_lookup()
2184 if (nc_flag & NCF_NEGATIVE) in cache_lookup()
2218 whiteout = (atomic_load_char(&ncp->nc_flag) & NCF_WHITE); in cache_lookup()
2373 u_char nc_flag; in cache_enter_lock() local
2384 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_enter_lock()
2385 if ((nc_flag & NCF_ISDOTDOT) == 0) in cache_enter_lock()
2389 if ((nc_flag & NCF_NEGATIVE) != 0) in cache_enter_lock()
2398 (ncp->nc_flag & NCF_ISDOTDOT) != 0 && in cache_enter_lock()
2416 u_char nc_flag; in cache_enter_lock_dd() local
2425 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_enter_lock_dd()
2426 if ((nc_flag & NCF_ISDOTDOT) == 0) in cache_enter_lock_dd()
2430 if ((nc_flag & NCF_NEGATIVE) != 0) in cache_enter_lock_dd()
2435 (ncp->nc_flag & NCF_ISDOTDOT) != 0 && in cache_enter_lock_dd()
2471 if (ncp != NULL && (ncp->nc_flag & NCF_ISDOTDOT)) { in cache_enter_dotdot_prep()
2544 ncp->nc_flag = flag | NCF_WIP; in cache_enter_time()
2553 ncp_ts->nc_nc.nc_flag |= NCF_TS; in cache_enter_time()
2556 ncp_ts->nc_nc.nc_flag |= NCF_DTS; in cache_enter_time()
2576 if ((n2->nc_flag & NCF_NEGATIVE) != 0) in cache_enter_time()
2593 MPASS((n2->nc_flag & (NCF_TS | NCF_DTS)) == (ncp->nc_flag & (NCF_TS | NCF_DTS))); in cache_enter_time()
2596 KASSERT((n2->nc_flag & NCF_TS) != 0, in cache_enter_time()
2603 n2_ts->nc_nc.nc_flag |= NCF_DTS; in cache_enter_time()
2634 if ((ndd->nc_flag & NCF_ISDOTDOT) != 0) in cache_enter_time()
2666 atomic_store_char(&ncp->nc_flag, ncp->nc_flag | NCF_WHITE); in cache_enter_time()
2683 atomic_store_char(&ncp->nc_flag, ncp->nc_flag & ~NCF_WIP); in cache_enter_time()
2956 KASSERT(ncp->nc_flag & NCF_ISDOTDOT, in cache_purge_impl()
3035 if (!(ncp->nc_flag & NCF_NEGATIVE)) in cache_purge_negative()
3389 if ((ncp->nc_flag & NCF_ISDOTDOT) == 0) in vn_dd_from_dst()
3406 if (ncp != NULL && (ncp->nc_flag & NCF_ISDOTDOT) == 0) { in vn_vptocnp()
3602 u_char nc_flag; in vn_fullpath_any_smr() local
3667 nc_flag = atomic_load_char(&ncp->nc_flag); in vn_fullpath_any_smr()
3668 if ((nc_flag & NCF_ISDOTDOT) != 0) { in vn_fullpath_any_smr()
3852 if ((ncp->nc_flag & NCF_ISDOTDOT) != 0) in vn_dir_dd_ino()
3875 if ((ncp->nc_flag & NCF_ISDOTDOT) == 0) in vn_commname()
5281 u_char nc_flag; in cache_fplookup_dotdot() local
5327 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_fplookup_dotdot()
5328 if ((nc_flag & NCF_ISDOTDOT) != 0) { in cache_fplookup_dotdot()
5329 if ((nc_flag & NCF_NEGATIVE) != 0) in cache_fplookup_dotdot()
5358 u_char nc_flag __diagused; in cache_fplookup_neg()
5362 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_fplookup_neg()
5363 MPASS((nc_flag & NCF_NEGATIVE) != 0); in cache_fplookup_neg()
5533 u_char nc_flag; in cache_fplookup_next() local
5563 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_fplookup_next()
5564 if ((nc_flag & NCF_NEGATIVE) != 0) { in cache_fplookup_next()
5962 u_char nc_flag; in cache_fplookup_trailingslash() local
6054 nc_flag = atomic_load_char(&ncp->nc_flag); in cache_fplookup_trailingslash()
6055 if ((nc_flag & NCF_ISDOTDOT) != 0) { in cache_fplookup_trailingslash()