Lines Matching defs:data

75 static int ext4_remount(struct super_block *sb, int *flags, char *data);
80 const char *dev_name, void *data);
421 * The del_gendisk() function uninitializes the disk-specific data
471 void *data)
473 transaction_t *transaction = (transaction_t *) data;
1594 static ssize_t ext4_quota_read(struct super_block *sb, int type, char *data,
1597 const char *data, size_t len, loff_t off);
1726 {Opt_data_journal, "data=journal"},
1727 {Opt_data_ordered, "data=ordered"},
1728 {Opt_data_writeback, "data=writeback"},
1795 static ext4_fsblk_t get_sb_block(void **data)
1798 char *options = (char *) *data;
1808 (char *) *data);
1813 *data = (void *) options;
2309 ext4_msg(sb, KERN_WARNING, "Remounting file system with no journal so ignoring journalled data option");
2312 "Cannot change data mode on remount");
2353 "both data=journal and dax");
2594 SEQ_OPTS_PUTS("data=journal");
2596 SEQ_OPTS_PUTS("data=ordered");
2598 SEQ_OPTS_PUTS("data=writeback");
3189 * including data and all indirect blocks, does not exceed (2^48 - 1).
3999 static int ext4_fill_super(struct super_block *sb, void *data, int silent)
4002 char *orig_data = kstrdup(data, GFP_KERNEL);
4008 ext4_fsblk_t sb_block = get_sb_block(&data);
4025 if ((data && !orig_data) || !sbi)
4280 if (!parse_options((char *) data, sb, &journal_devnum,
4322 printk_once(KERN_WARNING "EXT4-fs: Warning: mounting with data=journal disables delayed allocation, dioread_nolock, O_DIRECT and fast_commit support!\n");
4323 /* can't mount with both data=journal and dioread_nolock. */
4328 "both data=journal and delalloc");
4333 "both data=journal and dax");
4338 "encrypted files will use data=ordered "
4339 "instead of data journaling mode");
4432 " that may contain inline data");
4615 * It makes no sense for the first data block to be beyond the end
4619 ext4_msg(sb, KERN_WARNING, "bad geometry: first data "
4627 ext4_msg(sb, KERN_WARNING, "bad geometry: first data "
4638 "(block count %llu, first data block %u, "
4811 "data=, fs mounted w/o journal");
4845 * validate the data journaling mode. */
4867 "requested data journaling mode");
4877 "journal_async_commit in data=ordered mode");
5091 descr = " journalled data mode";
5093 descr = " ordered data mode";
5095 descr = " writeback data mode";
5767 * state independently. It relies on upper layer to stop all data & metadata
5838 static int ext4_remount(struct super_block *sb, int *flags, char *data)
5852 char *orig_data = kstrdup(data, GFP_KERNEL);
5854 if (data && !orig_data)
5893 if (!parse_options(data, sb, NULL, &journal_ioprio, 1)) {
5908 "both data=journal and delalloc");
5914 "both data=journal and dioread_nolock");
5921 "journal_async_commit in data=ordered mode");
6056 * Handle creation of system zone data early because it can fail.
6057 * Releasing of existing data is done when we are sure remount will
6387 * When we journal data on quota file, we have to flush journal to see
6580 /* Read data from quotafile - avoid pagecache and such because we cannot afford
6584 static ssize_t ext4_quota_read(struct super_block *sb, int type, char *data,
6607 memset(data, 0, tocopy);
6609 memcpy(data, bh->b_data+offset, tocopy);
6613 data += tocopy;
6622 const char *data, size_t len, loff_t off)
6638 * Since we account only one data block in transaction credits,
6665 memcpy(bh->b_data+offset, data, len);
6683 const char *dev_name, void *data)
6685 return mount_bdev(fs_type, flags, dev_name, data, ext4_fill_super);