Searched refs:mod (Results 1 – 13 of 13) sorted by relevance
/fs/xfs/linux-2.6/ |
D | xfs_linux.h | 186 __u32 mod; in xfs_do_div() local 190 mod = *(__u32 *)a % b; in xfs_do_div() 192 return mod; in xfs_do_div() 242 __u32 mod; in xfs_do_div() local 246 mod = *(__u32 *)a % b; in xfs_do_div() 248 return mod; in xfs_do_div() 250 mod = do_div(*(__u64 *)a, b); in xfs_do_div() 251 return mod; in xfs_do_div()
|
/fs/btrfs/ |
D | dir-item.c | 215 int mod) in btrfs_lookup_dir_item() argument 219 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_dir_item() 220 int cow = mod != 0; in btrfs_lookup_dir_item() 262 int mod) in btrfs_lookup_dir_index_item() argument 266 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_dir_index_item() 267 int cow = mod != 0; in btrfs_lookup_dir_index_item() 285 int mod) in btrfs_lookup_xattr() argument 289 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_xattr() 290 int cow = mod != 0; in btrfs_lookup_xattr()
|
D | xattr.c | 95 int ret = 0, mod = 0; in __btrfs_setxattr() local 127 mod = 1; in __btrfs_setxattr() 145 mod = 1; in __btrfs_setxattr() 148 if (mod) { in __btrfs_setxattr()
|
D | inode-item.c | 184 struct btrfs_key *location, int mod) in btrfs_lookup_inode() argument 186 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_inode() 187 int cow = mod != 0; in btrfs_lookup_inode()
|
D | ioctl.c | 456 int mod = 0; in btrfs_ioctl_resize() local 498 mod = -1; in btrfs_ioctl_resize() 501 mod = 1; in btrfs_ioctl_resize() 513 if (mod < 0) { in btrfs_ioctl_resize() 519 } else if (mod > 0) { in btrfs_ioctl_resize()
|
D | file-item.c | 135 u64 offset, int mod) in btrfs_lookup_file_extent() argument 139 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_file_extent() 140 int cow = mod != 0; in btrfs_lookup_file_extent()
|
D | ctree.h | 1944 int mod); 1950 int mod); 1966 int mod); 1994 struct btrfs_key *location, int mod); 2010 u64 bytenr, int mod);
|
/fs/xfs/ |
D | xfs_alloc.c | 280 ASSERT(args->mod < args->prod); in xfs_alloc_fix_len() 284 if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || in xfs_alloc_fix_len() 285 (args->mod == 0 && rlen < args->prod)) in xfs_alloc_fix_len() 288 if (k == args->mod) in xfs_alloc_fix_len() 290 if (k > args->mod) { in xfs_alloc_fix_len() 291 if ((int)(rlen = rlen - k - args->mod) < (int)args->minlen) in xfs_alloc_fix_len() 294 if ((int)(rlen = rlen - args->prod - (args->mod - k)) < in xfs_alloc_fix_len() 521 (void *)(__psunsigned_t)args->mod, in xfs_alloc_trace_alloc() 640 ASSERT(args->mod < args->prod); in xfs_alloc_ag_vextent() 2006 targs.mod = targs.minleft = targs.wasdel = targs.userdata = in xfs_alloc_fix_freelist() [all …]
|
D | xfs_bmap.c | 2884 if ((args.mod = (xfs_extlen_t)do_mod(ap->off, args.prod))) in xfs_bmap_btalloc() 2885 args.mod = (xfs_extlen_t)(args.prod - args.mod); in xfs_bmap_btalloc() 2888 args.mod = 0; in xfs_bmap_btalloc() 2891 if ((args.mod = (xfs_extlen_t)(do_mod(ap->off, args.prod)))) in xfs_bmap_btalloc() 2892 args.mod = (xfs_extlen_t)(args.prod - args.mod); in xfs_bmap_btalloc() 3514 args.total = args.minleft = args.alignment = args.mod = args.isfl = in xfs_bmap_extents_to_btree() 3654 args.mod = args.minleft = args.alignment = args.wasdel = in xfs_bmap_local_to_extents() 5453 xfs_extlen_t mod; /* rt extent offset */ in xfs_bunmapi() local 5557 (mod = do_mod(sum, mp->m_sb.sb_rextsize))) { in xfs_bunmapi() 5571 ASSERT(bno >= mod); in xfs_bunmapi() [all …]
|
D | xfs_alloc.h | 81 xfs_extlen_t mod; /* mod value for extent size */ member
|
D | xfs_vnodeops.c | 3037 xfs_extlen_t mod=0; in xfs_free_file_space() local 3109 mod = do_div(block, mp->m_sb.sb_rextsize); in xfs_free_file_space() 3110 if (mod) in xfs_free_file_space() 3111 startoffset_fsb += mp->m_sb.sb_rextsize - mod; in xfs_free_file_space() 3121 mod++; in xfs_free_file_space() 3122 if (mod && (mod != mp->m_sb.sb_rextsize)) in xfs_free_file_space() 3123 endoffset_fsb -= mod; in xfs_free_file_space()
|
D | xfs_ialloc.c | 212 args.mod = args.total = args.wasdel = args.isfl = in xfs_ialloc_ag_alloc() 267 args.mod = args.total = args.wasdel = args.isfl = in xfs_ialloc_ag_alloc()
|
/fs/omfs/ |
D | dir.c | 12 static int omfs_hash(const char *name, int namelen, int mod) in omfs_hash() argument 17 return hash % mod; in omfs_hash()
|