Home
last modified time | relevance | path

Searched refs:ROUND_UP (Results 1 – 25 of 25) sorted by relevance

/linux-2.4.37.9/arch/sh64/kernel/
Dpci_sh5.c465 #define ROUND_UP(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
521 inner.io_end = ROUND_UP(inner.io_end, 4*1024) - 1; in pcibios_size_bridge()
522 inner.mem_end = ROUND_UP(inner.mem_end, 1*1024*1024) - 1; in pcibios_size_bridge()
535 outer->io_end = ROUND_UP(outer->io_end, 4*1024); in pcibios_size_bridge()
538 outer->mem_end = ROUND_UP(outer->mem_end, 1*1024*1024); in pcibios_size_bridge()
543 #undef ROUND_UP
/linux-2.4.37.9/arch/parisc/hpux/
Dfs.c53 #define ROUND_UP(x) (((x)+sizeof(long)-1) & ~(sizeof(long)-1)) macro
60 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); in filldir()
82 #undef ROUND_UP
/linux-2.4.37.9/drivers/pci/
Dsetup-bus.c36 #define ROUND_UP(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
250 size = ROUND_UP(size + size1, 4096); in pbus_size_io()
321 else if (ROUND_UP(align + min_align, min_align) < align1) in pbus_size_mem()
325 size = ROUND_UP(size, min_align); in pbus_size_mem()
/linux-2.4.37.9/fs/reiserfs/
Ddir.c238 put_deh_location( &(deh[0]), EMPTY_DIR_SIZE - ROUND_UP( strlen( "." ) ) ); in make_empty_dir_item()
248 put_deh_location( &(deh[1]), deh_location( &(deh[0])) - ROUND_UP( strlen( ".." ) ) ); in make_empty_dir_item()
Dtail_conversion.c219 round_tail_len = ROUND_UP (tail_len); in indirect2direct()
Dnamei.c374 buflen = DEH_SIZE + ROUND_UP (namelen); in reiserfs_add_entry()
396 padd_item ((char *)(deh + 1), ROUND_UP (namelen), namelen); in reiserfs_add_entry()
879 item_len = ROUND_UP (strlen (symname)); in reiserfs_symlink()
Dstree.c930 round_len = ROUND_UP (new_file_length); in prepare_for_direct_item()
1776 } while ( n_file_size > ROUND_UP (n_new_file_size) && in reiserfs_do_truncate()
1779 RFALSE( n_file_size > ROUND_UP (n_new_file_size), in reiserfs_do_truncate()
Dinode.c1687 i_size = ROUND_UP(i_size); in reiserfs_new_inode()
/linux-2.4.37.9/fs/
Dreaddir.c171 #define ROUND_UP(x) (((x)+sizeof(long)-1) & ~(sizeof(long)-1)) macro
253 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); in filldir()
Dselect.c25 #define ROUND_UP(x,y) (((x)+(y)-1)/(y)) macro
280 timeout = ROUND_UP(usec, 1000000/HZ); in sys_select()
/linux-2.4.37.9/fs/smbfs/
Dsock.c774 #define ROUND_UP(x) (((x)+3) & ~3) macro
790 ROUND_UP(SMB_HEADER_LEN + 2 * smb_parameters + 2 + 3); in smb_send_trans2()
792 ROUND_UP(oparam + lparam); in smb_send_trans2()
/linux-2.4.37.9/drivers/char/
Dppdev.c96 #define ROUND_UP(x,y) (((x)+(y)-1)/(y)) macro
614 to_jiffies = ROUND_UP(par_timeout.tv_usec, 1000000/HZ); in pp_ioctl()
Dlp.c142 #define ROUND_UP(x,y) (((x)+(y)-1)/(y)) macro
653 to_jiffies = ROUND_UP(par_timeout.tv_usec, 1000000/HZ); in lp_ioctl()
/linux-2.4.37.9/arch/sparc/kernel/
Dsys_sunos.c322 #define ROUND_UP(x) (((x)+sizeof(long)-1) & ~(sizeof(long)-1)) macro
329 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); in sunos_filldir()
410 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); in sunos_filldirentry()
/linux-2.4.37.9/drivers/atm/
Dfirestream.c440 #define ROUND_UP 1 macro
472 if (r == ROUND_UP) { in make_rate()
512 case ROUND_UP: { in make_rate()
1007 r = ROUND_UP; in fs_open()
/linux-2.4.37.9/arch/alpha/kernel/
Dosf_sys.c92 #define ROUND_UP(x) (((x)+3) & ~3) macro
113 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); in osf_filldir()
165 #undef ROUND_UP
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sunos32.c277 #define ROUND_UP(x) (((x)+sizeof(s32)-1) & ~(sizeof(s32)-1)) macro
284 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); in sunos_filldir()
366 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); in sunos_filldirentry()
Dsys_sparc32.c1254 #define ROUND_UP(x) (((x)+sizeof(u32)-1) & ~(sizeof(u32)-1)) macro
1329 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); in filldir()
/linux-2.4.37.9/arch/sh/kernel/
Dpci-sd0001.c97 #define ROUND_UP(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
/linux-2.4.37.9/include/linux/
Dreiserfs_fs.h67 #define ROUND_UP(x) _ROUND_UP(x,8LL) macro
1016 (DEH_SIZE * 2 + ROUND_UP (strlen (".")) + ROUND_UP (strlen ("..")))
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc32.c981 #define ROUND_UP(x,a) ((__typeof__(x))(((unsigned long)(x) + ((a) - 1)) & ~((a) - 1))) macro
989 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1, 4); in filldir32()
/linux-2.4.37.9/arch/x86_64/ia32/
Dsys_ia32.c74 #define ROUND_UP(x,a) ((__typeof__(x))(((unsigned long)(x) + ((a) - 1)) & ~((a) - 1))) macro
774 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1, 4); in filldir32()
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c71 #define ROUND_UP(x,a) ((__typeof__(x))(((unsigned long)(x) + ((a) - 1)) & ~((a) - 1))) macro
942 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1, 4); in filldir32()
/linux-2.4.37.9/arch/ppc64/kernel/
Dsys_ppc32.c560 #define ROUND_UP(x) (((x)+sizeof(u32)-1) & ~(sizeof(u32)-1)) macro
646 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); in filldir()
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c1227 #define ROUND_UP(x) (((x)+sizeof(u32)-1) & ~(sizeof(u32)-1)) macro
1302 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); in filldir()