Home
last modified time | relevance | path

Searched refs:id2 (Results 1 – 17 of 17) sorted by relevance

/fs/ocfs2/
Docfs2_fs.h401 #define OCFS2_RAW_SB(dinode) (&((dinode)->id2.i_super))
731 } id2; member
1242 offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fast_symlink_chars()
1252 offsetof(struct ocfs2_dinode, id2.i_data.id_data) - in ocfs2_max_inline_data_with_xattr()
1256 offsetof(struct ocfs2_dinode, id2.i_data.id_data); in ocfs2_max_inline_data_with_xattr()
1264 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode()
1278 offsetof(struct ocfs2_dinode, id2.i_list.l_recs) - in ocfs2_extent_recs_per_inode_with_xattr()
1282 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode_with_xattr()
1302 offsetof(struct ocfs2_dinode, id2.i_chain.cl_recs); in ocfs2_chain_recs_per_inode()
1352 offsetof(struct ocfs2_dinode, id2.i_lab.la_bitmap); in ocfs2_local_alloc_size()
[all …]
Dresize.c87 struct ocfs2_chain_list *cl = &fe->id2.i_chain; in ocfs2_update_last_group_and_inode()
302 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_extend()
323 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend()
325 le16_to_cpu(fe->id2.i_chain.cl_cpg)) { in ocfs2_group_extend()
377 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group()
412 u16 cl_count = le16_to_cpu(di->id2.i_chain.cl_count); in ocfs2_verify_group_and_input()
413 u16 cl_cpg = le16_to_cpu(di->id2.i_chain.cl_cpg); in ocfs2_verify_group_and_input()
414 u16 next_free = le16_to_cpu(di->id2.i_chain.cl_next_free_rec); in ocfs2_verify_group_and_input()
483 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_add()
517 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_add()
[all …]
Dsuper.c2031 cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()
2032 bbits = le32_to_cpu(di->id2.i_super.s_blocksize_bits); in ocfs2_initialize_super()
2034 memcpy(&sb->s_uuid, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
2035 sizeof(di->id2.i_super.s_uuid)); in ocfs2_initialize_super()
2040 osb->osb_dx_seed[i] = le32_to_cpu(di->id2.i_super.s_dx_seed[i]); in ocfs2_initialize_super()
2041 osb->osb_dx_seed[3] = le32_to_cpu(di->id2.i_super.s_uuid_hash); in ocfs2_initialize_super()
2073 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super()
2097 di->id2.i_super.s_xattr_inline_size); in ocfs2_initialize_super()
2200 le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()
2223 if (ocfs2_setup_osb_uuid(osb, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
[all …]
Dsuballoc.c213 max_bits = le16_to_cpu(di->id2.i_chain.cl_cpg) * le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_validate_gd_parent()
222 le16_to_cpu(di->id2.i_chain.cl_next_free_rec)) || in ocfs2_validate_gd_parent()
224 le16_to_cpu(di->id2.i_chain.cl_next_free_rec)) && !resize)) { in ocfs2_validate_gd_parent()
669 cl = &fe->id2.i_chain; in ocfs2_block_group_alloc()
1443 bg->bg_next_group = fe->id2.i_chain.cl_recs[chain].c_blkno; in ocfs2_relink_block_group()
1451 fe->id2.i_chain.cl_recs[chain].c_blkno = bg->bg_blkno; in ocfs2_relink_block_group()
1586 struct ocfs2_chain_list *cl = (struct ocfs2_chain_list *) &di->id2.i_chain; in ocfs2_alloc_dinode_update_counts()
1613 cl = (struct ocfs2_chain_list *)&di->id2.i_chain; in ocfs2_rollback_alloc_dinode_counts()
1646 struct ocfs2_chain_list *cl = &di->id2.i_chain; in ocfs2_bg_discontig_fix_result()
1749 struct ocfs2_chain_list *cl = (struct ocfs2_chain_list *) &fe->id2.i_chain; in ocfs2_search_chain()
[all …]
Dsymlink.c72 link = (char *) fe->id2.i_symlink; in ocfs2_fast_symlink_read_folio()
Daops.c81 u64 blkno = le64_to_cpu(fe->id2.i_list.l_recs[0].e_blkno) + in ocfs2_symlink_get_block()
111 le64_to_cpu(fe->id2.i_list.l_recs[0].e_blkno) + iblock); in ocfs2_symlink_get_block()
245 memcpy(kaddr, di->id2.i_data.id_data, size); in ocfs2_read_inline_data()
1533 if (new_size <= le16_to_cpu(di->id2.i_data.id_count)) in ocfs2_size_fits_inline_data()
1753 &di->id2.i_list); in ocfs2_write_begin_nolock()
1940 memcpy(di->id2.i_data.id_data + pos, kaddr + pos, *copied); in ocfs2_write_end_inline()
1946 le16_to_cpu(di->id2.i_data.id_count), in ocfs2_write_end_inline()
2357 credits = ocfs2_calc_extend_credits(inode->i_sb, &di->id2.i_list); in ocfs2_dio_end_io_write()
Dextent_map.c414 el = &di->id2.i_list; in ocfs2_get_clusters_nocache()
715 id_count = le16_to_cpu(di->id2.i_data.id_count); in ocfs2_fiemap_inline()
720 phys += offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fiemap_inline()
723 id2.i_data.id_data); in ocfs2_fiemap_inline()
Dalloc.c247 et->et_root_el = &di->id2.i_list; in ocfs2_dinode_fill_root_el()
5810 tl = &di->id2.i_dealloc; in ocfs2_truncate_log_needs_flush()
5859 tl = &di->id2.i_dealloc; in ocfs2_truncate_log_append()
5928 tl = &di->id2.i_dealloc; in ocfs2_replay_truncate_records()
6006 tl = &di->id2.i_dealloc; in __ocfs2_flush_truncate_log()
6204 tl = &di->id2.i_dealloc; in ocfs2_begin_truncate_log_recovery()
6260 tl = &tl_copy->id2.i_dealloc; in ocfs2_complete_truncate_log_recovery()
7014 memset(&di->id2, 0, blocksize - in ocfs2_zero_dinode_id2_with_xattr()
7015 offsetof(struct ocfs2_dinode, id2) - in ocfs2_zero_dinode_id2_with_xattr()
7018 memset(&di->id2, 0, blocksize - in ocfs2_zero_dinode_id2_with_xattr()
[all …]
Ddir.c412 data = &di->id2.i_data; in ocfs2_find_entry_id()
1368 data = &di->id2.i_data; in ocfs2_delete_entry_id()
1632 data_start = di->id2.i_data.id_data; in __ocfs2_add_entry()
1760 data = &di->id2.i_data; in ocfs2_dir_foreach_blk_id()
2197 struct ocfs2_inline_data *data = &di->id2.i_data; in ocfs2_fill_new_dir_id()
2694 de_buf = di->id2.i_data.id_data; in ocfs2_new_dx_should_be_inline()
2917 memcpy(dirdata_bh->b_data, di->id2.i_data.id_data, i_size_read(dir)); in ocfs2_expand_inline_dir()
3167 struct ocfs2_extent_list *el = &fe->id2.i_list; in ocfs2_extend_dir()
3367 first_de = di->id2.i_data.id_data; in ocfs2_find_dir_space_id()
Drefcounttree.c3394 ret = ocfs2_refcount_cal_cow_clusters(inode, &di->id2.i_list, in ocfs2_refcount_cow_hunk()
3954 t_di->id2.i_data.id_count = s_di->id2.i_data.id_count; in ocfs2_duplicate_inline_data()
3955 memcpy(t_di->id2.i_data.id_data, s_di->id2.i_data.id_data, in ocfs2_duplicate_inline_data()
3956 le16_to_cpu(s_di->id2.i_data.id_count)); in ocfs2_duplicate_inline_data()
Dnamei.c584 fe->id2.i_data.id_count = cpu_to_le16( in __ocfs2_mknod_locked()
587 fel = &fe->id2.i_list; in __ocfs2_mknod_locked()
1978 memcpy((char *) fe->id2.i_symlink, symname, l); in ocfs2_symlink()
Dmove_extents.c393 cl = &(ac_dinode->id2.i_chain); in ocfs2_find_victim_alloc_group()
Dioctl.c566 cl = &(gb_dinode->id2.i_chain); in ocfs2_info_freefrag_scan_bitmap()
Dlocalalloc.c33 #define OCFS2_LOCAL_ALLOC(dinode) (&((dinode)->id2.i_lab))
Dxattr.c2644 struct ocfs2_inline_data *idata = &di->id2.i_data; in ocfs2_xattr_has_space_inline()
2650 struct ocfs2_extent_list *el = &di->id2.i_list; in ocfs2_xattr_has_space_inline()
2737 struct ocfs2_inline_data *idata = &di->id2.i_data; in ocfs2_xattr_ibody_init()
2740 struct ocfs2_extent_list *el = &di->id2.i_list; in ocfs2_xattr_ibody_init()
6520 struct ocfs2_extent_list *el = &new_di->id2.i_list; in ocfs2_reflink_xattr_inline()
Dfile.c596 credits = ocfs2_calc_extend_credits(osb->sb, &fe->id2.i_list); in ocfs2_extend_allocation()
/fs/ntfs3/
Dfslog.c3039 u16 id, id2; in do_action() local
3234 id2 = le16_to_cpu(attr2->id); in do_action()
3235 if (id <= id2) in do_action()
3236 rec->next_attr_id = cpu_to_le16(id2 + 1); in do_action()