Home
last modified time | relevance | path

Searched refs:cp_len (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/fs/ext4/
Dinline.c182 int cp_len = 0; in ext4_read_inline_data() local
190 cp_len = len < EXT4_MIN_INLINE_DATA_SIZE ? in ext4_read_inline_data()
194 memcpy(buffer, (void *)(raw_inode->i_block), cp_len); in ext4_read_inline_data()
196 len -= cp_len; in ext4_read_inline_data()
197 buffer += cp_len; in ext4_read_inline_data()
210 cp_len += len; in ext4_read_inline_data()
213 return cp_len; in ext4_read_inline_data()
228 int cp_len = 0; in ext4_write_inline_data() local
240 cp_len = pos + len > EXT4_MIN_INLINE_DATA_SIZE ? in ext4_write_inline_data()
242 memcpy((void *)raw_inode->i_block + pos, buffer, cp_len); in ext4_write_inline_data()
[all …]
/linux-4.19.296/fs/udf/
Dinode.c1955 uint32_t cp_len; in udf_setup_indirect_aext() local
1959 cp_type = udf_current_aext(inode, epos, &cp_loc, &cp_len, 0); in udf_setup_indirect_aext()
1960 cp_len |= ((uint32_t)cp_type) << 30; in udf_setup_indirect_aext()
1962 __udf_add_aext(inode, &nepos, &cp_loc, cp_len, 1); in udf_setup_indirect_aext()
/linux-4.19.296/fs/ocfs2/
Dxattr.c1361 int ret = 0, i, cp_len; in __ocfs2_xattr_set_value_outside() local
1403 cp_len = value_len > blocksize ? blocksize : value_len; in __ocfs2_xattr_set_value_outside()
1404 memcpy(bh->b_data, value, cp_len); in __ocfs2_xattr_set_value_outside()
1405 value_len -= cp_len; in __ocfs2_xattr_set_value_outside()
1406 value += cp_len; in __ocfs2_xattr_set_value_outside()
1407 if (cp_len < blocksize) in __ocfs2_xattr_set_value_outside()
1408 memset(bh->b_data + cp_len, 0, in __ocfs2_xattr_set_value_outside()
1409 blocksize - cp_len); in __ocfs2_xattr_set_value_outside()