Home
last modified time | relevance | path

Searched refs:blind_t (Results 1 – 25 of 27) sorted by relevance

12

/titanic_44/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_dev.h185 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 Dnsc_power.c89 _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 Dnsc_cache.c65 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 Dnsc_power.h46 extern int _nsc_power(blind_t, int *);
H A Dnsc_ncallio.c96 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 Dnsc_freeze.c265 blind_t *cdp;
H A Dnsc_disk.c62 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 Dnsc_resv.c47 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 Dnsc_dev.c724 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 Dnsc_thread.h48 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 Dnsc_ddi.h52 typedef void * blind_t; typedef
H A Dnsc_raw.c285 _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 Dnsctl_inter.h59 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 Dnsctl.h149 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 Dsd_tdaemon.c110 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 Dsd_bcache.h959 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 Dsd_bio.h41 extern int sd_start_io(struct buf *, strategy_fn_t, sdbc_ea_fn_t, blind_t);
H A Dsd_iob.h56 blind_t param; /* param for clnt end action routine */
H A Dsd_bcache.c372 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 Dsd_io.c81 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 Dsd_bio.c927 blind_t arg) in sd_start_io()
1180 blind_t arg; in _sd_async_ea()
H A Dsd_conf.c80 static blind_t sdbc_power;
/titanic_44/usr/src/uts/common/avs/ns/sv/
H A Dsv.c172 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 Drdc_dev.c171 _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 Ddsw_dev.c785 (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 …]

12