Lines Matching refs:mopt

103 			       struct mount_options *mopt,
882 struct mount_options *mopt) in ocfs2_verify_userspace_stack() argument
884 if (!ocfs2_userspace_stack(osb) && mopt->cluster_stack[0]) { in ocfs2_verify_userspace_stack()
892 strncmp(osb->osb_cluster_stack, mopt->cluster_stack, in ocfs2_verify_userspace_stack()
897 mopt->cluster_stack, in ocfs2_verify_userspace_stack()
1292 struct mount_options *mopt, in ocfs2_parse_options() argument
1303 mopt->commit_interval = 0; in ocfs2_parse_options()
1304 mopt->mount_opt = OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1305 mopt->atime_quantum = OCFS2_DEFAULT_ATIME_QUANTUM; in ocfs2_parse_options()
1306 mopt->slot = OCFS2_INVALID_SLOT; in ocfs2_parse_options()
1307 mopt->localalloc_opt = -1; in ocfs2_parse_options()
1308 mopt->cluster_stack[0] = '\0'; in ocfs2_parse_options()
1309 mopt->resv_level = OCFS2_DEFAULT_RESV_LEVEL; in ocfs2_parse_options()
1310 mopt->dir_resv_level = -1; in ocfs2_parse_options()
1324 mopt->mount_opt |= OCFS2_MOUNT_HB_LOCAL; in ocfs2_parse_options()
1327 mopt->mount_opt |= OCFS2_MOUNT_HB_NONE; in ocfs2_parse_options()
1330 mopt->mount_opt |= OCFS2_MOUNT_HB_GLOBAL; in ocfs2_parse_options()
1338 mopt->mount_opt |= OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1340 mopt->mount_opt &= ~OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1343 mopt->mount_opt &= ~OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1346 mopt->mount_opt |= OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1349 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1350 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1351 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1354 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1355 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1356 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1359 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1360 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1361 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1364 mopt->mount_opt &= ~OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1367 mopt->mount_opt |= OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1370 mopt->mount_opt &= ~OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1373 mopt->mount_opt |= OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1381 mopt->atime_quantum = option; in ocfs2_parse_options()
1389 mopt->slot = (u16)option; in ocfs2_parse_options()
1400 mopt->commit_interval = HZ * option; in ocfs2_parse_options()
1408 mopt->localalloc_opt = option; in ocfs2_parse_options()
1422 mopt->mount_opt |= OCFS2_MOUNT_LOCALFLOCKS; in ocfs2_parse_options()
1439 memcpy(mopt->cluster_stack, args[0].from, in ocfs2_parse_options()
1441 mopt->cluster_stack[OCFS2_STACK_LABEL_LEN] = '\0'; in ocfs2_parse_options()
1447 if (memcmp(mopt->cluster_stack, in ocfs2_parse_options()
1453 mopt->mount_opt |= OCFS2_MOUNT_INODE64; in ocfs2_parse_options()
1456 mopt->mount_opt |= OCFS2_MOUNT_USRQUOTA; in ocfs2_parse_options()
1459 mopt->mount_opt |= OCFS2_MOUNT_GRPQUOTA; in ocfs2_parse_options()
1462 mopt->mount_opt |= OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1465 mopt->mount_opt &= ~OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1468 mopt->mount_opt |= OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1469 mopt->mount_opt &= ~OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1472 mopt->mount_opt |= OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1473 mopt->mount_opt &= ~OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1484 mopt->resv_level = option; in ocfs2_parse_options()
1495 mopt->dir_resv_level = option; in ocfs2_parse_options()
1498 mopt->mount_opt |= OCFS2_MOUNT_JOURNAL_ASYNC_COMMIT; in ocfs2_parse_options()
1511 tmp = mopt->mount_opt & (OCFS2_MOUNT_HB_LOCAL | in ocfs2_parse_options()