/titanic_44/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_dev.h | 185 blind_t sf_cd; /* Underlying I/O descriptor */ 186 blind_t sf_arg; /* Argument for callbacks */ 209 extern int _nsc_call_io(long, blind_t, blind_t, blind_t);
|
H A D | nsc_power.c | 89 _nsc_power(blind_t argp, int *rvp) in _nsc_power() 184 blind_t 210 return ((blind_t)entry); in nsc_register_power() 226 nsc_unregister_power(blind_t powerp) in nsc_unregister_power()
|
H A D | nsc_cache.c | 65 static int _nsc_alloc_buf_h(blind_t, nsc_off_t, nsc_size_t, int, 188 _nsc_alloc_buf_h(blind_t cd, nsc_off_t pos, nsc_size_t len, in _nsc_alloc_buf_h() 422 return (_nsc_call_io(_I(nodehints), (blind_t)hints, in nsc_node_hints() 423 (blind_t)NSC_GET_NODE_HINT, 0)); in nsc_node_hints() 429 return (_nsc_call_io(_I(nodehints), (blind_t)(unsigned long)hints, in nsc_node_hints_set() 430 (blind_t)NSC_SET_NODE_HINT, 0)); in nsc_node_hints_set() 437 return (_nsc_call_io(_I(sizes), (blind_t)asize, (blind_t)wsize, 0)); in nsc_cache_sizes()
|
H A D | nsc_power.h | 46 extern int _nsc_power(blind_t, int *);
|
H A D | nsc_ncallio.c | 96 nsc_ncio_open(char *node_and_path, int flag, blind_t *cdp, void *iodev) in nsc_ncio_open() 140 *cdp = (blind_t)ncp; in nsc_ncio_open() 419 if ((blind_t)ncp == NSC_ANON_CD) { in nsc_ncio_allocb() 432 if (!((blind_t)ncp == NSC_ANON_CD)) { in nsc_ncio_allocb() 446 if ((flag & NSC_RDAHEAD) || ((blind_t)ncp == NSC_ANON_CD)) in nsc_ncio_allocb()
|
H A D | nsc_freeze.c | 265 blind_t *cdp;
|
H A D | nsc_disk.c | 62 static int _nsc_alloc_dbuf(blind_t, nsc_off_t, nsc_size_t, int, nsc_dbuf_t **); 289 _nsc_alloc_dbuf(blind_t cd, nsc_off_t pos, nsc_size_t len, in _nsc_alloc_dbuf()
|
H A D | nsc_resv.c | 47 static int _nsc_call_dev(nsc_dev_t *, blindfn_t, blind_t, 907 _nsc_call_dev(nsc_dev_t *dev, blindfn_t fn, blind_t arg, int *ap, int *pp, in _nsc_call_dev()
|
H A D | nsc_dev.c | 724 blind_t arg; 1522 _nsc_call_io(long f, blind_t a, blind_t b, blind_t c) in _nsc_call_io()
|
/titanic_44/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_thread.h | 48 typedef void * blind_t; typedef 82 blind_t tp_arg; /* Argument to tp_func */ 142 nsthread_t *nst_create(nstset_t *, void (*)(), blind_t, int);
|
H A D | nsc_ddi.h | 52 typedef void * blind_t; typedef
|
H A D | nsc_raw.c | 285 _raw_open(char *path, int flag, blind_t *cdp, void *iodev) in _raw_open() 355 *cdp = (blind_t)cdi->rdev; in _raw_open() 402 *cdp = (blind_t)cdi->rdev; in _raw_open()
|
/titanic_44/usr/src/uts/common/avs/ns/ |
H A D | nsctl_inter.h | 59 typedef void * blind_t; typedef 70 blind_t nsc_register_power(char *, void *) { } in nsc_register_power() 71 int nsc_unregister_power(blind_t) { } in nsc_unregister_power() argument 75 nsc_fd_t *nsc_open(char *, int, void *, blind_t, int *) { } in nsc_open() argument
|
H A D | nsctl.h | 149 extern blind_t nsc_register_power(char *, nsc_def_t *); 150 extern int nsc_unregister_power(blind_t); 204 extern nsc_fd_t *nsc_open(char *, int, nsc_def_t *, blind_t, int *); 302 #define NSC_ANON_CD ((blind_t)(-1)) /* used for IO provider alloc buf */
|
/titanic_44/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_tdaemon.c | 110 static void myend(blind_t arg, nsc_off_t fba_pos, nsc_size_t fba_len, 453 rc = _sdbc_io_attach_cd((blind_t)(unsigned long)cd); in test_control() 457 rc = _sdbc_io_detach_cd((blind_t)(unsigned long)cd); in test_control() 478 rc = _sd_get_pinned((blind_t)(unsigned long)cd); in test_control() 482 rc = _sd_discard_pinned((blind_t)(unsigned long)cd, fba_pos, in test_control() 677 (void) _sd_get_partsize((blind_t)(unsigned long)cd, &fsize); in _sd_test_rwloop_seq() 685 sts = _sd_alloc_buf((blind_t)(unsigned long)cd, 0, len, NSC_WRBUF, in _sd_test_rwloop_seq() 704 sts = _sd_alloc_buf((blind_t)(unsigned long)cd, offset, len, in _sd_test_rwloop_seq() 741 sts = _sd_alloc_buf((blind_t)(unsigned long)cd, offset, len, in _sd_test_rwloop_seq() 975 myend(blind_t arg, nsc_off_t fba_pos, nsc_size_t fba_len, int error) in myend() [all …]
|
H A D | sd_bcache.h | 959 typedef void (*sdbc_ea_fn_t) (blind_t, nsc_off_t, nsc_size_t, int); 1083 extern int _sdbc_io_attach_cd(blind_t xcd); 1084 extern int _sdbc_io_detach_cd(blind_t xcd); 1085 extern int _sd_get_pinned(blind_t cd); 1090 extern int _sd_alloc_buf(blind_t xcd, nsc_off_t fba_pos, nsc_size_t fba_len, 1121 extern int _sd_get_partsize(blind_t cd, nsc_size_t *ptr); 1122 extern int _sd_get_maxfbas(blind_t cd, int flag, nsc_size_t *ptr); 1123 extern int _sd_discard_pinned(blind_t cd, nsc_off_t fba_pos,
|
H A D | sd_bio.h | 41 extern int sd_start_io(struct buf *, strategy_fn_t, sdbc_ea_fn_t, blind_t);
|
H A D | sd_iob.h | 56 blind_t param; /* param for clnt end action routine */
|
H A D | sd_bcache.c | 372 static void _sd_async_read_ea(blind_t xhandle, nsc_off_t fba_pos, 374 static void _sd_async_write_ea(blind_t xhandle, nsc_off_t fba_pos, 387 static int sdbc_fd_attach_cd(blind_t xcd); 388 static int sdbc_fd_detach_cd(blind_t xcd); 389 static int sdbc_fd_flush_cd(blind_t xcd); 1334 _sd_open_io(char *filename, int flag, blind_t *cdp, nsc_iodev_t *iodev) in _sd_open_io() 1346 *cdp = (blind_t)(unsigned long)cd; in _sd_open_io() 1474 (blind_t)(unsigned long)alloc_cd, &rc)) || in _sd_open_cd() 1634 _sd_close_io(blind_t xcd) in _sd_close_io() 1760 _sdbc_io_attach_cd(blind_t xcd) in _sdbc_io_attach_cd() [all …]
|
H A D | sd_io.c | 81 static void _sd_flcent_ea(blind_t xcc_ent, nsc_off_t fba_pos, 83 static void _sd_flclist_ea(blind_t xcc_ent, nsc_off_t fba_pos, 1324 _sd_flcent_ea(blind_t xcc_ent, nsc_off_t fba_pos, nsc_size_t fba_len, int error) in _sd_flcent_ea() 1397 _sd_flclist_ea(blind_t xcc_ent, nsc_off_t fba_pos, nsc_size_t fba_len, in _sd_flclist_ea() 1736 t = nst_create(tset, cd_write_thread, (blind_t)(unsigned long)cd, 0); in cd_writer() 1919 cd_write_thread, (blind_t)(unsigned long)cd, in _sd_flush_thread()
|
H A D | sd_bio.c | 927 blind_t arg) in sd_start_io() 1180 blind_t arg; in _sd_async_ea()
|
H A D | sd_conf.c | 80 static blind_t sdbc_power;
|
/titanic_44/usr/src/uts/common/avs/ns/sv/ |
H A D | sv.c | 172 static int svattach_fd(blind_t); 173 static int svdetach_fd(blind_t); 954 sv_fd_def, (blind_t)udev, &rc); in sv_enable() 1104 svattach_fd(blind_t arg) in svattach_fd() 1142 svdetach_fd(blind_t arg) in svdetach_fd() 2350 sv_async_strategy(blind_t arg) in sv_async_strategy() 2385 tp = nst_create(sv_tset, sv_async_strategy, (blind_t)bp, 0); in sv_lyr_strategy()
|
/titanic_44/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_dev.c | 171 _rdc_fd_def, (blind_t)&dp->id_cache_dev, rc); in rdc_idev_open() 180 _rdc_fd_def, (blind_t)&dp->id_raw_dev, rc); in rdc_idev_open() 1359 _rdc_open(char *path, int flag, blind_t *cdp, nsc_iodev_t *iodev) in _rdc_open() 1428 *cdp = (blind_t)rfd; in _rdc_open() 1434 _rdc_openc(char *path, int flag, blind_t *cdp, nsc_iodev_t *iodev) in _rdc_openc() 1440 _rdc_openr(char *path, int flag, blind_t *cdp, nsc_iodev_t *iodev) in _rdc_openr() 1747 _rdc_attach_fd(blind_t arg) in _rdc_attach_fd()
|
/titanic_44/usr/src/uts/common/avs/ns/dsw/ |
H A D | dsw_dev.c | 785 (blind_t)&(ip->bi_shddev), &rc); in ii_open_shadow() 789 (blind_t)&(ip->bi_shddev), &file_rc); in ii_open_shadow() 802 (blind_t)&(ip->bi_shdrdev), &rc); in ii_open_shadow() 807 (blind_t)&(ip->bi_shdrdev), &rc); in ii_open_shadow() 1230 NSC_IIR_ID|NSC_FILE|NSC_RDWR, NULL, (blind_t)&(ip->bi_bmpdev), &rc); in _ii_config() 1234 (blind_t)&(ip->bi_bmpdev), &rc); in _ii_config() 1621 (blind_t)(ip->bi_mstdev), &rc); in _ii_config() 1632 (blind_t)(ip->bi_mstrdev), &rc); in _ii_config() 3976 NSC_IIR_ID|NSC_FILE|NSC_RDWR, NULL, (blind_t)&(iodev), &rc); in _ii_ocreate() 3980 (blind_t)&(iodev), &rc); in _ii_ocreate() [all …]
|