/illumos-gate/usr/src/lib/scsi/libscsi/common/ |
H A D | scsi_subr.c | 67 libscsi_set_errno(libscsi_hdl_t *hp, libscsi_errno_t err) in libscsi_set_errno() 82 libscsi_verror(libscsi_hdl_t *hp, libscsi_errno_t err, const char *fmt, in libscsi_verror() 114 libscsi_error(libscsi_hdl_t *hp, libscsi_errno_t err, const char *fmt, ...) in libscsi_error() 129 libscsi_errno(libscsi_hdl_t *hp) in libscsi_errno() 135 libscsi_errmsg(libscsi_hdl_t *hp) in libscsi_errmsg() 145 libscsi_alloc(libscsi_hdl_t *hp, size_t size) in libscsi_alloc() 161 libscsi_zalloc(libscsi_hdl_t *hp, size_t size) in libscsi_zalloc() 174 libscsi_strdup(libscsi_hdl_t *hp, const char *str) in libscsi_strdup() 187 libscsi_free(libscsi_hdl_t *hp, void *ptr) in libscsi_free() 195 libscsi_hdl_t *hp; in libscsi_init() local [all …]
|
H A D | scsi_engine.c | 45 get_engine(libscsi_hdl_t *hp, const char *name) in get_engine() 165 libscsi_open(libscsi_hdl_t *hp, const char *engine, const void *target) in libscsi_open() 212 libscsi_close(libscsi_hdl_t *hp, libscsi_target_t *tp) in libscsi_close() 485 libscsi_action_alloc_vendor(libscsi_hdl_t *hp, spc3_cmd_t cmd, size_t cdbsz, in libscsi_action_alloc_vendor() 566 libscsi_action_alloc(libscsi_hdl_t *hp, spc3_cmd_t cmd, uint_t flags, in libscsi_action_alloc() 627 libscsi_hdl_t *hp = aip->lsai_hdl; in libscsi_exec() local 655 libscsi_hdl_t *hp = tp->lst_hdl; in libscsi_max_transfer() local
|
/illumos-gate/usr/src/uts/common/refhash/ |
H A D | refhash.c | 35 refhash_t *hp; in refhash_create() local 66 refhash_destroy(refhash_t *hp) in refhash_destroy() 75 refhash_insert(refhash_t *hp, void *op) in refhash_insert() 90 refhash_delete(refhash_t *hp, void *op) in refhash_delete() 102 refhash_remove(refhash_t *hp, void *op) in refhash_remove() 114 refhash_lookup(refhash_t *hp, const void *tp) in refhash_lookup() 134 refhash_linear_search(refhash_t *hp, refhash_eval_f eval, void *arg) in refhash_linear_search() 150 refhash_hold(refhash_t *hp, void *op) in refhash_hold() 158 refhash_rele(refhash_t *hp, void *op) in refhash_rele() 169 refhash_first(refhash_t *hp) in refhash_first() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd_io.c | 53 sbd_attach_io(sbd_handle_t *hp, sbderror_t *ep, dev_info_t *dip, int unit) in sbd_attach_io() 72 sbd_detach_io(sbd_handle_t *hp, sbderror_t *ep, dev_info_t *dip, int unit) in sbd_detach_io() 125 sbd_disconnect_io(sbd_handle_t *hp, int unit) in sbd_disconnect_io() 131 sbd_pre_attach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_pre_attach_io() 142 sbd_pre_detach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_pre_detach_io() 162 sbd_post_attach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_post_attach_io() 173 sbd_post_detach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_post_detach_io() 180 sbd_io_status(sbd_handle_t *hp, sbd_devset_t devset, sbd_dev_stat_t *dsp) in sbd_io_status() 297 sbd_io_cnt(sbd_handle_t *hp, sbd_devset_t devset) in sbd_io_cnt() 326 sbd_check_io_refs(sbd_handle_t *hp, sbd_devlist_t devlist[], int devnum) in sbd_check_io_refs() [all …]
|
H A D | sbd.c | 495 sbd_handle_t *hp; in sbd_ioctl() local 691 sbd_exec_op(sbd_handle_t *hp) in sbd_exec_op() 793 sbd_get_devtype(sbd_handle_t *hp, dev_info_t *dip) in sbd_get_devtype() 848 sbd_dev_configure(sbd_handle_t *hp) in sbd_dev_configure() 925 sbd_dev_release(sbd_handle_t *hp) in sbd_dev_release() 993 sbd_dev_unconfigure(sbd_handle_t *hp) in sbd_dev_unconfigure() 1105 sbd_attach_cpu(sbd_handle_t *hp, sbderror_t *ep, dev_info_t *dip, int unit) in sbd_attach_cpu() 1183 sbd_detach_cpu(sbd_handle_t *hp, sbderror_t *ep, dev_info_t *dip, int unit) in sbd_detach_cpu() 1224 sbd_detach_mem(sbd_handle_t *hp, sbderror_t *ep, int unit) in sbd_detach_mem() 1435 sbd_handle_t *hp; in sbd_get_handle() local [all …]
|
H A D | sbd_cpu.c | 237 sbd_cpu_flags(sbd_handle_t *hp, sbd_devset_t devset, sbd_dev_stat_t *dsp) in sbd_cpu_flags() 340 sbd_pre_release_cpu(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_pre_release_cpu() 459 sbd_pre_attach_cpu(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_pre_attach_cpu() 531 sbd_post_attach_cpu(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_post_attach_cpu() 644 sbd_pre_detach_cpu(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_pre_detach_cpu() 750 sbd_post_detach_cpu(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_post_detach_cpu() 826 sbd_cancel_cpu(sbd_handle_t *hp, int unit) in sbd_cancel_cpu() 967 sbd_handle_t *hp = MACHBD2HD(sbp); in sbd_connect_cpu() local 1029 sbd_disconnect_cpu(sbd_handle_t *hp, int unit) in sbd_disconnect_cpu()
|
/illumos-gate/usr/src/lib/scsi/plugins/scsi/engines/uscsi/ |
H A D | uscsi.c | 50 uscsi_open(libscsi_hdl_t *hp, const void *target) in uscsi_open() 75 uscsi_close(libscsi_hdl_t *hp, void *private) in uscsi_close() 90 xlate_flags(libscsi_hdl_t *hp, uint_t flags, int *uf) in xlate_flags() 131 uscsi_exec(libscsi_hdl_t *hp, void *private, libscsi_action_t *ap) in uscsi_exec() 210 uscsi_target_name(libscsi_hdl_t *hp, void *private, char *buf, size_t len) in uscsi_target_name() 218 uscsi_max_transfer(libscsi_hdl_t *hp, void *private, size_t *sizep) in uscsi_max_transfer() 264 libscsi_uscsi_init(libscsi_hdl_t *hp) in libscsi_uscsi_init()
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_hash.c | 36 ctf_hash_create(ctf_hash_t *hp, ulong_t nelems) in ctf_hash_create() 71 ctf_hash_size(const ctf_hash_t *hp) in ctf_hash_size() 96 ctf_hash_insert(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name) in ctf_hash_insert() 133 ctf_hash_define(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name) in ctf_hash_define() 146 ctf_hash_lookup(ctf_hash_t *hp, ctf_file_t *fp, const char *key, size_t len) in ctf_hash_lookup() 168 ctf_hash_destroy(ctf_hash_t *hp) in ctf_hash_destroy() 182 ctf_hash_dump(const char *tag, ctf_hash_t *hp, ctf_file_t *fp) in ctf_hash_dump()
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_io.c | 69 dr_attach_io(dr_handle_t *hp, dr_common_unit_t *cp) in dr_attach_io() 89 dr_detach_io(dr_handle_t *hp, dr_common_unit_t *cp) in dr_detach_io() 116 dr_pre_attach_io(dr_handle_t *hp, in dr_pre_attach_io() 132 dr_post_attach_io(dr_handle_t *hp, in dr_post_attach_io() 139 dr_check_io_refs(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_check_io_refs() 187 dr_pre_release_io(dr_handle_t *hp, in dr_pre_release_io() 238 dr_pre_detach_io(dr_handle_t *hp, in dr_pre_detach_io() 256 dr_post_detach_io(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_detach_io() 295 dr_io_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) in dr_io_status()
|
H A D | dr.c | 562 dr_handle_t *hp; in dr_ioctl() local 882 dr_copyin_iocmd(dr_handle_t *hp) in dr_copyin_iocmd() 947 dr_copyout_iocmd(dr_handle_t *hp) in dr_copyout_iocmd() 996 dr_copyout_errs(dr_handle_t *hp) in dr_copyout_errs() 1046 dr_pre_op(dr_handle_t *hp) in dr_pre_op() 1113 dr_post_op(dr_handle_t *hp, int rv) in dr_post_op() 1143 dr_exec_op(dr_handle_t *hp) in dr_exec_op() 1220 dr_assign_board(dr_handle_t *hp) in dr_assign_board() 1231 dr_unassign_board(dr_handle_t *hp) in dr_unassign_board() 1258 dr_poweron_board(dr_handle_t *hp) in dr_poweron_board() [all …]
|
H A D | dr_mem_acpi.c | 163 dr_attach_mem(dr_handle_t *hp, dr_common_unit_t *cp) in dr_attach_mem() 245 dr_detach_mem(dr_handle_t *hp, dr_common_unit_t *cp) in dr_detach_mem() 278 dr_mem_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) in dr_mem_status() 411 dr_pre_attach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_attach_mem() 473 dr_post_attach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_attach_mem() 541 dr_pre_detach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_detach_mem() 548 dr_post_detach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_detach_mem() 563 dr_pre_release_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_release_mem()
|
H A D | dr_cpu.c | 226 dr_pre_attach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_attach_cpu() 263 dr_attach_cpu(dr_handle_t *hp, dr_common_unit_t *cp) in dr_attach_cpu() 301 dr_post_attach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_attach_cpu() 358 dr_pre_release_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_release_cpu() 472 dr_pre_detach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_detach_cpu() 557 dr_detach_cpu(dr_handle_t *hp, dr_common_unit_t *cp) in dr_detach_cpu() 587 dr_post_detach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_detach_cpu() 705 dr_cpu_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) in dr_cpu_status()
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_io.c | 91 dr_attach_io(dr_handle_t *hp, dr_common_unit_t *cp) in dr_attach_io() 111 dr_detach_io(dr_handle_t *hp, dr_common_unit_t *cp) in dr_detach_io() 138 dr_pre_attach_io(dr_handle_t *hp, in dr_pre_attach_io() 154 dr_post_attach_io(dr_handle_t *hp, in dr_post_attach_io() 161 dr_check_io_refs(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_check_io_refs() 209 dr_pre_release_io(dr_handle_t *hp, in dr_pre_release_io() 260 dr_pre_detach_io(dr_handle_t *hp, in dr_pre_detach_io() 278 dr_post_detach_io(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_detach_io() 317 dr_io_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) in dr_io_status()
|
H A D | dr.c | 564 dr_handle_t *hp; in dr_ioctl() local 886 dr_copyin_iocmd(dr_handle_t *hp) in dr_copyin_iocmd() 950 dr_copyout_iocmd(dr_handle_t *hp) in dr_copyout_iocmd() 999 dr_copyout_errs(dr_handle_t *hp) in dr_copyout_errs() 1049 dr_pre_op(dr_handle_t *hp) in dr_pre_op() 1115 dr_post_op(dr_handle_t *hp) in dr_post_op() 1153 dr_exec_op(dr_handle_t *hp) in dr_exec_op() 1230 dr_assign_board(dr_handle_t *hp) in dr_assign_board() 1241 dr_unassign_board(dr_handle_t *hp) in dr_unassign_board() 1268 dr_poweron_board(dr_handle_t *hp) in dr_poweron_board() [all …]
|
H A D | dr_cpu.c | 269 dr_pre_attach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_attach_cpu() 322 dr_attach_cpu(dr_handle_t *hp, dr_common_unit_t *cp) in dr_attach_cpu() 357 dr_post_attach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_attach_cpu() 414 dr_pre_release_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_release_cpu() 525 dr_pre_detach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_detach_cpu() 611 dr_detach_cpu(dr_handle_t *hp, dr_common_unit_t *cp) in dr_detach_cpu() 634 dr_post_detach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_detach_cpu() 758 dr_cpu_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) in dr_cpu_status()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 71 #define hist_ind(hp,c) ((int)((c)&(hp)->histmask)) argument 133 static int acctinit(History_t *hp) in acctinit() 178 static int sh_checkaudit(History_t *hp, const char *name, char *logbuf, size_t len) in sh_checkaudit() 231 register History_t *hp; in sh_histinit() local 411 void hist_close(register History_t *hp) in hist_close() 459 static History_t* hist_trim(History_t *hp, int n) in hist_trim() 558 static int hist_nearend(History_t *hp, Sfio_t *iop, register off_t size) in hist_nearend() 625 void hist_eof(register History_t *hp) in hist_eof() 751 void hist_cancel(register History_t *hp) in hist_cancel() 768 void hist_flush(register History_t *hp) in hist_flush() [all …]
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_object.c | 124 struct nwam_handle *hp; in nwam_create() local 137 nwam_get_name(struct nwam_handle *hp, char **namep) in nwam_get_name() 149 nwam_set_name(struct nwam_handle *hp, const char *name) in nwam_set_name() 209 struct nwam_handle *hp; in nwam_walk() local 281 nwam_free(struct nwam_handle *hp) in nwam_free() 299 struct nwam_handle *hp; in nwam_copy() local 324 nwam_walk_props(struct nwam_handle *hp, in nwam_walk_props() 365 nwam_commit(const char *dbname, struct nwam_handle *hp, uint64_t flags) in nwam_commit() 435 nwam_is_active(struct nwam_handle *hp) in nwam_is_active() 445 nwam_destroy(const char *dbname, struct nwam_handle *hp, uint64_t flags) in nwam_destroy() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bofi.c | 933 struct bofi_shadow *hp; in bofi_ioctl() local 1739 struct bofi_shadow *hp; in bofi_errdef_alloc() local 1827 struct bofi_shadow *hp; in bofi_errdef_free() local 2296 do_dma_corrupt(struct bofi_shadow *hp, struct bofi_errent *ep, in do_dma_corrupt() 2410 do_pior_corrupt(struct bofi_shadow *hp, caddr_t addr, in do_pior_corrupt() 2528 do_piow_corrupt(struct bofi_shadow *hp, caddr_t addr, uint64_t *valuep, in do_piow_corrupt() 2620 do_bofi_rd8(struct bofi_shadow *hp, caddr_t addr) in do_bofi_rd8() 2642 struct bofi_shadow *hp; in bofi_rd8() local 2657 do_bofi_rd16(struct bofi_shadow *hp, caddr_t addr) in do_bofi_rd16() 2669 struct bofi_shadow *hp; in bofi_rd16() local [all …]
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPOpen.c | 37 slp_handle_impl_t *hp; in SLPOpen() local 96 void slp_cleanup_handle(slp_handle_impl_t *hp) { in slp_cleanup_handle() 109 slp_handle_impl_t *hp = (slp_handle_impl_t *)hSLP; in SLPClose() local
|
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_dispatch.c | 208 DB_TXNHEAD *hp; local 237 DB_TXNHEAD *hp; local 260 DB_TXNHEAD *hp; local 282 DB_TXNHEAD *hp; local 307 DB_TXNHEAD *hp; local
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | ddi_impl.c | 1268 ddi_acc_impl_t *hp; in impl_acc_hdl_alloc() local 1304 ddi_acc_impl_t *hp; in impl_acc_hdl_free() local 1361 ddi_acc_hdl_t *hp; in impl_acc_check() local 1382 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)handlep; in impl_acc_err_init() local 1417 ddi_acc_impl_t *hp; in impl_acc_hdl_init() local 1468 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)handle; in i_ddi_acc_set_fault() local 1479 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)handle; in i_ddi_acc_clr_fault() local 1489 i_ddi_acc_fault_notify(ddi_acc_impl_t *hp) in i_ddi_acc_fault_notify() 1762 ddi_acc_impl_t *hp, uint64_t host_addr, uint64_t dev_addr, size_t size, in i_ddi_caut_getput_ctlops() 1779 i_ddi_caut_get8(ddi_acc_impl_t *hp, uint8_t *addr) in i_ddi_caut_get8() [all …]
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.hist.c | 33 struct Hist *hp, *np; in savehist() local 87 hfree(struct Hist *hp) in hfree() 135 dohist1(struct Hist *hp, int *np, int rflg, int hflg) in dohist1() 159 phist(struct Hist *hp, int hflg) in phist()
|
/illumos-gate/usr/src/uts/common/pcmcia/cs/ |
H A D | cs_stubs.c | 956 ddi_acc_hdl_t *hp = impl_acc_hdl_get(handle); in csx_Put8() local 964 ddi_acc_hdl_t *hp = impl_acc_hdl_get(handle); in csx_Put16() local 972 ddi_acc_hdl_t *hp = impl_acc_hdl_get(handle); in csx_Put32() local 980 ddi_acc_hdl_t *hp = impl_acc_hdl_get(handle); in csx_Put64() local 988 ddi_acc_hdl_t *hp = impl_acc_hdl_get(handle); in csx_Get8() local 996 ddi_acc_hdl_t *hp = impl_acc_hdl_get(handle); in csx_Get16() local 1004 ddi_acc_hdl_t *hp = impl_acc_hdl_get(handle); in csx_Get32() local 1012 ddi_acc_hdl_t *hp = impl_acc_hdl_get(handle); in csx_Get64() local 1021 ddi_acc_hdl_t *hp = impl_acc_hdl_get(handle); in csx_RepPut8() local 1031 ddi_acc_hdl_t *hp = impl_acc_hdl_get(handle); in csx_RepPut16() local [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_inttab.c | 55 dt_inthash_t *hp, *np; in dt_inttab_destroy() local 70 dt_inthash_t *hp; in dt_inttab_insert() local 109 const dt_inthash_t *hp; in dt_inttab_write() local
|
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fc_ddi.c | 63 ddi_dma_impl_t *hp; in fc_ddi_dma_buf_bind_handle() local 118 ddi_dma_impl_t *hp; in fc_ddi_dma_unbind_handle() local 131 ddi_dma_impl_t *hp; in fc_ddi_dma_free_handle() local 143 ddi_dma_impl_t *hp = (ddi_dma_impl_t *)h; in fc_ddi_dma_sync() local
|