Home
last modified time | relevance | path

Searched refs:split (Results 1 – 15 of 15) sorted by relevance

/fs/jfs/
Djfs_xtree.c96 uint split; member
109 struct xtsplit * split, struct btstack * btstack);
111 static int xtSplitPage(tid_t tid, struct inode *ip, struct xtsplit * split,
115 struct xtsplit * split, struct metapage ** rmpp);
535 struct xtsplit split; /* split information */ in xtInsert() local
597 split.mp = mp; in xtInsert()
598 split.index = index; in xtInsert()
599 split.flag = xflag; in xtInsert()
600 split.off = xoff; in xtInsert()
601 split.len = xlen; in xtInsert()
[all …]
Djfs_dtree.c140 struct dtsplit * split, struct btstack * btstack);
142 static int dtSplitPage(tid_t tid, struct inode *ip, struct dtsplit * split,
146 struct dtsplit * split, struct btstack * btstack);
149 struct dtsplit * split, struct metapage ** rmpp);
817 struct dtsplit split; /* split information */ in dtInsert() local
858 split.mp = mp; in dtInsert()
859 split.index = index; in dtInsert()
860 split.nslot = n; in dtInsert()
861 split.key = name; in dtInsert()
862 split.data = &data; in dtInsert()
[all …]
/fs/btrfs/
Dfile.c591 struct extent_map *split = NULL; in btrfs_drop_extent_cache() local
611 if (!split) in btrfs_drop_extent_cache()
612 split = alloc_extent_map(); in btrfs_drop_extent_cache()
615 if (!split || !split2) in btrfs_drop_extent_cache()
647 split->start = em->start; in btrfs_drop_extent_cache()
648 split->len = start - em->start; in btrfs_drop_extent_cache()
651 split->orig_start = em->orig_start; in btrfs_drop_extent_cache()
652 split->block_start = em->block_start; in btrfs_drop_extent_cache()
655 split->block_len = em->block_len; in btrfs_drop_extent_cache()
657 split->block_len = split->len; in btrfs_drop_extent_cache()
[all …]
Dctree.c3504 struct extent_buffer *split; in split_node() local
3540 split = alloc_tree_block_no_bg_flush(trans, root, 0, &disk_key, level, in split_node()
3542 if (IS_ERR(split)) in split_node()
3543 return PTR_ERR(split); in split_node()
3548 ret = tree_mod_log_eb_copy(split, c, 0, mid, c_nritems - mid); in split_node()
3553 copy_extent_buffer(split, c, in split_node()
3557 btrfs_set_header_nritems(split, c_nritems - mid); in split_node()
3562 btrfs_mark_buffer_dirty(split); in split_node()
3564 insert_ptr(trans, path, &disk_key, split->start, in split_node()
3571 path->nodes[level] = split; in split_node()
[all …]
Dextent_io.c563 struct extent_state *prealloc, u64 split) in split_state() argument
568 btrfs_split_delalloc_extent(tree->private_data, orig, split); in split_state()
571 prealloc->end = split - 1; in split_state()
573 orig->start = split; in split_state()
Dinode.c1741 struct extent_state *orig, u64 split) in btrfs_split_delalloc_extent() argument
1758 new_size = orig->end - split + 1; in btrfs_split_delalloc_extent()
1760 new_size = split - orig->start; in btrfs_split_delalloc_extent()
Dctree.h2858 struct extent_state *orig, u64 split);
/fs/nfs/blocklayout/
Dextent_tree.c297 struct pnfs_block_extent *split; in ext_tree_insert() local
301 split = kmemdup(new, sizeof(*new), GFP_ATOMIC); in ext_tree_insert()
302 if (!split) { in ext_tree_insert()
307 split->be_length = be->be_f_offset - split->be_f_offset; in ext_tree_insert()
308 split->be_device = nfs4_get_deviceid(new->be_device); in ext_tree_insert()
309 __ext_tree_insert(root, split, true); in ext_tree_insert()
381 sector_t split) in ext_tree_split() argument
390 be->be_length = split - be->be_f_offset; in ext_tree_split()
392 new->be_f_offset = split; in ext_tree_split()
/fs/ceph/
Dsnap.c848 u64 split; in ceph_handle_snap() local
865 split = le64_to_cpu(h->split); /* non-zero if we are splitting an in ceph_handle_snap()
873 ceph_snap_op_name(op), split, trace_len); in ceph_handle_snap()
901 realm = ceph_lookup_snap_realm(mdsc, split); in ceph_handle_snap()
903 realm = ceph_create_snap_realm(mdsc, split); in ceph_handle_snap()
/fs/ext4/
Dextents.c96 ext4_lblk_t split,
3298 ext4_lblk_t split, in ext4_split_extent_at() argument
3314 "block %llu\n", inode->i_ino, (unsigned long long)split); in ext4_split_extent_at()
3322 newblock = split - ee_block + ext4_ext_pblock(ex); in ext4_split_extent_at()
3324 BUG_ON(split < ee_block || split >= (ee_block + ee_len)); in ext4_split_extent_at()
3334 if (split == ee_block) { in ext4_split_extent_at()
3354 ex->ee_len = cpu_to_le16(split - ee_block); in ext4_split_extent_at()
3367 ex2->ee_block = cpu_to_le32(split); in ext4_split_extent_at()
3368 ex2->ee_len = cpu_to_le16(ee_len - (split - ee_block)); in ext4_split_extent_at()
5801 int split = 0; in ext4_swap_extents() local
[all …]
Dnamei.c1821 unsigned split, move, size; in do_split() local
1865 split = count - move; in do_split()
1866 hash2 = map[split].hash; in do_split()
1867 continued = hash2 == map[split - 1].hash; in do_split()
1870 hash2, split, count-split)); in do_split()
1873 de2 = dx_move_dirents(data1, data2, map + split, count - split, in do_split()
/fs/xfs/
Dxfs_log.c1765 struct bio *split; in xlog_write_iclog() local
1767 split = bio_split(&iclog->ic_bio, log->l_logBBsize - bno, in xlog_write_iclog()
1769 bio_chain(split, &iclog->ic_bio); in xlog_write_iclog()
1770 submit_bio(split); in xlog_write_iclog()
1868 bool need_flush = true, split = false; in xlog_sync() local
1895 split = true; in xlog_sync()
1926 if (log->l_targ != log->l_mp->m_ddev_targp || split) { in xlog_sync()
/fs/ocfs2/
Dalloc.c2365 enum ocfs2_split_type split, in ocfs2_rotate_tree_right() argument
2442 if (split == SPLIT_NONE && in ocfs2_rotate_tree_right()
2485 if (split != SPLIT_NONE && in ocfs2_rotate_tree_right()
3827 enum ocfs2_split_type split, in ocfs2_subtract_from_rec() argument
3836 if (split == SPLIT_LEFT) { in ocfs2_subtract_from_rec()
4076 enum ocfs2_split_type split) in ocfs2_split_record() argument
4106 if (split == SPLIT_LEFT) { in ocfs2_split_record()
4146 split, rec, split_rec); in ocfs2_split_record()
Drefcounttree.c2190 struct ocfs2_refcount_rec split = *rec; in ocfs2_decrease_refcount_rec() local
2191 split.r_cpos = cpu_to_le64(cpos); in ocfs2_decrease_refcount_rec()
2192 split.r_clusters = cpu_to_le32(len); in ocfs2_decrease_refcount_rec()
2194 le32_add_cpu(&split.r_refcount, -1); in ocfs2_decrease_refcount_rec()
2198 &split, index, 1, in ocfs2_decrease_refcount_rec()
/fs/xfs/libxfs/
Dxfs_btree.c2676 XFS_BTREE_STATS_INC(cur, split); in __xfs_btree_split()