Lines Matching defs:data
43 static int ext2_remount (struct super_block * sb, int * flags, char * data);
319 static ssize_t ext2_quota_read(struct super_block *sb, int type, char *data, size_t len, loff_t off);
320 static ssize_t ext2_quota_write(struct super_block *sb, int type, const char *data, size_t len, loff_t off);
405 static unsigned long get_sb_block(void **data)
408 char *options = (char *) *data;
416 (char *) *data);
421 *data = (void *) options;
739 * sectors in the file, including data and all indirect blocks,
804 static int ext2_fill_super(struct super_block *sb, void *data, int silent)
811 unsigned long sb_block = get_sb_block(&data);
910 if (!parse_options((char *) data, sb, &opts))
1327 static int ext2_remount (struct super_block * sb, int * flags, char * data)
1342 if (!parse_options(data, sb, &new_opts))
1474 int flags, const char *dev_name, void *data)
1476 return mount_bdev(fs_type, flags, dev_name, data, ext2_fill_super);
1481 /* Read data from quotafile - avoid pagecache and such because we cannot afford
1485 static ssize_t ext2_quota_read(struct super_block *sb, int type, char *data,
1512 memset(data, 0, tocopy);
1517 memcpy(data, bh->b_data+offset, tocopy);
1522 data += tocopy;
1530 const char *data, size_t len, loff_t off)
1558 memcpy(bh->b_data+offset, data, tocopy);
1566 data += tocopy;