Lines Matching refs:mopt

90 			       struct mount_options *mopt,
853 struct mount_options *mopt) in ocfs2_verify_userspace_stack() argument
855 if (!ocfs2_userspace_stack(osb) && mopt->cluster_stack[0]) { in ocfs2_verify_userspace_stack()
863 strncmp(osb->osb_cluster_stack, mopt->cluster_stack, in ocfs2_verify_userspace_stack()
868 mopt->cluster_stack, in ocfs2_verify_userspace_stack()
1241 struct mount_options *mopt, in ocfs2_parse_options() argument
1252 mopt->commit_interval = 0; in ocfs2_parse_options()
1253 mopt->mount_opt = OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1254 mopt->atime_quantum = OCFS2_DEFAULT_ATIME_QUANTUM; in ocfs2_parse_options()
1255 mopt->slot = OCFS2_INVALID_SLOT; in ocfs2_parse_options()
1256 mopt->localalloc_opt = -1; in ocfs2_parse_options()
1257 mopt->cluster_stack[0] = '\0'; in ocfs2_parse_options()
1258 mopt->resv_level = OCFS2_DEFAULT_RESV_LEVEL; in ocfs2_parse_options()
1259 mopt->dir_resv_level = -1; in ocfs2_parse_options()
1273 mopt->mount_opt |= OCFS2_MOUNT_HB_LOCAL; in ocfs2_parse_options()
1276 mopt->mount_opt |= OCFS2_MOUNT_HB_NONE; in ocfs2_parse_options()
1279 mopt->mount_opt |= OCFS2_MOUNT_HB_GLOBAL; in ocfs2_parse_options()
1287 mopt->mount_opt |= OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1289 mopt->mount_opt &= ~OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1292 mopt->mount_opt &= ~OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1295 mopt->mount_opt |= OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1298 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1299 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1300 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1303 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1304 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1305 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1308 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1309 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1310 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1313 mopt->mount_opt &= ~OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1316 mopt->mount_opt |= OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1319 mopt->mount_opt &= ~OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1322 mopt->mount_opt |= OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1330 mopt->atime_quantum = option; in ocfs2_parse_options()
1338 mopt->slot = (u16)option; in ocfs2_parse_options()
1349 mopt->commit_interval = HZ * option; in ocfs2_parse_options()
1357 mopt->localalloc_opt = option; in ocfs2_parse_options()
1371 mopt->mount_opt |= OCFS2_MOUNT_LOCALFLOCKS; in ocfs2_parse_options()
1388 memcpy(mopt->cluster_stack, args[0].from, in ocfs2_parse_options()
1390 mopt->cluster_stack[OCFS2_STACK_LABEL_LEN] = '\0'; in ocfs2_parse_options()
1396 if (memcmp(mopt->cluster_stack, in ocfs2_parse_options()
1402 mopt->mount_opt |= OCFS2_MOUNT_INODE64; in ocfs2_parse_options()
1405 mopt->mount_opt |= OCFS2_MOUNT_USRQUOTA; in ocfs2_parse_options()
1408 mopt->mount_opt |= OCFS2_MOUNT_GRPQUOTA; in ocfs2_parse_options()
1411 mopt->mount_opt |= OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1414 mopt->mount_opt &= ~OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1417 mopt->mount_opt |= OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1418 mopt->mount_opt &= ~OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1421 mopt->mount_opt |= OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1422 mopt->mount_opt &= ~OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1433 mopt->resv_level = option; in ocfs2_parse_options()
1444 mopt->dir_resv_level = option; in ocfs2_parse_options()
1447 mopt->mount_opt |= OCFS2_MOUNT_JOURNAL_ASYNC_COMMIT; in ocfs2_parse_options()
1460 tmp = mopt->mount_opt & (OCFS2_MOUNT_HB_LOCAL | in ocfs2_parse_options()