Lines Matching defs:option
3968 struct f2fs_comp_option option;
3980 option.algorithm = F2FS_I(inode)->i_compress_algorithm;
3981 option.log_cluster_size = F2FS_I(inode)->i_log_cluster_size;
3985 if (copy_to_user((struct f2fs_comp_option __user *)arg, &option,
3986 sizeof(option)))
3996 struct f2fs_comp_option option;
4005 if (copy_from_user(&option, (struct f2fs_comp_option __user *)arg,
4006 sizeof(option)))
4009 if (option.log_cluster_size < MIN_COMPRESS_LOG_SIZE ||
4010 option.log_cluster_size > MAX_COMPRESS_LOG_SIZE ||
4011 option.algorithm >= COMPRESS_MAX)
4033 F2FS_I(inode)->i_compress_algorithm = option.algorithm;
4034 F2FS_I(inode)->i_log_cluster_size = option.log_cluster_size;
4035 F2FS_I(inode)->i_cluster_size = BIT(option.log_cluster_size);
4041 /* Adjust mount option level */
4042 if (option.algorithm == F2FS_OPTION(sbi).compress_algorithm &&