Home
last modified time | relevance | path

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

12

/fs/dlm/
Dmember.c61 static void log_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_slots() argument
93 log_rinfo(ls, "generation %u slots %d%s", gen, num_slots, line); in log_slots()
104 uint32_t gen; in dlm_slots_copy_in() local
109 gen = le32_to_cpu(rf->rf_generation); in dlm_slots_copy_in()
110 if (gen <= ls->ls_generation) { in dlm_slots_copy_in()
112 gen, ls->ls_generation); in dlm_slots_copy_in()
114 ls->ls_generation = gen; in dlm_slots_copy_in()
127 log_slots(ls, gen, num_slots, ro0, NULL, 0); in dlm_slots_copy_in()
174 uint32_t gen = 0; in dlm_slots_assign() local
187 if (memb->generation > gen) in dlm_slots_assign()
[all …]
Drecover.c175 uint32_t gen; in dlm_recover_members_wait() local
189 rv = dlm_slots_assign(ls, &num_slots, &slots_size, &slots, &gen); in dlm_recover_members_wait()
196 ls->ls_generation = gen; in dlm_recover_members_wait()
/fs/unicode/
Dmkutf8data.c1342 int gen; member
1379 if (left->gen != right->gen) in nfdi_equal()
1396 if (left->gen != right->gen) in nfdicf_equal()
1420 leaf->code, leaf->ccc, leaf->gen); in nfdi_print()
1435 leaf->code, leaf->ccc, leaf->gen); in nfdicf_print()
1512 *data++ = leaf->gen; in nfdi_emit()
1533 *data++ = leaf->gen; in nfdicf_emit()
1696 if (unicode_data[unichar].gen < 0) in trees_populate()
1768 if (data->gen != -1) in verify()
1775 if (data->gen == -1) in verify()
[all …]
/fs/btrfs/
Dsend.c227 u64 gen; member
246 u64 gen; member
262 u64 gen; member
825 u64 ino, u64 *size, u64 *gen, u64 *mode, u64 *uid, in __get_inode_info() argument
846 if (gen) in __get_inode_info()
847 *gen = btrfs_inode_generation(path->nodes[0], ii); in __get_inode_info()
861 u64 ino, u64 *size, u64 *gen, in get_inode_info() argument
871 ret = __get_inode_info(root, path, ino, size, gen, mode, uid, gid, in get_inode_info()
1538 u64 ino, u64 gen, in gen_unique_name() argument
1554 ino, gen, idx); in gen_unique_name()
[all …]
Dexport.h13 u32 gen; member
Dctree.c1596 u64 gen; in btrfs_realloc_node() local
1634 gen = btrfs_node_ptr_generation(parent, i); in btrfs_realloc_node()
1654 uptodate = btrfs_buffer_uptodate(cur, gen, 0); in btrfs_realloc_node()
1659 cur = read_tree_block(fs_info, blocknr, gen, in btrfs_realloc_node()
1669 err = btrfs_read_buffer(cur, gen, in btrfs_realloc_node()
2285 u64 gen; in reada_for_balance() local
2298 gen = btrfs_node_ptr_generation(parent, slot - 1); in reada_for_balance()
2305 if (eb && btrfs_buffer_uptodate(eb, gen, 1) != 0) in reada_for_balance()
2311 gen = btrfs_node_ptr_generation(parent, slot + 1); in reada_for_balance()
2313 if (eb && btrfs_buffer_uptodate(eb, gen, 1) != 0) in reada_for_balance()
[all …]
Dexport.c37 fid->gen = inode->i_generation; in btrfs_encode_fh()
150 generation = fid->gen; in btrfs_fh_to_dentry()
Dextent_map.h99 int unpin_extent_cache(struct extent_map_tree *tree, u64 start, u64 len, u64 gen);
Dscrub.c239 u64 gen, int mirror_num, u8 *csum, int force,
2223 u64 gen, int mirror_num, u8 *csum, int force, in scrub_pages() argument
2262 spage->generation = gen; in scrub_pages()
2473 u64 gen, int mirror_num, u64 physical_for_dev_replace) in scrub_extent() argument
2512 ret = scrub_pages(sctx, logical, l, physical, dev, flags, gen, in scrub_extent()
2528 u64 flags, u64 gen, int mirror_num, u8 *csum) in scrub_pages_for_parity() argument
2573 spage->generation = gen; in scrub_pages_for_parity()
2612 u64 flags, u64 gen, int mirror_num) in scrub_extent_for_parity() argument
2644 flags, gen, mirror_num, in scrub_extent_for_parity()
3715 u64 gen; in scrub_supers() local
[all …]
Dref-verify.c554 u64 block_bytenr, gen; in walk_down_tree() local
563 gen = btrfs_node_ptr_generation(path->nodes[level], in walk_down_tree()
567 eb = read_tree_block(fs_info, block_bytenr, gen, in walk_down_tree()
Dextent_map.c282 u64 gen) in unpin_extent_cache() argument
296 em->generation = gen; in unpin_extent_cache()
/fs/xfs/
Dxfs_export.c91 fid->i32.gen = inode->i_generation; in xfs_fs_encode_fh()
99 fid64->gen = inode->i_generation; in xfs_fs_encode_fh()
171 inode = xfs_nfs_get_inode(sb, fid->i32.ino, fid->i32.gen); in xfs_fs_fh_to_dentry()
175 inode = xfs_nfs_get_inode(sb, fid64->ino, fid64->gen); in xfs_fs_fh_to_dentry()
Dxfs_export.h52 u32 gen; member
/fs/ocfs2/
Ddcache.c30 unsigned long gen = in ocfs2_dentry_attach_gen() local
33 dentry->d_fsdata = (void *)gen; in ocfs2_dentry_attach_gen()
57 unsigned long gen = (unsigned long) dentry->d_fsdata; in ocfs2_dentry_revalidate() local
64 pgen, gen); in ocfs2_dentry_revalidate()
65 if (gen != pgen) in ocfs2_dentry_revalidate()
Ddlmglue.c1310 unsigned int gen; in ocfs2_lock_create() local
1325 gen = lockres_set_pending(lockres); in ocfs2_lock_create()
1334 lockres_clear_pending(lockres, gen, osb); in ocfs2_lock_create()
1475 unsigned int gen; in __ocfs2_cluster_lock() local
1566 gen = lockres_set_pending(lockres); in __ocfs2_cluster_lock()
1582 lockres_clear_pending(lockres, gen, osb); in __ocfs2_cluster_lock()
2067 unsigned int gen; in ocfs2_file_unlock() local
2093 gen = ocfs2_prepare_downconvert(lockres, DLM_LOCK_NL); in ocfs2_file_unlock()
2097 ret = ocfs2_downconvert_lock(osb, lockres, DLM_LOCK_NL, 0, gen); in ocfs2_file_unlock()
3714 unsigned int gen; in ocfs2_unblock_lock() local
[all …]
/fs/nilfs2/
Dnamei.c457 u64 ino, u32 gen) in nilfs_get_dentry() argument
474 if (gen && inode->i_generation != gen) { in nilfs_get_dentry()
491 return nilfs_get_dentry(sb, fid->cno, fid->ino, fid->gen); in nilfs_fh_to_dentry()
524 fid->gen = inode->i_generation; in nilfs_encode_fh()
Dexport.h20 u32 gen; member
/fs/gfs2/
Dlock_dlm.c468 __le32 gen; in control_lvb_read() local
470 memcpy(&gen, lvb_bits, sizeof(__le32)); in control_lvb_read()
471 *lvb_gen = le32_to_cpu(gen); in control_lvb_read()
477 __le32 gen; in control_lvb_write() local
479 gen = cpu_to_le32(lvb_gen); in control_lvb_write()
480 memcpy(ls->ls_control_lvb, &gen, sizeof(__le32)); in control_lvb_write()
/fs/xfs/libxfs/
Dxfs_ialloc.h135 xfs_agblock_t length, unsigned int gen);
/fs/f2fs/
Dinode.c144 __le32 gen = ri->i_generation; in f2fs_inode_chksum() local
152 chksum_seed = f2fs_chksum(sbi, chksum, (__u8 *)&gen, sizeof(gen)); in f2fs_inode_chksum()
/fs/
Dlibfs.c930 (struct super_block *sb, u64 ino, u32 gen)) in generic_fh_to_dentry() argument
940 inode = get_inode(sb, fid->i32.ino, fid->i32.gen); in generic_fh_to_dentry()
963 (struct super_block *sb, u64 ino, u32 gen)) in generic_fh_to_parent() argument
/fs/kernfs/
Ddir.c624 u32 gen; in __kernfs_new_node() local
640 gen = root->next_generation; in __kernfs_new_node()
647 kn->id.generation = gen; in __kernfs_new_node()
/fs/xfs/scrub/
Dtrace.h92 __field(unsigned int, gen)
102 __entry->gen = sm->sm_gen;
112 __entry->gen,
/fs/ext4/
Dialloc.c1120 __le32 gen = cpu_to_le32(inode->i_generation); in __ext4_new_inode() local
1123 ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, in __ext4_new_inode()
1124 sizeof(gen)); in __ext4_new_inode()
Dioctl.c94 __le32 gen = cpu_to_le32(inode->i_generation); in reset_inode_seed() local
101 ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, sizeof(gen)); in reset_inode_seed()

12