Searched refs:datasize (Results 1 – 4 of 4) sorted by relevance
/fs/efivarfs/ |
D | file.c | 22 unsigned long datasize = count - sizeof(attributes); in efivarfs_file_write() local 35 data = memdup_user(userbuf + sizeof(attributes), datasize); in efivarfs_file_write() 39 bytes = efivar_entry_set_get_size(var, attributes, &datasize, in efivarfs_file_write() 53 i_size_write(inode, datasize + sizeof(attributes)); in efivarfs_file_write() 69 unsigned long datasize = 0; in efivarfs_file_read() local 80 err = efivar_entry_size(var, &datasize); in efivarfs_file_read() 91 data = kmalloc(datasize + sizeof(attributes), GFP_KERNEL); in efivarfs_file_read() 96 size = efivar_entry_get(var, &attributes, &datasize, in efivarfs_file_read() 103 data, datasize + sizeof(attributes)); in efivarfs_file_read()
|
/fs/jffs2/ |
D | summary.c | 675 uint32_t infosize, uint32_t datasize, int padsize) in jffs2_sum_write_data() argument 686 if (padsize + datasize > MAX_SUMMARY_SIZE) { in jffs2_sum_write_data() 691 datasize, padsize, jeb->offset); in jffs2_sum_write_data() 706 memset(c->summary->sum_buf, 0xff, datasize); in jffs2_sum_write_data() 809 isum.sum_crc = cpu_to_je32(crc32(0, c->summary->sum_buf, datasize)); in jffs2_sum_write_data() 815 vecs[1].iov_len = datasize; in jffs2_sum_write_data() 852 int datasize, infosize, padsize; in jffs2_sum_write_sumnode() local 868 datasize = c->summary->sum_size + sizeof(struct jffs2_sum_marker); in jffs2_sum_write_sumnode() 869 infosize = sizeof(struct jffs2_raw_summary) + datasize; in jffs2_sum_write_sumnode() 872 datasize += padsize; in jffs2_sum_write_sumnode() [all …]
|
/fs/btrfs/ |
D | inode.c | 193 size_t datasize; in insert_inline_extent() local 199 datasize = btrfs_file_extent_calc_inline_size(cur_size); in insert_inline_extent() 202 datasize); in insert_inline_extent() 10399 int datasize; in btrfs_symlink() local 10455 datasize = btrfs_file_extent_calc_inline_size(name_len); in btrfs_symlink() 10457 datasize); in btrfs_symlink()
|
D | ctree.h | 2206 static inline u32 btrfs_file_extent_calc_inline_size(u32 datasize) in btrfs_file_extent_calc_inline_size() argument 2208 return BTRFS_FILE_EXTENT_INLINE_DATA_START + datasize; in btrfs_file_extent_calc_inline_size()
|