Home
last modified time | relevance | path

Searched refs:tmpbuffer (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/kernel/debug/kdb/
Dkdb_io.c204 static char tmpbuffer[CMD_BUFLEN]; in kdb_read() local
235 memcpy(tmpbuffer, cp, lastchar - cp); in kdb_read()
236 memcpy(cp-1, tmpbuffer, lastchar - cp); in kdb_read()
259 memcpy(tmpbuffer, cp+1, lastchar - cp - 1); in kdb_read()
260 memcpy(cp, tmpbuffer, lastchar - cp - 1); in kdb_read()
290 memset(tmpbuffer, ' ', in kdb_read()
292 *(tmpbuffer+strlen(kdb_prompt_str) + in kdb_read()
294 kdb_printf("\r%s\r", tmpbuffer); in kdb_read()
305 memset(tmpbuffer, ' ', in kdb_read()
307 *(tmpbuffer+strlen(kdb_prompt_str) + in kdb_read()
[all …]
/kernel/linux/linux-5.10/security/keys/
Ddh.c162 u8 tmpbuffer[32]; in kdf_ctr() local
163 size_t chunk = min_t(size_t, zlen, sizeof(tmpbuffer)); in kdf_ctr()
164 memset(tmpbuffer, 0, chunk); in kdf_ctr()
167 err = crypto_shash_update(desc, tmpbuffer, in kdf_ctr()
173 chunk = min_t(size_t, zlen, sizeof(tmpbuffer)); in kdf_ctr()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_attr_leaf.c907 char *tmpbuffer; in xfs_attr_shortform_to_leaf() local
919 tmpbuffer = kmem_alloc(size, 0); in xfs_attr_shortform_to_leaf()
920 ASSERT(tmpbuffer != NULL); in xfs_attr_shortform_to_leaf()
921 memcpy(tmpbuffer, ifp->if_u1.if_data, size); in xfs_attr_shortform_to_leaf()
922 sf = (struct xfs_attr_shortform *)tmpbuffer; in xfs_attr_shortform_to_leaf()
965 kmem_free(tmpbuffer); in xfs_attr_shortform_to_leaf()
1102 char *tmpbuffer; in xfs_attr3_leaf_to_shortform() local
1108 tmpbuffer = kmem_alloc(args->geo->blksize, 0); in xfs_attr3_leaf_to_shortform()
1109 if (!tmpbuffer) in xfs_attr3_leaf_to_shortform()
1112 memcpy(tmpbuffer, bp->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_shortform()
[all …]
/kernel/linux/linux-5.10/drivers/usb/typec/tcpm/
Dfusb302.c137 char tmpbuffer[LOG_BUFFER_ENTRY_SIZE]; in _fusb302_log() local
148 vsnprintf(tmpbuffer, sizeof(tmpbuffer), fmt, args); in _fusb302_log()
154 strlcpy(tmpbuffer, "overflow", sizeof(tmpbuffer)); in _fusb302_log()
174 tmpbuffer); in _fusb302_log()
Dtcpm.c488 char tmpbuffer[LOG_BUFFER_ENTRY_SIZE]; in _tcpm_log() local
502 vsnprintf(tmpbuffer, sizeof(tmpbuffer), fmt, args); in _tcpm_log()
506 strcpy(tmpbuffer, "overflow"); in _tcpm_log()
526 tmpbuffer); in _tcpm_log()