Home
last modified time | relevance | path

Searched refs:branch (Results 1 – 8 of 8) sorted by relevance

/fs/sysv/
Ditree.c127 Indirect *branch) in alloc_branch() argument
133 branch[0].key = sysv_new_block(inode->i_sb); in alloc_branch()
134 if (branch[0].key) for (n = 1; n < num; n++) { in alloc_branch()
138 branch[n].key = sysv_new_block(inode->i_sb); in alloc_branch()
139 if (!branch[n].key) in alloc_branch()
145 parent = block_to_cpu(SYSV_SB(inode->i_sb), branch[n-1].key); in alloc_branch()
149 branch[n].bh = bh; in alloc_branch()
150 branch[n].p = (sysv_zone_t*) bh->b_data + offsets[n]; in alloc_branch()
151 *branch[n].p = branch[n].key; in alloc_branch()
161 bforget(branch[i].bh); in alloc_branch()
[all …]
/fs/ubifs/
Dlpt.c1196 struct ubifs_nbranch *branch = NULL; in ubifs_read_nnode() local
1202 branch = &parent->nbranch[iip]; in ubifs_read_nnode()
1203 lnum = branch->lnum; in ubifs_read_nnode()
1204 offs = branch->offs; in ubifs_read_nnode()
1237 branch->nnode = nnode; in ubifs_read_nnode()
1263 struct ubifs_nbranch *branch; in read_pnode() local
1268 branch = &parent->nbranch[iip]; in read_pnode()
1269 lnum = branch->lnum; in read_pnode()
1270 offs = branch->offs; in read_pnode()
1305 branch->pnode = pnode; in read_pnode()
[all …]
Dlpt_commit.c909 struct ubifs_nbranch *branch; in make_nnode_dirty() local
911 branch = &nnode->parent->nbranch[nnode->iip]; in make_nnode_dirty()
912 if (branch->lnum != lnum || branch->offs != offs) in make_nnode_dirty()
953 struct ubifs_nbranch *branch; in make_pnode_dirty() local
958 branch = &pnode->parent->nbranch[pnode->iip]; in make_pnode_dirty()
959 if (branch->lnum != lnum || branch->offs != offs) in make_pnode_dirty()
1518 struct ubifs_nbranch *branch; in dbg_is_nnode_dirty() local
1522 branch = &nnode->parent->nbranch[nnode->iip]; in dbg_is_nnode_dirty()
1523 if (branch->lnum != lnum || branch->offs != offs) in dbg_is_nnode_dirty()
1552 struct ubifs_nbranch *branch; in dbg_is_pnode_dirty() local
[all …]
/fs/minix/
Ditree_common.c72 Indirect *branch) in alloc_branch() argument
78 branch[0].key = cpu_to_block(parent); in alloc_branch()
85 branch[n].key = cpu_to_block(nr); in alloc_branch()
89 branch[n].bh = bh; in alloc_branch()
90 branch[n].p = (block_t*) bh->b_data + offsets[n]; in alloc_branch()
91 *branch[n].p = branch[n].key; in alloc_branch()
102 bforget(branch[i].bh); in alloc_branch()
104 minix_free_block(inode, block_to_cpu(branch[i].key)); in alloc_branch()
/fs/ext2/
Dinode.c327 ext2_blks_to_allocate(Indirect * branch, int k, unsigned long blks, in ext2_blks_to_allocate() argument
347 && le32_to_cpu(*(branch[0].p + count)) == 0) { in ext2_blks_to_allocate()
441 int *offsets, Indirect *branch) in ext2_alloc_branch() argument
456 branch[0].key = cpu_to_le32(new_blocks[0]); in ext2_alloc_branch()
467 branch[n].bh = bh; in ext2_alloc_branch()
470 branch[n].p = (__le32 *) bh->b_data + offsets[n]; in ext2_alloc_branch()
471 branch[n].key = cpu_to_le32(new_blocks[n]); in ext2_alloc_branch()
472 *branch[n].p = branch[n].key; in ext2_alloc_branch()
481 *(branch[n].p + i) = cpu_to_le32(++current_block); in ext2_alloc_branch()
/fs/btrfs/
Dversion.sh13 git branch >& /dev/null
/fs/ext3/
Dinode.c481 static int ext3_blks_to_allocate(Indirect *branch, int k, unsigned long blks, in ext3_blks_to_allocate() argument
501 le32_to_cpu(*(branch[0].p + count)) == 0) { in ext3_blks_to_allocate()
595 int *offsets, Indirect *branch) in ext3_alloc_branch() argument
610 branch[0].key = cpu_to_le32(new_blocks[0]); in ext3_alloc_branch()
621 branch[n].bh = bh; in ext3_alloc_branch()
632 branch[n].p = (__le32 *) bh->b_data + offsets[n]; in ext3_alloc_branch()
633 branch[n].key = cpu_to_le32(new_blocks[n]); in ext3_alloc_branch()
634 *branch[n].p = branch[n].key; in ext3_alloc_branch()
643 *(branch[n].p + i) = cpu_to_le32(++current_block); in ext3_alloc_branch()
659 BUFFER_TRACE(branch[i].bh, "call journal_forget"); in ext3_alloc_branch()
[all …]
/fs/ext4/
Dinode.c519 static int ext4_blks_to_allocate(Indirect *branch, int k, unsigned int blks, in ext4_blks_to_allocate() argument
539 le32_to_cpu(*(branch[0].p + count)) == 0) { in ext4_blks_to_allocate()
676 ext4_lblk_t *offsets, Indirect *branch) in ext4_alloc_branch() argument
691 branch[0].key = cpu_to_le32(new_blocks[0]); in ext4_alloc_branch()
702 branch[n].bh = bh; in ext4_alloc_branch()
713 branch[n].p = (__le32 *) bh->b_data + offsets[n]; in ext4_alloc_branch()
714 branch[n].key = cpu_to_le32(new_blocks[n]); in ext4_alloc_branch()
715 *branch[n].p = branch[n].key; in ext4_alloc_branch()
724 *(branch[n].p + i) = cpu_to_le32(++current_block); in ext4_alloc_branch()
740 BUFFER_TRACE(branch[i].bh, "call jbd2_journal_forget"); in ext4_alloc_branch()
[all …]