Home
last modified time | relevance | path

Searched hist:"10 d9120c44480b6ce02f9b37ee8c0724c358ee65" (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/xen/gntdev/
H A Dgntdev.cdiff 10d9120c44480b6ce02f9b37ee8c0724c358ee65 Sun Dec 02 14:16:46 CET 2018 Konstantin Belousov <kib@FreeBSD.org> Change the vm_ooffset_t type to unsigned.

The type represents byte offset in the vm_object_t data space, which
does not span negative offsets in FreeBSD VM. The change matches byte
offset signess with the unsignedness of the vm_pindex_t which
represents the type of the page indexes in the objects.

This allows to remove the UOFF_TO_IDX() macro which was used when we
have to forcibly interpret the type as unsigned anyway. Also it fixes
a lot of implicit bugs in the device drivers d_mmap methods.

Reviewed by: alc, markj (previous version)
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
/freebsd/sys/vm/
H A Dsg_pager.cdiff 10d9120c44480b6ce02f9b37ee8c0724c358ee65 Sun Dec 02 14:16:46 CET 2018 Konstantin Belousov <kib@FreeBSD.org> Change the vm_ooffset_t type to unsigned.

The type represents byte offset in the vm_object_t data space, which
does not span negative offsets in FreeBSD VM. The change matches byte
offset signess with the unsignedness of the vm_pindex_t which
represents the type of the page indexes in the objects.

This allows to remove the UOFF_TO_IDX() macro which was used when we
have to forcibly interpret the type as unsigned anyway. Also it fixes
a lot of implicit bugs in the device drivers d_mmap methods.

Reviewed by: alc, markj (previous version)
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
H A Ddevice_pager.cdiff 10d9120c44480b6ce02f9b37ee8c0724c358ee65 Sun Dec 02 14:16:46 CET 2018 Konstantin Belousov <kib@FreeBSD.org> Change the vm_ooffset_t type to unsigned.

The type represents byte offset in the vm_object_t data space, which
does not span negative offsets in FreeBSD VM. The change matches byte
offset signess with the unsignedness of the vm_pindex_t which
represents the type of the page indexes in the objects.

This allows to remove the UOFF_TO_IDX() macro which was used when we
have to forcibly interpret the type as unsigned anyway. Also it fixes
a lot of implicit bugs in the device drivers d_mmap methods.

Reviewed by: alc, markj (previous version)
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
H A Dvm_object.hdiff 10d9120c44480b6ce02f9b37ee8c0724c358ee65 Sun Dec 02 14:16:46 CET 2018 Konstantin Belousov <kib@FreeBSD.org> Change the vm_ooffset_t type to unsigned.

The type represents byte offset in the vm_object_t data space, which
does not span negative offsets in FreeBSD VM. The change matches byte
offset signess with the unsignedness of the vm_pindex_t which
represents the type of the page indexes in the objects.

This allows to remove the UOFF_TO_IDX() macro which was used when we
have to forcibly interpret the type as unsigned anyway. Also it fixes
a lot of implicit bugs in the device drivers d_mmap methods.

Reviewed by: alc, markj (previous version)
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
H A Dvm_map.cdiff 10d9120c44480b6ce02f9b37ee8c0724c358ee65 Sun Dec 02 14:16:46 CET 2018 Konstantin Belousov <kib@FreeBSD.org> Change the vm_ooffset_t type to unsigned.

The type represents byte offset in the vm_object_t data space, which
does not span negative offsets in FreeBSD VM. The change matches byte
offset signess with the unsignedness of the vm_pindex_t which
represents the type of the page indexes in the objects.

This allows to remove the UOFF_TO_IDX() macro which was used when we
have to forcibly interpret the type as unsigned anyway. Also it fixes
a lot of implicit bugs in the device drivers d_mmap methods.

Reviewed by: alc, markj (previous version)
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
/freebsd/sys/sys/
H A Dtypes.hdiff 10d9120c44480b6ce02f9b37ee8c0724c358ee65 Sun Dec 02 14:16:46 CET 2018 Konstantin Belousov <kib@FreeBSD.org> Change the vm_ooffset_t type to unsigned.

The type represents byte offset in the vm_object_t data space, which
does not span negative offsets in FreeBSD VM. The change matches byte
offset signess with the unsignedness of the vm_pindex_t which
represents the type of the page indexes in the objects.

This allows to remove the UOFF_TO_IDX() macro which was used when we
have to forcibly interpret the type as unsigned anyway. Also it fixes
a lot of implicit bugs in the device drivers d_mmap methods.

Reviewed by: alc, markj (previous version)
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation