git: world/kernel: Use the rounddown2() macro in various places.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Oct 23 11:10:33 PDT 2019


commit 3f7b72606e8fadb0b2e9e32302c89298c107534b
Author: Sascha Wildner <saw at online.de>
Date:   Wed Oct 23 20:09:23 2019 +0200

    world/kernel: Use the rounddown2() macro in various places.
    
    Tested-by: zrj

Summary of changes:
 bin/ls/print.c                         |  4 ++--
 lib/libc/db/hash/hash_page.c           |  2 +-
 lib/libc/net/name6.c                   |  4 ++--
 lib/libc/stdio/fseek.c                 |  4 ++--
 lib/libc/stdlib/merge.c                |  5 ++---
 lib/libc/sysvipc/shm.c                 |  2 +-
 lib/libkvm/kvm_proc.c                  |  2 +-
 lib/libusb/libusb20_desc.c             |  7 +++----
 libexec/rtld-elf/malloc.c              |  2 +-
 sbin/gpt/map.c                         |  5 ++---
 sbin/ifconfig/af_inet.c                |  3 +--
 sbin/restore/dirs.c                    |  2 +-
 sys/bus/u4b/usb_busdma.c               |  4 ++--
 sys/dev/netif/ti/if_ti.c               |  2 +-
 sys/dev/pccard/exca/exca.c             |  3 +--
 sys/dev/raid/hptmv/gui_lib.c           |  2 +-
 sys/dev/video/cxm/cxm.h                |  2 +-
 sys/emulation/ndis/ntoskrnl_var.h      |  2 +-
 sys/gnu/vfs/ext2fs/ext2_lookup.c       |  2 +-
 sys/kern/imgact_elf.c                  |  2 +-
 sys/kern/init_main.c                   |  2 +-
 sys/kern/subr_rman.c                   |  4 ++--
 sys/kern/sysv_shm.c                    |  3 ++-
 sys/kern/uipc_mbuf.c                   |  2 +-
 sys/kern/vfs_cluster.c                 |  4 ++--
 sys/net/pf/if_pfsync.c                 |  2 +-
 sys/platform/pc64/vmm/vmx.h            |  2 +-
 sys/platform/pc64/x86_64/amd64_mem.c   |  2 +-
 sys/platform/vkernel64/platform/init.c |  4 ++--
 sys/platform/vkernel64/platform/pmap.c | 14 +++++++++-----
 sys/sys/mbuf.h                         |  4 ++--
 sys/vfs/hammer2/hammer2_chain.c        |  9 +++------
 sys/vfs/hammer2/hammer2_disk.h         |  2 +-
 sys/vfs/isofs/cd9660/cd9660_bmap.c     |  2 +-
 sys/vfs/isofs/cd9660/cd9660_vnops.c    |  2 +-
 sys/vfs/nfs/nfs_vfsops.c               |  6 +++---
 sys/vfs/ntfs/ntfs_subr.c               |  2 +-
 sys/vfs/smbfs/smbfs_io.c               |  4 ++--
 sys/vfs/ufs/ffs_softdep.c              |  2 +-
 sys/vfs/ufs/ufs_dirhash.c              |  2 +-
 sys/vfs/ufs/ufs_lookup.c               |  6 +++---
 sys/vm/vm_contig.c                     |  3 +--
 sys/vm/vm_page.c                       |  4 ++--
 usr.bin/colrm/colrm.c                  |  4 ++--
 usr.bin/tail/misc.c                    |  5 ++---
 45 files changed, 76 insertions(+), 81 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3f7b72606e8fadb0b2e9e32302c89298c107534b


-- 
DragonFly BSD source repository



More information about the Commits mailing list