Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 16 of 16) sorted by relevance

/fs/xfs/
Dxfs_linux.h239 __u32 mod; in xfs_do_div() local
243 mod = *(__u32 *)a % b; in xfs_do_div()
245 return mod; in xfs_do_div()
295 __u32 mod; in xfs_do_div() local
299 mod = *(__u32 *)a % b; in xfs_do_div()
301 return mod; in xfs_do_div()
303 mod = do_div(*(__u64 *)a, b); in xfs_do_div()
304 return mod; in xfs_do_div()
Dxfs_bmap_util.c1183 xfs_extlen_t mod=0; in xfs_free_file_space() local
1237 mod = do_div(block, mp->m_sb.sb_rextsize); in xfs_free_file_space()
1238 if (mod) in xfs_free_file_space()
1239 startoffset_fsb += mp->m_sb.sb_rextsize - mod; in xfs_free_file_space()
1249 mod++; in xfs_free_file_space()
1250 if (mod && (mod != mp->m_sb.sb_rextsize)) in xfs_free_file_space()
1251 endoffset_fsb -= mod; in xfs_free_file_space()
Dxfs_trace.h1529 __field(xfs_extlen_t, mod)
1550 __entry->mod = args->mod;
1574 __entry->mod,
/fs/btrfs/
Ddir-item.c195 int mod) in btrfs_lookup_dir_item() argument
199 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_dir_item()
200 int cow = mod != 0; in btrfs_lookup_dir_item()
288 int mod) in btrfs_lookup_dir_index_item() argument
292 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_dir_index_item()
293 int cow = mod != 0; in btrfs_lookup_dir_index_item()
358 int mod) in btrfs_lookup_xattr() argument
362 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_xattr()
363 int cow = mod != 0; in btrfs_lookup_xattr()
Dinode-item.c413 struct btrfs_key *location, int mod) in btrfs_lookup_inode() argument
415 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_inode()
416 int cow = mod != 0; in btrfs_lookup_inode()
Ddelayed-ref.c286 int mod = 0; in merge_ref() local
301 mod = next->ref_mod; in merge_ref()
311 mod = -next->ref_mod; in merge_ref()
315 ref->ref_mod += mod; in merge_ref()
Ddelayed-inode.c171 int mod) in btrfs_queue_delayed_node() argument
177 else if (mod) in btrfs_queue_delayed_node()
253 int mod) in __btrfs_release_delayed_node() argument
264 btrfs_queue_delayed_node(delayed_root, delayed_node, mod); in __btrfs_release_delayed_node()
1041 int mod; in __btrfs_update_delayed_inode() local
1049 mod = -1; in __btrfs_update_delayed_inode()
1051 mod = 1; in __btrfs_update_delayed_inode()
1053 ret = btrfs_lookup_inode(trans, root, path, &key, mod); in __btrfs_update_delayed_inode()
Dfile-item.c142 u64 offset, int mod) in btrfs_lookup_file_extent() argument
146 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_file_extent()
147 int cow = mod != 0; in btrfs_lookup_file_extent()
Dctree.h3662 int mod);
3668 int mod);
3686 int mod);
3716 struct btrfs_key *location, int mod);
3748 u64 bytenr, int mod);
Dioctl.c1492 int mod = 0; in btrfs_ioctl_resize() local
1552 mod = -1; in btrfs_ioctl_resize()
1555 mod = 1; in btrfs_ioctl_resize()
1572 if (mod < 0) { in btrfs_ioctl_resize()
1578 } else if (mod > 0) { in btrfs_ioctl_resize()
/fs/hfsplus/
Dbtree.c77 u32 mod = max(node_size, block_size); in hfsplus_calc_btree_clump_size() local
118 clump_size /= mod; in hfsplus_calc_btree_clump_size()
119 clump_size *= mod; in hfsplus_calc_btree_clump_size()
126 clump_size = mod; in hfsplus_calc_btree_clump_size()
/fs/xfs/libxfs/
Dxfs_bmap.c3760 if ((args.mod = (xfs_extlen_t)do_mod(ap->offset, args.prod))) in xfs_bmap_btalloc()
3761 args.mod = (xfs_extlen_t)(args.prod - args.mod); in xfs_bmap_btalloc()
3764 args.mod = 0; in xfs_bmap_btalloc()
3767 if ((args.mod = (xfs_extlen_t)(do_mod(ap->offset, args.prod)))) in xfs_bmap_btalloc()
3768 args.mod = (xfs_extlen_t)(args.prod - args.mod); in xfs_bmap_btalloc()
5060 xfs_extlen_t mod; /* rt extent offset */ in xfs_bunmapi() local
5170 (mod = do_mod(sum, mp->m_sb.sb_rextsize))) { in xfs_bunmapi()
5184 ASSERT(bno >= mod); in xfs_bunmapi()
5185 bno -= mod > del.br_blockcount ? in xfs_bunmapi()
5186 del.br_blockcount : mod; in xfs_bunmapi()
[all …]
Dxfs_alloc.c250 ASSERT(args->mod < args->prod); in xfs_alloc_fix_len()
254 if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || in xfs_alloc_fix_len()
255 (args->mod == 0 && rlen < args->prod)) in xfs_alloc_fix_len()
258 if (k == args->mod) in xfs_alloc_fix_len()
260 if (k > args->mod) in xfs_alloc_fix_len()
261 rlen = rlen - (k - args->mod); in xfs_alloc_fix_len()
263 rlen = rlen - args->prod + (args->mod - k); in xfs_alloc_fix_len()
267 ASSERT(rlen % args->prod == args->mod); in xfs_alloc_fix_len()
590 ASSERT(args->mod < args->prod); in xfs_alloc_ag_vextent()
2406 ASSERT(args->mod < args->prod); in xfs_alloc_vextent()
[all …]
Dxfs_alloc.h109 xfs_extlen_t mod; /* mod value for extent size */ member
/fs/
Dcoredump.c797 unsigned mod = cprm->written & (align - 1); in dump_align() local
800 return mod ? dump_skip(cprm, align - mod) : 1; in dump_align()
/fs/omfs/
Ddir.c12 static int omfs_hash(const char *name, int namelen, int mod) in omfs_hash() argument
17 return hash % mod; in omfs_hash()