Home
last modified time | relevance | path

Searched refs:mbuf (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/
Dmsu.c134 const struct msu_buffer *mbuf; member
181 const struct msu_buffer *mbuf; member
192 if (!strcmp(mbe->mbuf->name, name)) in __msu_buffer_entry_find()
210 return mbe ? mbe->mbuf : NULL; in msu_buffer_get()
213 static void msu_buffer_put(const struct msu_buffer *mbuf) in msu_buffer_put() argument
218 mbe = __msu_buffer_entry_find(mbuf->name); in msu_buffer_put()
224 int intel_th_msu_buffer_register(const struct msu_buffer *mbuf, in intel_th_msu_buffer_register() argument
235 if (__msu_buffer_entry_find(mbuf->name)) { in intel_th_msu_buffer_register()
241 mbe->mbuf = mbuf; in intel_th_msu_buffer_register()
251 void intel_th_msu_buffer_unregister(const struct msu_buffer *mbuf) in intel_th_msu_buffer_unregister() argument
[all …]
/kernel/linux/linux-5.10/drivers/tty/hvc/
Dhvc_iucv.c88 struct iucv_tty_msg *mbuf; /* buffer to store input/output data */ member
163 bufp->mbuf = kmalloc(bufp->msg.length, flags | GFP_DMA); in alloc_tty_buffer()
164 if (!bufp->mbuf) { in alloc_tty_buffer()
168 bufp->mbuf->version = MSG_VERSION; in alloc_tty_buffer()
169 bufp->mbuf->type = MSG_TYPE_DATA; in alloc_tty_buffer()
170 bufp->mbuf->datalen = (u16) size; in alloc_tty_buffer()
181 kfree(bufp->mbuf); in destroy_tty_buffer()
243 if (!rb->mbuf) { /* message not yet received ... */ in hvc_iucv_write()
246 rb->mbuf = kmalloc(rb->msg.length, GFP_ATOMIC | GFP_DMA); in hvc_iucv_write()
247 if (!rb->mbuf) in hvc_iucv_write()
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Diqs5xx.c195 u8 mbuf[sizeof(reg) + IQS5XX_WR_BYTES_MAX]; in iqs5xx_write_burst() local
200 put_unaligned_be16(reg, mbuf); in iqs5xx_write_burst()
201 memcpy(mbuf + sizeof(reg), val, len); in iqs5xx_write_burst()
209 ret = i2c_master_send(client, mbuf, mlen); in iqs5xx_write_burst()
251 u8 mbuf[sizeof(bl_cmd) + sizeof(bl_addr)]; in iqs5xx_bl_cmd() local
256 msg.buf = mbuf; in iqs5xx_bl_cmd()
258 *mbuf = bl_cmd; in iqs5xx_bl_cmd()
267 put_unaligned_be16(bl_addr, mbuf + sizeof(bl_cmd)); in iqs5xx_bl_cmd()
304 get_unaligned_be16(mbuf) != IQS5XX_BL_ID) { in iqs5xx_bl_cmd()
306 get_unaligned_be16(mbuf)); in iqs5xx_bl_cmd()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Datp870u.c972 unsigned char mbuf[33], quintet[2]; in tscam() local
1121 mbuf[j] <<= 0x01; in tscam()
1122 mbuf[j] &= 0xfe; in tscam()
1124 mbuf[j] |= 0x01; in tscam()
1136 j = mbuf[0]; in tscam()
1141 k = mbuf[1]; in tscam()
1716 static unsigned char mbuf[512]; in atp_is() local
1819 mbuf[j++] = atp_readb_io(dev, c, 0x19); in atp_is()
1842 mbuf[36] = 0; in atp_is()
1843 printk(KERN_INFO " ID: %2d %s\n", i, &mbuf[8]); in atp_is()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
Ddvb_filter.c21 int dvb_filter_get_ac3info(u8 *mbuf, int count, struct dvb_audio_info *ai, int pr) in dvb_filter_get_ac3info() argument
30 u8 *b = mbuf+c; in dvb_filter_get_ac3info()
47 headr = mbuf+c+2; in dvb_filter_get_ac3info()
Ddvb_filter.h239 int dvb_filter_get_ac3info(u8 *mbuf, int count, struct dvb_audio_info *ai, int pr);
/kernel/linux/linux-5.10/include/linux/
Dintel_th.h62 int intel_th_msu_buffer_register(const struct msu_buffer *mbuf,
64 void intel_th_msu_buffer_unregister(const struct msu_buffer *mbuf);
/kernel/linux/linux-5.10/drivers/ata/
Dpata_it821x.c608 char mbuf[8]; in it821x_display_disk() local
632 snprintf(mbuf, 8, "%5s%d", mtype, mode - 1); in it821x_display_disk()
634 strcpy(mbuf, "PIO"); in it821x_display_disk()
637 n, mbuf, types[buf[52]], id, cbl); in it821x_display_disk()
640 n, mbuf, types[buf[52]], buf[53], id, cbl); in it821x_display_disk()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_sup.c3161 qla2x00_get_flash_version(scsi_qla_host_t *vha, void *mbuf) in qla2x00_get_flash_version() argument
3170 if (!ha->pio_address || !mbuf) in qla2x00_get_flash_version()
3256 dbyte = mbuf; in qla2x00_get_flash_version()
3293 qla82xx_get_flash_version(scsi_qla_host_t *vha, void *mbuf) in qla82xx_get_flash_version() argument
3297 uint32_t *dcode = mbuf; in qla82xx_get_flash_version()
3298 uint8_t *bcode = mbuf; in qla82xx_get_flash_version()
3302 if (!mbuf) in qla82xx_get_flash_version()
3316 bcode = mbuf + (pcihdr % 4); in qla82xx_get_flash_version()
3329 bcode = mbuf + (pcihdr % 4); in qla82xx_get_flash_version()
3382 dcode = mbuf; in qla82xx_get_flash_version()
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-core/
Ddvbdev.c971 void *mbuf = NULL; in dvb_usercopy() local
991 mbuf = kmalloc(_IOC_SIZE(cmd), GFP_KERNEL); in dvb_usercopy()
992 if (NULL == mbuf) in dvb_usercopy()
994 parg = mbuf; in dvb_usercopy()
1021 kfree(mbuf); in dvb_usercopy()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h1019 int ixgbe_ipsec_vf_add_sa(struct ixgbe_adapter *adapter, u32 *mbuf, u32 vf);
1020 int ixgbe_ipsec_vf_del_sa(struct ixgbe_adapter *adapter, u32 *mbuf, u32 vf);
1034 u32 *mbuf, u32 vf) { return -EACCES; } in ixgbe_ipsec_vf_add_sa() argument
1036 u32 *mbuf, u32 vf) { return -EACCES; } in ixgbe_ipsec_vf_del_sa() argument
/kernel/linux/linux-5.10/fs/gfs2/
Dlog.c537 unsigned int mbuf; in calc_reserved() local
542 mbuf = tr->tr_num_buf_new - tr->tr_num_buf_rm; in calc_reserved()
544 reserved = mbuf + dbuf; in calc_reserved()
546 reserved += DIV_ROUND_UP(mbuf, buf_limit(sdp)); in calc_reserved()
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-ioctl.c3277 void *mbuf = NULL, *array_buf = NULL; in video_usercopy() local
3294 mbuf = kvmalloc(ioc_size, GFP_KERNEL); in video_usercopy()
3295 if (NULL == mbuf) in video_usercopy()
3297 parg = mbuf; in video_usercopy()
3354 kvfree(mbuf); in video_usercopy()
/kernel/linux/linux-5.10/Documentation/scsi/
DChangeLog.lpfc1574 * Added code for safety pools for following objects: mbuf/bpl,
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0027_linux_drivers_media.patch9871 kvfree(mbuf);