Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/x86/
H A Dxstate.h78 static inline void xsave(struct xsave_buffer *xbuf, uint64_t rfbm) in xsave() argument
84 : : "D" (xbuf), "a" (rfbm_lo), "d" (rfbm_hi) in xsave()
88 static inline void xrstor(struct xsave_buffer *xbuf, uint64_t rfbm) in xrstor() argument
94 : : "D" (xbuf), "a" (rfbm_lo), "d" (rfbm_hi)); in xrstor()
152 static inline void clear_xstate_header(struct xsave_buffer *xbuf) in clear_xstate_header() argument
154 memset(&xbuf->header, 0, sizeof(xbuf->header)); in clear_xstate_header()
157 static inline void set_xstatebv(struct xsave_buffer *xbuf, uint64_t bv) in set_xstatebv() argument
160 *(uint64_t *)(&xbuf->header) = bv; in set_xstatebv()
168 static inline struct _fpx_sw_bytes *get_fpx_sw_bytes(void *xbuf) in get_fpx_sw_bytes() argument
170 return xbuf + SW_BYTES_OFFSET; in get_fpx_sw_bytes()
[all …]
/linux/security/keys/
H A Dproc.c160 char xbuf[16]; in proc_keys_show() local
202 memcpy(xbuf, "perm", 5); in proc_keys_show()
204 memcpy(xbuf, "expd", 5); in proc_keys_show()
209 sprintf(xbuf, "%llus", timo); in proc_keys_show()
211 sprintf(xbuf, "%llum", div_u64(timo, 60)); in proc_keys_show()
213 sprintf(xbuf, "%lluh", div_u64(timo, 60 * 60)); in proc_keys_show()
215 sprintf(xbuf, "%llud", div_u64(timo, 60 * 60 * 24)); in proc_keys_show()
217 sprintf(xbuf, "%lluw", div_u64(timo, 60 * 60 * 24 * 7)); in proc_keys_show()
236 xbuf, in proc_keys_show()
/linux/drivers/misc/genwqe/
H A Dcard_dev.c511 u8 *xbuf; in do_flash_update() local
540 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_update()
541 if (xbuf == NULL) in do_flash_update()
554 rc = copy_from_user(xbuf, buf, tocopy); in do_flash_update()
559 crc = genwqe_crc32(xbuf, tocopy, 0xffffffff); in do_flash_update()
635 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr); in do_flash_update()
647 u8 *xbuf; in do_flash_read() local
676 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_read()
677 if (xbuf == NULL) in do_flash_read()
739 rc = copy_to_user(buf, xbuf, tocopy); in do_flash_read()
[all …]
/linux/sound/core/seq/
H A Dseq_midi_event.c313 unsigned char xbuf[4]; in snd_midi_event_decode() local
320 xbuf[0] = cmd; in snd_midi_event_decode()
322 status_event[type].decode(ev, xbuf + 1); in snd_midi_event_decode()
327 status_event[type].decode(ev, xbuf + 0); in snd_midi_event_decode()
332 memcpy(buf, xbuf, qlen); in snd_midi_event_decode()
H A Dseq_ump_convert.c1221 u8 buf[8], *xbuf; in cvt_sysex_to_ump() local
1237 xbuf = buf; in cvt_sysex_to_ump()
1240 if (*xbuf == UMP_MIDI1_MSG_SYSEX_START) { in cvt_sysex_to_ump()
1244 xbuf++; in cvt_sysex_to_ump()
1251 xbuf[len - 1] == UMP_MIDI1_MSG_SYSEX_END) { in cvt_sysex_to_ump()
1261 fill_sysex7_ump(dest_port, ev_cvt.ump, status, xbuf, len); in cvt_sysex_to_ump()
/linux/crypto/
H A Dtcrypt.c105 static void sg_init_aead(struct scatterlist *sg, char *xbuf[XBUFSIZE], in sg_init_aead()
126 sg_set_buf(&sg[k + 1], xbuf[k], PAGE_SIZE); in sg_init_aead()
129 sg_set_buf(&sg[k + 1], xbuf[k], rem); in sg_init_aead()
144 char *xbuf[XBUFSIZE]; member
292 if (testmgr_alloc_buf(data[i].xbuf)) { in test_mb_aead_speed()
294 testmgr_free_buf(data[i].xbuf); in test_mb_aead_speed()
381 sg_init_aead(cur->sg, cur->xbuf, in test_mb_aead_speed()
444 testmgr_free_buf(data[i].xbuf); in test_mb_aead_speed()
533 char *xbuf[XBUFSIZE]; in test_aead_speed() local
554 if (testmgr_alloc_buf(xbuf)) in test_aead_speed()
[all …]
H A Dtestmgr.c2723 char *xbuf[XBUFSIZE]; in test_cipher() local
2726 if (testmgr_alloc_buf(xbuf)) in test_cipher()
2748 data = xbuf[0]; in test_cipher()
2795 testmgr_free_buf(xbuf); in test_cipher()
3769 char *xbuf[XBUFSIZE]; in test_akcipher_one() local
3780 if (testmgr_alloc_buf(xbuf)) in test_akcipher_one()
3811 memcpy(xbuf[0], vecs->m, vecs->m_size); in test_akcipher_one()
3814 sg_set_buf(&src_tab[0], xbuf[0], 8); in test_akcipher_one()
3815 sg_set_buf(&src_tab[1], xbuf[0] + 8, vecs->m_size - 8); in test_akcipher_one()
3864 memcpy(xbuf[0], c, c_size); in test_akcipher_one()
[all …]
/linux/drivers/usb/gadget/function/
H A Drndis.c682 u8 *xbuf; in rndis_reset_response() local
686 while ((xbuf = rndis_get_next_response(params, &length))) in rndis_reset_response()
687 rndis_free_response(params, xbuf); in rndis_reset_response()
/linux/drivers/crypto/aspeed/
H A Daspeed-acry.c248 const void *xbuf, size_t nbytes, in aspeed_acry_rsa_ctx_copy() argument
251 const u8 *src = xbuf; in aspeed_acry_rsa_ctx_copy()