Home
last modified time | relevance | path

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

/fs/btrfs/
Ddir-item.c178 int name_len, int mod) in btrfs_lookup_match_dir() argument
180 const int ins_len = (mod < 0 ? -1 : 0); in btrfs_lookup_match_dir()
181 const int cow = (mod != 0); in btrfs_lookup_match_dir()
213 int mod) in btrfs_lookup_dir_item() argument
222 di = btrfs_lookup_match_dir(trans, root, path, &key, name, name_len, mod); in btrfs_lookup_dir_item()
310 int mod) in btrfs_lookup_dir_index_item() argument
319 di = btrfs_lookup_match_dir(trans, root, path, &key, name, name_len, mod); in btrfs_lookup_dir_index_item()
378 int mod) in btrfs_lookup_xattr() argument
387 di = btrfs_lookup_match_dir(trans, root, path, &key, name, name_len, mod); in btrfs_lookup_xattr()
Dspace-info.h157 s64 mod) in __btrfs_mod_total_bytes_pinned() argument
159 percpu_counter_add_batch(&space_info->total_bytes_pinned, mod, in __btrfs_mod_total_bytes_pinned()
164 u64 flags, s64 mod) in btrfs_mod_total_bytes_pinned() argument
169 __btrfs_mod_total_bytes_pinned(space_info, mod); in btrfs_mod_total_bytes_pinned()
Dbtrfs_inode.h301 int mod) in btrfs_mod_outstanding_extents() argument
304 inode->outstanding_extents += mod; in btrfs_mod_outstanding_extents()
308 mod); in btrfs_mod_outstanding_extents()
Ddelayed-ref.c440 int mod; in merge_ref() local
450 mod = next->ref_mod; in merge_ref()
456 mod = -next->ref_mod; in merge_ref()
460 ref->ref_mod += mod; in merge_ref()
600 int mod; in insert_delayed_ref() local
611 mod = ref->ref_mod; in insert_delayed_ref()
616 mod = -exist->ref_mod; in insert_delayed_ref()
628 mod = -ref->ref_mod; in insert_delayed_ref()
630 exist->ref_mod += mod; in insert_delayed_ref()
Dinode-item.c405 struct btrfs_key *location, int mod) in btrfs_lookup_inode() argument
407 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_inode()
408 int cow = mod != 0; in btrfs_lookup_inode()
Ddelayed-inode.c172 int mod) in btrfs_queue_delayed_node() argument
178 else if (mod) in btrfs_queue_delayed_node()
254 int mod) in __btrfs_release_delayed_node() argument
265 btrfs_queue_delayed_node(delayed_root, delayed_node, mod); in __btrfs_release_delayed_node()
1020 int mod; in __btrfs_update_delayed_inode() local
1028 mod = -1; in __btrfs_update_delayed_inode()
1030 mod = 1; in __btrfs_update_delayed_inode()
1033 ret = btrfs_lookup_inode(trans, root, path, &key, mod); in __btrfs_update_delayed_inode()
Dfile-item.c228 u64 offset, int mod) in btrfs_lookup_file_extent() argument
232 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_file_extent()
233 int cow = mod != 0; in btrfs_lookup_file_extent()
Dctree.h2877 int mod);
2883 int mod);
2901 int mod);
2928 struct btrfs_key *location, int mod);
2959 u64 bytenr, int mod);
Dioctl.c1697 int mod = 0; in btrfs_ioctl_resize() local
1755 mod = -1; in btrfs_ioctl_resize()
1758 mod = 1; in btrfs_ioctl_resize()
1775 if (mod < 0) { in btrfs_ioctl_resize()
1781 } else if (mod > 0) { in btrfs_ioctl_resize()
Dqgroup.c116 int mod) in btrfs_qgroup_update_old_refcnt() argument
120 qg->old_refcnt += mod; in btrfs_qgroup_update_old_refcnt()
124 int mod) in btrfs_qgroup_update_new_refcnt() argument
128 qg->new_refcnt += mod; in btrfs_qgroup_update_new_refcnt()
/fs/hfsplus/
Dbtree.c78 u32 mod = max(node_size, block_size); in hfsplus_calc_btree_clump_size() local
119 clump_size /= mod; in hfsplus_calc_btree_clump_size()
120 clump_size *= mod; in hfsplus_calc_btree_clump_size()
127 clump_size = mod; in hfsplus_calc_btree_clump_size()
/fs/xfs/libxfs/
Dxfs_bmap.c3577 div_u64_rem(ap->offset, args.prod, &args.mod); in xfs_bmap_btalloc()
3578 if (args.mod) in xfs_bmap_btalloc()
3579 args.mod = args.prod - args.mod; in xfs_bmap_btalloc()
3582 args.mod = 0; in xfs_bmap_btalloc()
3585 div_u64_rem(ap->offset, args.prod, &args.mod); in xfs_bmap_btalloc()
3586 if (args.mod) in xfs_bmap_btalloc()
3587 args.mod = args.prod - args.mod; in xfs_bmap_btalloc()
5050 xfs_extlen_t mod; in xfs_bmap_del_extent_real() local
5053 &mod); in xfs_bmap_del_extent_real()
5054 ASSERT(mod == 0); in xfs_bmap_del_extent_real()
[all …]
Dxfs_alloc.c396 ASSERT(args->mod < args->prod); in xfs_alloc_fix_len()
400 if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || in xfs_alloc_fix_len()
401 (args->mod == 0 && rlen < args->prod)) in xfs_alloc_fix_len()
404 if (k == args->mod) in xfs_alloc_fix_len()
406 if (k > args->mod) in xfs_alloc_fix_len()
407 rlen = rlen - (k - args->mod); in xfs_alloc_fix_len()
409 rlen = rlen - args->prod + (args->mod - k); in xfs_alloc_fix_len()
414 ASSERT(rlen % args->prod == args->mod); in xfs_alloc_fix_len()
1138 ASSERT(args->mod < args->prod); in xfs_alloc_ag_vextent()
3070 ASSERT(args->mod < args->prod); in xfs_alloc_vextent()
[all …]
Dxfs_alloc.h62 xfs_extlen_t mod; /* mod value for extent size */ member
Dxfs_ialloc.c421 xfs_agblock_t mod; in xfs_align_sparse_ino() local
425 mod = agbno % mp->m_sb.sb_inoalignmt; in xfs_align_sparse_ino()
426 if (!mod) in xfs_align_sparse_ino()
430 offset = XFS_AGB_TO_AGINO(mp, mod); in xfs_align_sparse_ino()
/fs/orangefs/
DMakefile9 dcache.o inode.o orangefs-sysfs.o orangefs-mod.o super.o \
/fs/xfs/
Dxfs_file.c51 u32 mod; in xfs_is_falloc_aligned() local
54 div_u64_rem(pos, rextbytes, &mod); in xfs_is_falloc_aligned()
55 if (mod) in xfs_is_falloc_aligned()
57 div_u64_rem(len, rextbytes, &mod); in xfs_is_falloc_aligned()
58 return mod == 0; in xfs_is_falloc_aligned()
Dxfs_bmap_util.c79 xfs_extlen_t mod = 0; /* product factor for allocators */ in xfs_bmap_rtalloc() local
99 div_u64_rem(ap->offset, align, &mod); in xfs_bmap_rtalloc()
100 if (mod || ap->length % align) in xfs_bmap_rtalloc()
Dxfs_log_recover.c1127 int mod; in xlog_wrap_logbno() local
1129 div_s64_rem(bno, log->l_logBBsize, &mod); in xlog_wrap_logbno()
1130 return mod; in xlog_wrap_logbno()
Dxfs_trace.h1656 __field(xfs_extlen_t, mod)
1677 __entry->mod = args->mod;
1701 __entry->mod,
/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()
/fs/
Dcoredump.c917 unsigned mod = cprm->pos & (align - 1); in dump_align() local
920 return mod ? dump_skip(cprm, align - mod) : 1; in dump_align()
/fs/hugetlbfs/
Dinode.c1027 char mod; in hugetlbfs_show_options() local
1041 mod = 'K'; in hugetlbfs_show_options()
1044 mod = 'M'; in hugetlbfs_show_options()
1046 seq_printf(m, ",pagesize=%lu%c", hpage_size, mod); in hugetlbfs_show_options()