From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Sun, 26 Mar 2006 17:54:18 -0800 (PST) |
dillon 2006/03/26 17:54:18 PST DragonFly src repository Modified files: sys/dev/disk/vn vn.c sys/kern imgact_elf.c sysv_shm.c uipc_syscalls.c vfs_lock.c sys/sys vnode.h sys/vfs/isofs/cd9660 cd9660_vfsops.c sys/vfs/nfs nfs_node.c sys/vfs/portal portal_vnops.c sys/vfs/ufs ufs_readwrite.c ufs_vnops.c sys/vm default_pager.c device_pager.c phys_pager.c swap_pager.c vm_map.c vm_mmap.c vm_object.h vm_pager.c vm_pager.h vnode_pager.c vnode_pager.h Log: Change *_pager_allocate() to take off_t instead of vm_ooffset_t. The actual underlying type (a 64 bit signed integer) is the same. Recent and upcoming work is standardizing on off_t. Move object->un_pager.vnp.vnp_size to vnode->v_filesize. As before, the field is still only valid when a VM object is associated with the vnode. Revision Changes Path 1.18 +3 -2 src/sys/dev/disk/vn/vn.c 1.34 +3 -4 src/sys/kern/imgact_elf.c 1.16 +1 -2 src/sys/kern/sysv_shm.c 1.60 +1 -1 src/sys/kern/uipc_syscalls.c 1.11 +1 -0 src/sys/kern/vfs_lock.c 1.43 +4 -0 src/sys/sys/vnode.h 1.31 +4 -2 src/sys/vfs/isofs/cd9660/cd9660_vfsops.c 1.21 +2 -1 src/sys/vfs/nfs/nfs_node.c 1.25 +1 -0 src/sys/vfs/portal/portal_vnops.c 1.15 +2 -5 src/sys/vfs/ufs/ufs_readwrite.c 1.35 +2 -0 src/sys/vfs/ufs/ufs_vnops.c 1.5 +2 -4 src/sys/vm/default_pager.c 1.10 +2 -3 src/sys/vm/device_pager.c 1.5 +1 -2 src/sys/vm/phys_pager.c 1.20 +3 -4 src/sys/vm/swap_pager.c 1.42 +2 -2 src/sys/vm/vm_map.c 1.24 +3 -4 src/sys/vm/vm_mmap.c 1.8 +0 -9 src/sys/vm/vm_object.h 1.17 +4 -6 src/sys/vm/vm_pager.c 1.7 +1 -1 src/sys/vm/vm_pager.h 1.23 +32 -30 src/sys/vm/vnode_pager.c 1.5 +1 -1 src/sys/vm/vnode_pager.h http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/vn/vn.c.diff?r1=1.17&r2=1.18&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_elf.c.diff?r1=1.33&r2=1.34&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/sysv_shm.c.diff?r1=1.15&r2=1.16&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.59&r2=1.60&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_lock.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/vnode.h.diff?r1=1.42&r2=1.43&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/isofs/cd9660/cd9660_vfsops.c.diff?r1=1.30&r2=1.31&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_node.c.diff?r1=1.20&r2=1.21&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/portal/portal_vnops.c.diff?r1=1.24&r2=1.25&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_readwrite.c.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_vnops.c.diff?r1=1.34&r2=1.35&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/default_pager.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/device_pager.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/phys_pager.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/swap_pager.c.diff?r1=1.19&r2=1.20&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_map.c.diff?r1=1.41&r2=1.42&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_mmap.c.diff?r1=1.23&r2=1.24&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_object.h.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_pager.c.diff?r1=1.16&r2=1.17&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_pager.h.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vnode_pager.c.diff?r1=1.22&r2=1.23&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vnode_pager.h.diff?r1=1.4&r2=1.5&f=u