/illumos-gate/usr/src/lib/scsi/plugins/smp/sas2/common/ |
H A D | sas2_functions.c | 37 sas2_rq_len(size_t user, smp_target_t *tp) in sas2_rq_len() 49 sas2_rq_dataoff(smp_action_t *ap, smp_target_t *tp) in sas2_rq_dataoff() 62 sas2_rq_setframe(smp_action_t *ap, smp_target_t *tp) in sas2_rq_setframe() 107 sas2_rs_datalen(smp_action_t *ap, smp_target_t *tp) in sas2_rs_datalen() 129 sas2_rs_dataoff(smp_action_t *ap, smp_target_t *tp) in sas2_rs_dataoff() 142 sas2_rs_getparams(smp_action_t *ap, smp_target_t *tp) in sas2_rs_getparams() 167 sas2_report_general_rs_datalen(smp_action_t *ap, smp_target_t *tp) in sas2_report_general_rs_datalen() 191 sas2_report_manufacturer_info_rs_datalen(smp_action_t *ap, smp_target_t *tp) in sas2_report_manufacturer_info_rs_datalen() 215 sas2_report_self_config_status_rq_len(size_t user, smp_target_t *tp) in sas2_report_self_config_status_rq_len() 227 sas2_report_zone_perm_table_rq_len(size_t user, smp_target_t *tp) in sas2_report_zone_perm_table_rq_len() [all …]
|
/illumos-gate/usr/src/lib/scsi/libses/common/ |
H A D | ses_enclosure.c | 31 enc_parse_td(ses2_td_hdr_impl_t *tip, const char *tp, nvlist_t *nvl) in enc_parse_td() 43 enc_eid(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) in enc_eid() 53 enc_espid(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) in enc_espid() 63 enc_nesp(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) in enc_nesp() 73 enc_lid(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) in enc_lid() 118 enc_vid(const ses2_ed_impl_t *tp, nvlist_t *nvl, in enc_vid() 129 enc_pid(const ses2_ed_impl_t *tp, nvlist_t *nvl, in enc_pid() 140 enc_rev(const ses2_ed_impl_t *tp, nvlist_t *nvl, in enc_rev() 151 enc_vs(const ses2_ed_impl_t *tp, nvlist_t *nvl, const char *name) in enc_vs() 186 enc_parse_ed(ses2_ed_impl_t *tp, nvlist_t *nvl) in enc_parse_ed() [all …]
|
H A D | ses_plugin.c | 39 ses_target_t *tp = snap->ss_target; in ses_plugin_ctlpage_lookup() local 60 ses_target_t *tp = np->sn_snapshot->ss_target; in ses_fill_node() local 77 ses_target_t *tp = np->sn_snapshot->ss_target; in ses_node_ctl() local 132 ses_target_t *tp = sp->sp_target; in ses_plugin_page_lookup() local 151 ses_get_pagedesc(ses_target_t *tp, int pagenum, ses_pagetype_t type) in ses_get_pagedesc() 223 ses_plugin_loadone(ses_target_t *tp, const char *path, uint32_t pass) in ses_plugin_loadone() 278 ses_plugin_load_dir(ses_target_t *tp, const char *pluginroot) in ses_plugin_load_dir() 349 ses_plugin_load(ses_target_t *tp) in ses_plugin_load() 387 ses_plugin_unload(ses_target_t *tp) in ses_plugin_unload()
|
/illumos-gate/usr/src/uts/common/io/sbp2/ |
H A D | sbp2.c | 151 sbp2_tgt_t *tp; in sbp2_tgt_init() local 193 sbp2_tgt_fini(sbp2_tgt_t *tp) in sbp2_tgt_fini() 203 sbp2_tgt_init_sobj(sbp2_tgt_t *tp) in sbp2_tgt_init_sobj() 211 sbp2_tgt_fini_sobj(sbp2_tgt_t *tp) in sbp2_tgt_fini_sobj() 219 sbp2_tgt_init_params(sbp2_tgt_t *tp) in sbp2_tgt_init_params() 259 sbp2_tgt_init_luns(sbp2_tgt_t *tp, int maxluns) in sbp2_tgt_init_luns() 297 sbp2_tgt_fini_luns(sbp2_tgt_t *tp) in sbp2_tgt_fini_luns() 316 sbp2_tgt_init_bus(sbp2_tgt_t *tp) in sbp2_tgt_init_bus() 377 sbp2_tgt_fini_bus(sbp2_tgt_t *tp) in sbp2_tgt_fini_bus() 399 sbp2_tgt_disconnect(sbp2_tgt_t *tp) in sbp2_tgt_disconnect() [all …]
|
/illumos-gate/usr/src/lib/scsi/libsmp/common/ |
H A D | smp_engine.c | 267 smp_target_t *tp; in smp_open() local 305 smp_target_name(const smp_target_t *tp, char *buf, size_t len) in smp_target_name() 311 smp_target_addr(const smp_target_t *tp) in smp_target_addr() 317 smp_target_vendor(const smp_target_t *tp) in smp_target_vendor() 323 smp_target_product(const smp_target_t *tp) in smp_target_product() 329 smp_target_revision(const smp_target_t *tp) in smp_target_revision() 335 smp_target_component_vendor(const smp_target_t *tp) in smp_target_component_vendor() 341 smp_target_component_id(const smp_target_t *tp) in smp_target_component_id() 347 smp_target_component_revision(const smp_target_t *tp) in smp_target_component_revision() 353 smp_target_getcap(const smp_target_t *tp) in smp_target_getcap() [all …]
|
H A D | smp_plugin.c | 51 smp_report_general(smp_target_t *tp) in smp_report_general() 81 smp_report_manufacturer_information(smp_target_t *tp) in smp_report_manufacturer_information() 134 smp_target_fill(smp_target_t *tp) in smp_target_fill() 144 smp_get_funcdef(smp_target_t *tp, int fn) in smp_get_funcdef() 210 smp_plugin_loadone(smp_target_t *tp, const char *path, uint32_t pass) in smp_plugin_loadone() 265 smp_plugin_load_dir(smp_target_t *tp, const char *pluginroot) in smp_plugin_load_dir() 376 smp_plugin_load(smp_target_t *tp) in smp_plugin_load() 414 smp_plugin_unload(smp_target_t *tp) in smp_plugin_unload()
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | tp.c | 132 int t1_tp_set_coalescing_size(struct petp *tp, unsigned int size) in t1_tp_set_coalescing_size() 279 void t1_tp_destroy(struct petp *tp) in t1_tp_destroy() 286 struct petp *tp = t1_os_malloc_wait_zero(sizeof(*tp)); in t1_tp_create() local 315 void t1_tp_intr_enable(struct petp *tp) in t1_tp_intr_enable() 336 void t1_tp_intr_disable(struct petp *tp) in t1_tp_intr_disable() 355 void t1_tp_intr_clear(struct petp *tp) in t1_tp_intr_clear() 369 int t1_tp_intr_handler(struct petp *tp) in t1_tp_intr_handler() 384 static void set_csum_offload(struct petp *tp, u32 csum_bit, int enable) in set_csum_offload() 395 void t1_tp_set_ip_checksum_offload(struct petp *tp, int enable) in t1_tp_set_ip_checksum_offload() 400 void t1_tp_set_udp_checksum_offload(struct petp *tp, int enable) in t1_tp_set_udp_checksum_offload() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | tg3.c | 143 static void tg3_disable_ints(struct tg3 *tp) in tg3_disable_ints() 150 static void tg3_switch_clocks(struct tg3 *tp) in tg3_switch_clocks() 172 static int tg3_readphy(struct tg3 *tp, int reg, uint32_t *val) in tg3_readphy() 212 static int tg3_writephy(struct tg3 *tp, int reg, uint32_t val) in tg3_writephy() 248 static int tg3_writedsp(struct tg3 *tp, uint16_t addr, uint16_t val) in tg3_writedsp() 257 static void tg3_phy_set_wirespeed(struct tg3 *tp) in tg3_phy_set_wirespeed() 269 static int tg3_bmcr_reset(struct tg3 *tp) in tg3_bmcr_reset() 300 static int tg3_wait_macro_done(struct tg3 *tp) in tg3_wait_macro_done() 317 static int tg3_phy_write_and_check_testpat(struct tg3 *tp, int *resetp) in tg3_phy_write_and_check_testpat() 383 static int tg3_phy_reset_chanpat(struct tg3 *tp) in tg3_phy_reset_chanpat() [all …]
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | parseproto.y | 446 type_t *tp = type_Construct(); variable 454 type_t *tp = type_Construct(); variable 1183 type_t *tp = malloc(sizeof (type_t)); in type_Construct() local 1206 type_Destroy(type_t *tp) { in type_Destroy() 1240 type_SetPtr(type_t *tp, stt_t s) { in type_SetPtr() 1257 type_SetAry(type_t *tp, char *dim) { in type_SetAry() 1280 type_SetFun(type_t *tp, decl_t *arglist) { in type_SetFun() 1302 type_AddTail(type_t *dp, type_t *tp) { in type_AddTail() 1319 type_PrintType(type_t *tp, int lvl) { in type_PrintType() 1384 type_Verify(type_t *tp) { in type_Verify() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | ldterm.c | 670 ldtermstd_state_t *tp; in ldtermopen() local 832 ldtermstd_state_t *tp; member 848 ldtermstd_state_t *tp = (ldtermstd_state_t *)q->q_ptr; in ldtermclose() local 951 ldtermstd_state_t *tp; in ldtermrput() local 1486 ldtermstd_state_t *tp; in ldtermrsrv() local 1547 ldtermstd_state_t *tp; in ldtermrmsg() local 1749 ldtermstd_state_t *tp, int *dofreep) in ldterm_docanon() 2077 ldterm_unget(ldtermstd_state_t *tp) in ldterm_unget() 2091 ldterm_trim(ldtermstd_state_t *tp) in ldterm_trim() 2126 ldterm_rubout(uchar_t c, queue_t *q, size_t ebsize, ldtermstd_state_t *tp) in ldterm_rubout() [all …]
|
H A D | timod.c | 358 struct tim_tim *tp; in timodopen() local 447 struct tim_tim *tp = (struct tim_tim *)q->q_ptr; in tim_timer() local 466 struct tim_tim *tp = (struct tim_tim *)q->q_ptr; in tim_buffer() local 492 struct tim_tim *tp; in timodclose() local 644 struct tim_tim *tp; in timodrsrv() local 670 timodprocessinfo(queue_t *q, struct tim_tim *tp, struct T_info_ack *tia) in timodprocessinfo() 687 struct tim_tim *tp; in timodrproc() local 1455 struct tim_tim *tp; in timodwput() local 1587 struct tim_tim *tp; in timodwproc() local 2227 struct tim_tim *tp = q->q_ptr; in ti_doname() local [all …]
|
H A D | ttcompat.c | 174 ttcompat_state_t *tp; in ttcompatopen() local 197 ttcompat_state_t *tp = (ttcompat_state_t *)q->q_ptr; in ttcompatclose() local 247 ttcompat_state_t *tp; in ttcompatwput() local 380 ttcompat_state_t *tp; in ttcompat_reioctl() local 396 ttcompat_do_ioctl(ttcompat_state_t *tp, queue_t *q, mblk_t *mp) in ttcompat_do_ioctl() 704 ttcompat_state_t *tp; in ttcompat_ioctl_ack() local 981 ttcompat_state_t *tp; in ttcopyout() local 1021 ttcompat_state_t *tp; in ttcompat_ioctl_nak() local
|
/illumos-gate/usr/src/lib/lib9p/common/ |
H A D | threadpool.c | 46 struct l9p_threadpool *tp; in l9p_responder() local 88 struct l9p_threadpool *tp; in l9p_worker() local 134 l9p_threadpool_rflush(struct l9p_threadpool *tp, struct l9p_request *req) in l9p_threadpool_rflush() 167 l9p_threadpool_init(struct l9p_threadpool *tp, int size) in l9p_threadpool_init() 274 l9p_threadpool_run(struct l9p_threadpool *tp, struct l9p_request *req) in l9p_threadpool_run() 304 struct l9p_threadpool *tp; in l9p_threadpool_tflush() local 447 l9p_threadpool_shutdown(struct l9p_threadpool *tp) in l9p_threadpool_shutdown()
|
/illumos-gate/usr/src/uts/common/pcmcia/cs/ |
H A D | cs_stubs.c | 380 csx_GetFirstTuple(client_handle_t ch, tuple_t *tp) in csx_GetFirstTuple() 390 csx_GetNextTuple(client_handle_t ch, tuple_t *tp) in csx_GetNextTuple() 400 csx_GetTupleData(client_handle_t ch, tuple_t *tp) in csx_GetTupleData() 592 csx_Parse_CISTPL_CONFIG(client_handle_t ch, tuple_t *tp, cistpl_config_t *pt) in csx_Parse_CISTPL_CONFIG() 603 csx_Parse_CISTPL_DEVICE(client_handle_t ch, tuple_t *tp, cistpl_device_t *pt) in csx_Parse_CISTPL_DEVICE() 614 csx_Parse_CISTPL_DEVICE_A(client_handle_t ch, tuple_t *tp, cistpl_device_t *pt) in csx_Parse_CISTPL_DEVICE_A() 625 csx_Parse_CISTPL_DEVICE_OA(client_handle_t ch, tuple_t *tp, cistpl_device_t *pt) in csx_Parse_CISTPL_DEVICE_OA() 636 csx_Parse_CISTPL_DEVICE_OC(client_handle_t ch, tuple_t *tp, cistpl_device_t *pt) in csx_Parse_CISTPL_DEVICE_OC() 647 csx_Parse_CISTPL_VERS_1(client_handle_t ch, tuple_t *tp, cistpl_vers_1_t *pt) in csx_Parse_CISTPL_VERS_1() 658 csx_Parse_CISTPL_VERS_2(client_handle_t ch, tuple_t *tp, cistpl_vers_2_t *pt) in csx_Parse_CISTPL_VERS_2() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_tree.c | 70 set_create_error(topo_hdl_t *thp, ttree_t *tp, int err) in set_create_error() 84 ttree_t *tp; in topo_tree_create() local 126 topo_tree_destroy(ttree_t *tp) in topo_tree_destroy() 153 topo_tree_enum(topo_hdl_t *thp, ttree_t *tp) in topo_tree_enum() 205 ttree_t *tp; in topo_tree_enum_all() local
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctmerg.c | 79 struct tacct *tp; in main() local 146 struct tacct *tp, *least; in getleast() local 167 sumcurr(struct tacct *tp) in sumcurr() 205 output(struct tacct *tp) in output() 219 struct tacct *tp; in getnext() local 252 prtacct(struct tacct *tp) in prtacct()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | setup.c | 282 check_pri_vol_desc(struct tag *tp) in check_pri_vol_desc() 289 check_avdp(struct tag *tp) in check_avdp() 296 check_vdp(struct tag *tp) in check_vdp() 303 check_iuvd(struct tag *tp) in check_iuvd() 310 check_part_desc(struct tag *tp) in check_part_desc() 324 check_log_desc(struct tag *tp) in check_log_desc() 331 check_unall_desc(struct tag *tp) in check_unall_desc() 339 check_term_desc(struct tag *tp) in check_term_desc() 345 check_lvint(struct tag *tp) in check_lvint() 374 struct tag *tp; in readvolseq() local
|
/illumos-gate/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 90 copy_pattern(int pat, TREE *tp) in copy_pattern() 113 TREE *tp; in smalloc() local 175 TREE *tp, *sp, *tmp; in malloc_unlocked() local 287 TREE *tp, *np; in realloc() local 480 TREE *tp, *sp, *np, *tmp; in realfree() local 635 TREE *tp; in morecore() local 745 in_list(TREE *tp, TREE **npp) in in_list() 766 TREE *tp; in LEFT1() local 794 TREE *tp; in RIGHT1() local 822 TREE *tp; in BULEFT2() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | alarm.c | 59 register struct tevent *tp = (struct tevent*)list; in time_add() local 82 register struct tevent *tp = (struct tevent*)list; in time_delete() local 99 register struct tevent *tp = (struct tevent*)list; in print_alarms() local 119 register struct tevent *tp = (struct tevent*)handle; in trap_timeout() local 131 register struct tevent *tp, *tpnext; in sh_timetraps() local 165 register struct tevent *tp = (struct tevent*)fp; in setdisc() local 185 register struct tevent *tp = (struct tevent*)fp; in putval() local 237 register struct tevent *tp; in b_alarm() local
|
/illumos-gate/usr/src/uts/common/pcmcia/cis/ |
H A D | cis.c | 190 cistpl_t *tp; in CISParser() local 204 cistpl_t *tp; in CISParser() local 328 cistpl_t *cp, *tp = NULL; in cis_list_lcreate() local 621 cis_process_longlink(cistpl_callout_t *cistpl_callout, cistpl_t *tp, in cis_process_longlink() 675 cistpl_t *cp, *tp; in cis_list_ldestroy() local 749 #define GET_NEXT_LTUPLE(tp) ((tp->next)?tp->next:NULL) argument 750 #define GET_PREV_LTUPLE(tp) ((tp->prev)?tp->prev:NULL) argument 752 cis_get_ltuple(cistpl_t *tp, cisdata_t type, uint32_t flags) in cis_get_ltuple() 1360 cis_store_cis_addr(cistpl_t *tp, cisptr_t *ptr) in cis_store_cis_addr()
|
H A D | cis_handlers.c | 73 cis_get_short(cistpl_t *tp) in cis_get_short() 88 cis_get_be_short(cistpl_t *tp) in cis_get_be_short() 103 cis_get_int24(cistpl_t *tp) in cis_get_int24() 112 cis_get_long(cistpl_t *tp) in cis_get_long() 150 cis_tuple_handler(cistpl_callout_t *co, cistpl_t *tp, uint32_t flags, in cis_tuple_handler() 218 cis_no_tuple_handler(cistpl_callout_t *co, cistpl_t *tp, in cis_no_tuple_handler() 257 cis_unknown_tuple_handler(cistpl_callout_t *co, cistpl_t *tp, in cis_unknown_tuple_handler() 280 cistpl_vers_1_handler(cistpl_callout_t *co, cistpl_t *tp, in cistpl_vers_1_handler() 343 cistpl_config_handler(cistpl_callout_t *co, cistpl_t *tp, in cistpl_config_handler() 430 cistpl_device_handler(cistpl_callout_t *co, cistpl_t *tp, in cistpl_device_handler() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tbl_term.c | 162 term_tbl(struct termp *tp, const struct tbl_span *sp) in term_tbl() 570 tbl_hrule(struct termp *tp, const struct tbl_span *spp, in tbl_hrule() 715 tbl_data(struct termp *tp, const struct tbl_opts *opts, in tbl_data() 767 tbl_fill_string(struct termp *tp, const char *cp, size_t len) in tbl_fill_string() 777 tbl_fill_char(struct termp *tp, char c, size_t len) in tbl_fill_char() 787 tbl_fill_border(struct termp *tp, int c, size_t len) in tbl_fill_border() 799 tbl_direct_border(struct termp *tp, int c, size_t len) in tbl_direct_border() 812 tbl_literal(struct termp *tp, const struct tbl_dat *dp, in tbl_literal() 854 tbl_number(struct termp *tp, const struct tbl_opts *opts, in tbl_number() 921 tbl_word(struct termp *tp, const struct tbl_dat *dp) in tbl_word()
|
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cis.h | 219 #define GET_CIS_ADDR(tp) ((cisdata_t *)(uintptr_t)(tp)->offset) argument 325 #define GET_CM_BYTE(tp) (((size_t)(tp)->len >= \ argument 329 #define GET_CM_LEN(tp) ((size_t)(tp)->len - \ argument 334 #define GET_AM_BYTE(tp) (((size_t)(tp)->len >= \ argument 339 #define GET_AM_LEN(tp) ((size_t)(tp)->len - (((uintptr_t)(tp)->read.byte - \ argument 343 #define RESET_TP(tp) (tp)->read.byte = (tp)->data argument 344 #define LOOK_BYTE(tp) *(tp)->read.byte argument 345 #define GET_BYTE_ADDR(tp) (tp)->read.byte argument 347 #define GET_BYTE(tp) (((tp)->flags & CISTPLF_AM_SPACE) ? \ argument 349 #define GET_SHORT(tp) cis_get_short(tp) argument [all …]
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | disp.c | 727 kthread_t *tp; in disp() local 1023 search_disp_queues(disp_t *dp, kthread_t *tp) in search_disp_queues() 1052 thread_on_queue(kthread_t *tp) in thread_on_queue() 1082 #define thread_on_queue(tp) 0 /* ASSERT must be !thread_on_queue */ argument 1199 setbackdq(kthread_t *tp) in setbackdq() 1384 setfrontdq(kthread_t *tp) in setfrontdq() 1530 setkpdq(kthread_t *tp, int borf) in setkpdq() 1604 dispdeq(kthread_t *tp) in dispdeq() 1725 disp_swapped_enq(kthread_t *tp) in disp_swapped_enq() 1757 disp_swapped_setrun(kthread_t *tp) in disp_swapped_setrun() [all …]
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_thread.c | 37 fmd_thread_t *tp = fmd_alloc(sizeof (fmd_thread_t), FMD_SLEEP); in fmd_thread_xcreate() local 58 fmd_thread_t *tp = arg; in fmd_thread_start() local 76 fmd_thread_t *tp = fmd_alloc(sizeof (fmd_thread_t), FMD_SLEEP); in fmd_thread_create_cmn() local 122 fmd_thread_destroy(fmd_thread_t *tp, int flag) in fmd_thread_destroy()
|