Searched refs:rp (Results 1 - 25 of 301) sorted by relevance

1234567891011>>

/freebsd-current/usr.sbin/bluetooth/hccontrol/
H A Dinfo.c44 ng_hci_read_local_ver_rp rp; local
47 n = sizeof(rp);
49 NG_HCI_OCF_READ_LOCAL_VER), (char *) &rp, &n) == ERROR)
52 if (rp.status != 0x00) {
54 hci_status2str(rp.status), rp.status);
58 rp.manufacturer = le16toh(rp.manufacturer);
61 hci_ver2str(rp.hci_version), rp
78 ng_hci_read_local_commands_rp rp; local
110 ng_hci_read_local_features_rp rp; local
139 ng_hci_read_buffer_size_rp rp; local
170 ng_hci_read_country_code_rp rp; local
195 ng_hci_read_bdaddr_rp rp; local
[all...]
H A Dhost_controller_baseband.c94 ng_hci_status_rp rp; local
97 n = sizeof(rp);
99 NG_HCI_OCF_RESET), (char *) &rp, &n) == ERROR)
102 if (rp.status != 0x00) {
104 hci_status2str(rp.status), rp.status);
115 ng_hci_read_pin_type_rp rp; local
118 n = sizeof(rp);
121 (char *) &rp, &n) == ERROR)
124 if (rp
141 ng_hci_write_pin_type_rp rp; local
242 ng_hci_read_stored_link_key_rp *rp = NULL; local
300 ng_hci_write_stored_link_key_rp rp; local
353 ng_hci_delete_stored_link_key_rp rp; local
400 ng_hci_change_local_name_rp rp; local
434 ng_hci_read_local_name_rp rp; local
458 ng_hci_read_con_accept_timo_rp rp; local
485 ng_hci_write_con_accept_timo_rp rp; local
523 ng_hci_read_page_timo_rp rp; local
550 ng_hci_write_page_timo_rp rp; local
588 ng_hci_read_scan_enable_rp rp; local
614 ng_hci_write_scan_enable_rp rp; local
650 ng_hci_read_page_scan_activity_rp rp; local
681 ng_hci_write_page_scan_activity_rp rp; local
731 ng_hci_read_inquiry_scan_activity_rp rp; local
762 ng_hci_write_inquiry_scan_activity_rp rp; local
813 ng_hci_read_auth_enable_rp rp; local
839 ng_hci_write_auth_enable_rp rp; local
876 ng_hci_read_encryption_mode_rp rp; local
902 ng_hci_write_encryption_mode_rp rp; local
939 ng_hci_read_unit_class_rp rp; local
965 ng_hci_write_unit_class_rp rp; local
1004 ng_hci_read_voice_settings_rp rp; local
1046 ng_hci_write_voice_settings_rp rp; local
1084 ng_hci_read_num_broadcast_retrans_rp rp; local
1110 ng_hci_write_num_broadcast_retrans_rp rp; local
1147 ng_hci_read_hold_mode_activity_rp rp; local
1180 ng_hci_write_hold_mode_activity_rp rp; local
1217 ng_hci_read_sco_flow_control_rp rp; local
1243 ng_hci_write_sco_flow_control_rp rp; local
1281 ng_hci_read_link_supervision_timo_rp rp; local
1326 ng_hci_write_link_supervision_timo_rp rp; local
1371 ng_hci_read_page_scan_period_rp rp; local
1397 ng_hci_write_page_scan_period_rp rp; local
1434 ng_hci_read_page_scan_rp rp; local
1459 ng_hci_write_page_scan_rp rp; local
1495 ng_hci_read_le_host_supported_rp rp; local
1519 ng_hci_write_le_host_supported_rp rp; local
[all...]
H A Dstatus.c45 ng_hci_read_failed_contact_cntr_rp rp; local
63 n = sizeof(rp);
67 (char *) &rp, &n) == ERROR)
70 if (rp.status != 0x00) {
72 hci_status2str(rp.status), rp.status);
76 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
77 fprintf(stdout, "Failed contact counter: %d\n", le16toh(rp.counter));
87 ng_hci_reset_failed_contact_cntr_rp rp; local
105 n = sizeof(rp);
126 ng_hci_get_link_quality_rp rp; local
168 ng_hci_read_rssi_rp rp; local
[all...]
H A Dlink_policy.c45 ng_hci_role_discovery_rp rp; local
64 n = sizeof(rp);
68 (char *) &rp, &n) == ERROR)
71 if (rp.status != 0x00) {
73 hci_status2str(rp.status), rp.status);
77 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
79 (rp.role == NG_HCI_ROLE_MASTER)? "Master" : "Slave", rp.role);
161 ng_hci_read_link_policy_settings_rp rp; local
204 ng_hci_write_link_policy_settings_rp rp; local
[all...]
H A Dle.c86 ng_hci_le_set_scan_parameters_rp rp; local
122 n = sizeof(rp);
126 (void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR)
129 if (rp.status != 0x00) {
131 hci_status2str(rp.status), rp.status);
142 ng_hci_le_set_scan_enable_rp rp; local
153 n = sizeof(rp);
159 (void *)&rp, &n) == ERROR)
162 if (rp
234 ng_hci_le_set_scan_response_data_rp rp; local
263 ng_hci_le_read_local_supported_features_rp rp; local
300 ng_hci_le_read_supported_states_rp rp; local
324 ng_hci_le_set_event_mask_rp rp; local
351 ng_hci_set_event_mask_rp rp; local
408 ng_hci_le_set_advertise_enable_rp rp; local
440 ng_hci_le_set_advertising_parameters_rp rp; local
516 ng_hci_le_read_advertising_channel_tx_power_rp rp; local
542 ng_hci_le_set_advertising_data_rp rp; local
574 } rp; local
776 ng_hci_le_read_white_list_size_rp rp; local
801 ng_hci_le_clear_white_list_rp rp; local
826 ng_hci_le_add_device_to_white_list_rp rp; local
885 ng_hci_le_remove_device_from_white_list_rp rp; local
944 ng_hci_status_rp rp; local
1094 ng_hci_le_read_channel_map_rp rp; local
1139 ng_hci_status_rp rp; local
1213 ng_hci_le_rand_rp rp; local
[all...]
/freebsd-current/usr.sbin/lpr/common_source/
H A Drequest.c47 init_request(struct request *rp) argument
51 *rp = zero;
52 TAILQ_INIT(&rp->users);
53 TAILQ_INIT(&rp->jobids);
57 free_request(struct request *rp) argument
62 if (rp->logname)
63 free(rp->logname);
64 if (rp->authname)
65 free(rp->authname);
66 if (rp
[all...]
/freebsd-current/lib/libpathconv/
H A Dabs2rel.c48 char *rp; local
69 rp = result;
70 *rp++ = '.';
72 *rp++ = '/';
73 if (rp > endp)
75 *rp = 0;
83 rp = result;
86 if (rp + 3 > endp)
88 *rp++ = '.';
89 *rp
[all...]
H A Drel2abs.c48 char *rp; local
69 * rp points the last char.
71 rp = result + length - 1;
75 if (*rp == '/') {
77 *rp = 0;
79 rp++;
80 /* rp point NULL char */
85 *rp++ = '/';
86 if (rp > endp)
88 *rp
[all...]
/freebsd-current/lib/libc/rpc/
H A Dpmap_prot2.c88 xdr_pmaplist(XDR *xdrs, struct pmaplist **rp) argument
100 assert(rp != NULL);
105 more_elements = (bool_t)(*rp != NULL);
116 next = &((*rp)->pml_next);
117 if (! xdr_reference(xdrs, (caddr_t *)rp,
120 rp = (freeing) ? next : &((*rp)->pml_next);
130 xdr_pmaplist_ptr(XDR *xdrs, struct pmaplist *rp) argument
132 return xdr_pmaplist(xdrs, (struct pmaplist **)(void *)rp);
/freebsd-current/sys/fs/nfsserver/
H A Dnfs_nfsdcache.c277 #define NETFAMILY(rp) \
278 (((rp)->rc_flag & RC_INETIPV6) ? AF_INET6 : AF_INET)
283 static void nfsrc_lock(struct nfsrvcache *rp);
284 static void nfsrc_unlock(struct nfsrvcache *rp);
285 static void nfsrc_wanted(struct nfsrvcache *rp);
286 static void nfsrc_freecache(struct nfsrvcache *rp);
294 nfsrc_cachemutex(struct nfsrvcache *rp) argument
297 if ((rp->rc_flag & RC_UDP) != 0)
299 return (&NFSD_VNET(nfsrchash_table)[nfsrc_hash(rp->rc_xid)].mtx);
377 struct nfsrvcache *rp; local
402 TAILQ_REMOVE(&NFSD_VNET(nfsrvudplru), rp, rc_lru); local
403 TAILQ_INSERT_TAIL(&NFSD_VNET(nfsrvudplru), rp, rc_lru); local
466 struct nfsrvcache *rp; local
482 TAILQ_REMOVE(&NFSD_VNET(nfsrvudplru), rp, rc_lru); local
483 TAILQ_INSERT_TAIL(&NFSD_VNET(nfsrvudplru), rp, rc_lru); local
567 nfsrvd_delcache(struct nfsrvcache *rp) argument
587 nfsrvd_sentcache(struct nfsrvcache *rp, int have_seq, uint32_t seq) argument
612 struct nfsrvcache *rp, *nextrp; local
745 nfsrc_lock(struct nfsrvcache *rp) argument
762 nfsrc_unlock(struct nfsrvcache *rp) argument
777 nfsrc_wanted(struct nfsrvcache *rp) argument
790 nfsrc_freecache(struct nfsrvcache *rp) argument
796 TAILQ_REMOVE(&NFSD_VNET(nfsrvudplru), rp, rc_lru); local
821 struct nfsrvcache *rp, *nextrp; local
847 struct nfsrvcache *rp, *nextrp; local
987 nfsrvd_refcache(struct nfsrvcache *rp) argument
1006 nfsrvd_derefcache(struct nfsrvcache *rp) argument
[all...]
/freebsd-current/sys/net/altq/
H A Daltq_red.c176 red_t *rp; local
180 rp = malloc(sizeof(red_t), M_DEVBUF, M_NOWAIT | M_ZERO);
181 if (rp == NULL)
185 rp->red_weight = W_WEIGHT;
187 rp->red_weight = weight;
190 rp->red_wtab = wtab_alloc(rp->red_weight);
191 if (rp->red_wtab == NULL) {
192 free(rp, M_DEVBUF);
196 rp
263 red_destroy(red_t *rp) argument
270 red_getstats(red_t *rp, struct redstats *sp) argument
281 red_addq(red_t *rp, class_queue_t *q, struct mbuf *m, struct altq_pktattr *pktattr) argument
525 red_getq(red_t *rp, class_queue_t *q) argument
[all...]
H A Daltq_rio.c181 rio_t *rp; local
185 rp = malloc(sizeof(rio_t), M_DEVBUF, M_NOWAIT | M_ZERO);
186 if (rp == NULL)
189 rp->rio_flags = flags;
192 rp->rio_pkttime = 800;
194 rp->rio_pkttime = pkttime;
197 rp->rio_weight = weight;
200 rp->rio_weight = W_WEIGHT;
203 npkts_per_sec = 1000000 / rp->rio_pkttime;
206 rp
268 rio_destroy(rio_t *rp) argument
275 rio_getstats(rio_t *rp, struct redstats *sp) argument
316 rio_addq(rio_t *rp, class_queue_t *q, struct mbuf *m, struct altq_pktattr *pktattr) argument
429 rio_getq(rio_t *rp, class_queue_t *q) argument
[all...]
/freebsd-current/usr.bin/talk/
H A Dctl_transact.c50 ctl_transact(struct in_addr target, CTL_MSG lmsg, int type, CTL_RESPONSE *rp) argument
89 cc = recv(ctl_sockt, (char *)rp, sizeof (*rp), 0);
96 } while (nready > 0 && (rp->vers != TALK_VERSION ||
97 rp->type != type));
98 } while (rp->vers != TALK_VERSION || rp->type != type);
99 rp->id_num = ntohl(rp->id_num);
100 rp
[all...]
H A Dlook_up.c52 CTL_RESPONSE *rp = &response; local
60 if (!look_for_invite(rp))
68 if (rp->addr.sa_family != AF_INET)
70 (void)memcpy(&addr, &rp->addr.sa_family, sizeof(addr));
71 addr.sa_family = rp->addr.sa_family;
84 ctl_transact(his_machine_addr, msg, DELETE, rp);
98 look_for_invite(CTL_RESPONSE *rp) argument
101 ctl_transact(his_machine_addr, msg, LOOK_UP, rp);
103 switch (rp->answer) {
106 msg.id_num = htonl(rp
[all...]
/freebsd-current/contrib/byacc/
H A Dwarshall.c11 unsigned *rp; local
33 rp = rowi;
36 *rowj++ |= *rp++;
61 unsigned *rp; local
70 rp = R;
71 while (rp < relend)
73 *rp |= (1U << i);
77 rp++;
80 rp += rowsize;
/freebsd-current/crypto/openssl/crypto/bn/
H A Dbn_sparc.c16 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, argument
19 int bn_mul_mont_vis3(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
21 int bn_mul_mont_fpu(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
23 int bn_mul_mont_int(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
30 typedef int (*bn_mul_mont_f) (BN_ULONG *rp, const BN_ULONG *ap,
34 int bn_mul_mont_t4_8(BN_ULONG *rp, const BN_ULONG *ap,
37 int bn_mul_mont_t4_16(BN_ULONG *rp, const BN_ULONG *ap,
40 int bn_mul_mont_t4_24(BN_ULONG *rp, const BN_ULONG *ap,
43 int bn_mul_mont_t4_32(BN_ULONG *rp, const BN_ULONG *ap,
52 if ((*worker) (rp, a
[all...]
H A Dbn_ppc.c15 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, argument
18 int bn_mul_mont_int(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
20 int bn_mul4x_mont_int(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
27 return bn_mul4x_mont_int(rp, ap, bp, np, n0, num);
37 return bn_mul_mont_int(rp, ap, bp, np, n0, num);
/freebsd-current/libexec/talkd/
H A Dprint.c67 print_response(const char *cp, CTL_RESPONSE *rp) argument
72 if (rp->type > NTYPES) {
73 (void)snprintf(tbuf, sizeof(tbuf), "type %d", rp->type);
76 tp = types[rp->type];
77 if (rp->answer > NANSWERS) {
78 (void)snprintf(abuf, sizeof(abuf), "answer %d", rp->answer);
81 ap = answers[rp->answer];
82 syslog(LOG_DEBUG, "%s: %s: %s, id %d", cp, tp, ap, ntohl(rp->id_num));
H A Dprocess.c57 process_request(CTL_MSG *mp, CTL_RESPONSE *rp) argument
62 rp->vers = TALK_VERSION;
63 rp->type = mp->type;
64 rp->id_num = htonl(0);
67 rp->answer = BADVERSION;
75 rp->answer = BADADDR;
82 rp->answer = BADCTLADDR;
88 rp->answer = FAILED;
97 do_announce(mp, rp);
103 rp
133 do_announce(CTL_MSG *mp, CTL_RESPONSE *rp) argument
[all...]
/freebsd-current/contrib/tcpdump/
H A Dprint-sunrpc.c161 const struct sunrpc_msg *rp; local
168 rp = (const struct sunrpc_msg *)bp;
169 ND_TCHECK_SIZE(rp);
173 GET_BE_U_4(rp->rm_xid));
177 GET_BE_U_4(rp->rm_xid));
200 GET_BE_U_4(rp->rm_call.cb_proc)));
201 x = GET_BE_U_4(rp->rm_call.cb_rpcvers);
205 switch (GET_BE_U_4(rp->rm_call.cb_proc)) {
211 x = GET_BE_U_4(rp->rm_call.cb_prog);
216 ND_PRINT(".%u", GET_BE_U_4(rp
225 struct rpcent *rp; local
[all...]
/freebsd-current/sys/rpc/
H A Drpcb_prot.c109 xdr_rpcblist_ptr(XDR *xdrs, rpcblist_ptr *rp) argument
123 more_elements = (bool_t)(*rp != NULL);
135 if (freeing && *rp)
136 next = (*rp)->rpcb_next;
137 if (! xdr_reference(xdrs, (caddr_t *)rp,
143 rp = &next_copy;
149 } else if (*rp) {
150 rp = &((*rp)->rpcb_next);
162 xdr_rpcblist(XDR *xdrs, RPCBLIST **rp)
193 xdr_rpcb_entry_list_ptr(XDR *xdrs, rpcb_entry_list_ptr *rp) argument
[all...]
/freebsd-current/usr.sbin/traceroute/
H A Dfindsaddr-socket.c89 register struct rt_msghdr *rp; local
107 rp = &rtmsg.rtmsg;
108 rp->rtm_seq = ++seq;
109 cp = (u_char *)(rp + 1);
115 size = cp - (u_char *)rp;
116 rp->rtm_msglen = size;
118 cc = write(s, (char *)rp, size);
132 memset(rp, 0, size);
133 cc = read(s, (char *)rp, size);
140 } while (rp
[all...]
/freebsd-current/contrib/mandoc/
H A Dtbl_layout.c207 cell(struct tbl_node *tbl, struct tbl_row *rp, argument
217 if (rp->vert < 2)
218 rp->vert++;
250 if (rp->last == NULL)
252 else if (rp->last->pos == TBL_CELL_HORIZ ||
253 rp->last->pos == TBL_CELL_DHORIZ)
254 c = rp->last->pos;
255 } else if (c == TBL_CELL_DOWN && rp == tbl->first_row)
262 mods(tbl, cell_alloc(tbl, rp, c), ln, p, pos);
268 struct tbl_row *rp; local
356 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, enum tbl_cellt pos) argument
[all...]
/freebsd-current/sys/cddl/contrib/opensolaris/uts/intel/dtrace/
H A Dfasttrap_isa.c208 fasttrap_anarg(struct reg *rp, int function_entry, int argno) argument
224 return (rp->r_rdi);
226 return (rp->r_rsi);
228 return (rp->r_rdx);
230 return (rp->r_rcx);
232 return (rp->r_r8);
234 return (rp->r_r9);
237 stack = (uintptr_t *)rp->r_rsp;
243 uint32_t *stack = (uint32_t *)rp->r_rsp;
686 fasttrap_return_common(struct reg *rp, uintptr_ argument
749 fasttrap_usdt_args64(fasttrap_probe_t *probe, struct reg *rp, int argc, uintptr_t *argv) argument
771 fasttrap_usdt_args32(fasttrap_probe_t *probe, struct reg *rp, int argc, uint32_t *argv) argument
789 fasttrap_do_seg(fasttrap_tracepoint_t *tp, struct reg *rp, uintptr_t *addr) argument
921 struct reg reg, *rp; local
1735 struct reg reg, *rp; local
1796 fasttrap_getreg(struct reg *rp, uint_t reg) argument
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/arch/ia64/
H A Dreturn_one.S9 br.ret.sptk.few rp

Completed in 220 milliseconds

1234567891011>>