Home
last modified time | relevance | path

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

12

/fs/dlm/
Dmember.c63 static void log_debug_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_debug_slots() argument
98 log_debug(ls, "generation %u slots %d%s", gen, num_slots, line); in log_debug_slots()
109 uint32_t gen; in dlm_slots_copy_in() local
114 gen = le32_to_cpu(rf->rf_generation); in dlm_slots_copy_in()
115 if (gen <= ls->ls_generation) { in dlm_slots_copy_in()
117 gen, ls->ls_generation); in dlm_slots_copy_in()
119 ls->ls_generation = gen; in dlm_slots_copy_in()
132 log_debug_slots(ls, gen, num_slots, ro0, NULL, 0); in dlm_slots_copy_in()
179 uint32_t gen = 0; in dlm_slots_assign() local
192 if (memb->generation > gen) in dlm_slots_assign()
[all …]
Drecover.c173 uint32_t gen; in dlm_recover_members_wait() local
187 rv = dlm_slots_assign(ls, &num_slots, &slots_size, &slots, &gen); in dlm_recover_members_wait()
194 ls->ls_generation = gen; in dlm_recover_members_wait()
/fs/btrfs/
Dsend.c139 u64 gen; member
700 u64 ino, u64 *size, u64 *gen, in get_inode_info() argument
728 if (gen) in get_inode_info()
729 *gen = btrfs_inode_generation(path->nodes[0], ii); in get_inode_info()
1365 u64 ino, u64 gen, in gen_unique_name() argument
1381 ino, gen, idx); in gen_unique_name()
1440 static int get_cur_inode_state(struct send_ctx *sctx, u64 ino, u64 gen) in get_cur_inode_state() argument
1465 if (left_gen == gen && right_gen == gen) { in get_cur_inode_state()
1467 } else if (left_gen == gen) { in get_cur_inode_state()
1472 } else if (right_gen == gen) { in get_cur_inode_state()
[all …]
Dexport.h11 u32 gen; member
Dctree.c1505 u64 gen; in btrfs_realloc_node() local
1542 gen = btrfs_node_ptr_generation(parent, i); in btrfs_realloc_node()
1561 uptodate = btrfs_buffer_uptodate(cur, gen, 0); in btrfs_realloc_node()
1567 blocksize, gen); in btrfs_realloc_node()
1573 err = btrfs_read_buffer(cur, gen); in btrfs_realloc_node()
2125 u64 gen; in reada_for_search() local
2171 gen = btrfs_node_ptr_generation(node, nr); in reada_for_search()
2172 readahead_tree_block(root, search, blocksize, gen); in reada_for_search()
2192 u64 gen; in reada_for_balance() local
2208 gen = btrfs_node_ptr_generation(parent, slot - 1); in reada_for_balance()
[all …]
Dexport.c36 fid->gen = inode->i_generation; in btrfs_encode_fh()
154 generation = fid->gen; in btrfs_fh_to_dentry()
Dextent_map.h72 int unpin_extent_cache(struct extent_map_tree *tree, u64 start, u64 len, u64 gen);
Dextent_map.c252 u64 gen) in unpin_extent_cache() argument
268 em->generation = gen; in unpin_extent_cache()
Dscrub.c224 u64 gen, int mirror_num, u8 *csum, int force,
1976 u64 gen, int mirror_num, u8 *csum, int force, in scrub_pages() argument
2015 spage->generation = gen; in scrub_pages()
2167 u64 gen, int mirror_num, u64 physical_for_dev_replace) in scrub_extent() argument
2207 ret = scrub_pages(sctx, logical, l, physical, dev, flags, gen, in scrub_extent()
2754 u64 gen; in scrub_supers() local
2761 gen = root->fs_info->last_trans_committed; in scrub_supers()
2769 scrub_dev, BTRFS_EXTENT_FLAG_SUPER, gen, i, in scrub_supers()
Dfile.c551 u64 gen; in btrfs_drop_extent_cache() local
581 gen = em->generation; in btrfs_drop_extent_cache()
617 split->generation = gen; in btrfs_drop_extent_cache()
636 split->generation = gen; in btrfs_drop_extent_cache()
/fs/xfs/
Dxfs_export.c104 fid->i32.gen = inode->i_generation; in xfs_fs_encode_fh()
112 fid64->gen = inode->i_generation; in xfs_fs_encode_fh()
175 inode = xfs_nfs_get_inode(sb, fid->i32.ino, fid->i32.gen); in xfs_fs_fh_to_dentry()
179 inode = xfs_nfs_get_inode(sb, fid64->ino, fid64->gen); in xfs_fs_fh_to_dentry()
Dxfs_export.h64 u32 gen; member
/fs/ocfs2/
Ddcache.c45 unsigned long gen = in ocfs2_dentry_attach_gen() local
48 dentry->d_fsdata = (void *)gen; in ocfs2_dentry_attach_gen()
72 unsigned long gen = (unsigned long) dentry->d_fsdata; in ocfs2_dentry_revalidate() local
78 pgen, gen); in ocfs2_dentry_revalidate()
79 if (gen != pgen) in ocfs2_dentry_revalidate()
Ddlmglue.c1222 unsigned int gen; in ocfs2_lock_create() local
1237 gen = lockres_set_pending(lockres); in ocfs2_lock_create()
1246 lockres_clear_pending(lockres, gen, osb); in ocfs2_lock_create()
1374 unsigned int gen; in __ocfs2_cluster_lock() local
1458 gen = lockres_set_pending(lockres); in __ocfs2_cluster_lock()
1474 lockres_clear_pending(lockres, gen, osb); in __ocfs2_cluster_lock()
1939 unsigned int gen; in ocfs2_file_unlock() local
1965 gen = ocfs2_prepare_downconvert(lockres, DLM_LOCK_NL); in ocfs2_file_unlock()
1969 ret = ocfs2_downconvert_lock(osb, lockres, DLM_LOCK_NL, 0, gen); in ocfs2_file_unlock()
3345 unsigned int gen; in ocfs2_unblock_lock() local
[all …]
Docfs2_trace.h2413 unsigned long gen),
2414 TP_ARGS(len, name, pgen, gen),
2419 __field(unsigned long, gen)
2425 __entry->gen = gen;
2428 __entry->pgen, __entry->gen)
Djournal.c1734 u32 gen; in ocfs2_mark_dead_nodes() local
1749 gen = ocfs2_get_recovery_generation(di); in ocfs2_mark_dead_nodes()
1754 osb->slot_recovery_generations[i] = gen; in ocfs2_mark_dead_nodes()
/fs/nilfs2/
Dnamei.c461 u64 ino, u32 gen) in nilfs_get_dentry() argument
478 if (gen && inode->i_generation != gen) { in nilfs_get_dentry()
496 return nilfs_get_dentry(sb, fid->cno, fid->ino, fid->gen); in nilfs_fh_to_dentry()
529 fid->gen = inode->i_generation; in nilfs_encode_fh()
Dexport.h19 u32 gen; member
/fs/gfs2/
Dlock_dlm.c469 uint32_t gen; in control_lvb_read() local
471 memcpy(&gen, lvb_bits, sizeof(uint32_t)); in control_lvb_read()
472 *lvb_gen = le32_to_cpu(gen); in control_lvb_read()
478 uint32_t gen; in control_lvb_write() local
480 gen = cpu_to_le32(lvb_gen); in control_lvb_write()
481 memcpy(ls->ls_control_lvb, &gen, sizeof(uint32_t)); in control_lvb_write()
/fs/
Dlibfs.c856 (struct super_block *sb, u64 ino, u32 gen)) in generic_fh_to_dentry() argument
866 inode = get_inode(sb, fid->i32.ino, fid->i32.gen); in generic_fh_to_dentry()
889 (struct super_block *sb, u64 ino, u32 gen)) in generic_fh_to_parent() argument
/fs/ext4/
Dialloc.c1035 __le32 gen = cpu_to_le32(inode->i_generation); in __ext4_new_inode() local
1038 ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, in __ext4_new_inode()
1039 sizeof(gen)); in __ext4_new_inode()
/fs/ceph/
Ddir.c945 u32 gen; in dentry_lease_is_valid() local
956 gen = s->s_cap_gen; in dentry_lease_is_valid()
960 if (di->lease_gen == gen && in dentry_lease_is_valid()
/fs/exportfs/
Dexpfs.c334 fid->i32.gen = inode->i_generation; in export_encode_fh()
/fs/reiserfs/
Dreiserfs.h1983 #define __fs_changed(gen,s) (gen != get_generation (s)) argument
1984 #define fs_changed(gen,s) \ argument
1987 __fs_changed(gen, s); \
/fs/nfsd/
Dnfsfh.c228 sfid.i32.gen = fh->ofh_generation; in nfsd_set_fh_dentry()

12