Home
last modified time | relevance | path

Searched refs:partial (Results 1 – 25 of 25) sorted by relevance

/fs/ext4/
Dindirect.c252 Indirect *partial) in ext4_find_goal() argument
260 goal = ext4_find_near(inode, partial); in ext4_find_goal()
538 Indirect *partial; in ext4_ind_map_blocks() local
554 partial = ext4_get_branch(inode, depth, offsets, chain, &err); in ext4_ind_map_blocks()
557 if (!partial) { in ext4_ind_map_blocks()
586 for (i = partial - chain + 1; i < depth; i++) in ext4_ind_map_blocks()
620 ar.goal = ext4_find_goal(inode, map->m_lblk, partial); in ext4_ind_map_blocks()
623 indirect_blks = (chain + depth) - partial - 1; in ext4_ind_map_blocks()
629 ar.len = ext4_blks_to_allocate(partial, indirect_blks, in ext4_ind_map_blocks()
636 offsets + (partial - chain), partial); in ext4_ind_map_blocks()
[all …]
Dextents.c2454 struct partial_cluster *partial, in ext4_remove_blocks() argument
2485 trace_ext4_remove_blocks(inode, ex, from, to, partial); in ext4_remove_blocks()
2493 if (partial->state != initial && in ext4_remove_blocks()
2494 partial->pclu != EXT4_B2C(sbi, last_pblk)) { in ext4_remove_blocks()
2495 if (partial->state == tofree) { in ext4_remove_blocks()
2497 if (ext4_is_pending(inode, partial->lblk)) in ext4_remove_blocks()
2500 EXT4_C2B(sbi, partial->pclu), in ext4_remove_blocks()
2503 ext4_rereserve_cluster(inode, partial->lblk); in ext4_remove_blocks()
2505 partial->state = initial; in ext4_remove_blocks()
2522 (partial->state != nofree)) { in ext4_remove_blocks()
[all …]
Dmove_extent.c173 int i, err, nr = 0, partial = 0; in mext_page_mkuptodate() local
191 partial = 1; in mext_page_mkuptodate()
224 if (!partial) in mext_page_mkuptodate()
Dextents_status.c1062 bool partial; member
1101 rc->partial = false; in init_rsvd()
1154 if (rc->partial && (rc->lclu != EXT4_B2C(sbi, i))) { in count_rsvd()
1156 rc->partial = false; in count_rsvd()
1166 rc->partial = false; in count_rsvd()
1185 if (!rc->partial && i <= end) { in count_rsvd()
1186 rc->partial = true; in count_rsvd()
1256 if (rc->partial) in get_rsvd()
Dinode.c961 int *partial, in ext4_walk_page_buffers() argument
977 if (partial && !buffer_uptodate(bh)) in ext4_walk_page_buffers()
978 *partial = 1; in ext4_walk_page_buffers()
1406 int partial = 0; in ext4_journalled_write_end() local
1429 from, from + copied, &partial, in ext4_journalled_write_end()
1431 if (!partial) in ext4_journalled_write_end()
Dext4.h2992 int *partial,
/fs/minix/
Ditree_common.c158 Indirect *partial; in get_block() local
166 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
169 if (!partial) { in get_block()
173 partial = chain+depth-1; /* the whole chain */ in get_block()
180 while (partial > chain) { in get_block()
181 brelse(partial->bh); in get_block()
182 partial--; in get_block()
196 left = (chain + depth) - partial; in get_block()
197 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block()
201 if (splice_branch(inode, chain, partial, left) < 0) in get_block()
[all …]
/fs/sysv/
Ditree.c213 Indirect *partial; in get_block() local
222 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
226 if (!partial) { in get_block()
231 partial = chain+depth-1; /* the whole chain */ in get_block()
238 while (partial > chain) { in get_block()
239 brelse(partial->bh); in get_block()
240 partial--; in get_block()
254 left = (chain + depth) - partial; in get_block()
255 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block()
259 if (splice_branch(inode, chain, partial, left) < 0) in get_block()
[all …]
/fs/ext2/
Dinode.c331 Indirect *partial) in ext2_find_goal() argument
346 return ext2_find_near(inode, partial); in ext2_find_goal()
628 Indirect *partial; in ext2_get_blocks() local
644 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
646 if (!partial) { in ext2_get_blocks()
662 partial = chain + depth - 1; in ext2_get_blocks()
692 if (err == -EAGAIN || !verify_chain(chain, partial)) { in ext2_get_blocks()
693 while (partial > chain) { in ext2_get_blocks()
694 brelse(partial->bh); in ext2_get_blocks()
695 partial--; in ext2_get_blocks()
[all …]
/fs/reiserfs/
Dfile.c174 int partial = 0; in reiserfs_commit_page() local
204 partial = 1; in reiserfs_commit_page()
234 if (!partial) in reiserfs_commit_page()
Dinode.c2531 int partial = 0; in reiserfs_write_full_page() local
2686 partial = 1; in reiserfs_write_full_page()
2691 if (!partial) in reiserfs_write_full_page()
/fs/ocfs2/
Dmove_extents.c37 int partial; member
198 int ret, credits = 0, extra_blocks = 0, partial = context->partial; in ocfs2_defrag_extent() local
294 if (!partial) { in ocfs2_defrag_extent()
310 if (partial && (new_len != *len)) in ocfs2_defrag_extent()
1039 context->partial = 1; in ocfs2_ioctl_move_extents()
Daops.h26 int *partial,
Daops.c418 int *partial, in walk_page_buffers() argument
435 if (partial && !buffer_uptodate(bh)) in walk_page_buffers()
436 *partial = 1; in walk_page_buffers()
Dalloc.c6806 int ret, partial = 0; in ocfs2_map_and_dirty_page() local
6823 from, to, &partial, in ocfs2_map_and_dirty_page()
6834 if (!partial) in ocfs2_map_and_dirty_page()
Drefcounttree.c2908 int ret = 0, partial; in ocfs2_duplicate_clusters_by_page() local
2974 from, to, &partial, in ocfs2_duplicate_clusters_by_page()
/fs/
Dsplice.c204 buf->offset = spd->partial[page_nr].offset; in splice_to_pipe()
205 buf->len = spd->partial[page_nr].len; in splice_to_pipe()
206 buf->private = spd->partial[page_nr].private; in splice_to_pipe()
265 spd->partial = kmalloc_array(max_usage, sizeof(struct partial_page), in splice_grow_spd()
268 if (spd->pages && spd->partial) in splice_grow_spd()
272 kfree(spd->partial); in splice_grow_spd()
282 kfree(spd->partial); in splice_shrink_spd()
DKconfig.binfmt68 bool "Write ELF core dumps with partial segments"
Dbuffer.c2070 int partial = 0; in __block_commit_write() local
2082 partial = 1; in __block_commit_write()
2100 if (!partial) in __block_commit_write()
/fs/cramfs/
Dinode.c341 u32 partial, last_page, blockaddr, *blockptrs; in cramfs_last_page_is_shared() local
344 partial = offset_in_page(inode->i_size); in cramfs_last_page_is_shared()
345 if (!partial) in cramfs_last_page_is_shared()
351 tail_data = sbi->linear_virt_addr + blockaddr + partial; in cramfs_last_page_is_shared()
352 return memchr_inv(tail_data, 0, PAGE_SIZE - partial) ? true : false; in cramfs_last_page_is_shared()
/fs/ntfs/
DKconfig8 Saying Y or M here enables read support. There is partial, but
56 This enables the partial, but safe, write support in the NTFS driver.
Dfile.c1404 bool partial; in ntfs_commit_pages_after_non_resident_write() local
1409 partial = false; in ntfs_commit_pages_after_non_resident_write()
1416 partial = true; in ntfs_commit_pages_after_non_resident_write()
1426 if (!partial && !PageUptodate(page)) in ntfs_commit_pages_after_non_resident_write()
/fs/afs/
Dflock.c459 bool partial, no_server_lock = false; in afs_do_setlk() local
473 partial = (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX); in afs_do_setlk()
475 if (mode == afs_flock_mode_write && partial) in afs_do_setlk()
493 (partial && mode == afs_flock_mode_openafs)) { in afs_do_setlk()
/fs/ntfs3/
Dfile.c295 bool partial; in ntfs_sparse_cluster() local
307 partial = false; in ntfs_sparse_cluster()
326 partial = true; in ntfs_sparse_cluster()
334 if (!partial) { in ntfs_sparse_cluster()
/fs/erofs/
Dzdata.c981 bool overlapped, partial; in z_erofs_decompress_pcluster() local
1103 partial = !(pcl->length & Z_EROFS_PCLUSTER_FULL_LENGTH); in z_erofs_decompress_pcluster()
1106 partial = true; in z_erofs_decompress_pcluster()
1119 .partial_decoding = partial in z_erofs_decompress_pcluster()