Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/amd/pds_core/
H A Dauxbus.c101 size_t cp_len; in pds_client_adminq_cmd() local
116 cp_len = min_t(size_t, req_len, sizeof(cmd.client_request.client_cmd)); in pds_client_adminq_cmd()
117 memcpy(cmd.client_request.client_cmd, req, cp_len); in pds_client_adminq_cmd()
/openbmc/linux/fs/ext4/
H A Dinline.c184 int cp_len = 0; in ext4_read_inline_data() local
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()
245 len -= cp_len; in ext4_write_inline_data()
246 buffer += cp_len; in ext4_write_inline_data()
[all …]
/openbmc/linux/include/uapi/linux/nfsd/
H A Dcld.h55 __u8 cp_len; /* length of cp_data */ member
/openbmc/linux/drivers/crypto/amcc/
H A Dcrypto4xx_core.c576 size_t cp_len = crypto_aead_authsize( in crypto4xx_aead_done() local
596 cp_len, 1); in crypto4xx_aead_done()
601 cp_len, cp_len, 0); in crypto4xx_aead_done()
605 if (crypto_memneq(icv, pd_uinfo->sr_va->save_digest, cp_len)) in crypto4xx_aead_done()
/openbmc/linux/drivers/target/
H A Dtarget_core_user.c709 size_t page_remaining, cp_len; in tcmu_copy_data() local
751 cp_len = min3(sg_iter.length, page_remaining, in tcmu_copy_data()
757 memcpy(data_addr, sg_iter.addr, cp_len); in tcmu_copy_data()
759 memcpy(sg_iter.addr, data_addr, cp_len); in tcmu_copy_data()
761 data_len -= cp_len; in tcmu_copy_data()
762 page_remaining -= cp_len; in tcmu_copy_data()
763 sg_iter.consumed = cp_len; in tcmu_copy_data()
/openbmc/linux/drivers/scsi/
H A Dstex.c681 size_t cp_len = sizeof(ver); in stex_queuecommand_lck() local
683 cp_len = scsi_sg_copy_from_buffer(cmd, &ver, cp_len); in stex_queuecommand_lck()
684 if (sizeof(ver) == cp_len) in stex_queuecommand_lck()
/openbmc/linux/fs/nfsd/
H A Dnfs4recover.c817 get_user(princhashlen, &ci->cc_princhash.cp_len); in __cld_pipe_inprogress_downcall()
1184 cmsg->cm_u.cm_clntinfo.cc_princhash.cp_len = cksum.len; in nfsd4_cld_create_v2()
1189 cmsg->cm_u.cm_clntinfo.cc_princhash.cp_len = 0; in nfsd4_cld_create_v2()
/openbmc/linux/fs/udf/
H A Dinode.c2029 uint32_t cp_len; in udf_setup_indirect_aext() local
2033 err = udf_current_aext(inode, epos, &cp_loc, &cp_len, &cp_type, 0); in udf_setup_indirect_aext()
2036 cp_len |= ((uint32_t)cp_type) << 30; in udf_setup_indirect_aext()
2038 __udf_add_aext(inode, &nepos, &cp_loc, cp_len, 1); in udf_setup_indirect_aext()
/openbmc/linux/fs/ocfs2/
H A Dxattr.c1356 int ret = 0, i, cp_len; in __ocfs2_xattr_set_value_outside() local
1398 cp_len = value_len > blocksize ? blocksize : value_len; in __ocfs2_xattr_set_value_outside()
1399 memcpy(bh->b_data, value, cp_len); in __ocfs2_xattr_set_value_outside()
1400 value_len -= cp_len; in __ocfs2_xattr_set_value_outside()
1401 value += cp_len; in __ocfs2_xattr_set_value_outside()
1402 if (cp_len < blocksize) in __ocfs2_xattr_set_value_outside()
1403 memset(bh->b_data + cp_len, 0, in __ocfs2_xattr_set_value_outside()
1404 blocksize - cp_len); in __ocfs2_xattr_set_value_outside()
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-ops.c377 int cp_len = ccp_fill_queue_buf(src); in ccp_prepare_data() local
382 op->src.u.dma.length = (blocksize_op) ? block_size : cp_len; in ccp_prepare_data()