/titanic_41/usr/src/cmd/lvm/util/ |
H A D | metadb.c | 88 int *dbsize, in get_dbnames_fromfile() argument 132 if (sscanf(optarg, "%d", dbsize) != 1) { in get_dbnames_fromfile() 176 int dbsize, dbcnt, default_size; in build_a_namelist() local 182 &dbsize, &dbcnt, &default_size, ep) == NULL) { in build_a_namelist() 208 int *dbsize, in build_next_namelist() argument 228 dbsize, dbcnt, default_size, ep) == NULL) { in build_next_namelist() 259 int dbsize = MD_DBSIZE; in chngdb() local 295 if (sscanf(optarg, "%d", &dbsize) != 1) { in chngdb() 322 dbsize = MD_MN_DBSIZE; in chngdb() 326 if (dbsize > maxblks) in chngdb() [all …]
|
H A D | metaset.c | 422 daddr_t dbsize, nblks; in parse_add() local 462 if (sscanf(optarg, "%ld", &dbsize) != 1) { in parse_add() 728 if ((multi_node && dbsize < MDDB_MN_MINBLKS) || in parse_add() 729 (!multi_node && dbsize < MDDB_MINBLKS)) in parse_add() 733 if ((multi_node && dbsize > MDDB_MN_MAXBLKS) || in parse_add() 734 (!multi_node && dbsize > MDDB_MAXBLKS)) in parse_add() 764 dbsize = multi_node ? MD_MN_DBSIZE : MD_DBSIZE; in parse_add() 768 dbsize = nblks; /* adjust replica size */ in parse_add() 786 if (meta_set_adddrives(sp, dnlp, dbsize, force_label, ep)) { in parse_add()
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_db_balance.c | 75 daddr_t dbsize, in add_replica() argument 98 (&sd->sd_ctime), dbcnt, dbsize, NULL, ep) == -1) { in add_replica() 161 daddr_t dbsize, in add_drv_to_ctl_lst() argument 284 assert(dbsize != 0); in add_drv_to_ctl_lst() 287 (*dpp)->drv_dbsize = dbsize; in add_drv_to_ctl_lst() 301 return (add_drv_to_ctl_lst(clpp, rlp, dnp, dbcnt, dbsize, tcinfop, in add_drv_to_ctl_lst() 599 daddr_t dbsize, in build_ctlr_lst() argument 650 if (add_drv_to_ctl_lst(clpp, rlp, d->dd_dnp, 0, dbsize, NULL, in build_ctlr_lst() 846 daddr_t dbsize, in balance_replicas() argument 869 if (build_ctlr_lst(sp, clpp, opdd, curdd, FALSE, dbsize, ep) == -1) in balance_replicas() [all …]
|
H A D | meta_repartition.c | 207 daddr_t dbsize; in meta_repartition_drive() local 237 dbsize = MD_DBSIZE; in meta_repartition_drive() 243 dbsize = MD_MN_DBSIZE; in meta_repartition_drive() 256 ressize = dbsize + VTOC_SIZE; in meta_repartition_drive()
|
H A D | meta_db.c | 177 int dbsize, in mkmasterblks() argument 213 for (cnt = dbsize; cnt > 0; cnt -= consecutive) { in mkmasterblks() 270 mb->mb_blkcnt = dbsize - 1; in mkmasterblks() 275 mb->mb_blkmap.m_consecutive = dbsize - 1; in mkmasterblks() 1306 int dbsize, in meta_db_attach() argument 1413 if (meta_check_replica(sp, np, options, 0, (dbcnt * dbsize), in meta_db_attach() 1421 if (devsize < (diskaddr_t)((dbcnt * dbsize) + 16)) in meta_db_attach() 1453 if (mkmasterblks(sp, np, fd, (i * dbsize + 16), dbsize, in meta_db_attach() 1522 attach.msg_dbsize = dbsize; in meta_db_attach() 1575 c.c_locator.l_blkno = i * dbsize + 16; in meta_db_attach() [all …]
|
H A D | meta_set_tkr.c | 333 int dbsize; in meta_update_mb() local 362 dbsize = dd->dd_dbsize; in meta_update_mb() 387 offset = (i * dbsize + 16); in meta_update_mb()
|
H A D | meta_set_prv.c | 347 int dbsize, in metadrivedesc_append() argument 364 p->dd_dbsize = dbsize; in metadrivedesc_append()
|
H A D | meta_set_drv.c | 204 daddr_t dbsize, in meta_set_adddrives() argument 514 if ((rval = meta_db_balance(sp, dd, curdd, dbsize, ep)) == -1) in meta_set_adddrives()
|
H A D | meta_set.c | 1026 daddr_t dbsize; in meta_set_balance() local 1039 dbsize = (MD_MNSET_DESC(sd)) ? MD_MN_DBSIZE : MD_DBSIZE; in meta_set_balance() 1059 dbsize = nblks; /* adjust replica size */ in meta_set_balance() 1121 if ((rval = meta_db_balance(sp, dd, curdd, dbsize, ep)) == -1) in meta_set_balance()
|
/titanic_41/usr/src/lib/lvm/libmeta/common/hdrs/ |
H A D | meta_set_prv.h | 76 mddrivename_t *dnp, int dbcnt, int dbsize,
|
/titanic_41/usr/src/lib/libast/common/vmalloc/ |
H A D | vmdebug.c | 331 static long dbsize(Vmalloc_t* vm, Void_t* addr) in dbsize() function 333 static long dbsize(vm, addr) in dbsize() 786 dbsize,
|
/titanic_41/usr/src/uts/common/io/ntxn/ |
H A D | unm_gem.c | 897 off_t regsize, dbsize = UNM_DB_MAPSIZE_BYTES; in unm_pci_map_setup() local 972 dbsize, &unm_dev_attr, &adapter->db_handle); in unm_pci_map_setup() 981 adapter->ahw.db_len = dbsize; in unm_pci_map_setup()
|
/titanic_41/usr/src/head/ |
H A D | meta.h | 727 int dbcnt, int dbsize, char *sysfilename, 747 md_drive_desc *curdd, daddr_t dbsize, 1529 mddrivenamelist_t *dnlp, daddr_t dbsize,
|