Home
last modified time | relevance | path

Searched refs:NMFLAG (Results 1 – 11 of 11) sorted by relevance

/xnu-8020.101.4/bsd/nfs/
H A Dnfs_vfsops.c1916 if (!NMFLAG(nmp, NAMEDATTR) || !strcmp(fspath.np_components[comp], ".zfs")) { in nfs4_mount()
2058 numops = NMFLAG(nmp, NAMEDATTR) ? 3 : 2; // PUTFH + GETATTR + OPENATTR in nfs4_mount()
2069 …if (!NMFLAG(nmp, NAMEDATTR) || ((fspath.np_compcount > 0) && !strcmp(fspath.np_components[fspath.n… in nfs4_mount()
2073 if (NMFLAG(nmp, NAMEDATTR)) { in nfs4_mount()
2094 if (NMFLAG(nmp, NAMEDATTR)) { in nfs4_mount()
2108 if (NMFLAG(nmp, NOACL)) { /* make sure ACL support is turned off */ in nfs4_mount()
2111 if (NMFLAG(nmp, ACLONLY) && !(nmp->nm_fsattr.nfsa_flags & NFS_FSFLAG_ACL)) { in nfs4_mount()
2184 int error = 0, savederror = 0, slpflag = (NMFLAG(nmp, INTR) ? PCATCH : 0); in nfs_mount_connect_thread()
2264 slpflag = NMFLAG(nmp, INTR) ? PCATCH : 0; in nfs_mount_connect()
3012 if (NMFLAG(nmp, RESVPORT) && !vfs_iskernelmount(mp)) { in mountnfs()
[all …]
H A Dnfs_socket.c711 timeo.tv_sec = (NMFLAG(nmp, SOFT) || nfs_can_squish(nmp)) ? 5 : 60; in nfs_socket_options()
742 if (!NMFLAG(nmp, INTR)) { in nfs_socket_options()
888 ((nss->nss_protocol == NFS_PROG) && NMFLAG(nmp, RESVPORT)), &nso); in nfs_connect_search_new_socket()
930 if ((nso->nso_sotype != SOCK_STREAM) && NMFLAG(nmp, NOCONNECT)) { in nfs_connect_search_socket_connect()
1526 NFS_PROG, nfsvers, NMFLAG(nmp, RESVPORT), &nsonfs); in nfs_connect()
1787 if (!NMFLAG(nmp, NOCALLBACK)) { in nfs_connect()
2316 (nmp->nm_state & NFSSTA_MOUNTED) && NMFLAG(nmp, CALLUMNT) && in nfs_mount_sock_thread()
3396 if (NMFLAG(nmp, INTR) && !(req->r_flags & R_NOINTR)) { in nfs_send()
3421 if ((NMFLAG(nmp, SOFT) || (req->r_flags & R_SOFT)) && (nmp->nm_reconnect_start > 0)) { in nfs_send()
3471 slpflag = (NMFLAG(nmp, INTR) && req->r_thread) ? PCATCH : 0; in nfs_send()
[all …]
H A Dnfs_lock.c451 interruptable = NMFLAG(nmp, INTR); in nfs3_lockd_request()
552 interruptable = NMFLAG(nmp, INTR); in nfs3_lockd_request()
584 interruptable = NMFLAG(nmp, INTR); in nfs3_lockd_request()
H A Dnfsmount.h365 #define NMFLAG(NMP, F) NFS_BITMAP_ISSET((NMP)->nm_flags, NFS_MFLAG_ ## F) macro
H A Dnfsm_subs.h387 if (NMFLAG((NMP), NFC)) \
518 if (NMFLAG((NMP), ACLONLY)) \
H A Dnfs4_vnops.c815 rdirplus = (NMFLAG(nmp, RDIRPLUS) || namedattr) ? 1 : 0; in nfs4_readdir_rpc()
1558 if (NMFLAG(nmp, ACLONLY) || !NFS_BITMAP_ISSET(nva->nva_bitmap, NFS_FATTR_MODE)) { in nfs4_vnop_getattr()
1772 …INVAL) && VATTR_IS_ACTIVE(vap, va_acl) && VATTR_IS_ACTIVE(vap, va_mode) && !NMFLAG(nmp, ACLONLY)) { in nfs4_setattr_rpc()
1797 int error = 0, slpflag = NMFLAG(nmp, INTR) ? PCATCH : 0; in nfs_mount_state_wait_for_recovery()
1823 int error = 0, slpflag = (NMFLAG(nmp, INTR) && thd) ? PCATCH : 0; in nfs_mount_state_in_use_start()
1947 slpflag = (NMFLAG(nmp, INTR) && thd) ? PCATCH : 0; in nfs_open_state_set_busy()
2117 slpflag = (NMFLAG(nmp, INTR) && thd) ? PCATCH : 0; in nfs_open_owner_set_busy()
2309 slpflag = (NMFLAG(nmp, INTR) && thd) ? PCATCH : 0; in nfs_open_file_set_busy()
3490 slpflag = (NMFLAG(nmp, INTR) && thd) ? PCATCH : 0; in nfs_lock_owner_set_busy()
4042 slpflag = NMFLAG(nmp, INTR) ? PCATCH : 0; in nfs_advlock_setlock()
[all …]
H A Dnfs_gss.c862 slpflag |= (NMFLAG(req->r_nmp, INTR) && req->r_thread && !(req->r_flags & R_NOINTR)) ? PCATCH : 0; in nfs_gss_clnt_cred_put()
1562 slpflag = (NMFLAG(nmp, INTR) && !(req->r_flags & R_NOINTR)) ? PCATCH : 0; in nfs_gss_clnt_ctx_init_retry()
1579 if ((NMFLAG(nmp, SOFT) || (req->r_flags & R_SOFT)) && (retries > nmp->nm_retry)) { in nfs_gss_clnt_ctx_init_retry()
H A Dnfs_vnops.c660 if (nfsvers == NFS_VER2 || NMFLAG(nmp, NOOPAQUE_AUTH)) { in nfs_vnop_access()
2556 negnamecache = !NMFLAG(nmp, NONEGNAMECACHE); in nfs_vnop_lookup()
2573 if ((nfsvers > NFS_VER2) && NMFLAG(nmp, RDIRPLUS)) { in nfs_vnop_lookup()
6371 if (nmp && (nmp->nm_vers > NFS_VER2) && NMFLAG(nmp, RDIRPLUS)) { in nfs_name_cache_purge()
6408 rdirplus = ((nfsvers > NFS_VER2) && NMFLAG(nmp, RDIRPLUS)) ? 1 : 0; in nfs3_readdir_rpc()
6999 if (!nmp || NMFLAG(nmp, NONEGNAMECACHE)) { in nfs_dulookup_init()
7024 if (nmp && (nmp->nm_vers > NFS_VER2) && NMFLAG(nmp, RDIRPLUS)) { in nfs_dulookup_init()
H A Dnfs_bio.c2445 int error = 0, slpflag = NMFLAG(nmp, INTR) ? PCATCH : 0; in nfs_async_write_start()
3587 if (NMFLAG(nmp, INTR)) { in nfs_flush()
3982 if (nmp && !NMFLAG(nmp, INTR)) { in nfs_vinvalbuf2()
H A Dnfs4_subs.c270 if (!NMFLAG(nmp, NOCALLBACK) && nmp->nm_cbid && nfs4_cb_port && in nfs4_setclientid()
868 if (VATTR_IS_ACTIVE(vap, va_mode) && !NMFLAG(nmp, ACLONLY)) { in nfs_vattr_set_bitmap()
H A Dnfs_subs.c2317 NMFLAG(nmp, SOFT) ? "soft" : "hard", in nfs_mountopts()
2318 NMFLAG(nmp, INTR) ? "intr" : "nointr", in nfs_mountopts()