/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_isoch_xmit.c | 145 if (itp->it_nfull >= itp->it_start_thre) { in av1394_it_start() 192 itp->it_nfull = 0; in av1394_it_stop() 225 (itp->it_nfull >= itp->it_start_thre)) { in av1394_it_xmit() 287 (itp->it_nfull >= itp->it_start_thre)) { in av1394_it_write() 346 itp->it_ixlp = (ixl1394_command_t *)&itp->it_ixl_begin; in av1394_it_bld_ixl() 771 first = (itp->it_last_full + icp->ic_nframes - itp->it_nfull + 1) % in av1394_it_ixl_begin_cb() 799 itp->it_nfull--; in av1394_it_ixl_eof_cb() 803 if ((itp->it_nempty >= itp->it_hiwat) && in av1394_it_ixl_eof_cb() 906 bp = itp->it_frame_info[itp->it_underrun_idx].fi_last_buf; in av1394_it_underrun_resume() 969 itp->it_last_full = (itp->it_last_full + cnt) % icp->ic_nframes; in av1394_it_add_frames() [all …]
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | dirs.c | 189 itp->t_size = g_seekpt - itp->t_seekpt; in extractdirs() 238 rst_seekdir(dirp, itp->t_seekpt, itp->t_seekpt); in treescan() 296 for (itp = xattrlist; itp != NULL; itp = itp->t_xattr) { in attrscan() 297 rst_seekdir(dirp, itp->t_seekpt, itp->t_seekpt); in attrscan() 379 rst_seekdir(dirp, itp->t_seekpt, itp->t_seekpt); in search() 528 rst_seekdir(dirp, itp->t_seekpt, itp->t_seekpt); in rst_opendir() 789 rst_seekdir(dirp, itp->t_seekpt, itp->t_seekpt); in genliteraldir() 844 itp = (struct inotab *)calloc(1, sizeof (*itp)); in allocinotab() 859 return (itp); in allocinotab() 868 return (itp); in allocinotab() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | spdsock.c | 205 #define ITP_NAME(itp) (itp != NULL ? itp->itp_name : NULL) argument 579 iph = active ? itp->itp_policy : itp->itp_inactive; in spdsock_flush_node() 1069 ASSERT(itp->itp_policy == iph || itp->itp_inactive == iph); in spdsock_addrule() 1156 if (itp != NULL) in spdsock_addrule() 1229 if (itp != NULL) in spdsock_deleterule() 1258 ASSERT(iph == itp->itp_policy || iph == itp->itp_inactive); in spdsock_deleterule() 1307 ipsec_swap_policy(itp->itp_policy, itp->itp_inactive, ns); in spdsock_flip_node() 1936 itp = NULL; in spdsock_dump_iterate_next_tunnel() 1951 return (itp); in spdsock_dump_iterate_next_tunnel() 2949 *itpp = itp; in get_appropriate_polhead() [all …]
|
H A D | spd.c | 5198 ipsec_tun_pol_t *itp = iptun->iptun_itp; in ipsec_tun_outbound() local 5215 ASSERT(itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE)); in ipsec_tun_outbound() 5216 polhead = itp->itp_policy; in ipsec_tun_outbound() 5421 if (!(itp->itp_flags & ITPF_P_TUNNEL)) { in ipsec_tun_outbound() 5586 if (itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE)) { in ipsec_tun_inbound() 5589 polhead = itp->itp_policy; in ipsec_tun_inbound() 6110 ipsec_tun_pol_t *itp = NULL; in itp_get_byaddr() local 6130 itp = iptun->iptun_itp; in itp_get_byaddr() 6131 if (itp != NULL) { in itp_get_byaddr() 6133 ITP_REFHOLD(itp); in itp_get_byaddr() [all …]
|
H A D | sadb.c | 6837 if ((itp == NULL) || 6838 (itp->itp_flags & (ITPF_P_ACTIVE | ITPF_P_TUNNEL)) != 6862 if ((itp == NULL) || !(itp->itp_flags & ITPF_P_ACTIVE)) { 6869 } else if (itp->itp_flags & ITPF_P_TUNNEL) { 6881 ASSERT(itp != NULL); 6882 polhead = itp->itp_policy; 6977 ipsec_tun_pol_t *itp = NULL; local 7079 itp = itp_get_byaddr((uint32_t *)(&sel.ips_local_addr_v6), 7130 (itp != NULL && (itp->itp_flags & ITPF_P_TUNNEL)), NULL, 7154 if (itp != NULL) { [all …]
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | ipsec_impl.h | 545 #define ITP_P_ISACTIVE(itp, iph) ((itp)->itp_flags & \ argument 548 #define ITP_P_ISTUNNEL(itp, iph) ((itp)->itp_flags & \ argument 551 #define ITP_P_ISPERPORT(itp, iph) ((itp)->itp_flags & \ argument 552 (((itp)->itp_policy == (iph)) ? ITPF_P_PER_PORT_SECURITY : \ 555 #define ITP_REFHOLD(itp) { \ argument 556 atomic_inc_32(&((itp)->itp_refcnt)); \ 557 ASSERT((itp)->itp_refcnt != 0); \ 560 #define ITP_REFRELE(itp, ns) { \ argument 561 ASSERT((itp)->itp_refcnt != 0); \ 563 if (atomic_dec_32_nv(&((itp)->itp_refcnt)) == 0) \ [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | itree.h | 140 void itree_free(struct lut *itp); 141 void itree_prune(struct lut *itp); 142 struct event *itree_lookup(struct lut *itp, 152 void itree_ptree(int flags, struct lut *itp);
|
H A D | itree.c | 491 itree_lookup(struct lut *itp, const char *ename, const struct ipath *ipp) in itree_lookup() argument 503 return (lut_lookup(itp, (void *)&searchevent, (lut_cmp)event_cmp)); in itree_lookup() 1689 itree_ptree(int flags, struct lut *itp) in itree_ptree() argument 1691 lut_walk(itp, (lut_cb)itree_pevent, (void *)(intptr_t)flags); in itree_ptree()
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 964 ipsec_tun_pol_t *itp; in iptun_set_sec_simple() local 981 itp = iptun->iptun_itp; in iptun_set_sec_simple() 982 if (itp == NULL) { in iptun_set_sec_simple() 991 iptun->iptun_itp = itp; in iptun_set_sec_simple() 1019 rc = ipsec_copy_polhead(itp->itp_policy, itp->itp_inactive, ns); in iptun_set_sec_simple() 1056 ipsec_swap_policy(itp->itp_policy, itp->itp_inactive, ns); in iptun_set_sec_simple() 1370 ipsec_tun_pol_t *itp; in iptun_create() local 1716 ITP_REFHOLD(itp); in iptun_set_policy() 1885 if (itp == NULL || !(itp->itp_flags & ITPF_P_ACTIVE)) { in iptun_get_ipsec_overhead() 1931 iph = itp->itp_policy; in iptun_get_ipsec_overhead() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/ |
H A D | udfslib.c | 85 maketag(struct tag *itp, struct tag *otp) in maketag() argument 90 if (itp != otp) { in maketag() 91 bcopy((unsigned char *)(itp + 1), (unsigned char *)(otp + 1), in maketag() 92 itp->tag_crc_len); in maketag() 96 switch (itp->tag_id) { in maketag() 151 otp->tag_id = SWAP16(itp->tag_id); in maketag() 152 otp->tag_desc_ver = SWAP16(itp->tag_desc_ver); in maketag() 154 otp->tag_sno = SWAP16(itp->tag_sno); in maketag() 156 itp->tag_crc_len, 0)); in maketag() 157 otp->tag_crc_len = SWAP16(itp->tag_crc_len); in maketag() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | timers.c | 778 if (itp->it_value.tv_usec < usec) { in itimerdecr() 779 if (itp->it_value.tv_sec == 0) { in itimerdecr() 781 usec -= itp->it_value.tv_usec; in itimerdecr() 784 itp->it_value.tv_usec += MICROSEC; in itimerdecr() 785 itp->it_value.tv_sec--; in itimerdecr() 787 itp->it_value.tv_usec -= usec; in itimerdecr() 789 if (timerisset(&itp->it_value)) in itimerdecr() 794 itp->it_value = itp->it_interval; in itimerdecr() 795 itp->it_value.tv_usec -= usec; in itimerdecr() 796 if (itp->it_value.tv_usec < 0) { in itimerdecr() [all …]
|
H A D | timer.c | 204 itimer_t **itp, *it; in timer_grab() local 212 if ((itp = p->p_itimer) == NULL || tid >= p->p_itimer_sz || in timer_grab() 213 (it = itp[tid]) == NULL) { in timer_grab() 490 itimer_t **itp = NULL, **itp_new; in timer_get_id() local 926 itimer_t *it, **itp; in timer_lwpexit() local 930 if ((itp = p->p_itimer) == NULL) in timer_lwpexit() 934 if ((it = itp[i]) == NULL) in timer_lwpexit() 970 itimer_t *it, **itp; in timer_lwpbind() local 974 if ((itp = p->p_itimer) == NULL) in timer_lwpbind() 978 if ((it = itp[i]) == NULL) in timer_lwpbind()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_conn.c | 179 iscsi_task_t *itp; in iscsi_conn_online() local 202 ASSERT(itp != NULL); in iscsi_conn_online() 204 itp->t_arg = icp; in iscsi_conn_online() 205 itp->t_blocking = B_TRUE; in iscsi_conn_online() 206 rval = iscsi_login_start(itp); in iscsi_conn_online() 207 kmem_free(itp, sizeof (iscsi_task_t)); in iscsi_conn_online() 1024 iscsi_task_t *itp; in iscsi_conn_retry() local 1049 itp->t_arg = icp; in iscsi_conn_retry() 1050 itp->t_blocking = B_FALSE; in iscsi_conn_retry() 1052 iscsi_login_cb, itp, DDI_SLEEP) != in iscsi_conn_retry() [all …]
|
H A D | iscsi_io.c | 301 idm_task_t *itp; in iscsi_task_cleanup() local 303 itp = icmdp->cmd_itp; in iscsi_task_cleanup() 304 ASSERT(itp != NULL); in iscsi_task_cleanup() 326 idm_task_done(itp); in iscsi_task_cleanup() 1400 iscsi_task_t *itp; in iscsi_rx_process_async_rsp() local 1473 itp->t_arg = icp; in iscsi_rx_process_async_rsp() 1532 itp->t_arg = icp; in iscsi_rx_process_async_rsp() 1680 idm_task_t *itp; in iscsi_rx_process_scsi_itt_to_icmdp() local 1687 if (itp == NULL) { in iscsi_rx_process_scsi_itt_to_icmdp() 1695 idm_task_rele(itp); in iscsi_rx_process_scsi_itt_to_icmdp() [all …]
|
H A D | iscsi_sess.c | 908 idm_task_t *itp; in iscsi_sess_reserve_scsi_itt() local 910 itp = idm_task_alloc(icp->conn_ic); in iscsi_sess_reserve_scsi_itt() 911 if (itp == NULL) in iscsi_sess_reserve_scsi_itt() 913 itp->idt_private = icmdp; in iscsi_sess_reserve_scsi_itt() 914 icmdp->cmd_itp = itp; in iscsi_sess_reserve_scsi_itt() 915 icmdp->cmd_itt = itp->idt_tt; in iscsi_sess_reserve_scsi_itt() 1661 ASSERT(itp != NULL); in iscsi_sess_enumeration() 1662 isp = (iscsi_sess_t *)itp->t_arg; in iscsi_sess_enumeration() 2468 iscsi_task_t *itp; in iscsi_sess_enum_request() local 2471 itp->t_arg = isp; in iscsi_sess_enum_request() [all …]
|
H A D | iscsi_login.c | 52 iscsi_status_t status, iscsi_task_t *itp); 85 iscsi_task_t *itp = (iscsi_task_t *)arg; in iscsi_login_start() local 93 ASSERT(itp != NULL); in iscsi_login_start() 94 icp = (iscsi_conn_t *)itp->t_arg; in iscsi_login_start() 119 iscsi_login_end(icp, ISCSI_STATUS_LOGIN_FAILED, itp); in iscsi_login_start() 198 iscsi_login_end(icp, ISCSI_STATUS_SUCCESS, itp); in iscsi_login_start() 240 if (itp->t_blocking == B_TRUE) { in iscsi_login_start() 244 iscsi_login_cb, itp, DDI_SLEEP) != in iscsi_login_start() 247 ISCSI_STATUS_LOGIN_TIMED_OUT, itp); in iscsi_login_start() 360 if (itp->t_blocking == B_FALSE) { in iscsi_login_end() [all …]
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_diff.c | 110 const ctf_type_t *itp, *otp; in ctf_diff_name() local 112 if ((itp = ctf_lookup_by_id(&ifp, iid)) == NULL) in ctf_diff_name() 118 iname = ctf_strptr(ifp, itp->ctt_name); in ctf_diff_name() 320 const ctf_type_t *itp, *otp; in ctf_diff_struct() local 329 if ((itp = ctf_lookup_by_id(&ifp, iid)) == NULL) in ctf_diff_struct() 338 if (LCTF_INFO_VLEN(ifp, itp->ctt_info) != in ctf_diff_struct() 512 const ctf_type_t *itp, *otp; in ctf_diff_union() local 518 if ((itp = ctf_lookup_by_id(&ifp, iid)) == NULL) in ctf_diff_union() 523 if (LCTF_INFO_VLEN(ifp, itp->ctt_info) != in ctf_diff_union() 557 const ctf_type_t *itp, *otp; in ctf_diff_enum() local [all …]
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_auth.c | 860 int fr_authgeniter(token, itp, ifs) in fr_authgeniter() argument 862 ipfgeniter_t *itp; 868 if (itp->igi_data == NULL) 871 if (itp->igi_type != IPFGENITER_AUTH) 907 error = COPYOUT(next, itp->igi_data, sizeof(*next));
|
H A D | ip_frag.c | 944 int fr_nextfrag(token, itp, top, tail, lock, ifs) in fr_nextfrag() argument 946 ipfgeniter_t *itp; 986 error = COPYOUT(next, itp->igi_data, sizeof(*next));
|
H A D | ip_nat.c | 5487 static int nat_getnext(t, itp, ifs) in nat_getnext() argument 5489 ipfgeniter_t *itp; 5498 if (itp->igi_nitems == 0) 5506 switch (itp->igi_type) 5548 dst = itp->igi_data; 5554 switch (itp->igi_type) 5600 switch (itp->igi_type) 5700 ipfgeniter_t *itp; 5705 if (itp->igi_data == NULL) 5708 token->ipt_subtype = itp->igi_type; [all …]
|
H A D | ip_state.c | 4364 static int fr_stateiter(token, itp, ifs) in fr_stateiter() argument 4366 ipfgeniter_t *itp; 4373 if (itp->igi_data == NULL) 4376 if (itp->igi_nitems == 0) 4379 if (itp->igi_type != IPFGENITER_STATE) 4396 dst = itp->igi_data; 4397 for (count = itp->igi_nitems; count > 0; count--) {
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | thread.c | 1479 kthread_t *itp; /* interrupted thread */ in thread_unpin() local 1485 itp = t->t_intr; /* interrupted thread */ in thread_unpin() 1495 i = intr_passivate(t, itp); in thread_unpin() 1499 i, t, t, itp, itp); in thread_unpin() 1522 return (itp); in thread_unpin()
|
/illumos-gate/usr/src/uts/common/io/idm/ |
H A D | idm_so.c | 3067 idm_so_timed_socket_t *itp = arg; in idm_so_timed_socket_connect_cb() local 3068 ASSERT(itp != NULL); in idm_so_timed_socket_connect_cb() 3074 itp->it_callback_called = B_TRUE; in idm_so_timed_socket_connect_cb() 3076 itp->it_socket_error_code = 0; in idm_so_timed_socket_connect_cb() 3081 itp->it_socket_error_code = (int)info; in idm_so_timed_socket_connect_cb() 3083 cv_signal(&itp->it_cv); in idm_so_timed_socket_connect_cb()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | time.h | 444 int itimerdecr(struct itimerval *itp, int usec);
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_element_ctl.c | 1835 CTL_DESC(SES_ET_SCSI_TARGET_PORT, itp), 1836 CTL_DESC(SES_ET_SCSI_INITIATOR_PORT, itp),
|