Home
last modified time | relevance | path

Searched refs:n_flag (Results 1 – 25 of 25) sorted by relevance

/freebsd/sys/fs/nfsclient/
H A Dnfs_clsubs.c123 while (np->n_flag & NDIRCOOKIELK) in ncl_dircookie_lock()
124 (void) msleep(&np->n_flag, &np->n_mtx, PZERO, "nfsdirlk", 0); in ncl_dircookie_lock()
125 np->n_flag |= NDIRCOOKIELK; in ncl_dircookie_lock()
132 np->n_flag &= ~NDIRCOOKIELK; in ncl_dircookie_unlock()
133 wakeup(&np->n_flag); in ncl_dircookie_unlock()
202 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acdirmin) in ncl_getattrcache()
207 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acregmin) in ncl_getattrcache()
235 if (np->n_flag & NMODIFIED) { in ncl_getattrcache()
249 if (np->n_flag & NCHG) { in ncl_getattrcache()
250 if (np->n_flag & NACC) in ncl_getattrcache()
[all …]
H A Dnfs_clvnops.c345 if ((np->n_flag & NVNSETSZSKIP) == 0 || (lktype != LK_SHARED && in nfs_lock()
381 if ((np->n_flag & NVNSETSZSKIP) == 0) { in nfs_lock()
386 np->n_flag &= ~NVNSETSZSKIP; in nfs_lock()
647 if (np->n_flag & NMODIFIED) { in nfs_open()
727 np->n_flag |= NNONCACHE; in nfs_open()
734 np->n_flag |= NWRITEOPENED; in nfs_open()
859 if (np->n_flag & NMODIFIED) { in nfs_close()
932 if (np->n_flag & NWRITEERR) { in nfs_close()
933 np->n_flag &= ~NWRITEERR; in nfs_close()
970 np->n_flag &= ~NNONCACHE; in nfs_close()
[all …]
H A Dnfs_clbio.c144 if ((np->n_flag & NNONCACHE) && (vp->v_type == VREG)) { in ncl_getpages()
302 (np->n_flag & NNONCACHE) && (vp->v_type == VREG)) { in ncl_putpages()
374 if (np->n_flag & NMODIFIED) { in nfs_bioread_check_cons()
398 if ((np->n_flag & NSIZECHANGED) in nfs_bioread_check_cons()
408 np->n_flag &= ~NSIZECHANGED; in nfs_bioread_check_cons()
853 if (np->n_flag & NWRITEERR) { in ncl_write()
854 np->n_flag &= ~NWRITEERR; in ncl_write()
874 if ((ioflag & IO_APPEND) || ((ioflag & IO_SYNC) && (np->n_flag & in ncl_write()
980 nflag = np->n_flag; in ncl_write()
1019 if ((np->n_flag in ncl_write()
[all...]
H A Dnfs_clport.c561 } else if (np->n_flag & NMODIFIED) { in nfscl_loadattrcache()
570 np->n_flag |= NSIZECHANGED; in nfscl_loadattrcache()
574 np->n_flag |= NSIZECHANGED; in nfscl_loadattrcache()
599 if (np->n_flag & NCHG) { in nfscl_loadattrcache()
600 if (np->n_flag & NACC) in nfscl_loadattrcache()
602 if (np->n_flag & NUPD) in nfscl_loadattrcache()
649 np->n_flag |= NVNSETSZSKIP; in ncl_pager_setsize()
H A Dnfsnode.h123 u_int32_t n_flag; /* Flag for locking.. */ member
141 * Flags for n_flag
H A Dnfs_clnode.c269 np->n_flag &= (NMODIFIED | NDSCOMMIT); in ncl_inactive()
H A Dnfs_clstate.c565 (np->n_flag & NMIGHTBELOCKED) == 0 && in nfscl_getstateid()
612 if (!(np->n_flag & NDELEGRECALL)) { in nfscl_getstateid()
3684 (np->n_flag & NDELEGMOD)) in nfscl_docb()
4258 if ((dp->nfsdl_flags & NFSCLDL_WRITE) && (np->n_flag & NMODIFIED)) { in nfscl_recalldeleg()
4259 np->n_flag |= NDELEGRECALL; in nfscl_recalldeleg()
4263 np->n_flag &= ~NDELEGRECALL; in nfscl_recalldeleg()
4456 np->n_flag |= NMIGHTBELOCKED; in nfscl_relock()
5376 (VTONFS(vp)->n_flag & NNOLAYOUT) != 0) in nfscl_retoncloselayout()
H A Dnfs_clrpcops.c426 (np->n_flag & NNOLAYOUT) != 0 || retrycnt > 0) in nfsrpc_open()
443 np->n_flag &= ~NDELEGMOD; in nfsrpc_open()
464 (np->n_flag & NNOLAYOUT) != 0 || retrycnt > 0) in nfsrpc_open()
476 np->n_flag &= ~NDELEGMOD; in nfsrpc_open()
6396 (np->n_flag & NNOLAYOUT) != 0) in nfscl_doiods()
6429 (np->n_flag & NWRITEOPENED) != 0) in nfscl_doiods()
6437 np->n_flag |= NNOLAYOUT; in nfscl_doiods()
6724 np->n_flag |= NDSCOMMIT; in nfscl_doflayoutio()
6740 np->n_flag &= ~NDSCOMMIT; in nfscl_doflayoutio()
6825 np->n_flag |= NDSCOMMIT; in nfscl_dofflayoutio()
[all …]
/freebsd/sys/fs/smbfs/
H A Dsmbfs_io.c219 if (np->n_flag & NMODIFIED) { in smbfs_readvnode()
265 if (np->n_flag & NMODIFIED) { in smbfs_writevnode()
630 while (np->n_flag & NFLUSHINPROG) { in smbfs_vinvalbuf()
631 np->n_flag |= NFLUSHWANT; in smbfs_vinvalbuf()
632 error = tsleep(&np->n_flag, PRIBIO + 2, "smfsvinv", 2 * hz); in smbfs_vinvalbuf()
637 np->n_flag |= NFLUSHINPROG; in smbfs_vinvalbuf()
643 np->n_flag &= ~NFLUSHINPROG; in smbfs_vinvalbuf()
644 if (np->n_flag & NFLUSHWANT) { in smbfs_vinvalbuf()
645 np->n_flag &= ~NFLUSHWANT; in smbfs_vinvalbuf()
646 wakeup(&np->n_flag); in smbfs_vinvalbuf()
[all …]
H A Dsmbfs_node.c209 np->n_flag |= NREFPARENT; in smbfs_node_alloc()
267 KASSERT((np->n_flag & NOPEN) == 0, ("file not closed before reclaim")); in smbfs_reclaim()
269 dvp = (np->n_parent && (np->n_flag & NREFPARENT)) ? in smbfs_reclaim()
304 if ((np->n_flag & NOPEN) != 0) { in smbfs_inactive()
318 np->n_flag &= ~NOPEN; in smbfs_inactive()
322 if (np->n_flag & NGONE) in smbfs_inactive()
H A Dsmbfs_vnops.c149 SMBVDEBUG("%s,%d\n", np->n_name, (np->n_flag & NOPEN) != 0); in smbfs_open()
155 np->n_flag |= NOPEN; in smbfs_open()
158 if (np->n_flag & NMODIFIED) { in smbfs_open()
177 if ((np->n_flag & NOPEN) != 0) in smbfs_open()
200 np->n_flag |= NOPEN; in smbfs_open()
216 if (vp->v_type == VDIR && (np->n_flag & NOPEN) != 0 && in smbfs_close()
257 if (np->n_flag & NOPEN) in smbfs_getattr()
324 if ((np->n_flag & NOPEN) == 0) { in smbfs_setattr()
411 if ((np->n_flag & NOPEN) == 0) { in smbfs_setattr()
542 if (vp->v_type == VDIR || (np->n_flag & NOPEN) != 0 || vrefcnt(vp) != 1) in smbfs_remove()
[all …]
H A Dsmbfs_node.h46 int n_flag; member
H A Dsmbfs_smb.c307 if ((np->n_flag & NOPEN) == 0 || !SMBTOV(np) || in smb_smb_flush()
322 np->n_flag &= ~NFLUSHWIRE; in smb_smb_flush()
329 if (np->n_flag & NFLUSHWIRE) in smbfs_smb_flush()
343 np->n_flag |= NFLUSHWIRE; in smbfs_smb_setfsize()
/freebsd/usr.bin/stat/tests/
H A Dreadlink_test.sh55 atf_test_case n_flag
71 atf_add_test_case n_flag
H A Dstat_test.sh82 atf_test_case n_flag
239 atf_add_test_case n_flag
/freebsd/bin/setfacl/
H A Dsetfacl.c62 bool n_flag; variable
359 have_mask = have_stdin = n_flag = false; in main()
440 n_flag = true; in main()
466 if (!n_flag && TAILQ_EMPTY(&entrylist)) in main()
H A Dsetfacl.h58 extern bool n_flag;
H A Dmask.c58 if (!n_flag) { in set_acl_mask()
H A Dremove.c162 acl_new = acl_strip_np(*prev_acl, !n_flag); in remove_ext()
/freebsd/usr.bin/hexdump/tests/
H A Dhexdump_test.sh117 atf_test_case n_flag
212 atf_add_test_case n_flag
/freebsd/usr.bin/rs/tests/
H A Drs_test.sh192 atf_test_case n_flag
384 atf_add_test_case n_flag
/freebsd/sys/nfsclient/
H A Dnfsnode.h124 short n_flag; /* Flag for locking.. */ member
/freebsd/usr.bin/fetch/
H A Dfetch.c69 static int n_flag; /* -n: do not preserve modification time */ variable
801 if (!n_flag && us.mtime && !o_stdout && of != NULL && in fetch()
987 n_flag = 1; in main()
/freebsd/sys/contrib/openzfs/module/nvpair/
H A Dnvpair.c2781 * n_flag is used to recognize a packed embedded list.
2786 uint_t n_flag;
2799 native->n_flag = 0; in nvs_native_create()
2805 native->n_flag = 0; in nvs_native_create()
2856 if (native->n_flag) in nvs_native_nvlist()
2859 native->n_flag = 1; in nvs_native_nvlist()
2876 if (native->n_flag) { in nvs_native_nvlist()
2879 native->n_flag = 1; in nvs_native_nvlist()
2785 uint_t n_flag; global() member
/freebsd/crypto/heimdal/kuser/
H A Dklist.c580 opt->n_flag; in klist()