Searched refs:cdi (Results 1 – 8 of 8) sorted by relevance
/titanic_44/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_ft.c | 355 _sd_cd_info_t *cdi = &_sd_cache_files[cd]; in _sd_recovery_wblk_wait() local 358 FILE_OPENED(cd) && cdi->cd_recovering) { in _sd_recovery_wblk_wait() 360 if (!cdi->cd_writer) (void) cd_writer(cd); in _sd_recovery_wblk_wait() 442 _sd_cd_info_t *cdi; in _sd_ft_clone() local 445 cdi = &(_sd_cache_files[cd]); in _sd_ft_clone() 446 if ((cdi->cd_info->sh_failed != 2) && !FILE_OPENED(cd)) { in _sd_ft_clone() 481 if (cdi->cd_info->sh_failed) { /* raw device open/reserve failed */ in _sd_ft_clone() 482 mutex_enter(&cdi->cd_lock); in _sd_ft_clone() 483 (cdi->cd_info->sh_numio)++; in _sd_ft_clone() 484 mutex_exit(&cdi->cd_lock); in _sd_ft_clone() [all …]
|
H A D | sd_io.c | 1055 _sd_cd_info_t *cdi; in _sd_enqueue_io_pending() local 1057 cdi = &(_sd_cache_files[cd]); in _sd_enqueue_io_pending() 1058 if (cdi->cd_io_head == NULL) in _sd_enqueue_io_pending() 1059 cdi->cd_io_head = cdi->cd_io_tail = cclist; in _sd_enqueue_io_pending() 1061 cdi->cd_io_tail->cc_dirty_link = cclist; in _sd_enqueue_io_pending() 1062 cdi->cd_io_tail = cclist; in _sd_enqueue_io_pending() 1146 _sd_cd_info_t *cdi; in _sd_process_pending() local 1153 cdi = &(_sd_cache_files[cd]); in _sd_process_pending() 1156 SDT_INV_BL, cdi->cd_info->sh_numio, 0); in _sd_process_pending() 1158 if (cdi->cd_io_head == NULL) { in _sd_process_pending() [all …]
|
H A D | sd_pcu.c | 78 static int flush_centry_list(_sd_cd_info_t *cdi, _sd_cctl_t *dirty, dev_t dev, 405 flush_centry_list(_sd_cd_info_t *cdi, in flush_centry_list() argument 421 mutex_enter(&cdi->cd_lock); in flush_centry_list() 465 mutex_exit(&cdi->cd_lock); in flush_centry_list() 515 _sd_cd_info_t *cdi; in _sdbc_power_flush() local 576 cdi = _sd_cache_files; in _sdbc_power_flush() 579 if (cdi->cd_info == NULL) in _sdbc_power_flush() 581 if (cdi->cd_info->sh_alloc == 0) in _sdbc_power_flush() 584 string_size += strlen(cdi->cd_info->sh_filename) + 1; in _sdbc_power_flush() 585 } while (++cdi != &_sd_cache_files[sdbc_max_devs]); in _sdbc_power_flush() [all …]
|
H A D | sd_bcache.c | 1336 _sd_cd_info_t *cdi; in _sd_open_io() local 1342 cdi = &(_sd_cache_files[cd]); in _sd_open_io() 1343 cdi->cd_iodev = iodev; in _sd_open_io() 1344 nsc_set_owner(cdi->cd_rawfd, cdi->cd_iodev); in _sd_open_io() 1361 _sd_cd_info_t *cdi; in _sd_open_cd() local 1384 cdi = &(_sd_cache_files[cd]); in _sd_open_cd() 1386 if (cdi->cd_info == NULL) in _sd_open_cd() 1387 cdi->cd_info = &_sd_cache_stats->st_shared[cd]; in _sd_open_cd() 1388 else if (cdi->cd_info->sh_alloc && in _sd_open_cd() 1389 strcmp(cdi->cd_info->sh_filename, filename)) { in _sd_open_cd() [all …]
|
H A D | sd_conf.c | 500 _sd_cd_info_t *cdi; local 514 cdi = &(_sd_cache_files[i]); 515 if (cdi->cd_info == NULL) 524 cdi->cd_info->sh_filename); 595 cdi = &(_sd_cache_files[i]); 596 if (cdi->cd_info == NULL) 606 i, cdi->cd_info->sh_filename);
|
/titanic_44/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_raw.c | 288 raw_dev_t *cdi = NULL; in _raw_open() local 332 for (cd = 0, cdi = _nsc_raw_files; cd < fd_hwm; cd++, cdi++) { in _raw_open() 333 if (rdev == cdi->rdev) { in _raw_open() 336 } else if (the_cd == -1 && !cdi->in_use) in _raw_open() 351 cdi = &_nsc_raw_files[the_cd]; in _raw_open() 352 if (cdi->in_use) { in _raw_open() 355 *cdp = (blind_t)cdi->rdev; in _raw_open() 360 cdi->partition = -1; in _raw_open() 361 cdi->size = (uint64_t)0; in _raw_open() 362 cdi->rdev = rdev; in _raw_open() [all …]
|
/titanic_44/usr/src/cmd/mdb/common/modules/sdbc/ |
H A D | sdbc.c | 2327 _sd_cd_info_t cdi; in sdbc_cdinfo() local 2358 if (mdb_vread(&cdi, sizeof (_sd_cd_info_t), addr) == -1) { in sdbc_cdinfo() 2367 if (cdi.cd_info) { in sdbc_cdinfo() 2369 (uintptr_t)cdi.cd_info) == -1) { in sdbc_cdinfo() 2371 cdi.cd_info); in sdbc_cdinfo() 2382 if (OPT_C_SELECTED && (opt_c != cdi.cd_desc)) in sdbc_cdinfo() 2387 addr, cdi.cd_desc, fn); in sdbc_cdinfo() 2390 cdi.cd_hint, cache_hints); in sdbc_cdinfo() 2399 cdi.cd_rawfd, in sdbc_cdinfo() 2401 cdi.cd_crdev, in sdbc_cdinfo() [all …]
|
/titanic_44/usr/src/uts/common/pcmcia/cs/ |
H A D | cs.c | 7755 cs_ddi_info(cs_ddi_info_t *cdi) 7761 if (cdi->driver_name == NULL) 7767 (int)cdi->Socket, cdi->driver_name); 7778 if (!CHECK_SOCKET_NUM(cdi->Socket, cs_globals.max_socket_num)) { 7784 (int)cdi->Socket, 7785 cdi->driver_name); 7795 if ((sp = cs_get_sp(cdi->Socket)) == NULL) 7807 (int)cdi->Socket, 7814 if (!(strcmp(client->driver_name, cdi->driver_name))) { 7815 cdi->dip = client->dip; [all …]
|