Lines Matching refs:mopt
107 struct mount_options *mopt,
884 struct mount_options *mopt) in ocfs2_verify_userspace_stack() argument
886 if (!ocfs2_userspace_stack(osb) && mopt->cluster_stack[0]) { in ocfs2_verify_userspace_stack()
894 strncmp(osb->osb_cluster_stack, mopt->cluster_stack, in ocfs2_verify_userspace_stack()
899 mopt->cluster_stack, in ocfs2_verify_userspace_stack()
1275 struct mount_options *mopt, in ocfs2_parse_options() argument
1284 mopt->commit_interval = 0; in ocfs2_parse_options()
1285 mopt->mount_opt = OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1286 mopt->atime_quantum = OCFS2_DEFAULT_ATIME_QUANTUM; in ocfs2_parse_options()
1287 mopt->slot = OCFS2_INVALID_SLOT; in ocfs2_parse_options()
1288 mopt->localalloc_opt = -1; in ocfs2_parse_options()
1289 mopt->cluster_stack[0] = '\0'; in ocfs2_parse_options()
1290 mopt->resv_level = OCFS2_DEFAULT_RESV_LEVEL; in ocfs2_parse_options()
1291 mopt->dir_resv_level = -1; in ocfs2_parse_options()
1308 mopt->mount_opt |= OCFS2_MOUNT_HB_LOCAL; in ocfs2_parse_options()
1311 mopt->mount_opt |= OCFS2_MOUNT_HB_NONE; in ocfs2_parse_options()
1314 mopt->mount_opt |= OCFS2_MOUNT_HB_GLOBAL; in ocfs2_parse_options()
1322 mopt->mount_opt |= OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1324 mopt->mount_opt &= ~OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1327 mopt->mount_opt &= ~OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1330 mopt->mount_opt |= OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1333 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1336 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1339 mopt->mount_opt &= ~OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1342 mopt->mount_opt |= OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1345 mopt->mount_opt &= ~OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1348 mopt->mount_opt |= OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1356 mopt->atime_quantum = option; in ocfs2_parse_options()
1365 mopt->slot = (s16)option; in ocfs2_parse_options()
1377 mopt->commit_interval = HZ * option; in ocfs2_parse_options()
1386 mopt->localalloc_opt = option; in ocfs2_parse_options()
1400 mopt->mount_opt |= OCFS2_MOUNT_LOCALFLOCKS; in ocfs2_parse_options()
1417 memcpy(mopt->cluster_stack, args[0].from, in ocfs2_parse_options()
1419 mopt->cluster_stack[OCFS2_STACK_LABEL_LEN] = '\0'; in ocfs2_parse_options()
1425 if (memcmp(mopt->cluster_stack, in ocfs2_parse_options()
1431 mopt->mount_opt |= OCFS2_MOUNT_INODE64; in ocfs2_parse_options()
1434 mopt->mount_opt |= OCFS2_MOUNT_USRQUOTA; in ocfs2_parse_options()
1437 mopt->mount_opt |= OCFS2_MOUNT_GRPQUOTA; in ocfs2_parse_options()
1440 mopt->mount_opt |= OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1443 mopt->mount_opt &= ~OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1446 mopt->mount_opt |= OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1447 mopt->mount_opt &= ~OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1450 mopt->mount_opt |= OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1451 mopt->mount_opt &= ~OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1462 mopt->resv_level = option; in ocfs2_parse_options()
1473 mopt->dir_resv_level = option; in ocfs2_parse_options()
1476 mopt->mount_opt |= OCFS2_MOUNT_JOURNAL_ASYNC_COMMIT; in ocfs2_parse_options()
1489 tmp = mopt->mount_opt & (OCFS2_MOUNT_HB_LOCAL | in ocfs2_parse_options()