/fs/jffs2/ |
D | read.c | 55 crc, je32_to_cpu(ri->dsize), je32_to_cpu(ri->csize), in jffs2_read_dnode() 65 if (ri->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(ri->dsize) && in jffs2_read_dnode() 67 ri->dsize = ri->csize; in jffs2_read_dnode() 71 D1(if(ofs + len > je32_to_cpu(ri->dsize)) { in jffs2_read_dnode() 73 len, ofs, je32_to_cpu(ri->dsize)); in jffs2_read_dnode() 90 if (ri->compr == JFFS2_COMPR_NONE && len == je32_to_cpu(ri->dsize)) { in jffs2_read_dnode() 100 if (len < je32_to_cpu(ri->dsize)) { in jffs2_read_dnode() 101 decomprbuf = kmalloc(je32_to_cpu(ri->dsize), GFP_KERNEL); in jffs2_read_dnode() 134 je32_to_cpu(ri->dsize), decomprbuf); in jffs2_read_dnode() 135 …compr | (ri->usercompr << 8), readbuf, decomprbuf, je32_to_cpu(ri->csize), je32_to_cpu(ri->dsize)); in jffs2_read_dnode() [all …]
|
D | write.c | 175 if ((je32_to_cpu(ri->dsize) >= PAGE_SIZE) || in jffs2_write_dnode() 177 (je32_to_cpu(ri->dsize)+je32_to_cpu(ri->offset) == je32_to_cpu(ri->isize)))) { in jffs2_write_dnode() 190 fn->size = je32_to_cpu(ri->dsize); in jffs2_write_dnode() 194 flash_ofs & ~3, flash_ofs & 3, je32_to_cpu(ri->dsize), in jffs2_write_dnode() 385 ri->dsize = cpu_to_je32(datalen); in jffs2_write_inode_range()
|
D | readinode.c | 851 if (rd->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(rd->dsize) && csize) in read_dnode() 854 tn->fn->size = je32_to_cpu(rd->dsize); in read_dnode() 858 je32_to_cpu(rd->offset), je32_to_cpu(rd->dsize), csize); in read_dnode() 1262 latest_node->isize = latest_node->dsize; in jffs2_do_read_inode_internal()
|
D | gc.c | 651 if (je32_to_cpu(node->i.dsize)) { in jffs2_garbage_collect_pristine() 829 ri.dsize = cpu_to_je32(mdatalen); in jffs2_garbage_collect_metadata() 1078 ri.dsize = cpu_to_je32(end - start); in jffs2_garbage_collect_hole() 1378 ri.dsize = cpu_to_je32(datalen); in jffs2_garbage_collect_dnode()
|
D | fs.c | 121 ri->csize = ri->dsize = cpu_to_je32(mdatalen); in jffs2_do_setattr() 126 ri->dsize = cpu_to_je32(iattr->ia_size - inode->i_size); in jffs2_do_setattr()
|
D | file.c | 174 ri.dsize = cpu_to_je32((uint32_t)pos - inode->i_size); in jffs2_write_begin()
|
D | dir.c | 329 ri->isize = ri->dsize = ri->csize = cpu_to_je32(inode->i_size); in jffs2_symlink() 660 ri->dsize = ri->csize = cpu_to_je32(devlen); in jffs2_mknod()
|
D | debug.c | 825 printk(JFFS2_DBG "dsize:\t%#08x\n", je32_to_cpu(node.i.dsize)); in __jffs2_dbg_dump_node()
|
D | scan.c | 1033 je32_to_cpu(ri->offset)+je32_to_cpu(ri->dsize)); in jffs2_scan_inode_node()
|
/fs/afs/ |
D | xattr.c | 151 int which = 0, dsize, ret = -ENOMEM; in afs_xattr_get_yfs() local 204 dsize = yacl->acl->size; in afs_xattr_get_yfs() 208 dsize = scnprintf(buf, sizeof(buf), "%u", yacl->inherit_flag); in afs_xattr_get_yfs() 212 dsize = scnprintf(buf, sizeof(buf), "%u", yacl->num_cleaned); in afs_xattr_get_yfs() 216 dsize = yacl->vol_acl->size; in afs_xattr_get_yfs() 223 ret = dsize; in afs_xattr_get_yfs() 225 if (dsize > size) { in afs_xattr_get_yfs() 229 memcpy(buffer, data, dsize); in afs_xattr_get_yfs()
|
/fs/ntfs/ |
D | runlist.c | 205 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_append() argument 214 if ((loc + 1) < dsize) in ntfs_rl_append() 218 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - right); in ntfs_rl_append() 234 ntfs_rl_mm(dst, marker, loc + 1 + right, dsize - (loc + 1 + right)); in ntfs_rl_append() 272 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_insert() argument 302 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - left + disc); in ntfs_rl_insert() 321 ntfs_rl_mm(dst, marker, loc, dsize - loc); in ntfs_rl_insert() 368 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_replace() argument 380 if ((loc + 1) < dsize) in ntfs_rl_replace() 390 dst = ntfs_rl_realloc(dst, dsize, dsize + delta); in ntfs_rl_replace() [all …]
|
/fs/hfsplus/ |
D | unicode.c | 348 int size, dsize, decompose; in hfsplus_asc2uni() local 358 dstr = decompose_unichar(c, &dsize, dhangul); in hfsplus_asc2uni() 362 if (outlen + dsize > max_unistr_len) in hfsplus_asc2uni() 366 } while (--dsize > 0); in hfsplus_asc2uni() 401 int dsize; in hfsplus_hash_dentry() local 407 dstr = decompose_unichar(c, &dsize, dhangul); in hfsplus_hash_dentry() 417 } while (--dsize > 0); in hfsplus_hash_dentry()
|
/fs/gfs2/ |
D | aops.c | 439 u64 dsize = i_size_read(&ip->i_inode); in stuffed_readpage() local 459 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); in stuffed_readpage() 460 memset(kaddr + dsize, 0, PAGE_SIZE - dsize); in stuffed_readpage()
|
D | xattr.c | 39 static int ea_calc_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize, in ea_calc_size() argument 45 *size = ALIGN(sizeof(struct gfs2_ea_header) + nsize + dsize, 8); in ea_calc_size() 52 (sizeof(__be64) * DIV_ROUND_UP(dsize, jbsize)), 8); in ea_calc_size() 57 static int ea_check_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize) in ea_check_size() argument 61 if (dsize > GFS2_EA_MAX_DATA_LEN) in ea_check_size() 64 ea_calc_size(sdp, nsize, dsize, &size); in ea_check_size()
|
D | bmap.c | 71 u64 dsize = i_size_read(inode); in gfs2_unstuffer_page() local 73 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); in gfs2_unstuffer_page() 74 memset(kaddr + dsize, 0, PAGE_SIZE - dsize); in gfs2_unstuffer_page()
|
D | inode.c | 1203 unsigned dsize = gfs2_max_stuffed_size(GFS2_I(dir)); in gfs2_mkdir() local 1204 return gfs2_create_inode(dir, dentry, NULL, S_IFDIR | mode, 0, NULL, dsize, 0); in gfs2_mkdir()
|
/fs/xfs/libxfs/ |
D | xfs_attr_leaf.c | 453 int64_t dsize; in xfs_attr_shortform_bytesfit() local 493 dsize = dp->i_df.if_bytes; in xfs_attr_shortform_bytesfit() 506 dsize = XFS_BMDR_SPACE_CALC(MINDBTPTRS); in xfs_attr_shortform_bytesfit() 520 dsize = XFS_BMAP_BROOT_SPACE(mp, dp->i_df.if_broot); in xfs_attr_shortform_bytesfit() 528 minforkoff = max_t(int64_t, dsize, XFS_BMDR_SPACE_CALC(MINDBTPTRS)); in xfs_attr_shortform_bytesfit()
|
/fs/btrfs/ |
D | ctree.c | 5028 u32 dsize = 0; in btrfs_del_items() local 5038 dsize += btrfs_item_size_nr(leaf, slot + i); in btrfs_del_items() 5047 data_end + dsize, in btrfs_del_items() 5058 ioff + dsize, &token); in btrfs_del_items()
|
/fs/xfs/ |
D | xfs_trace.h | 2092 __field(unsigned short, dsize) 2103 __entry->dsize = in_f->ilf_dsize; 2115 __entry->dsize,
|