Lines Matching refs:mopt

107 			       struct mount_options *mopt,
886 struct mount_options *mopt) in ocfs2_verify_userspace_stack() argument
888 if (!ocfs2_userspace_stack(osb) && mopt->cluster_stack[0]) { in ocfs2_verify_userspace_stack()
896 strncmp(osb->osb_cluster_stack, mopt->cluster_stack, in ocfs2_verify_userspace_stack()
901 mopt->cluster_stack, in ocfs2_verify_userspace_stack()
1277 struct mount_options *mopt, in ocfs2_parse_options() argument
1286 mopt->commit_interval = 0; in ocfs2_parse_options()
1287 mopt->mount_opt = OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1288 mopt->atime_quantum = OCFS2_DEFAULT_ATIME_QUANTUM; in ocfs2_parse_options()
1289 mopt->slot = OCFS2_INVALID_SLOT; in ocfs2_parse_options()
1290 mopt->localalloc_opt = -1; in ocfs2_parse_options()
1291 mopt->cluster_stack[0] = '\0'; in ocfs2_parse_options()
1292 mopt->resv_level = OCFS2_DEFAULT_RESV_LEVEL; in ocfs2_parse_options()
1293 mopt->dir_resv_level = -1; in ocfs2_parse_options()
1310 mopt->mount_opt |= OCFS2_MOUNT_HB_LOCAL; in ocfs2_parse_options()
1313 mopt->mount_opt |= OCFS2_MOUNT_HB_NONE; in ocfs2_parse_options()
1316 mopt->mount_opt |= OCFS2_MOUNT_HB_GLOBAL; in ocfs2_parse_options()
1324 mopt->mount_opt |= OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1326 mopt->mount_opt &= ~OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1329 mopt->mount_opt &= ~OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1332 mopt->mount_opt |= OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1335 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1336 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1337 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1340 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1341 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1342 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1345 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1346 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1347 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1350 mopt->mount_opt &= ~OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1353 mopt->mount_opt |= OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1356 mopt->mount_opt &= ~OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1359 mopt->mount_opt |= OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1367 mopt->atime_quantum = option; in ocfs2_parse_options()
1376 mopt->slot = (s16)option; in ocfs2_parse_options()
1388 mopt->commit_interval = HZ * option; in ocfs2_parse_options()
1397 mopt->localalloc_opt = option; in ocfs2_parse_options()
1411 mopt->mount_opt |= OCFS2_MOUNT_LOCALFLOCKS; in ocfs2_parse_options()
1428 memcpy(mopt->cluster_stack, args[0].from, in ocfs2_parse_options()
1430 mopt->cluster_stack[OCFS2_STACK_LABEL_LEN] = '\0'; in ocfs2_parse_options()
1436 if (memcmp(mopt->cluster_stack, in ocfs2_parse_options()
1442 mopt->mount_opt |= OCFS2_MOUNT_INODE64; in ocfs2_parse_options()
1445 mopt->mount_opt |= OCFS2_MOUNT_USRQUOTA; in ocfs2_parse_options()
1448 mopt->mount_opt |= OCFS2_MOUNT_GRPQUOTA; in ocfs2_parse_options()
1451 mopt->mount_opt |= OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1454 mopt->mount_opt &= ~OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1457 mopt->mount_opt |= OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1458 mopt->mount_opt &= ~OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1461 mopt->mount_opt |= OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1462 mopt->mount_opt &= ~OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1473 mopt->resv_level = option; in ocfs2_parse_options()
1484 mopt->dir_resv_level = option; in ocfs2_parse_options()
1487 mopt->mount_opt |= OCFS2_MOUNT_JOURNAL_ASYNC_COMMIT; in ocfs2_parse_options()
1500 tmp = mopt->mount_opt & (OCFS2_MOUNT_HB_LOCAL | in ocfs2_parse_options()