Searched refs:total_blocks (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_init.c | 124 diskaddr_t total_blocks in meta_check_devicesize() argument 130 if (total_blocks > MD_MAX_BLKS_FOR_SMALL_DEVS) { in meta_check_devicesize() 153 diskaddr_t total_blocks; in meta_setup_geom() local 156 total_blocks = rounddown(md->c.un_actual_tb, cylsize); in meta_setup_geom() 158 total_blocks = md->c.un_actual_tb; in meta_setup_geom() 161 md->c.un_total_blocks = total_blocks; in meta_setup_geom() 185 diskaddr_t total_blocks; in meta_adjust_geom() local 188 total_blocks = rounddown(md->c.un_actual_tb, cylsize); in meta_adjust_geom() 190 total_blocks = md->c.un_actual_tb; in meta_adjust_geom() 193 md->c.un_total_blocks = total_blocks; in meta_adjust_geom()
|
/titanic_41/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_fsinfo.c | 102 fsblkcnt64_t total_blocks, free_blocks; in smb_com_query_information_disk() local 118 total_blocks = fssize.fs_caller_units; in smb_com_query_information_disk() 132 while (total_blocks >= 0xFFFF) { in smb_com_query_information_disk() 133 total_blocks >>= 1; in smb_com_query_information_disk() 137 total_blocks = 0xFFFF; in smb_com_query_information_disk() 143 total_units = (total_blocks >= 0xFFFF) ? in smb_com_query_information_disk() 144 0xFFFF : (unsigned short)total_blocks; in smb_com_query_information_disk()
|
/titanic_41/usr/src/cmd/fs.d/ |
H A D | df.c | 1317 fsblkcnt64_t total_blocks = fsp->f_blocks; in g_output() local 1338 DEFINE_STR_LEN(total_blocks); in g_output() 1355 SET_STR_LEN("total blocks", total_blocks); in g_output() 1398 adjust_total_blocks(dfrp, &total_blocks, fsp->f_frsize); in g_output() 1402 total_blocks, fsp->f_frsize, 512), in g_output() 1433 fsblkcnt64_t total_blocks = fsp->f_blocks; in k_output() local 1453 used_blocks = total_blocks - free_blocks; in k_output() 1467 (total_blocks == 0) ? 0.0 : in k_output() 1469 (double)(total_blocks - reserved_blocks)) in k_output() 1488 adjust_total_blocks(dfrp, &total_blocks, fsp->f_frsize); in k_output() [all …]
|
/titanic_41/usr/src/uts/common/io/lvm/mirror/ |
H A D | mirror_ioctl.c | 1326 diskaddr_t total_blocks; in mirror_grow_unit() local 1346 total_blocks = 0; in mirror_grow_unit() 1359 if ((total_blocks == 0) || in mirror_grow_unit() 1360 (su->c.un_total_blocks < total_blocks)) in mirror_grow_unit() 1361 total_blocks = su->c.un_total_blocks; in mirror_grow_unit() 1368 if (total_blocks <= un->c.un_total_blocks) in mirror_grow_unit() 1377 current_tb = (total_blocks/spc) * spc; in mirror_grow_unit() 1381 un->c.un_actual_tb = total_blocks; in mirror_grow_unit()
|
/titanic_41/usr/src/head/ |
H A D | meta.h | 854 extern int meta_check_devicesize(diskaddr_t total_blocks);
|