Home
last modified time | relevance | path

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

/Linux-v5.10/fs/ext4/
Dinline.c170 int cp_len = 0; in ext4_read_inline_data() local
178 cp_len = len < EXT4_MIN_INLINE_DATA_SIZE ? in ext4_read_inline_data()
182 memcpy(buffer, (void *)(raw_inode->i_block), cp_len); in ext4_read_inline_data()
184 len -= cp_len; in ext4_read_inline_data()
185 buffer += cp_len; in ext4_read_inline_data()
198 cp_len += len; in ext4_read_inline_data()
201 return cp_len; in ext4_read_inline_data()
216 int cp_len = 0; in ext4_write_inline_data() local
228 cp_len = pos + len > EXT4_MIN_INLINE_DATA_SIZE ? in ext4_write_inline_data()
230 memcpy((void *)raw_inode->i_block + pos, buffer, cp_len); in ext4_write_inline_data()
[all …]
/Linux-v5.10/include/uapi/linux/nfsd/
Dcld.h55 __u8 cp_len; /* length of cp_data */ member
/Linux-v5.10/drivers/crypto/amcc/
Dcrypto4xx_core.c578 size_t cp_len = crypto_aead_authsize( in crypto4xx_aead_done() local
598 cp_len, 1); in crypto4xx_aead_done()
603 cp_len, cp_len, 0); in crypto4xx_aead_done()
607 if (crypto_memneq(icv, pd_uinfo->sr_va->save_digest, cp_len)) in crypto4xx_aead_done()
/Linux-v5.10/drivers/scsi/
Dstex.c672 size_t cp_len = sizeof(ver); in stex_queuecommand_lck() local
681 cp_len = scsi_sg_copy_from_buffer(cmd, &ver, cp_len); in stex_queuecommand_lck()
682 cmd->result = sizeof(ver) == cp_len ? in stex_queuecommand_lck()
/Linux-v5.10/fs/nfsd/
Dnfs4recover.c813 get_user(princhashlen, &ci->cc_princhash.cp_len); in __cld_pipe_inprogress_downcall()
1174 cmsg->cm_u.cm_clntinfo.cc_princhash.cp_len = cksum.len; in nfsd4_cld_create_v2()
1179 cmsg->cm_u.cm_clntinfo.cc_princhash.cp_len = 0; in nfsd4_cld_create_v2()
/Linux-v5.10/fs/udf/
Dinode.c1975 uint32_t cp_len; in udf_setup_indirect_aext() local
1979 cp_type = udf_current_aext(inode, epos, &cp_loc, &cp_len, 0); in udf_setup_indirect_aext()
1980 cp_len |= ((uint32_t)cp_type) << 30; in udf_setup_indirect_aext()
1982 __udf_add_aext(inode, &nepos, &cp_loc, cp_len, 1); in udf_setup_indirect_aext()
/Linux-v5.10/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()
/Linux-v5.10/drivers/crypto/ccp/
Dccp-ops.c374 int cp_len = ccp_fill_queue_buf(src); in ccp_prepare_data() local
379 op->src.u.dma.length = (blocksize_op) ? block_size : cp_len; in ccp_prepare_data()
/Linux-v5.10/net/bluetooth/
Dmgmt.c4219 __u8 cp_ofst = 0, cp_len = 0; in add_adv_patterns_monitor() local
4249 cp_len = cp->patterns[i].length; in add_adv_patterns_monitor()
4251 cp_len > HCI_MAX_AD_LENGTH || in add_adv_patterns_monitor()
4252 (cp_ofst + cp_len) > HCI_MAX_AD_LENGTH) { in add_adv_patterns_monitor()