Home
last modified time | relevance | path

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

/fs/ext4/
Dinline.c183 int cp_len = 0; in ext4_read_inline_data() local
191 cp_len = len < EXT4_MIN_INLINE_DATA_SIZE ? in ext4_read_inline_data()
195 memcpy(buffer, (void *)(raw_inode->i_block), cp_len); in ext4_read_inline_data()
197 len -= cp_len; in ext4_read_inline_data()
198 buffer += cp_len; in ext4_read_inline_data()
211 cp_len += len; in ext4_read_inline_data()
214 return cp_len; in ext4_read_inline_data()
229 int cp_len = 0; in ext4_write_inline_data() local
241 cp_len = pos + len > EXT4_MIN_INLINE_DATA_SIZE ? in ext4_write_inline_data()
243 memcpy((void *)raw_inode->i_block + pos, buffer, cp_len); in ext4_write_inline_data()
[all …]
/fs/nfsd/
Dnfs4recover.c823 get_user(princhashlen, &ci->cc_princhash.cp_len); in __cld_pipe_inprogress_downcall()
1189 cmsg->cm_u.cm_clntinfo.cc_princhash.cp_len = cksum.len; in nfsd4_cld_create_v2()
1194 cmsg->cm_u.cm_clntinfo.cc_princhash.cp_len = 0; in nfsd4_cld_create_v2()
/fs/udf/
Dinode.c1982 uint32_t cp_len; in udf_setup_indirect_aext() local
1986 cp_type = udf_current_aext(inode, epos, &cp_loc, &cp_len, 0); in udf_setup_indirect_aext()
1987 cp_len |= ((uint32_t)cp_type) << 30; in udf_setup_indirect_aext()
1989 __udf_add_aext(inode, &nepos, &cp_loc, cp_len, 1); in udf_setup_indirect_aext()
/fs/ocfs2/
Dxattr.c1353 int ret = 0, i, cp_len; in __ocfs2_xattr_set_value_outside() local
1395 cp_len = value_len > blocksize ? blocksize : value_len; in __ocfs2_xattr_set_value_outside()
1396 memcpy(bh->b_data, value, cp_len); in __ocfs2_xattr_set_value_outside()
1397 value_len -= cp_len; in __ocfs2_xattr_set_value_outside()
1398 value += cp_len; in __ocfs2_xattr_set_value_outside()
1399 if (cp_len < blocksize) in __ocfs2_xattr_set_value_outside()
1400 memset(bh->b_data + cp_len, 0, in __ocfs2_xattr_set_value_outside()
1401 blocksize - cp_len); in __ocfs2_xattr_set_value_outside()