Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_linux.h178 __u32 mod; in xfs_do_div() local
182 mod = *(__u32 *)a % b; in xfs_do_div()
184 return mod; in xfs_do_div()
234 __u32 mod; in xfs_do_div() local
238 mod = *(__u32 *)a % b; in xfs_do_div()
240 return mod; in xfs_do_div()
242 mod = do_div(*(__u64 *)a, b); in xfs_do_div()
243 return mod; in xfs_do_div()
Dxfs_vnodeops.c1452 xfs_extlen_t mod=0; in xfs_free_file_space() local
1511 mod = do_div(block, mp->m_sb.sb_rextsize); in xfs_free_file_space()
1512 if (mod) in xfs_free_file_space()
1513 startoffset_fsb += mp->m_sb.sb_rextsize - mod; in xfs_free_file_space()
1523 mod++; in xfs_free_file_space()
1524 if (mod && (mod != mp->m_sb.sb_rextsize)) in xfs_free_file_space()
1525 endoffset_fsb -= mod; in xfs_free_file_space()
Dxfs_bmap.c4102 if ((args.mod = (xfs_extlen_t)do_mod(ap->offset, args.prod))) in xfs_bmap_btalloc()
4103 args.mod = (xfs_extlen_t)(args.prod - args.mod); in xfs_bmap_btalloc()
4106 args.mod = 0; in xfs_bmap_btalloc()
4109 if ((args.mod = (xfs_extlen_t)(do_mod(ap->offset, args.prod)))) in xfs_bmap_btalloc()
4110 args.mod = (xfs_extlen_t)(args.prod - args.mod); in xfs_bmap_btalloc()
5476 xfs_extlen_t mod; /* rt extent offset */ in xfs_bunmapi() local
5585 (mod = do_mod(sum, mp->m_sb.sb_rextsize))) { in xfs_bunmapi()
5599 ASSERT(bno >= mod); in xfs_bunmapi()
5600 bno -= mod > del.br_blockcount ? in xfs_bunmapi()
5601 del.br_blockcount : mod; in xfs_bunmapi()
[all …]
Dxfs_alloc.c242 ASSERT(args->mod < args->prod); in xfs_alloc_fix_len()
246 if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || in xfs_alloc_fix_len()
247 (args->mod == 0 && rlen < args->prod)) in xfs_alloc_fix_len()
250 if (k == args->mod) in xfs_alloc_fix_len()
252 if (k > args->mod) { in xfs_alloc_fix_len()
253 if ((int)(rlen = rlen - k - args->mod) < (int)args->minlen) in xfs_alloc_fix_len()
256 if ((int)(rlen = rlen - args->prod - (args->mod - k)) < in xfs_alloc_fix_len()
588 ASSERT(args->mod < args->prod); in xfs_alloc_ag_vextent()
2395 ASSERT(args->mod < args->prod); in xfs_alloc_vextent()
2399 args->mod >= args->prod) { in xfs_alloc_vextent()
Dxfs_alloc.h109 xfs_extlen_t mod; /* mod value for extent size */ member
Dxfs_trace.h1377 __field(xfs_extlen_t, mod)
1398 __entry->mod = args->mod;
1422 __entry->mod,
/fs/btrfs/
Ddir-item.c199 int mod) in btrfs_lookup_dir_item() argument
203 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_dir_item()
204 int cow = mod != 0; in btrfs_lookup_dir_item()
292 int mod) in btrfs_lookup_dir_index_item() argument
296 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_dir_index_item()
297 int cow = mod != 0; in btrfs_lookup_dir_index_item()
362 int mod) in btrfs_lookup_xattr() argument
366 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_xattr()
367 int cow = mod != 0; in btrfs_lookup_xattr()
Dinode-item.c151 u64 inode_objectid, u64 ref_objectid, int mod, in btrfs_get_inode_ref_index() argument
156 int ins_len = mod < 0 ? -1 : 0; in btrfs_get_inode_ref_index()
157 int cow = mod != 0; in btrfs_get_inode_ref_index()
478 struct btrfs_key *location, int mod) in btrfs_lookup_inode() argument
480 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_inode()
481 int cow = mod != 0; in btrfs_lookup_inode()
Ddelayed-ref.c262 int mod = 0; in merge_ref() local
279 mod = next->ref_mod; in merge_ref()
289 mod = -next->ref_mod; in merge_ref()
294 ref->ref_mod += mod; in merge_ref()
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()
Ddelayed-inode.c171 int mod) in btrfs_queue_delayed_node() argument
177 else if (mod) in btrfs_queue_delayed_node()
252 int mod) in __btrfs_release_delayed_node() argument
263 btrfs_queue_delayed_node(delayed_root, delayed_node, mod); in __btrfs_release_delayed_node()
Dctree.h3381 int mod);
3387 int mod);
3405 int mod);
3430 u64 inode_objectid, u64 ref_objectid, int mod,
3437 struct btrfs_key *location, int mod);
3468 u64 bytenr, int mod);
Dioctl.c1363 int mod = 0; in btrfs_ioctl_resize() local
1424 mod = -1; in btrfs_ioctl_resize()
1427 mod = 1; in btrfs_ioctl_resize()
1444 if (mod < 0) { in btrfs_ioctl_resize()
1450 } else if (mod > 0) { in btrfs_ioctl_resize()
/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()