Home
last modified time | relevance | path

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

/fs/btrfs/
Ddir-item.c183 int mod) in btrfs_lookup_dir_item() argument
187 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_dir_item()
188 int cow = mod != 0; in btrfs_lookup_dir_item()
276 int mod) in btrfs_lookup_dir_index_item() argument
280 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_dir_index_item()
281 int cow = mod != 0; in btrfs_lookup_dir_index_item()
347 int mod) in btrfs_lookup_xattr() argument
351 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_xattr()
352 int cow = mod != 0; in btrfs_lookup_xattr()
Dbtrfs_inode.h261 int mod) in btrfs_mod_outstanding_extents() argument
264 inode->outstanding_extents += mod; in btrfs_mod_outstanding_extents()
268 mod); in btrfs_mod_outstanding_extents()
Ddelayed-ref.c441 int mod; in merge_ref() local
451 mod = next->ref_mod; in merge_ref()
457 mod = -next->ref_mod; in merge_ref()
461 ref->ref_mod += mod; in merge_ref()
601 int mod; in insert_delayed_ref() local
612 mod = ref->ref_mod; in insert_delayed_ref()
617 mod = -exist->ref_mod; in insert_delayed_ref()
629 mod = -ref->ref_mod; in insert_delayed_ref()
631 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.c170 int mod) in btrfs_queue_delayed_node() argument
176 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()
1014 int mod; in __btrfs_update_delayed_inode() local
1022 mod = -1; in __btrfs_update_delayed_inode()
1024 mod = 1; in __btrfs_update_delayed_inode()
1026 ret = btrfs_lookup_inode(trans, root, path, &key, mod); in __btrfs_update_delayed_inode()
Dfile-item.c137 u64 offset, int mod) in btrfs_lookup_file_extent() argument
141 int ins_len = mod < 0 ? -1 : 0; in btrfs_lookup_file_extent()
142 int cow = mod != 0; in btrfs_lookup_file_extent()
Dctree.h2718 int mod);
2724 int mod);
2742 int mod);
2769 struct btrfs_key *location, int mod);
2802 u64 bytenr, int mod);
Dqgroup.c115 int mod) in btrfs_qgroup_update_old_refcnt() argument
119 qg->old_refcnt += mod; in btrfs_qgroup_update_old_refcnt()
123 int mod) in btrfs_qgroup_update_new_refcnt() argument
127 qg->new_refcnt += mod; in btrfs_qgroup_update_new_refcnt()
Dioctl.c1612 int mod = 0; in btrfs_ioctl_resize() local
1670 mod = -1; in btrfs_ioctl_resize()
1673 mod = 1; in btrfs_ioctl_resize()
1690 if (mod < 0) { in btrfs_ioctl_resize()
1696 } else if (mod > 0) { in btrfs_ioctl_resize()
/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.c3490 div_u64_rem(ap->offset, args.prod, &args.mod); in xfs_bmap_btalloc()
3491 if (args.mod) in xfs_bmap_btalloc()
3492 args.mod = args.prod - args.mod; in xfs_bmap_btalloc()
3495 args.mod = 0; in xfs_bmap_btalloc()
3498 div_u64_rem(ap->offset, args.prod, &args.mod); in xfs_bmap_btalloc()
3499 if (args.mod) in xfs_bmap_btalloc()
3500 args.mod = args.prod - args.mod; in xfs_bmap_btalloc()
4990 xfs_extlen_t mod; in xfs_bmap_del_extent_real() local
4993 &mod); in xfs_bmap_del_extent_real()
4994 ASSERT(mod == 0); in xfs_bmap_del_extent_real()
[all …]
Dxfs_alloc.c378 ASSERT(args->mod < args->prod); in xfs_alloc_fix_len()
382 if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || in xfs_alloc_fix_len()
383 (args->mod == 0 && rlen < args->prod)) in xfs_alloc_fix_len()
386 if (k == args->mod) in xfs_alloc_fix_len()
388 if (k > args->mod) in xfs_alloc_fix_len()
389 rlen = rlen - (k - args->mod); in xfs_alloc_fix_len()
391 rlen = rlen - args->prod + (args->mod - k); in xfs_alloc_fix_len()
396 ASSERT(rlen % args->prod == args->mod); in xfs_alloc_fix_len()
816 ASSERT(args->mod < args->prod); in xfs_alloc_ag_vextent()
2807 ASSERT(args->mod < args->prod); in xfs_alloc_vextent()
[all …]
Dxfs_alloc.h63 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/
Dcoredump.c862 unsigned mod = cprm->pos & (align - 1); in dump_align() local
865 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()
/fs/hugetlbfs/
Dinode.c930 char mod; in hugetlbfs_show_options() local
944 mod = 'K'; in hugetlbfs_show_options()
947 mod = 'M'; in hugetlbfs_show_options()
949 seq_printf(m, ",pagesize=%lu%c", hpage_size, mod); in hugetlbfs_show_options()
/fs/xfs/
Dxfs_bmap_util.c78 xfs_extlen_t mod = 0; /* product factor for allocators */ in xfs_bmap_rtalloc() local
98 div_u64_rem(ap->offset, align, &mod); in xfs_bmap_rtalloc()
99 if (mod || ap->length % align) in xfs_bmap_rtalloc()
Dxfs_trace.h1575 __field(xfs_extlen_t, mod)
1596 __entry->mod = args->mod;
1620 __entry->mod,
Dxfs_log_recover.c1173 int mod; in xlog_wrap_logbno() local
1175 div_s64_rem(bno, log->l_logBBsize, &mod); in xlog_wrap_logbno()
1176 return mod; in xlog_wrap_logbno()