/fs/ext4/ |
D | indirect.c | 252 Indirect *partial) in ext4_find_goal() argument 260 goal = ext4_find_near(inode, partial); in ext4_find_goal() 524 Indirect *partial; in ext4_ind_map_blocks() local 540 partial = ext4_get_branch(inode, depth, offsets, chain, &err); in ext4_ind_map_blocks() 543 if (!partial) { in ext4_ind_map_blocks() 572 for (i = partial - chain + 1; i < depth; i++) in ext4_ind_map_blocks() 605 ar.goal = ext4_find_goal(inode, map->m_lblk, partial); in ext4_ind_map_blocks() 608 indirect_blks = (chain + depth) - partial - 1; in ext4_ind_map_blocks() 614 ar.len = ext4_blks_to_allocate(partial, indirect_blks, in ext4_ind_map_blocks() 621 offsets + (partial - chain), partial); in ext4_ind_map_blocks() [all …]
|
D | extents.c | 2637 struct partial_cluster *partial, in ext4_remove_blocks() argument 2668 trace_ext4_remove_blocks(inode, ex, from, to, partial); in ext4_remove_blocks() 2676 if (partial->state != initial && in ext4_remove_blocks() 2677 partial->pclu != EXT4_B2C(sbi, last_pblk)) { in ext4_remove_blocks() 2678 if (partial->state == tofree) { in ext4_remove_blocks() 2680 if (ext4_is_pending(inode, partial->lblk)) in ext4_remove_blocks() 2683 EXT4_C2B(sbi, partial->pclu), in ext4_remove_blocks() 2686 ext4_rereserve_cluster(inode, partial->lblk); in ext4_remove_blocks() 2688 partial->state = initial; in ext4_remove_blocks() 2705 (partial->state != nofree)) { in ext4_remove_blocks() [all …]
|
D | extents_status.c | 1044 bool partial; member 1083 rc->partial = false; in init_rsvd() 1136 if (rc->partial && (rc->lclu != EXT4_B2C(sbi, i))) { in count_rsvd() 1138 rc->partial = false; in count_rsvd() 1148 rc->partial = false; in count_rsvd() 1167 if (!rc->partial && i <= end) { in count_rsvd() 1168 rc->partial = true; in count_rsvd() 1238 if (rc->partial) in get_rsvd()
|
D | move_extent.c | 173 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()
|
D | inode.c | 1096 int *partial, in ext4_walk_page_buffers() argument 1112 if (partial && !buffer_uptodate(bh)) in ext4_walk_page_buffers() 1113 *partial = 1; in ext4_walk_page_buffers() 1550 int partial = 0; in ext4_journalled_write_end() local 1581 from + copied, &partial, in ext4_journalled_write_end() 1583 if (!partial) in ext4_journalled_write_end()
|
D | ext4.h | 2639 int *partial,
|
/fs/minix/ |
D | itree_common.c | 158 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/ |
D | itree.c | 213 Indirect *partial; in get_block() local 221 partial = get_branch(inode, depth, offsets, chain, &err); in get_block() 224 if (!partial) { in get_block() 229 partial = chain+depth-1; /* the whole chain */ in get_block() 236 while (partial > chain) { in get_block() 237 brelse(partial->bh); in get_block() 238 partial--; in get_block() 252 left = (chain + depth) - partial; in get_block() 253 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block() 257 if (splice_branch(inode, chain, partial, left) < 0) in get_block() [all …]
|
/fs/ext2/ |
D | inode.c | 331 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/ |
D | dir_fplus.c | 135 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/ |
D | file.c | 180 int partial = 0; in reiserfs_commit_page() local 210 partial = 1; in reiserfs_commit_page() 240 if (!partial) in reiserfs_commit_page()
|
D | inode.c | 2533 int partial = 0; in reiserfs_write_full_page() local 2690 partial = 1; in reiserfs_write_full_page() 2695 if (!partial) in reiserfs_write_full_page()
|
/fs/ocfs2/ |
D | move_extents.c | 39 int partial; member 200 int ret, credits = 0, extra_blocks = 0, partial = context->partial; in ocfs2_defrag_extent() local 296 if (!partial) { in ocfs2_defrag_extent() 312 if (partial && (new_len != *len)) in ocfs2_defrag_extent() 1041 context->partial = 1; in ocfs2_ioctl_move_extents()
|
D | aops.h | 28 int *partial,
|
D | aops.c | 429 int *partial, in walk_page_buffers() argument 446 if (partial && !buffer_uptodate(bh)) in walk_page_buffers() 447 *partial = 1; in walk_page_buffers()
|
D | alloc.c | 6809 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()
|
D | refcounttree.c | 2908 int ret = 0, partial; in ocfs2_duplicate_clusters_by_page() local 2974 from, to, &partial, in ocfs2_duplicate_clusters_by_page()
|
/fs/cramfs/ |
D | inode.c | 341 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/ |
D | splice.c | 204 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()
|
D | buffer.c | 2038 int partial = 0; in __block_commit_write() local 2050 partial = 1; in __block_commit_write() 2067 if (!partial) in __block_commit_write()
|
D | Kconfig.binfmt | 59 bool "Write ELF core dumps with partial segments"
|
/fs/ntfs/ |
D | Kconfig | 8 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.
|
D | file.c | 1407 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/ |
D | flock.c | 470 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/ |
D | zdata.c | 768 bool overlapped, partial; in z_erofs_decompress_pcluster() local 890 partial = !(pcl->length & Z_EROFS_PCLUSTER_FULL_LENGTH); in z_erofs_decompress_pcluster() 893 partial = true; in z_erofs_decompress_pcluster() 905 .partial_decoding = partial in z_erofs_decompress_pcluster()
|