Lines Matching refs:margsp
162 int set_cfs_args(char *optionp, struct cachefs_mountargs *margsp, int *mflagp,
165 int dobackmnt(struct cachefs_mountargs *margsp, char *reducep, char *specp,
666 set_cfs_args(char *optionp, struct cachefs_mountargs *margsp, int *mflagp, in set_cfs_args() argument
714 margsp->cfs_cachedir = valp; in set_cfs_args()
731 margsp->cfs_cachedir = pbuf; in set_cfs_args()
748 memset(margsp->cfs_cacheid, 0, C_MAX_MOUNT_FSCDIRNAME); in set_cfs_args()
749 strcpy(margsp->cfs_cacheid, valp); in set_cfs_args()
756 margsp->cfs_backfs = valp; in set_cfs_args()
762 margsp->cfs_options.opt_flags |= CFS_WRITE_AROUND; in set_cfs_args()
767 margsp->cfs_options.opt_flags |= CFS_NONSHARED; in set_cfs_args()
772 margsp->cfs_options.opt_flags |= CFS_NOCONST_MODE; in set_cfs_args()
776 margsp->cfs_options.opt_flags |= CFS_CODCONST_MODE; in set_cfs_args()
780 margsp->cfs_options.opt_flags &= ~CFS_ACCESS_BACKFS; in set_cfs_args()
784 margsp->cfs_options.opt_flags |= CFS_NOACL; in set_cfs_args()
788 margsp->cfs_options.opt_flags |= CFS_LLOCK; in set_cfs_args()
798 margsp->cfs_options.opt_flags |= CFS_SLIDE; in set_cfs_args()
805 margsp->cfs_options.opt_fgsize = atoi(valp); in set_cfs_args()
812 margsp->cfs_options.opt_popsize = in set_cfs_args()
820 margsp->cfs_acregmin = atoi(valp); in set_cfs_args()
827 margsp->cfs_acregmax = atoi(valp); in set_cfs_args()
834 margsp->cfs_acdirmin = atoi(valp); in set_cfs_args()
841 margsp->cfs_acdirmax = atoi(valp); in set_cfs_args()
849 margsp->cfs_acregmin = yy; in set_cfs_args()
850 margsp->cfs_acregmax = yy; in set_cfs_args()
851 margsp->cfs_acdirmin = yy; in set_cfs_args()
852 margsp->cfs_acdirmax = yy; in set_cfs_args()
867 margsp->cfs_options.opt_flags |= CFS_LAZYMOUNT; in set_cfs_args()
873 margsp->cfs_options.opt_flags |= CFS_DISCONNECTABLE; in set_cfs_args()
877 margsp->cfs_options.opt_flags |= CFS_NOFILL; in set_cfs_args()
881 margsp->cfs_options.opt_flags |= CFS_SOFT; in set_cfs_args()
929 if (margsp->cfs_options.opt_flags & (CFS_DISCONNECTABLE | CFS_SOFT)) in set_cfs_args()
930 if (margsp->cfs_options.opt_flags & CFS_NONSHARED) { in set_cfs_args()
932 margsp->cfs_options.opt_flags |= CFS_CODCONST_MODE; in set_cfs_args()
937 if (!(margsp->cfs_options.opt_flags & CFS_DISCONNECTABLE)) { in set_cfs_args()
943 if (margsp->cfs_options.opt_flags & CFS_DISCONNECTABLE) { in set_cfs_args()
951 if (margsp->cfs_options.opt_flags & CFS_NONSHARED) in set_cfs_args()
956 xx = margsp->cfs_options.opt_flags; in set_cfs_args()
961 if (margsp->cfs_acregmin > margsp->cfs_acregmax) { in set_cfs_args()
965 if (margsp->cfs_acdirmin > margsp->cfs_acdirmax) { in set_cfs_args()
971 if ((margsp->cfs_options.opt_flags & xx) == xx) { in set_cfs_args()
1089 dobackmnt(struct cachefs_mountargs *margsp, char *reducep, char *specp, in dobackmnt() argument
1098 xx = get_mount_point(margsp->cfs_cachedir, specp, &margsp->cfs_backfs); in dobackmnt()
1116 newargv[xx++] = margsp->cfs_backfs; in dobackmnt()