Home
last modified time | relevance | path

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

/fs/ext4/
Dindirect.c245 Indirect *partial) in ext4_find_goal() argument
253 goal = ext4_find_near(inode, partial); in ext4_find_goal()
517 Indirect *partial; in ext4_ind_map_blocks() local
533 partial = ext4_get_branch(inode, depth, offsets, chain, &err); in ext4_ind_map_blocks()
536 if (!partial) { in ext4_ind_map_blocks()
565 for (i = partial - chain + 1; i < depth; i++) in ext4_ind_map_blocks()
598 ar.goal = ext4_find_goal(inode, map->m_lblk, partial); in ext4_ind_map_blocks()
601 indirect_blks = (chain + depth) - partial - 1; in ext4_ind_map_blocks()
607 ar.len = ext4_blks_to_allocate(partial, indirect_blks, in ext4_ind_map_blocks()
614 offsets + (partial - chain), partial); in ext4_ind_map_blocks()
[all …]
Dextents.c2589 struct partial_cluster *partial, in ext4_remove_blocks() argument
2620 trace_ext4_remove_blocks(inode, ex, from, to, partial); in ext4_remove_blocks()
2628 if (partial->state != initial && in ext4_remove_blocks()
2629 partial->pclu != EXT4_B2C(sbi, last_pblk)) { in ext4_remove_blocks()
2630 if (partial->state == tofree) { in ext4_remove_blocks()
2632 if (ext4_is_pending(inode, partial->lblk)) in ext4_remove_blocks()
2635 EXT4_C2B(sbi, partial->pclu), in ext4_remove_blocks()
2638 ext4_rereserve_cluster(inode, partial->lblk); in ext4_remove_blocks()
2640 partial->state = initial; in ext4_remove_blocks()
2657 (partial->state != nofree)) { in ext4_remove_blocks()
[all …]
Dextents_status.c977 bool partial; member
1016 rc->partial = false; in init_rsvd()
1069 if (rc->partial && (rc->lclu != EXT4_B2C(sbi, i))) { in count_rsvd()
1071 rc->partial = false; in count_rsvd()
1081 rc->partial = false; in count_rsvd()
1100 if (!rc->partial && i <= end) { in count_rsvd()
1101 rc->partial = true; in count_rsvd()
1171 if (rc->partial) in get_rsvd()
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()
Dinode.c1095 int *partial, in ext4_walk_page_buffers() argument
1111 if (partial && !buffer_uptodate(bh)) in ext4_walk_page_buffers()
1112 *partial = 1; in ext4_walk_page_buffers()
1539 int partial = 0; in ext4_journalled_write_end() local
1569 from + copied, &partial, in ext4_journalled_write_end()
1571 if (!partial) in ext4_journalled_write_end()
Dext4.h2574 int *partial,
/fs/minix/
Ditree_common.c152 Indirect *partial; in get_block() local
160 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
163 if (!partial) { in get_block()
167 partial = chain+depth-1; /* the whole chain */ in get_block()
174 while (partial > chain) { in get_block()
175 brelse(partial->bh); in get_block()
176 partial--; in get_block()
190 left = (chain + depth) - partial; in get_block()
191 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block()
195 if (splice_branch(inode, chain, partial, left) < 0) in get_block()
[all …]
/fs/sysv/
Ditree.c209 Indirect *partial; in get_block() local
218 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
222 if (!partial) { in get_block()
227 partial = chain+depth-1; /* the whole chain */ in get_block()
234 while (partial > chain) { in get_block()
235 brelse(partial->bh); in get_block()
236 partial--; in get_block()
250 left = (chain + depth) - partial; in get_block()
251 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block()
255 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()
631 Indirect *partial; in ext2_get_blocks() local
647 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
649 if (!partial) { in ext2_get_blocks()
665 partial = chain + depth - 1; in ext2_get_blocks()
695 if (err == -EAGAIN || !verify_chain(chain, partial)) { in ext2_get_blocks()
696 while (partial > chain) { in ext2_get_blocks()
697 brelse(partial->bh); in ext2_get_blocks()
698 partial--; in ext2_get_blocks()
[all …]
/fs/adfs/
Ddir_fplus.c135 unsigned int buffer, partial, remainder; in dir_memcpy() local
140 partial = sb->s_blocksize - offset; in dir_memcpy()
142 if (partial >= len) in dir_memcpy()
147 remainder = len - partial; in dir_memcpy()
151 partial); in dir_memcpy()
153 memcpy(c + partial, in dir_memcpy()
/fs/reiserfs/
Dfile.c180 int partial = 0; in reiserfs_commit_page() local
210 partial = 1; in reiserfs_commit_page()
240 if (!partial) in reiserfs_commit_page()
Dinode.c2536 int partial = 0; in reiserfs_write_full_page() local
2693 partial = 1; in reiserfs_write_full_page()
2698 if (!partial) in reiserfs_write_full_page()
/fs/ocfs2/
Dmove_extents.c39 int partial; member
210 int ret, credits = 0, extra_blocks = 0, partial = context->partial; in ocfs2_defrag_extent() local
306 if (!partial) { in ocfs2_defrag_extent()
322 if (partial && (new_len != *len)) in ocfs2_defrag_extent()
1049 context->partial = 1; in ocfs2_ioctl_move_extents()
Daops.h28 int *partial,
Daops.c429 int *partial, in walk_page_buffers() argument
446 if (partial && !buffer_uptodate(bh)) in walk_page_buffers()
447 *partial = 1; in walk_page_buffers()
Dalloc.c6809 int ret, partial = 0; in ocfs2_map_and_dirty_page() local
6826 from, to, &partial, in ocfs2_map_and_dirty_page()
6837 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/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/
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()
262 spd->partial = kmalloc_array(buffers, sizeof(struct partial_page), in splice_grow_spd()
265 if (spd->pages && spd->partial) in splice_grow_spd()
269 kfree(spd->partial); in splice_grow_spd()
279 kfree(spd->partial); in splice_shrink_spd()
Dbuffer.c2027 int partial = 0; in __block_commit_write() local
2039 partial = 1; in __block_commit_write()
2056 if (!partial) in __block_commit_write()
DKconfig.binfmt59 bool "Write ELF core dumps with partial segments"
/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.c1407 bool partial; in ntfs_commit_pages_after_non_resident_write() local
1412 partial = false; in ntfs_commit_pages_after_non_resident_write()
1419 partial = true; in ntfs_commit_pages_after_non_resident_write()
1429 if (!partial && !PageUptodate(page)) in ntfs_commit_pages_after_non_resident_write()
/fs/afs/
Dflock.c470 bool partial, no_server_lock = false; in afs_do_setlk() local
484 partial = (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX); in afs_do_setlk()
486 if (mode == afs_flock_mode_write && partial) in afs_do_setlk()
504 (partial && mode == afs_flock_mode_openafs)) { in afs_do_setlk()
/fs/erofs/
Dzdata.c767 bool overlapped, partial; in z_erofs_decompress_pcluster() local
889 partial = !(pcl->length & Z_EROFS_PCLUSTER_FULL_LENGTH); in z_erofs_decompress_pcluster()
892 partial = true; in z_erofs_decompress_pcluster()
904 .partial_decoding = partial in z_erofs_decompress_pcluster()