Lines Matching refs:argp
345 struct nfs_args *argp)
351 if ((argp->flags & NFSMNT_TIMEO) != 0 && argp->timeo > 0)
353 uint32_t tmp = ((uint32_t)argp->timeo * NFS_HZ + 5) / 10;
368 if ((argp->flags & NFSMNT_RETRANS) != 0 && argp->retrans > 1)
370 if (argp->retrans < NFS_MAXREXMIT)
372 nprmt->retry = argp->retrans;
380 if ((argp->flags & NFSMNT_SOFT) == 0)
387 if ((argp->sotype == SOCK_DGRAM) != 0)
399 if ((argp->flags & NFSMNT_WSIZE) != 0 && argp->wsize > 0)
401 nprmt->wsize = argp->wsize;
424 if ((argp->flags & NFSMNT_RSIZE) != 0 && argp->rsize > 0)
426 nprmt->rsize = argp->rsize;
449 if ((argp->flags & NFSMNT_READDIRSIZE) != 0 && argp->readdirsize > 0)
451 nprmt->readdirsize = argp->readdirsize;
461 else if (argp->flags & NFSMNT_RSIZE)
489 struct nfs_args *argp = (struct nfs_args *)data;
504 * settings in the argp->flags.
513 nfs_decode_args(&nprmt, argp);
519 pathlen = strlen(argp->path);
586 (void)strncpy_s(nmp->nm_path, sizeof(nmp->nm_path), argp->path, pathlen);
587 (void)memcpy_s(&nmp->nm_nam, sizeof(struct sockaddr), &argp->addr, argp->addrlen);
591 nmp->nm_sotype = argp->sotype;