/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | range_tree.c | 56 range_seg_t *rs; local 60 for (rs = avl_first(&rt->rt_root); rs != NULL; 61 rs = AVL_NEXT(&rt->rt_root, rs)) { 62 uint64_t size = rs->rs_end - rs->rs_start; 79 range_tree_stat_incr(range_tree_t *rt, range_seg_t *rs) argument 81 uint64_t size = rs->rs_end - rs 94 range_tree_stat_decr(range_tree_t *rt, range_seg_t *rs) argument 167 range_seg_t rsearch, *rs_before, *rs_after, *rs; local 242 range_seg_t rsearch, *rs, *newseg; local 321 range_seg_t *rs = range_tree_find_impl(rt, start, size); local 330 range_seg_t *rs; local 352 range_seg_t *rs; local 378 range_seg_t *rs; local 399 range_seg_t *rs; local [all...] |
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | timespec_get.c | 25 timespec_cmp(const struct timespec *ls, const struct timespec *rs) argument 27 if (ls->tv_sec > rs->tv_sec) 29 if (ls->tv_sec < rs->tv_sec) 31 if (ls->tv_nsec > rs->tv_nsec) 33 if (ls->tv_nsec > rs->tv_nsec) 35 if (ls->tv_nsec < rs->tv_nsec)
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | brdr_st.c | 49 border_set(ls, rs, ts, bs, tl, tr, bl, br) 50 const cchar_t *ls, *rs, *ts, *bs, *tl, *tr, *bl, *br; 57 ls, rs, ts, bs, tl, tr, bl, br 61 code = wborder_set(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
|
H A D | brdr.c | 49 border(chtype ls, chtype rs, chtype ts, chtype bs, argument 57 ls, rs, ts, bs, tl, tr, bl, br 61 code = wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
|
H A D | wbrdr.c | 54 chtype ls, chtype rs, chtype ts, chtype bs, 63 w, ls, rs, ts, bs, tl, tr, bl, br 71 if (rs == 0) 72 rs = ACS_VLINE; 73 (void) __m_acs_cc(rs, &wrs); 53 wborder(WINDOW *w, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br) argument
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | bind.c | 141 * marked this socket and don't return a rs ref to the rx path. 146 struct rdsv3_sock *rs; local 153 rs = conn->c_bucketp->port[ntohs(port)]; 154 if (rs && !rdsv3_sk_sock_flag(rdsv3_rs_to_sk(rs), SOCK_DEAD)) 155 rdsv3_sk_sock_hold(rdsv3_rs_to_sk(rs)); 157 rs = NULL; 160 RDSV3_DPRINTF5("rdsv3_find_bound", "returning rs %p for %u.%u.%u.%u:%d", 161 rs, NIPQUAD(conn->c_laddr), ntohs(port)); 163 return (rs); 168 rdsv3_add_bound(struct rdsv3_sock *rs, uint32_be_t addr, uint16_be_t *port) argument 225 rdsv3_remove_bound(struct rdsv3_sock *rs) argument 258 struct rdsv3_sock *rs = rdsv3_sk_to_rs(sk); local [all...] |
H A D | rds_recv.c | 84 rdsv3_recv_rcvbuf_delta(struct rdsv3_sock *rs, struct rsock *sk, argument 91 "Enter(rs: %p, map: %p, delta: %d, port: %d)", 92 rs, map, delta, port); 97 rs->rs_rcv_bytes += delta; 98 now_congested = rs->rs_rcv_bytes > rdsv3_sk_rcvbuf(rs); 101 "rs %p (%u.%u.%u.%u:%u) recv bytes %d buf %d " 103 rs, NIPQUAD(rs->rs_bound_addr), 104 (int)ntohs(rs 134 rdsv3_recv_incoming_exthdrs(struct rdsv3_incoming *inc, struct rdsv3_sock *rs) argument 194 struct rdsv3_sock *rs = NULL; local 296 rdsv3_next_incoming(struct rdsv3_sock *rs, struct rdsv3_incoming **inc) argument 311 rdsv3_still_queued(struct rdsv3_sock *rs, struct rdsv3_incoming *inc, int drop) argument 344 rdsv3_notify_queue_get(struct rdsv3_sock *rs, struct msghdr *msghdr) argument 423 rdsv3_notify_cong(struct rdsv3_sock *rs, struct msghdr *msghdr) argument 455 rdsv3_recvmsg(struct rdsv3_sock *rs, uio_t *uio, struct nmsghdr *msg, size_t size, int msg_flags) argument 629 rdsv3_clear_recv_queue(struct rdsv3_sock *rs) argument [all...] |
H A D | af_rds.c | 90 struct rdsv3_sock *rs; local 95 rs = rdsv3_sk_to_rs(sk); 96 RDSV3_DPRINTF4("rdsv3_release", "Enter(rs: %p, sk: %p)", rs, sk); 99 rdsv3_cong_remove_socket(rs); 100 rdsv3_remove_bound(rs); 107 * Note2 - rdsv3_clear_recv_queue(rs) should be called first 111 rdsv3_clear_recv_queue(rs); 112 rdsv3_send_drop_to(rs, NULL); 113 rdsv3_rdma_drop_keys(rs); 152 rdsv3_wake_sk_sleep(struct rdsv3_sock *rs) argument 168 struct rdsv3_sock *rs = rdsv3_sk_to_rs(sk); local 205 struct rdsv3_sock *rs = rdsv3_sk_to_rs(sk); local 466 rdsv3_cancel_sent_to(struct rdsv3_sock *rs, char *optval, int len) argument 500 rdsv3_cong_monitor(struct rdsv3_sock *rs, char *optval, int optlen) argument 523 struct rdsv3_sock *rs = rdsv3_sk_to_rs(sk); local 573 struct rdsv3_sock *rs = rdsv3_sk_to_rs(sk); local 624 struct rdsv3_sock *rs = rdsv3_sk_to_rs(sk); local 663 struct rdsv3_sock *rs = rdsv3_sk_to_rs(sk); local 677 struct rdsv3_sock *rs = rdsv3_sk_to_rs(sk); local 694 struct rdsv3_sock *rs = rdsv3_sk_to_rs(sk); local 714 struct rdsv3_sock *rs = rdsv3_sk_to_rs(sk); local 736 struct rdsv3_sock *rs = rdsv3_sk_to_rs(sk); local 759 struct rdsv3_sock *rs = rdsv3_sk_to_rs(sk); local 810 struct rdsv3_sock *rs; local 860 rdsv3_sock_addref(struct rdsv3_sock *rs) argument 867 rdsv3_sock_put(struct rdsv3_sock *rs) argument 877 struct rdsv3_sock *rs; local 916 struct rdsv3_sock *rs; local [all...] |
H A D | send.c | 421 rdsv3_send_sndbuf_remove(struct rdsv3_sock *rs, struct rdsv3_message *rm) argument 425 ASSERT(mutex_owned(&rs->rs_lock)); 427 ASSERT(rs->rs_snd_bytes >= len); 428 rs->rs_snd_bytes -= len; 430 if (rs->rs_snd_bytes == 0) 484 struct rdsv3_sock *rs = NULL; local 496 rs = rm->m_rs; 497 rdsv3_sk_sock_hold(rdsv3_rs_to_sk(rs)); 500 mutex_enter(&rs->rs_lock); 501 list_insert_tail(&rs 534 __rdsv3_rdma_send_complete(struct rdsv3_sock *rs, struct rdsv3_message *rm, int status) argument 602 struct rdsv3_sock *rs = NULL; local 720 rdsv3_send_drop_to(struct rdsv3_sock *rs, struct sockaddr_in *dest) argument 807 rdsv3_send_queue_rm(struct rdsv3_sock *rs, struct rdsv3_connection *conn, struct rdsv3_message *rm, uint16_be_t sport, uint16_be_t dport, int *queued) argument 884 rdsv3_cmsg_send(struct rdsv3_sock *rs, struct rdsv3_message *rm, struct msghdr *msg, int *allocated_mr) argument 934 rdsv3_sendmsg(struct rdsv3_sock *rs, uio_t *uio, struct nmsghdr *msg, size_t payload_len) argument [all...] |
H A D | rdma.c | 107 struct rdsv3_sock *rs = mr->r_sock; local 118 mutex_enter(&rs->rs_rdma_lock); 121 avl_remove(&rs->rs_rdma_keys, mr); 124 mutex_exit(&rs->rs_rdma_lock); 142 rdsv3_rdma_drop_keys(struct rdsv3_sock *rs) argument 148 mutex_enter(&rs->rs_rdma_lock); 149 while ((node = avl_first(&rs->rs_rdma_keys))) { 151 if (mr->r_trans == rs->rs_transport) 153 avl_remove(&rs->rs_rdma_keys, &mr->r_rb_node); 155 mutex_exit(&rs 167 __rdsv3_rdma_map(struct rdsv3_sock *rs, struct rds_get_mr_args *args, uint64_t *cookie_ret, struct rdsv3_mr **mr_ret) argument 269 rdsv3_get_mr(struct rdsv3_sock *rs, const void *optval, int optlen) argument 288 rdsv3_get_mr_for_dest(struct rdsv3_sock *rs, const void *optval, int optlen) argument 321 rdsv3_free_mr(struct rdsv3_sock *rs, const void *optval, int optlen) argument 381 rdsv3_rdma_unuse(struct rdsv3_sock *rs, uint32_t r_key, int force) argument 443 rdsv3_rdma_prepare(struct rdsv3_sock *rs, struct rds_rdma_args *args) argument 585 rdsv3_cmsg_rdma_args(struct rdsv3_sock *rs, struct rdsv3_message *rm, struct cmsghdr *cmsg) argument 614 rdsv3_cmsg_rdma_dest(struct rdsv3_sock *rs, struct rdsv3_message *rm, struct cmsghdr *cmsg) argument 658 rdsv3_cmsg_rdma_map(struct rdsv3_sock *rs, struct rdsv3_message *rm, struct cmsghdr *cmsg) argument [all...] |
H A D | cong.c | 270 struct rdsv3_sock *rs; local 273 RDSV3_FOR_EACH_LIST_NODE(rs, &rdsv3_cong_monitor, 275 mutex_enter(&rs->rs_lock); 276 rs->rs_cong_notify |= (rs->rs_cong_mask & portmask); 277 rs->rs_cong_mask &= ~portmask; 278 mutex_exit(&rs->rs_lock); 279 if (rs->rs_cong_notify) 280 rdsv3_wake_sk_sleep(rs); 352 rdsv3_cong_add_socket(struct rdsv3_sock *rs) argument 363 rdsv3_cong_remove_socket(struct rdsv3_sock *rs) argument 385 rdsv3_cong_wait(struct rdsv3_cong_map *map, uint16_be_t port, int nonblock, struct rdsv3_sock *rs) argument [all...] |
H A D | rdsv3_debug.c | 373 struct ratelimit_state *rs = &rdsv3_printk_ratelimit_state; local 377 if (rs->interval) { 380 mutex_enter(&rs->lock); 381 if (!rs->begin) { 382 rs->begin = current; 384 if (current < rs->begin + TICK_TO_NSEC(rs->interval)) { 385 if (rs->missed) { 387 "%d callbacks suppressed\n", rs->missed); 388 rs [all...] |
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | _border.c | 49 border(chtype ls, chtype rs, chtype ts, chtype bs, argument 52 return (wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br));
|
H A D | mbinch.c | 48 static char rs[CSMAX + 1]; local 64 rs[k++] = (char)wc; 68 rs[k++] = (char)wc; 73 rs[k] = '\0'; 74 return (rs);
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_fzc.c | 72 hpi_status_t rs = HPI_SUCCESS; local 94 rs = hpi_fzc_ldg_num_set(handle, ldvp->ldv, 96 if (rs != HPI_SUCCESS) { 99 " rs 0x%x ldv %d ldg %d", 100 rs, ldvp->ldv, ldvp->ldg_assigned)); 101 return (HXGE_ERROR | rs); 117 hpi_status_t rs = HPI_SUCCESS; local 125 if ((rs = hpi_fzc_ldg_timer_res_set(handle, hxgep->ldgvp->tmres))) { 126 return (HXGE_ERROR | rs); 140 hpi_status_t rs local 198 hpi_status_t rs = HPI_SUCCESS; local 236 hpi_status_t rs = HPI_SUCCESS; local 266 hpi_status_t rs = HPI_SUCCESS; local 286 hpi_status_t rs = HPI_SUCCESS; local [all...] |
/illumos-gate/usr/src/lib/libc/amd64/threads/ |
H A D | machdep.c | 129 getgregs(ulwp_t *ulwp, gregset_t rs) argument 134 rs[REG_RBX] = status.pr_reg[REG_RBX]; 135 rs[REG_R12] = status.pr_reg[REG_R12]; 136 rs[REG_R13] = status.pr_reg[REG_R13]; 137 rs[REG_R14] = status.pr_reg[REG_R14]; 138 rs[REG_R15] = status.pr_reg[REG_R15]; 139 rs[REG_RBP] = status.pr_reg[REG_RBP]; 140 rs[REG_RSP] = status.pr_reg[REG_RSP]; 141 rs[REG_RIP] = status.pr_reg[REG_RIP]; 143 rs[REG_RB 155 setgregs(ulwp_t *ulwp, gregset_t rs) argument 173 __csigsetjmp(sigjmp_buf env, int savemask, gregset_t rs) argument [all...] |
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | brdr.c | 52 border(chtype ls, chtype rs, chtype ts, chtype bs, argument 57 code = wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
|
H A D | brdr_st.c | 52 border_set(const cchar_t *ls, const cchar_t *rs, argument 58 code = wborder_set(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
|
/illumos-gate/usr/src/lib/libc/sparc/threads/ |
H A D | machdep.c | 140 getgregs(ulwp_t *ulwp, gregset_t rs) argument 145 rs[REG_PC] = status.pr_reg[R_PC]; 146 rs[REG_O6] = status.pr_reg[R_O6]; 147 rs[REG_O7] = status.pr_reg[R_O7]; 148 rs[REG_G1] = status.pr_reg[R_G1]; 149 rs[REG_G2] = status.pr_reg[R_G2]; 150 rs[REG_G3] = status.pr_reg[R_G3]; 151 rs[REG_G4] = status.pr_reg[R_G4]; 153 rs[REG_PC] = 0; 154 rs[REG_O 164 setgregs(ulwp_t *ulwp, gregset_t rs) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/ |
H A D | rdma.h | 87 int rdsv3_get_mr(struct rdsv3_sock *rs, const void *optval, int optlen); 88 int rdsv3_get_mr_for_dest(struct rdsv3_sock *rs, const void *optval, 90 int rdsv3_free_mr(struct rdsv3_sock *rs, const void *optval, int optlen); 91 void rdsv3_rdma_drop_keys(struct rdsv3_sock *rs); 92 int rdsv3_cmsg_rdma_args(struct rdsv3_sock *rs, struct rdsv3_message *rm, 94 int rdsv3_cmsg_rdma_dest(struct rdsv3_sock *rs, struct rdsv3_message *rm, 96 int rdsv3_cmsg_rdma_map(struct rdsv3_sock *rs, struct rdsv3_message *rm,
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_ipp.c | 42 npi_status_t rs = NPI_SUCCESS; local 66 if ((rs = npi_ipp_write_dfifo(handle, 69 if ((rs = npi_ipp_read_dfifo(handle, portn, 75 if ((rs = npi_ipp_get_status(handle, portn, &istatus)) != NPI_SUCCESS) 77 if ((rs = npi_ipp_get_status(handle, portn, &istatus)) != NPI_SUCCESS) 84 if ((rs = npi_ipp_reset(handle, portn)) != NPI_SUCCESS) 92 if ((rs = npi_ipp_get_status(handle, portn, &istatus)) != NPI_SUCCESS) 96 if ((rs = npi_ipp_iconfig(handle, INIT, portn, ICFG_IPP_ALL)) 103 if ((rs = npi_ipp_config(handle, INIT, portn, config)) != NPI_SUCCESS) 109 if ((rs 131 npi_status_t rs = NPI_SUCCESS; local 187 npi_status_t rs = NPI_SUCCESS; local 256 npi_status_t rs = NPI_SUCCESS; local 290 npi_status_t rs = NPI_SUCCESS; local 334 npi_status_t rs = NPI_SUCCESS; local 599 npi_status_t rs = NPI_SUCCESS; local 726 npi_status_t rs = NPI_SUCCESS; local [all...] |
H A D | nxge_fzc.c | 55 npi_status_t rs = NPI_SUCCESS; local 58 if ((rs = npi_dev_func_sr_sr_get_set_clear(handle, tas)) 60 return (NXGE_ERROR | rs); 70 npi_status_t rs = NPI_SUCCESS; local 84 if ((rs = npi_fzc_mpc_set(handle, mpc)) != NPI_SUCCESS) { 87 return (NXGE_ERROR | rs); 99 npi_status_t rs = NPI_SUCCESS; local 104 if ((rs = npi_fzc_mpc_get(handle, mpc_p)) != NPI_SUCCESS) { 107 return (NXGE_ERROR | rs); 157 npi_status_t rs local 205 npi_status_t rs = NPI_SUCCESS; local 227 npi_status_t rs = NPI_SUCCESS; local 481 npi_status_t rs; local 538 npi_status_t rs = NPI_SUCCESS; local 594 npi_status_t rs = NPI_SUCCESS; local 764 npi_status_t rs = NPI_SUCCESS; local 836 npi_status_t rs = NPI_SUCCESS; local 975 npi_status_t rs = NPI_SUCCESS; local 1036 npi_status_t rs = NPI_SUCCESS; local 1077 npi_status_t rs; local 1133 npi_status_t rs = NPI_SUCCESS; local 1200 npi_status_t rs = NPI_SUCCESS; local 1216 npi_status_t rs = NPI_SUCCESS; local [all...] |
H A D | nxge_fflp.c | 164 npi_status_t rs = NPI_SUCCESS; local 170 rs = npi_fflp_cfg_vlan_table_clear(handle, vlan_id); 171 if (rs != NPI_SUCCESS) { 175 return (NXGE_ERROR | rs); 196 npi_status_t rs = NPI_SUCCESS; local 202 rs = npi_fflp_cfg_tcam_disable(handle); 203 if (rs != NPI_SUCCESS) { 205 return (NXGE_ERROR | rs); 209 rs = npi_fflp_cfg_tcam_access(handle, access_ratio); 210 if (rs ! 258 npi_status_t rs = NPI_SUCCESS; local 303 npi_status_t rs = NPI_SUCCESS; local 360 npi_status_t rs = NPI_SUCCESS; local 417 npi_status_t rs = NPI_SUCCESS; local 449 npi_status_t rs = NPI_SUCCESS; local 499 npi_status_t rs = NPI_SUCCESS; local 546 npi_status_t rs = NPI_SUCCESS; local 634 npi_status_t rs = NPI_SUCCESS; local 674 npi_status_t rs = NPI_SUCCESS; local 718 npi_status_t rs = NPI_SUCCESS; local 750 npi_status_t rs = NPI_SUCCESS; local 784 npi_status_t rs = NPI_SUCCESS; local 805 npi_status_t rs = NPI_SUCCESS; local 1276 npi_status_t rs = NPI_SUCCESS; local 1541 npi_status_t rs = NPI_SUCCESS; local 1662 npi_status_t rs = NPI_SUCCESS; local 1679 npi_status_t rs = NPI_SUCCESS; local 1698 npi_status_t rs = NPI_SUCCESS; local 1731 npi_status_t rs = NPI_SUCCESS; local 1764 npi_status_t rs = NPI_SUCCESS; local 1783 npi_status_t rs = NPI_SUCCESS; local 1802 npi_status_t rs = NPI_SUCCESS; local 1951 npi_status_t rs = NPI_SUCCESS; local 2520 npi_status_t rs = NPI_SUCCESS; local 2625 npi_status_t rs = NPI_SUCCESS; local 2659 npi_status_t rs = NPI_SUCCESS; local 2825 npi_status_t rs = NPI_SUCCESS; local 2856 npi_status_t rs = NPI_SUCCESS; local 2920 npi_status_t rs = NPI_SUCCESS; local 2934 npi_status_t rs = NPI_SUCCESS; local [all...] |
/illumos-gate/usr/src/lib/libc/i386/threads/ |
H A D | machdep.c | 174 getgregs(ulwp_t *ulwp, gregset_t rs) argument 179 rs[EIP] = status.pr_reg[EIP]; 180 rs[EDI] = status.pr_reg[EDI]; 181 rs[ESI] = status.pr_reg[ESI]; 182 rs[EBP] = status.pr_reg[EBP]; 183 rs[EBX] = status.pr_reg[EBX]; 184 rs[UESP] = status.pr_reg[UESP]; 186 rs[EIP] = 0; 187 rs[EDI] = 0; 188 rs[ES 196 setgregs(ulwp_t *ulwp, gregset_t rs) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.chargend/ |
H A D | in.chargend.c | 72 char *rs = ring; local 77 if (rs >= endring) 78 rs = ring; 79 rp = rs++; 110 static char *rs = ring; local 112 rp = rs; 113 if (rs++ >= endring) 114 rs = ring;
|