| /xnu-8019.80.24/bsd/nfs/ |
| H A D | nfs_vfsops.c | 1902 if (!NMFLAG(nmp, NAMEDATTR) || !strcmp(fspath.np_components[comp], ".zfs")) { in nfs4_mount() 2055 numops = NMFLAG(nmp, NAMEDATTR) ? 3 : 2; // PUTFH + GETATTR + OPENATTR in nfs4_mount() 2066 …if (!NMFLAG(nmp, NAMEDATTR) || ((fspath.np_compcount > 0) && !strcmp(fspath.np_components[fspath.n… in nfs4_mount() 2070 if (NMFLAG(nmp, NAMEDATTR)) { in nfs4_mount() 2091 if (NMFLAG(nmp, NAMEDATTR)) { in nfs4_mount() 2105 if (NMFLAG(nmp, NOACL)) { /* make sure ACL support is turned off */ in nfs4_mount() 2108 if (NMFLAG(nmp, ACLONLY) && !(nmp->nm_fsattr.nfsa_flags & NFS_FSFLAG_ACL)) { in nfs4_mount() 2188 int error = 0, savederror = 0, slpflag = (NMFLAG(nmp, INTR) ? PCATCH : 0); in nfs_mount_connect_thread() 2268 slpflag = NMFLAG(nmp, INTR) ? PCATCH : 0; in nfs_mount_connect() 3017 if (NMFLAG(nmp, RESVPORT) && !vfs_iskernelmount(mp)) { in mountnfs() [all …]
|
| H A D | nfs_socket.c | 711 timeo.tv_sec = (NMFLAG(nmp, SOFT) || nfs_can_squish(nmp)) ? 5 : 60; in nfs_socket_options() 745 if (!NMFLAG(nmp, INTR)) { in nfs_socket_options() 891 ((nss->nss_protocol == NFS_PROG) && NMFLAG(nmp, RESVPORT)), &nso); in nfs_connect_search_new_socket() 933 if ((nso->nso_sotype != SOCK_STREAM) && NMFLAG(nmp, NOCONNECT)) { in nfs_connect_search_socket_connect() 1524 NFS_PROG, nfsvers, NMFLAG(nmp, RESVPORT), &nsonfs); in nfs_connect() 1785 if (!NMFLAG(nmp, NOCALLBACK)) { in nfs_connect() 2314 (nmp->nm_state & NFSSTA_MOUNTED) && NMFLAG(nmp, CALLUMNT) && in nfs_mount_sock_thread() 3394 if (NMFLAG(nmp, INTR) && !(req->r_flags & R_NOINTR)) { in nfs_send() 3419 if ((NMFLAG(nmp, SOFT) || (req->r_flags & R_SOFT)) && (nmp->nm_reconnect_start > 0)) { in nfs_send() 3469 slpflag = (NMFLAG(nmp, INTR) && req->r_thread) ? PCATCH : 0; in nfs_send() [all …]
|
| H A D | nfs_lock.c | 451 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 D | nfsmount.h | 364 #define NMFLAG(NMP, F) NFS_BITMAP_ISSET((NMP)->nm_flags, NFS_MFLAG_ ## F) macro
|
| H A D | nfsm_subs.h | 387 if (NMFLAG((NMP), NFC)) \ 518 if (NMFLAG((NMP), ACLONLY)) \
|
| H A D | nfs4_vnops.c | 812 rdirplus = (NMFLAG(nmp, RDIRPLUS) || namedattr) ? 1 : 0; in nfs4_readdir_rpc() 1555 if (NMFLAG(nmp, ACLONLY) || !NFS_BITMAP_ISSET(nva->nva_bitmap, NFS_FATTR_MODE)) { in nfs4_vnop_getattr() 1768 …INVAL) && VATTR_IS_ACTIVE(vap, va_acl) && VATTR_IS_ACTIVE(vap, va_mode) && !NMFLAG(nmp, ACLONLY)) { in nfs4_setattr_rpc() 1793 int error = 0, slpflag = NMFLAG(nmp, INTR) ? PCATCH : 0; in nfs_mount_state_wait_for_recovery() 1819 int error = 0, slpflag = (NMFLAG(nmp, INTR) && thd) ? PCATCH : 0; in nfs_mount_state_in_use_start() 1943 slpflag = (NMFLAG(nmp, INTR) && thd) ? PCATCH : 0; in nfs_open_state_set_busy() 2113 slpflag = (NMFLAG(nmp, INTR) && thd) ? PCATCH : 0; in nfs_open_owner_set_busy() 2305 slpflag = (NMFLAG(nmp, INTR) && thd) ? PCATCH : 0; in nfs_open_file_set_busy() 3486 slpflag = (NMFLAG(nmp, INTR) && thd) ? PCATCH : 0; in nfs_lock_owner_set_busy() 4036 slpflag = NMFLAG(nmp, INTR) ? PCATCH : 0; in nfs_advlock_setlock() [all …]
|
| H A D | nfs_gss.c | 862 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 D | nfs_vnops.c | 665 if (nfsvers == NFS_VER2 || NMFLAG(nmp, NOOPAQUE_AUTH)) { in nfs_vnop_access() 2569 negnamecache = !NMFLAG(nmp, NONEGNAMECACHE); in nfs_vnop_lookup() 2586 if ((nfsvers > NFS_VER2) && NMFLAG(nmp, RDIRPLUS)) { in nfs_vnop_lookup() 6382 if (nmp && (nmp->nm_vers > NFS_VER2) && NMFLAG(nmp, RDIRPLUS)) { in nfs_name_cache_purge() 6419 rdirplus = ((nfsvers > NFS_VER2) && NMFLAG(nmp, RDIRPLUS)) ? 1 : 0; in nfs3_readdir_rpc() 7010 if (!nmp || NMFLAG(nmp, NONEGNAMECACHE)) { in nfs_dulookup_init() 7035 if (nmp && (nmp->nm_vers > NFS_VER2) && NMFLAG(nmp, RDIRPLUS)) { in nfs_dulookup_init()
|
| H A D | nfs_bio.c | 2446 int error = 0, slpflag = NMFLAG(nmp, INTR) ? PCATCH : 0; in nfs_async_write_start() 3588 if (NMFLAG(nmp, INTR)) { in nfs_flush() 3983 if (nmp && !NMFLAG(nmp, INTR)) { in nfs_vinvalbuf2()
|
| H A D | nfs4_subs.c | 270 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 D | nfs_subs.c | 2319 NMFLAG(nmp, SOFT) ? "soft" : "hard", in nfs_mountopts() 2320 NMFLAG(nmp, INTR) ? "intr" : "nointr", in nfs_mountopts()
|