Home
last modified time | relevance | path

Searched refs:obs (Results 1 – 6 of 6) sorted by relevance

/fs/xfs/scrub/
A Dnlinks_repair.c61 const struct xchk_nlink *obs) in xrep_nlinks_is_orphaned() argument
63 if (obs->parents != 0) in xrep_nlinks_is_orphaned()
92 struct xchk_nlink obs; in xrep_nlinks_repair_inode() local
155 error = xfarray_load_sparse(xnc->nlinks, ip->i_ino, &obs); in xrep_nlinks_repair_inode()
165 total_links = xchk_nlink_total(ip, &obs); in xrep_nlinks_repair_inode()
178 if (!S_ISDIR(VFS_I(ip)->i_mode) && obs.children != 0) { in xrep_nlinks_repair_inode()
179 trace_xrep_nlinks_unfixable_inode(mp, ip, &obs); in xrep_nlinks_repair_inode()
189 xrep_nlinks_is_orphaned(sc, ip, actual_nlink, &obs)) { in xrep_nlinks_repair_inode()
209 error = xfarray_load_sparse(xnc->nlinks, ip->i_ino, &obs); in xrep_nlinks_repair_inode()
214 total_links = xchk_nlink_total(ip, &obs); in xrep_nlinks_repair_inode()
[all …]
A Dnlinks.c605 struct xchk_nlink *obs) in xchk_nlinks_comparison_read() argument
631 obs->parents = nl.parents; in xchk_nlinks_comparison_read()
634 obs->flags = 0; in xchk_nlinks_comparison_read()
644 struct xchk_nlink obs; in xchk_nlinks_compare_inode() local
680 obs.children = obs.backrefs; in xchk_nlinks_compare_inode()
714 if (obs.children != obs.backrefs) in xchk_nlinks_compare_inode()
721 if (obs.backrefs != 0) { in xchk_nlinks_compare_inode()
730 if (obs.children != 0) { in xchk_nlinks_compare_inode()
743 if (obs.parents != 1) { in xchk_nlinks_compare_inode()
752 if (obs.parents == 0) { in xchk_nlinks_compare_inode()
[all …]
A Dtrace.h3282 const struct xchk_nlink *obs),
3283 TP_ARGS(mp, ino, obs),
3294 __entry->parents = obs->parents;
3295 __entry->backrefs = obs->backrefs;
3296 __entry->children = obs->children;
/fs/bcachefs/
A Dalloc_foreground.h107 static inline void ob_push(struct bch_fs *c, struct open_buckets *obs, in ob_push() argument
110 BUG_ON(obs->nr >= ARRAY_SIZE(obs->v)); in ob_push()
112 obs->v[obs->nr++] = ob - c->open_buckets; in ob_push()
122 struct open_buckets *obs) in ec_open_bucket() argument
127 open_bucket_for_each(c, obs, ob, i) in ec_open_bucket()
A Dbtree_update_interior.c294 struct open_buckets obs = { .nr = 0 }; in __bch2_btree_node_alloc() local
313 obs = a->ob; in __bch2_btree_node_alloc()
351 bch2_open_bucket_get(c, wp, &obs); in __bch2_btree_node_alloc()
355 b->ob = obs; in __bch2_btree_node_alloc()
A Dalloc_foreground.c128 struct open_buckets *obs, in bch2_open_bucket_write_error() argument
134 open_bucket_for_each(c, obs, ob, i) in bch2_open_bucket_write_error()

Completed in 23 milliseconds