Home
last modified time | relevance | path

Searched refs:nr_paths (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/md/
H A Ddm-switch.c42 unsigned int nr_paths; /* Number of paths in path_list. */ member
60 static struct switch_ctx *alloc_switch_ctx(struct dm_target *ti, unsigned int nr_paths, in alloc_switch_ctx() argument
65 sctx = kzalloc(struct_size(sctx, path_list, nr_paths), GFP_KERNEL); in alloc_switch_ctx()
77 static int alloc_region_table(struct dm_target *ti, unsigned int nr_paths) in alloc_region_table() argument
90 (region_table_slot_t)1 << sctx->region_table_entry_bits < nr_paths) in alloc_region_table()
169 if (unlikely(path_nr >= sctx->nr_paths)) in switch_get_path_nr()
200 if (++path_nr >= sctx->nr_paths) in initialise_region_table()
212 &sctx->path_list[sctx->nr_paths].dmdev); in parse_path()
220 dm_put_device(ti, sctx->path_list[sctx->nr_paths].dmdev); in parse_path()
224 sctx->path_list[sctx->nr_paths] in parse_path()
263 unsigned int nr_paths, region_size, nr_optional_args; switch_ctr() local
[all...]
/linux/fs/xfs/scrub/
H A Ddirtree_repair.c561 if (dl->nr_paths > XFS_MAXLINK) { in xrep_dirtree_create_adoption_path()
562 ASSERT(dl->nr_paths <= XFS_MAXLINK); in xrep_dirtree_create_adoption_path()
590 trace_xrep_dirtree_create_adoption(sc, sc->ip, dl->nr_paths, in xrep_dirtree_create_adoption_path()
600 path->path_nr = dl->nr_paths; in xrep_dirtree_create_adoption_path()
603 dl->nr_paths++; in xrep_dirtree_create_adoption_path()
H A Ddirtree.c233 if (dl->nr_paths >= XFS_MAXLINK) in xchk_dirtree_create_path()
236 trace_xchk_dirtree_create_path(sc, ip, dl->nr_paths, &xname, rec); in xchk_dirtree_create_path()
257 path->path_nr = dl->nr_paths; in xchk_dirtree_create_path()
260 dl->nr_paths++; in xchk_dirtree_create_path()
746 dl->nr_paths = 0; in xchk_dirtree_reset()
H A Ddirtree.h141 unsigned int nr_paths; member
H A Dtrace.h1833 __field(unsigned int, nr_paths)
1843 __entry->nr_paths = dl->nr_paths;
1853 __entry->nr_paths,
/linux/fs/bcachefs/
H A Dbtree_types.h473 unsigned long nr_paths; member
506 btree_path_idx_t nr_paths; member
H A Dbtree_update.c376 EBUG_ON(trans->nr_updates >= trans->nr_paths); in bch2_trans_update_by_path()