Lines Matching refs:mopt
86 struct mount_options *mopt,
849 struct mount_options *mopt) in ocfs2_verify_userspace_stack() argument
851 if (!ocfs2_userspace_stack(osb) && mopt->cluster_stack[0]) { in ocfs2_verify_userspace_stack()
859 strncmp(osb->osb_cluster_stack, mopt->cluster_stack, in ocfs2_verify_userspace_stack()
864 mopt->cluster_stack, in ocfs2_verify_userspace_stack()
1232 struct mount_options *mopt, in ocfs2_parse_options() argument
1243 mopt->commit_interval = 0; in ocfs2_parse_options()
1244 mopt->mount_opt = OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1245 mopt->atime_quantum = OCFS2_DEFAULT_ATIME_QUANTUM; in ocfs2_parse_options()
1246 mopt->slot = OCFS2_INVALID_SLOT; in ocfs2_parse_options()
1247 mopt->localalloc_opt = -1; in ocfs2_parse_options()
1248 mopt->cluster_stack[0] = '\0'; in ocfs2_parse_options()
1249 mopt->resv_level = OCFS2_DEFAULT_RESV_LEVEL; in ocfs2_parse_options()
1250 mopt->dir_resv_level = -1; in ocfs2_parse_options()
1264 mopt->mount_opt |= OCFS2_MOUNT_HB_LOCAL; in ocfs2_parse_options()
1267 mopt->mount_opt |= OCFS2_MOUNT_HB_NONE; in ocfs2_parse_options()
1270 mopt->mount_opt |= OCFS2_MOUNT_HB_GLOBAL; in ocfs2_parse_options()
1278 mopt->mount_opt |= OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1280 mopt->mount_opt &= ~OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1283 mopt->mount_opt &= ~OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1286 mopt->mount_opt |= OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1289 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1290 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1291 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1294 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1295 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1296 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_ROFS; 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()
1301 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1304 mopt->mount_opt &= ~OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1307 mopt->mount_opt |= OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1310 mopt->mount_opt &= ~OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1313 mopt->mount_opt |= OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1321 mopt->atime_quantum = option; in ocfs2_parse_options()
1329 mopt->slot = (u16)option; in ocfs2_parse_options()
1340 mopt->commit_interval = HZ * option; in ocfs2_parse_options()
1348 mopt->localalloc_opt = option; in ocfs2_parse_options()
1362 mopt->mount_opt |= OCFS2_MOUNT_LOCALFLOCKS; in ocfs2_parse_options()
1379 memcpy(mopt->cluster_stack, args[0].from, in ocfs2_parse_options()
1381 mopt->cluster_stack[OCFS2_STACK_LABEL_LEN] = '\0'; in ocfs2_parse_options()
1387 if (memcmp(mopt->cluster_stack, in ocfs2_parse_options()
1393 mopt->mount_opt |= OCFS2_MOUNT_INODE64; in ocfs2_parse_options()
1396 mopt->mount_opt |= OCFS2_MOUNT_USRQUOTA; in ocfs2_parse_options()
1399 mopt->mount_opt |= OCFS2_MOUNT_GRPQUOTA; in ocfs2_parse_options()
1402 mopt->mount_opt |= OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1405 mopt->mount_opt &= ~OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1408 mopt->mount_opt |= OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1409 mopt->mount_opt &= ~OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1412 mopt->mount_opt |= OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1413 mopt->mount_opt &= ~OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1424 mopt->resv_level = option; in ocfs2_parse_options()
1435 mopt->dir_resv_level = option; in ocfs2_parse_options()
1438 mopt->mount_opt |= OCFS2_MOUNT_JOURNAL_ASYNC_COMMIT; in ocfs2_parse_options()
1451 tmp = mopt->mount_opt & (OCFS2_MOUNT_HB_LOCAL | in ocfs2_parse_options()