/linux-2.4.37.9/arch/mips/math-emu/ |
D | ieee754int.h | 79 #define EXPLODESP(v,vc,vs,ve,vm) \ argument 83 vm = SPMANT(v);\ 85 if(vm == 0)\ 87 else if(vm & SP_MBIT(SP_MBITS-1)) \ 92 if(vm) {\ 99 vm |= SP_HIDDEN_BIT;\ 113 #define EXPLODEDP(v,vc,vs,ve,vm) \ argument 115 vm = DPMANT(v);\ 119 if(vm == 0)\ 121 else if(vm & DP_MBIT(DP_MBITS-1)) \ [all …]
|
/linux-2.4.37.9/arch/x86_64/mm/ |
D | modutil.c | 100 struct vm_struct *vm, **base; in mod_vmlist_init() local 102 for (base = &vmlist, vm = *base; vm; base = &vm->next, vm = *base) { in mod_vmlist_init() 103 if (vm->addr > (void *)KERNEL_TEXT_START) in mod_vmlist_init() 107 kernel_mapping.next = vm; in mod_vmlist_init()
|
/linux-2.4.37.9/drivers/s390/ |
D | sysinfo.c | 91 } vm[8]; member 219 EBCASC (info->vm[i].name, sizeof(info->vm[i].name)); in stsi_3_2_2() 220 EBCASC (info->vm[i].cpi, sizeof(info->vm[i].cpi)); in stsi_3_2_2() 317 i, info->sysinfo_3_2_2.vm[i].name); in proc_read_sysinfo() 319 i, info->sysinfo_3_2_2.vm[i].cpi); in proc_read_sysinfo() 322 i, info->sysinfo_3_2_2.vm[i].caf); in proc_read_sysinfo() 325 i, info->sysinfo_3_2_2.vm[i].cpus_total); in proc_read_sysinfo() 327 i, info->sysinfo_3_2_2.vm[i].cpus_configured); in proc_read_sysinfo() 329 i, info->sysinfo_3_2_2.vm[i].cpus_standby); in proc_read_sysinfo() 331 i, info->sysinfo_3_2_2.vm[i].cpus_reserved); in proc_read_sysinfo()
|
/linux-2.4.37.9/drivers/usb/ |
D | vicam.c | 624 struct video_mbuf vm; in vicam_ioctl() local 628 memset(&vm, 0, sizeof (vm)); in vicam_ioctl() 629 vm.size = in vicam_ioctl() 631 vm.frames = VICAM_FRAMES; in vicam_ioctl() 633 vm.offsets[i] = VICAM_MAX_FRAME_SIZE * i; in vicam_ioctl() 636 ((void *) arg, (void *) &vm, sizeof (vm))) in vicam_ioctl() 644 struct video_mmap vm; in vicam_ioctl() local 648 ((void *) &vm, (void *) arg, sizeof (vm))) { in vicam_ioctl() 653 …DBG("VIDIOCMCAPTURE frame=%d, height=%d, width=%d, format=%d.\n",vm.frame,vm.width,vm.height,vm.fo… in vicam_ioctl() 655 if ( vm.frame >= VICAM_FRAMES || vm.format != VIDEO_PALETTE_RGB24 ) in vicam_ioctl()
|
D | pwc-if.c | 1402 struct video_mbuf vm; in pwc_video_ioctl() local 1405 memset(&vm, 0, sizeof(vm)); in pwc_video_ioctl() 1406 vm.size = default_mbufs * pdev->len_per_image; in pwc_video_ioctl() 1407 vm.frames = default_mbufs; /* double buffering should be enough for most applications */ in pwc_video_ioctl() 1409 vm.offsets[i] = i * pdev->len_per_image; in pwc_video_ioctl() 1411 if (copy_to_user((void *)arg, (void *)&vm, sizeof(vm))) in pwc_video_ioctl() 1419 struct video_mmap vm; in pwc_video_ioctl() local 1421 if (copy_from_user((void *)&vm, (void *)arg, sizeof(vm))) in pwc_video_ioctl() 1423 …TRACE_READ, "VIDIOCMCAPTURE: %dx%d, frame %d, format %d\n", vm.width, vm.height, vm.frame, vm.form… in pwc_video_ioctl() 1424 if (vm.frame < 0 || vm.frame >= default_mbufs) in pwc_video_ioctl() [all …]
|
D | usbvideo.c | 1457 struct video_mbuf vm; in usbvideo_v4l_ioctl() local 1460 memset(&vm, 0, sizeof(vm)); in usbvideo_v4l_ioctl() 1461 vm.size = uvd->max_frame_size * USBVIDEO_NUMFRAMES; in usbvideo_v4l_ioctl() 1462 vm.frames = USBVIDEO_NUMFRAMES; in usbvideo_v4l_ioctl() 1464 vm.offsets[i] = i * uvd->max_frame_size; in usbvideo_v4l_ioctl() 1466 if (copy_to_user((void *)arg, (void *)&vm, sizeof(vm))) in usbvideo_v4l_ioctl() 1473 struct video_mmap vm; in usbvideo_v4l_ioctl() local 1475 if (copy_from_user((void *)&vm, (void *)arg, sizeof(vm))) { in usbvideo_v4l_ioctl() 1481 vm.frame, vm.width, vm.height, vm.format); in usbvideo_v4l_ioctl() 1496 if ((vm.width > VIDEOSIZE_X(uvd->canvas)) || in usbvideo_v4l_ioctl() [all …]
|
D | stv680.c | 1287 struct video_mbuf vm; in stv680_ioctl() local 1290 memset (&vm, 0, sizeof (vm)); in stv680_ioctl() 1291 vm.size = STV680_NUMFRAMES * stv680->maxframesize; in stv680_ioctl() 1292 vm.frames = STV680_NUMFRAMES; in stv680_ioctl() 1294 vm.offsets[i] = stv680->maxframesize * i; in stv680_ioctl() 1296 if (copy_to_user ((void *) arg, (void *) &vm, sizeof (vm))) { in stv680_ioctl() 1304 struct video_mmap vm; in stv680_ioctl() local 1306 if (copy_from_user (&vm, arg, sizeof (vm))) { in stv680_ioctl() 1310 if (vm.format != STV_VIDEO_PALETTE) { in stv680_ioctl() 1312 vm.format, STV_VIDEO_PALETTE); in stv680_ioctl() [all …]
|
D | se401.c | 1207 struct video_mbuf vm; in se401_ioctl() local 1210 memset(&vm, 0, sizeof(vm)); in se401_ioctl() 1211 vm.size = SE401_NUMFRAMES * se401->maxframesize; in se401_ioctl() 1212 vm.frames = SE401_NUMFRAMES; in se401_ioctl() 1214 vm.offsets[i] = se401->maxframesize * i; in se401_ioctl() 1216 if (copy_to_user((void *)arg, (void *)&vm, sizeof(vm))) in se401_ioctl() 1223 struct video_mmap vm; in se401_ioctl() local 1225 if (copy_from_user(&vm, arg, sizeof(vm))) in se401_ioctl() 1227 if (vm.format != VIDEO_PALETTE_RGB24) in se401_ioctl() 1229 if (vm.frame >= SE401_NUMFRAMES) in se401_ioctl() [all …]
|
D | ov511.c | 4868 struct video_mbuf *vm = arg; in ov51x_v4l1_ioctl_internal() local 4873 memset(vm, 0, sizeof(struct video_mbuf)); in ov51x_v4l1_ioctl_internal() 4874 vm->size = OV511_NUMFRAMES in ov51x_v4l1_ioctl_internal() 4876 vm->frames = OV511_NUMFRAMES; in ov51x_v4l1_ioctl_internal() 4878 vm->offsets[0] = 0; in ov51x_v4l1_ioctl_internal() 4880 vm->offsets[i] = vm->offsets[i-1] in ov51x_v4l1_ioctl_internal() 4888 struct video_mmap *vm = arg; in ov51x_v4l1_ioctl_internal() local 4890 unsigned int f = vm->frame; in ov51x_v4l1_ioctl_internal() 4892 PDEBUG(4, "VIDIOCMCAPTURE: frame: %d, %dx%d, %s", f, vm->width, in ov51x_v4l1_ioctl_internal() 4893 vm->height, symbolic(v4l1_plist, vm->format)); in ov51x_v4l1_ioctl_internal() [all …]
|
/linux-2.4.37.9/fs/partitions/ |
D | ldm.c | 243 static BOOL ldm_parse_vmdb (const u8 *data, struct vmdb *vm) in ldm_parse_vmdb() argument 246 BUG_ON (!vm); in ldm_parse_vmdb() 253 vm->ver_major = BE16 (data + 0x12); in ldm_parse_vmdb() 254 vm->ver_minor = BE16 (data + 0x14); in ldm_parse_vmdb() 255 if ((vm->ver_major != 4) || (vm->ver_minor != 10)) { in ldm_parse_vmdb() 257 "Aborting.", 4, 10, vm->ver_major, vm->ver_minor); in ldm_parse_vmdb() 261 vm->vblk_size = BE32 (data + 0x08); in ldm_parse_vmdb() 262 vm->vblk_offset = BE32 (data + 0x0C); in ldm_parse_vmdb() 263 vm->last_vblk_seq = BE32 (data + 0x04); in ldm_parse_vmdb() 502 struct vmdb *vm; in ldm_validate_vmdb() local [all …]
|
D | ldm.h | 209 struct vmdb vm; member
|
/linux-2.4.37.9/drivers/media/video/ |
D | meye.c | 1042 struct video_mmap *vm = arg; in meye_do_ioctl() local 1045 if (vm->frame >= gbuffers || vm->frame < 0) in meye_do_ioctl() 1047 if (vm->format != VIDEO_PALETTE_YUV422) in meye_do_ioctl() 1049 if (vm->height * vm->width * 2 > gbufsize) in meye_do_ioctl() 1053 if (meye.grab_buffer[vm->frame].state != MEYE_BUF_UNUSED) in meye_do_ioctl() 1057 if (vm->width == 640 && vm->height == 480) { in meye_do_ioctl() 1063 else if (vm->width == 320 && vm->height == 240) { in meye_do_ioctl() 1076 meye.grab_buffer[vm->frame].state = MEYE_BUF_USING; in meye_do_ioctl() 1077 meye_pushq(&meye.grabq, vm->frame); in meye_do_ioctl() 1083 struct video_mbuf *vm = arg; in meye_do_ioctl() local [all …]
|
D | swarm_saa7114h.c | 1206 struct video_mbuf vm; in saa7114h_ioctl() local 1209 memset(&vm, 0, sizeof(vm)); in saa7114h_ioctl() 1210 vm.size = MAX_FRAME_SIZE*NUM_FRAME; in saa7114h_ioctl() 1211 vm.frames = NUM_FRAME; in saa7114h_ioctl() 1213 vm.offsets[i] = MAX_FRAME_SIZE * i; in saa7114h_ioctl() 1215 if (copy_to_user((void *)arg, (void *)&vm, sizeof(vm))) in saa7114h_ioctl() 1223 struct video_mmap vm; in saa7114h_ioctl() local 1226 if (copy_from_user((void *)&vm, (void *)arg, sizeof(vm))) { in saa7114h_ioctl() 1230 if (vm.frame<0||vm.frame>NUM_FRAME) { in saa7114h_ioctl() 1236 printk(KERN_DEBUG IF_NAME ":ioctl MCAPTURE %d\n", vm.frame)); in saa7114h_ioctl() [all …]
|
D | zr36120.c | 1361 struct video_mmap vm; in zoran_ioctl() local 1363 if (copy_from_user(&vm,arg,sizeof(vm))) in zoran_ioctl() 1365 …DEBUG(printk(CARD_DEBUG "VIDIOCMCAPTURE(%d,(%d,%d),%d)\n",CARD,vm.frame,vm.width,vm.height,vm.form… in zoran_ioctl() 1366 if (vm.frame<0 || vm.frame>ZORAN_MAX_FBUFFERS || in zoran_ioctl() 1367 vm.width<32 || vm.width>768 || in zoran_ioctl() 1368 vm.height<32 || vm.height>576 || in zoran_ioctl() 1369 vm.format>NRPALETTES || in zoran_ioctl() 1370 palette2fmt[vm.format].mode == 0) in zoran_ioctl() 1374 frame = &ztv->grabinfo[vm.frame]; in zoran_ioctl() 1380 frame->w = vm.width; in zoran_ioctl() [all …]
|
D | cpia.c | 2285 static int capture_frame(struct cam_data *cam, struct video_mmap *vm) in capture_frame() argument 2301 cam->curframe = vm->frame; in capture_frame() 2307 cam->curframe = vm->frame; in capture_frame() 2876 struct video_mbuf *vm = arg; in cpia_do_ioctl() local 2880 memset(vm, 0, sizeof(*vm)); in cpia_do_ioctl() 2881 vm->size = CPIA_MAX_FRAME_SIZE*FRAME_NUM; in cpia_do_ioctl() 2882 vm->frames = FRAME_NUM; in cpia_do_ioctl() 2884 vm->offsets[i] = CPIA_MAX_FRAME_SIZE * i; in cpia_do_ioctl() 2891 struct video_mmap *vm = arg; in cpia_do_ioctl() local 2894 DBG("VIDIOCMCAPTURE: %d / %d / %dx%d\n", vm->format, vm->frame, in cpia_do_ioctl() [all …]
|
D | planb.c | 1940 struct video_mmap vm; in planb_ioctl() local 1945 if(copy_from_user((void *) &vm,(void *)arg,sizeof(vm))) in planb_ioctl() 1947 fr = vm.frame; in planb_ioctl() 1953 return vgrab(pb, &vm); in planb_ioctl() 1959 struct video_mbuf vm; in planb_ioctl() local 1963 memset(&vm, 0 , sizeof(vm)); in planb_ioctl() 1964 vm.size = PLANB_MAX_FBUF * MAX_GBUFFERS; in planb_ioctl() 1965 vm.frames = MAX_GBUFFERS; in planb_ioctl() 1967 vm.offsets[i] = PLANB_MAX_FBUF * i; in planb_ioctl() 1968 if(copy_to_user((void *)arg, (void *)&vm, sizeof(vm))) in planb_ioctl()
|
D | bttv-driver.c | 2083 struct video_mmap vm; in bttv_ioctl() local 2085 if(copy_from_user((void *) &vm, (void *) arg, sizeof(vm))) in bttv_ioctl() 2088 ret = vgrab(btv, &vm); in bttv_ioctl() 2095 struct video_mbuf vm; in bttv_ioctl() local 2098 memset(&vm, 0 , sizeof(vm)); in bttv_ioctl() 2099 vm.size=gbufsize*gbuffers; in bttv_ioctl() 2100 vm.frames=gbuffers; in bttv_ioctl() 2102 vm.offsets[i]=i*gbufsize; in bttv_ioctl() 2103 if(copy_to_user((void *)arg, (void *)&vm, sizeof(vm))) in bttv_ioctl()
|
D | zr36067.c | 3939 struct video_mmap vm; in do_zoran_ioctl() local 3942 ((void *) &vm, (void *) arg, sizeof(vm))) { in do_zoran_ioctl() 3947 zr->name, vm.frame, vm.width, vm.height, in do_zoran_ioctl() 3948 vm.format)); in do_zoran_ioctl() 3949 return v4l_grab(zr, &vm); in do_zoran_ioctl() 3955 struct video_mbuf vm; in do_zoran_ioctl() local 3960 vm.size = v4l_nbufs * v4l_bufsize; in do_zoran_ioctl() 3961 vm.frames = v4l_nbufs; in do_zoran_ioctl() 3963 vm.offsets[i] = i * v4l_bufsize; in do_zoran_ioctl() 3969 if (copy_to_user(arg, &vm, sizeof(vm))) { in do_zoran_ioctl()
|
/linux-2.4.37.9/Documentation/ |
D | laptop-mode.txt | 11 A few properties of the Linux vm makes it virtually impossible to attempt 43 The main knob is /proc/sys/vm/laptop_mode. Setting that to 1 switches the 44 vm (and block layer) to laptop mode. Leaving it to 0 makes the kernel work 50 that as well, /proc/sys/vm/block_dump. When set to 1, it will dump info to
|
/linux-2.4.37.9/Documentation/sysctl/ |
D | vm.txt | 1 Documentation for /proc/sys/vm/* Kernel version 2.4.28 12 - Documented aa-vm tunables 20 /proc/sys/vm and is valid for Linux kernel v2.4.28. 31 Currently, these files are in /proc/sys/vm: 176 Setting this to 1 switches the vm (and block layer) to laptop 361 is the number of vm passes before failing the memory
|
/linux-2.4.37.9/Documentation/s390/ |
D | 3270.txt | 92 into your vm guest using the command "DIAL <vmguestname>"). 97 3. Define graphic devices to your vm guest machine, if you 140 x3270 vm-esa-domain-name & 152 dial my-vm-guest-name 156 see instead the line "DIALED TO my-vm-guest-name 0620". 179 "HCPDIA047E my-vm-guest-name 0620 does not exist"?
|
/linux-2.4.37.9/drivers/video/matrox/ |
D | matroxfb_base.c | 1664 vaddr_t vm; in matroxfb_getmemory() local 1673 vm = ACCESS_FBINFO(video.vbase); in matroxfb_getmemory() 1682 store = mga_readb(vm, 0x1234); in matroxfb_getmemory() 1685 *tmp++ = mga_readb(vm, offs); in matroxfb_getmemory() 1687 mga_writeb(vm, offs, 0x02); in matroxfb_getmemory() 1691 mga_writeb(vm, 0x1234, 0x99); in matroxfb_getmemory() 1693 if (mga_readb(vm, offs) != 0x02) in matroxfb_getmemory() 1695 mga_writeb(vm, offs, mga_readb(vm, offs) - 0x02); in matroxfb_getmemory() 1696 if (mga_readb(vm, offs)) in matroxfb_getmemory() 1701 mga_writeb(vm, offs2, *tmp++); in matroxfb_getmemory() [all …]
|
/linux-2.4.37.9/Documentation/BK-usage/ |
D | bk-kernel-howto.txt | 121 vm-hacks bugfixes filesys personal-hacks 132 because it will push all changes from vm-hacks, bugfixes, filesys, and 136 vm-hacks or bugfixes or filesys, keeping those changes isolated in 239 vm-2.5 -- VM-related changes 243 example) issue a "bk pull" on vm-2.5 and fs-2.5 trees, to merge their
|
/linux-2.4.37.9/drivers/char/drm-4.0/ |
D | Makefile | 19 lists.o lock.o ioctl.o fops.o vm.o dma.o ctxbitmap.o
|
/linux-2.4.37.9/drivers/video/ |
D | tgafb.c | 609 if (delta < min_diff) min_diff = delta, vm = m, va = a, vr = r; } } 614 int r,a,m,vm = 34, va = 1, vr = 30; in tgafb_set_pll() local 682 TGA_WRITE_REG((vm >> r) & 1, TGA_CLOCK_REG); in tgafb_set_pll()
|