Home
last modified time | relevance | path

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

/fs/jfs/
Djfs_xtree.c109 uint split; member
122 struct xtsplit * split, struct btstack * btstack);
124 static int xtSplitPage(tid_t tid, struct inode *ip, struct xtsplit * split,
128 struct xtsplit * split, struct metapage ** rmpp);
548 struct xtsplit split; /* split information */ in xtInsert() local
610 split.mp = mp; in xtInsert()
611 split.index = index; in xtInsert()
612 split.flag = xflag; in xtInsert()
613 split.off = xoff; in xtInsert()
614 split.len = xlen; in xtInsert()
[all …]
Djfs_dtree.c153 struct dtsplit * split, struct btstack * btstack);
155 static int dtSplitPage(tid_t tid, struct inode *ip, struct dtsplit * split,
159 struct dtsplit * split, struct btstack * btstack);
162 struct dtsplit * split, struct metapage ** rmpp);
829 struct dtsplit split; /* split information */ in dtInsert() local
870 split.mp = mp; in dtInsert()
871 split.index = index; in dtInsert()
872 split.nslot = n; in dtInsert()
873 split.key = name; in dtInsert()
874 split.data = &data; in dtInsert()
[all …]
/fs/btrfs/
Dfile.c535 struct extent_map *split = NULL; in btrfs_drop_extent_cache() local
555 if (!split) in btrfs_drop_extent_cache()
556 split = alloc_extent_map(); in btrfs_drop_extent_cache()
559 if (!split || !split2) in btrfs_drop_extent_cache()
591 split->start = em->start; in btrfs_drop_extent_cache()
592 split->len = start - em->start; in btrfs_drop_extent_cache()
595 split->orig_start = em->orig_start; in btrfs_drop_extent_cache()
596 split->block_start = em->block_start; in btrfs_drop_extent_cache()
599 split->block_len = em->block_len; in btrfs_drop_extent_cache()
601 split->block_len = split->len; in btrfs_drop_extent_cache()
[all …]
Dctree.c3449 struct extent_buffer *split; in split_node() local
3485 split = btrfs_alloc_tree_block(trans, root, 0, root->root_key.objectid, in split_node()
3487 if (IS_ERR(split)) in split_node()
3488 return PTR_ERR(split); in split_node()
3492 memset_extent_buffer(split, 0, 0, sizeof(struct btrfs_header)); in split_node()
3493 btrfs_set_header_level(split, btrfs_header_level(c)); in split_node()
3494 btrfs_set_header_bytenr(split, split->start); in split_node()
3495 btrfs_set_header_generation(split, trans->transid); in split_node()
3496 btrfs_set_header_backref_rev(split, BTRFS_MIXED_BACKREF_REV); in split_node()
3497 btrfs_set_header_owner(split, root->root_key.objectid); in split_node()
[all …]
Dextent_io.h115 struct extent_state *orig, u64 split);
Dextent_io.c472 u64 split) in split_cb() argument
475 tree->ops->split_extent_hook(tree->mapping->host, orig, split); in split_cb()
493 struct extent_state *prealloc, u64 split) in split_state() argument
497 split_cb(tree, orig, split); in split_state()
500 prealloc->end = split - 1; in split_state()
502 orig->start = split; in split_state()
Dinode.c1601 struct extent_state *orig, u64 split) in btrfs_split_extent_hook() argument
1618 new_size = orig->end - split + 1; in btrfs_split_extent_hook()
1621 new_size = split - orig->start; in btrfs_split_extent_hook()
/fs/nfs/blocklayout/
Dextent_tree.c296 struct pnfs_block_extent *split; in ext_tree_insert() local
300 split = kmemdup(new, sizeof(*new), GFP_ATOMIC); in ext_tree_insert()
301 if (!split) { in ext_tree_insert()
306 split->be_length = be->be_f_offset - split->be_f_offset; in ext_tree_insert()
307 split->be_device = nfs4_get_deviceid(new->be_device); in ext_tree_insert()
308 __ext_tree_insert(root, split, true); in ext_tree_insert()
380 sector_t split) in ext_tree_split() argument
389 be->be_length = split - be->be_f_offset; in ext_tree_split()
391 new->be_f_offset = split; in ext_tree_split()
/fs/ceph/
Dsnap.c833 u64 split; in ceph_handle_snap() local
850 split = le64_to_cpu(h->split); /* non-zero if we are splitting an in ceph_handle_snap()
858 ceph_snap_op_name(op), split, trace_len); in ceph_handle_snap()
886 realm = ceph_lookup_snap_realm(mdsc, split); in ceph_handle_snap()
888 realm = ceph_create_snap_realm(mdsc, split); in ceph_handle_snap()
/fs/ext4/
Dextents.c108 ext4_lblk_t split,
3175 ext4_lblk_t split, in ext4_split_extent_at() argument
3191 "block %llu\n", inode->i_ino, (unsigned long long)split); in ext4_split_extent_at()
3199 newblock = split - ee_block + ext4_ext_pblock(ex); in ext4_split_extent_at()
3201 BUG_ON(split < ee_block || split >= (ee_block + ee_len)); in ext4_split_extent_at()
3211 if (split == ee_block) { in ext4_split_extent_at()
3231 ex->ee_len = cpu_to_le16(split - ee_block); in ext4_split_extent_at()
3244 ex2->ee_block = cpu_to_le32(split); in ext4_split_extent_at()
3245 ex2->ee_len = cpu_to_le16(ee_len - (split - ee_block)); in ext4_split_extent_at()
5813 int split = 0; in ext4_swap_extents() local
[all …]
Dnamei.c1693 unsigned split, move, size; in do_split() local
1738 split = count - move; in do_split()
1739 hash2 = map[split].hash; in do_split()
1740 continued = hash2 == map[split - 1].hash; in do_split()
1743 hash2, split, count-split)); in do_split()
1746 de2 = dx_move_dirents(data1, data2, map + split, count - split, in do_split()
/fs/xfs/
Dxfs_log.c1803 int split = 0; /* split write into two regions */ in xlog_sync() local
1851 split = count - (BBTOB(log->l_logBBsize - XFS_BUF_ADDR(bp))); in xlog_sync()
1863 for (i = 0; i < split; i += BBSIZE) { in xlog_sync()
1936 if (split) { in xlog_sync()
1940 (char *)&iclog->ic_header + count, split); in xlog_sync()
/fs/ocfs2/
Dalloc.c2350 enum ocfs2_split_type split, in ocfs2_rotate_tree_right() argument
2427 if (split == SPLIT_NONE && in ocfs2_rotate_tree_right()
2470 if (split != SPLIT_NONE && in ocfs2_rotate_tree_right()
3820 enum ocfs2_split_type split, in ocfs2_subtract_from_rec() argument
3829 if (split == SPLIT_LEFT) { in ocfs2_subtract_from_rec()
4070 enum ocfs2_split_type split) in ocfs2_split_record() argument
4100 if (split == SPLIT_LEFT) { in ocfs2_split_record()
4140 split, rec, split_rec); in ocfs2_split_record()
Drefcounttree.c2198 struct ocfs2_refcount_rec split = *rec; in ocfs2_decrease_refcount_rec() local
2199 split.r_cpos = cpu_to_le64(cpos); in ocfs2_decrease_refcount_rec()
2200 split.r_clusters = cpu_to_le32(len); in ocfs2_decrease_refcount_rec()
2202 le32_add_cpu(&split.r_refcount, -1); in ocfs2_decrease_refcount_rec()
2206 &split, index, 1, in ocfs2_decrease_refcount_rec()
/fs/xfs/libxfs/
Dxfs_btree.c2688 XFS_BTREE_STATS_INC(cur, split); in __xfs_btree_split()