Searched refs:mbuf (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/drivers/scsi/ |
D | atp870u.c | 971 unsigned char mbuf[33], quintet[2]; in tscam() local 1135 mbuf[j] <<= 0x01; in tscam() 1136 mbuf[j] &= 0xfe; in tscam() 1138 mbuf[j] |= 0x01; in tscam() 1152 j = mbuf[0]; in tscam() 1159 k = mbuf[1]; in tscam() 1210 static unsigned char mbuf[512]; in is870() local 1330 mbuf[j++] = inb(tmport); in is870() 1357 mbuf[36] = 0; in is870() 1358 printk(KERN_INFO " ID: %2d %s\n", i, &mbuf[8]); in is870() [all …]
|
/linux-2.4.37.9/drivers/sound/ |
D | pss.c | 840 copr_msg *mbuf; in pss_coproc_ioctl() local 867 mbuf = (copr_msg *)vmalloc(sizeof(copr_msg)); in pss_coproc_ioctl() 868 if (mbuf == NULL) in pss_coproc_ioctl() 870 if (copy_from_user(mbuf, arg, sizeof(copr_msg))) { in pss_coproc_ioctl() 871 vfree(mbuf); in pss_coproc_ioctl() 874 data = (unsigned short *)(mbuf->data); in pss_coproc_ioctl() 877 for (i = 0; i < mbuf->len; i++) { in pss_coproc_ioctl() 880 mbuf->len = i; /* feed back number of WORDs sent */ in pss_coproc_ioctl() 881 err = copy_to_user(arg, mbuf, sizeof(copr_msg)); in pss_coproc_ioctl() 882 vfree(mbuf); in pss_coproc_ioctl() [all …]
|
/linux-2.4.37.9/drivers/media/video/ |
D | videodev.c | 265 void *mbuf = NULL; in video_usercopy() local 281 mbuf = kmalloc(_IOC_SIZE(cmd),GFP_KERNEL); in video_usercopy() 282 if (NULL == mbuf) in video_usercopy() 284 parg = mbuf; in video_usercopy() 311 if (mbuf) in video_usercopy() 312 kfree(mbuf); in video_usercopy()
|
/linux-2.4.37.9/drivers/usb/ |
D | pwc-if.c | 1478 int mbuf, ret; in pwc_video_ioctl() local 1480 if (copy_from_user((void *)&mbuf, arg, sizeof(int))) in pwc_video_ioctl() 1483 Trace(TRACE_READ, "VIDIOCSYNC called (%d).\n", mbuf); in pwc_video_ioctl() 1486 if (mbuf < 0 || mbuf >= default_mbufs) in pwc_video_ioctl() 1489 if (pdev->image_used[mbuf] == 0) in pwc_video_ioctl() 1524 pdev->fill_image = mbuf; /* tell in which buffer we want the image to be expanded */ in pwc_video_ioctl() 1527 pdev->image_used[mbuf] = 0; in pwc_video_ioctl()
|
D | w9968cf.c | 3410 struct video_mbuf mbuf; in w9968cf_v4l_ioctl() local 3413 mbuf.size = cam->nbuffers * w9968cf_get_max_bufsize(cam); in w9968cf_v4l_ioctl() 3414 mbuf.frames = cam->nbuffers; in w9968cf_v4l_ioctl() 3416 mbuf.offsets[i] = (unsigned long)cam->frame[i].buffer - in w9968cf_v4l_ioctl() 3419 if (copy_to_user(arg, &mbuf, sizeof(mbuf))) in w9968cf_v4l_ioctl()
|