Home
last modified time | relevance | path

Searched refs:new_len (Results 1 – 16 of 16) sorted by relevance

/fs/xfs/
Dxfs_refcount_item.c249 xfs_extlen_t *new_len, in xfs_trans_log_finish_refcount_update() argument
255 blockcount, new_fsb, new_len, pcur); in xfs_trans_log_finish_refcount_update()
462 xfs_extlen_t new_len; in xfs_cui_recover() local
544 new_len = refc->pe_len; in xfs_cui_recover()
548 &new_fsb, &new_len, &rcur); in xfs_cui_recover()
553 if (new_len > 0) { in xfs_cui_recover()
555 irec.br_blockcount = new_len; in xfs_cui_recover()
Dxfs_trace.h2930 xfs_agblock_t new_agbno, xfs_extlen_t new_len),
2931 TP_ARGS(mp, agno, type, agbno, len, new_agbno, new_len),
2939 __field(xfs_extlen_t, new_len)
2948 __entry->new_len = new_len;
2957 __entry->new_len)
/fs/hpfs/
Dnamei.c517 unsigned new_len = new_dentry->d_name.len; in hpfs_rename() local
532 if ((err = hpfs_chk_name(new_name, &new_len))) return err; in hpfs_rename()
556 if ((nde = map_dirent(new_dir, hpfs_i(new_dir)->i_dno, new_name, new_len, NULL, &qbh1))) { in hpfs_rename()
559 memcpy(nde->name, new_name, new_len); in hpfs_rename()
574 if ((r = hpfs_add_dirent(new_dir, new_name, new_len, &de))) { in hpfs_rename()
602 fnode->len = new_len; in hpfs_rename()
603 memcpy(fnode->name, new_name, new_len>15?15:new_len); in hpfs_rename()
604 if (new_len < 15) memset(&fnode->name[new_len], 0, 15 - new_len); in hpfs_rename()
/fs/ocfs2/
Dmove_extents.c216 u32 new_phys_cpos, new_len; in ocfs2_defrag_extent() local
292 &new_phys_cpos, &new_len); in ocfs2_defrag_extent()
304 if (new_len != *len) { in ocfs2_defrag_extent()
305 mlog(0, "len_claimed: %u, len: %u\n", new_len, *len); in ocfs2_defrag_extent()
317 ret = __ocfs2_move_extent(handle, context, cpos, new_len, phys_cpos, in ocfs2_defrag_extent()
322 if (partial && (new_len != *len)) in ocfs2_defrag_extent()
323 *len = new_len; in ocfs2_defrag_extent()
339 new_phys_cpos, new_len); in ocfs2_defrag_extent()
345 new_len); in ocfs2_defrag_extent()
Drefcounttree.h82 u32 new_cluster, u32 new_len);
86 u32 new_cluster, u32 new_len);
Docfs2_trace.h2264 int new_len, const char *new_name),
2266 old_len, old_name, new_len, new_name),
2274 __field(int, new_len)
2284 __entry->new_len = new_len;
2291 __entry->new_len, __get_str(new_name))
2297 TP_PROTO(int new_len, const char *new_name),
2298 TP_ARGS(new_len, new_name),
2300 __field(int, new_len)
2304 __entry->new_len = new_len;
2307 TP_printk("%.*s", __entry->new_len, __get_str(new_name))
Drefcounttree.c64 u32 new_cluster, u32 new_len);
2906 u32 new_cluster, u32 new_len) in ocfs2_duplicate_clusters_by_page() argument
2918 new_cluster, new_len); in ocfs2_duplicate_clusters_by_page()
2921 end = offset + (new_len << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_duplicate_clusters_by_page()
3001 u32 new_cluster, u32 new_len) in ocfs2_duplicate_clusters_by_jbd() argument
3006 int i, blocks = ocfs2_clusters_to_blocks(sb, new_len); in ocfs2_duplicate_clusters_by_jbd()
3014 new_cluster, new_len); in ocfs2_duplicate_clusters_by_jbd()
3208 u32 new_bit, new_len, orig_num_clusters; in ocfs2_make_clusters_writable() local
3282 &new_bit, &new_len); in ocfs2_make_clusters_writable()
3290 new_len, e_flags); in ocfs2_make_clusters_writable()
[all …]
/fs/nfs/blocklayout/
Dextent_tree.c285 sector_t new_len = ext_f_end(new) - ext_f_end(be); in ext_tree_insert() local
286 sector_t diff = new->be_length - new_len; in ext_tree_insert()
290 new->be_length = new_len; in ext_tree_insert()
298 sector_t new_len = ext_f_end(new) - ext_f_end(be); in ext_tree_insert() local
299 sector_t diff = new->be_length - new_len; in ext_tree_insert()
313 new->be_length = new_len; in ext_tree_insert()
/fs/xfs/libxfs/
Dxfs_refcount.c1083 xfs_extlen_t *new_len, in xfs_refcount_finish_one() argument
1141 new_len, XFS_REFCOUNT_ADJUST_INCREASE, NULL); in xfs_refcount_finish_one()
1146 new_len, XFS_REFCOUNT_ADJUST_DECREASE, NULL); in xfs_refcount_finish_one()
1151 *new_len = 0; in xfs_refcount_finish_one()
1156 *new_len = 0; in xfs_refcount_finish_one()
1163 if (!error && *new_len > 0) in xfs_refcount_finish_one()
1165 bno, blockcount, new_agbno, *new_len); in xfs_refcount_finish_one()
Dxfs_refcount.h42 xfs_extlen_t *new_len, struct xfs_btree_cur **pcur);
/fs/
Dioctl.c157 u64 start, u64 len, u64 *new_len) in fiemap_check_ranges() argument
161 *new_len = len; in fiemap_check_ranges()
173 *new_len = maxbytes - start; in fiemap_check_ranges()
Dread_write.c1797 loff_t new_len = *len; in generic_remap_check_len() local
1804 new_len &= ~blkmask; in generic_remap_check_len()
1806 if (new_len == *len) in generic_remap_check_len()
1810 *len = new_len; in generic_remap_check_len()
/fs/ubifs/
Djournal.c1439 int *new_len) in truncate_data_node() argument
1459 out_len = *new_len; in truncate_data_node()
1465 ubifs_compress(c, buf, *new_len, &dn->data, &out_len, &compr_type); in truncate_data_node()
1480 dn->size = cpu_to_le32(*new_len); in truncate_data_node()
1481 *new_len = UBIFS_DATA_NODE_SZ + out_len; in truncate_data_node()
/fs/ext4/
Dioctl.c750 u64 start, u64 len, u64 *new_len) in fiemap_check_ranges() argument
754 *new_len = len; in fiemap_check_ranges()
766 *new_len = maxbytes - start; in fiemap_check_ranges()
/fs/btrfs/
Dsend.c441 int new_len; in fs_path_prepare_for_add() local
443 new_len = p->end - p->start + name_len; in fs_path_prepare_for_add()
445 new_len++; in fs_path_prepare_for_add()
446 ret = fs_path_ensure_buf(p, new_len); in fs_path_prepare_for_add()
Dinode.c8890 u64 new_len; in btrfs_invalidatepage() local
8896 new_len = start - ordered->file_offset; in btrfs_invalidatepage()
8897 if (new_len < ordered->truncated_len) in btrfs_invalidatepage()
8898 ordered->truncated_len = new_len; in btrfs_invalidatepage()