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

1234567891011>>

/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/
H A Drefcount.h106 #define isc_refcount_destroy(rp) REQUIRE((rp)->refs == 0)
107 #define isc_refcount_current(rp) ((unsigned int)((rp)->refs))
109 #define isc_refcount_increment0(rp, tp) \
113 prev = isc_atomic_xadd(&(rp)->refs, 1); \
118 #define isc_refcount_increment(rp, tp) \
122 prev = isc_atomic_xadd(&(rp)->refs, 1); \
128 #define isc_refcount_decrement(rp, tp) \
132 prev = isc_atomic_xadd(&(rp)
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/
H A Drefcount.h106 #define isc_refcount_destroy(rp) REQUIRE((rp)->refs == 0)
107 #define isc_refcount_current(rp) ((unsigned int)((rp)->refs))
109 #define isc_refcount_increment0(rp, tp) \
113 prev = isc_atomic_xadd(&(rp)->refs, 1); \
118 #define isc_refcount_increment(rp, tp) \
122 prev = isc_atomic_xadd(&(rp)->refs, 1); \
128 #define isc_refcount_decrement(rp, tp) \
132 prev = isc_atomic_xadd(&(rp)
[all...]
/freebsd-9.3-release/usr.sbin/bluetooth/hccontrol/
H A Dinfo.c42 ng_hci_read_local_ver_rp rp; local
45 n = sizeof(rp);
47 NG_HCI_OCF_READ_LOCAL_VER), (char *) &rp, &n) == ERROR)
50 if (rp.status != 0x00) {
52 hci_status2str(rp.status), rp.status);
56 rp.manufacturer = le16toh(rp.manufacturer);
59 hci_ver2str(rp.hci_version), rp
76 ng_hci_read_local_features_rp rp; local
105 ng_hci_read_buffer_size_rp rp; local
136 ng_hci_read_country_code_rp rp; local
161 ng_hci_read_bdaddr_rp rp; local
[all...]
H A Dhost_controller_baseband.c92 ng_hci_status_rp rp; local
95 n = sizeof(rp);
97 NG_HCI_OCF_RESET), (char *) &rp, &n) == ERROR)
100 if (rp.status != 0x00) {
102 hci_status2str(rp.status), rp.status);
113 ng_hci_read_pin_type_rp rp; local
116 n = sizeof(rp);
119 (char *) &rp, &n) == ERROR)
122 if (rp
139 ng_hci_write_pin_type_rp rp; local
240 ng_hci_read_stored_link_key_rp *rp = NULL; local
298 ng_hci_write_stored_link_key_rp rp; local
351 ng_hci_delete_stored_link_key_rp rp; local
398 ng_hci_change_local_name_rp rp; local
432 ng_hci_read_local_name_rp rp; local
456 ng_hci_read_con_accept_timo_rp rp; local
483 ng_hci_write_con_accept_timo_rp rp; local
521 ng_hci_read_page_timo_rp rp; local
548 ng_hci_write_page_timo_rp rp; local
586 ng_hci_read_scan_enable_rp rp; local
612 ng_hci_write_scan_enable_rp rp; local
648 ng_hci_read_page_scan_activity_rp rp; local
679 ng_hci_write_page_scan_activity_rp rp; local
729 ng_hci_read_inquiry_scan_activity_rp rp; local
760 ng_hci_write_inquiry_scan_activity_rp rp; local
811 ng_hci_read_auth_enable_rp rp; local
837 ng_hci_write_auth_enable_rp rp; local
874 ng_hci_read_encryption_mode_rp rp; local
900 ng_hci_write_encryption_mode_rp rp; local
937 ng_hci_read_unit_class_rp rp; local
963 ng_hci_write_unit_class_rp rp; local
1002 ng_hci_read_voice_settings_rp rp; local
1044 ng_hci_write_voice_settings_rp rp; local
1082 ng_hci_read_num_broadcast_retrans_rp rp; local
1108 ng_hci_write_num_broadcast_retrans_rp rp; local
1145 ng_hci_read_hold_mode_activity_rp rp; local
1178 ng_hci_write_hold_mode_activity_rp rp; local
1215 ng_hci_read_sco_flow_control_rp rp; local
1241 ng_hci_write_sco_flow_control_rp rp; local
1279 ng_hci_read_link_supervision_timo_rp rp; local
1324 ng_hci_write_link_supervision_timo_rp rp; local
1369 ng_hci_read_page_scan_period_rp rp; local
1395 ng_hci_write_page_scan_period_rp rp; local
1432 ng_hci_read_page_scan_rp rp; local
1457 ng_hci_write_page_scan_rp rp; local
[all...]
H A Dstatus.c44 ng_hci_read_failed_contact_cntr_rp rp; local
62 n = sizeof(rp);
66 (char *) &rp, &n) == ERROR)
69 if (rp.status != 0x00) {
71 hci_status2str(rp.status), rp.status);
75 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
76 fprintf(stdout, "Failed contact counter: %d\n", le16toh(rp.counter));
86 ng_hci_reset_failed_contact_cntr_rp rp; local
104 n = sizeof(rp);
125 ng_hci_get_link_quality_rp rp; local
167 ng_hci_read_rssi_rp rp; local
[all...]
H A Dlink_policy.c43 ng_hci_role_discovery_rp rp; local
62 n = sizeof(rp);
66 (char *) &rp, &n) == ERROR)
69 if (rp.status != 0x00) {
71 hci_status2str(rp.status), rp.status);
75 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
77 (rp.role == NG_HCI_ROLE_MASTER)? "Master" : "Slave", rp.role);
159 ng_hci_read_link_policy_settings_rp rp; local
202 ng_hci_write_link_policy_settings_rp rp; local
[all...]
/freebsd-9.3-release/usr.sbin/lpr/common_source/
H A Drequest.c49 init_request(struct request *rp) argument
53 *rp = zero;
54 TAILQ_INIT(&rp->users);
55 TAILQ_INIT(&rp->jobids);
59 free_request(struct request *rp) argument
64 if (rp->logname)
65 free(rp->logname);
66 if (rp->authname)
67 free(rp->authname);
68 if (rp
[all...]
/freebsd-9.3-release/sys/fs/nfsserver/
H A Dnfs_nfsdcache.c276 #define NETFAMILY(rp) \
277 (((rp)->rc_flag & RC_INETIPV6) ? AF_INET6 : AF_INET)
282 static void nfsrc_lock(struct nfsrvcache *rp);
283 static void nfsrc_unlock(struct nfsrvcache *rp);
284 static void nfsrc_wanted(struct nfsrvcache *rp);
285 static void nfsrc_freecache(struct nfsrvcache *rp);
293 nfsrc_cachemutex(struct nfsrvcache *rp) argument
296 if ((rp->rc_flag & RC_UDP) != 0)
298 return (&nfsrchash_table[nfsrc_hash(rp->rc_xid)].mtx);
370 struct nfsrvcache *rp; local
459 struct nfsrvcache *rp; local
559 nfsrvd_delcache(struct nfsrvcache *rp) argument
579 nfsrvd_sentcache(struct nfsrvcache *rp, int have_seq, uint32_t seq) argument
604 struct nfsrvcache *rp, *nextrp; local
737 nfsrc_lock(struct nfsrvcache *rp) argument
754 nfsrc_unlock(struct nfsrvcache *rp) argument
769 nfsrc_wanted(struct nfsrvcache *rp) argument
782 nfsrc_freecache(struct nfsrvcache *rp) argument
813 struct nfsrvcache *rp, *nextrp; local
841 struct nfsrvcache *rp, *nextrp; local
976 nfsrvd_refcache(struct nfsrvcache *rp) argument
992 nfsrvd_derefcache(struct nfsrvcache *rp) argument
[all...]
/freebsd-9.3-release/sys/modules/rp/
H A DMakefile3 .PATH: ${.CURDIR}/../../dev/rp
5 KMOD= rp
6 SRCS= rp.c rp_pci.c device_if.h bus_if.h pci_if.h opt_compat.h
/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dlrealpath.c85 const char *rp = realpath (filename, buf); local
86 if (rp == NULL)
87 rp = filename;
88 return strdup (rp);
97 char *rp = canonicalize_file_name (filename); local
98 if (rp == NULL)
101 return rp;
119 char *buf, *rp, *ret; local
123 rp = realpath (filename, buf);
124 ret = strdup (rp
[all...]
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dlrealpath.c85 const char *rp = realpath (filename, buf); local
86 if (rp == NULL)
87 rp = filename;
88 return strdup (rp);
97 char *rp = canonicalize_file_name (filename); local
98 if (rp == NULL)
101 return rp;
119 char *buf, *rp, *ret; local
123 rp = realpath (filename, buf);
124 ret = strdup (rp
[all...]
/freebsd-9.3-release/lib/libc/rpc/
H A Dpmap_prot2.c93 xdr_pmaplist(xdrs, rp)
95 struct pmaplist **rp;
107 assert(rp != NULL);
112 more_elements = (bool_t)(*rp != NULL);
123 next = &((*rp)->pml_next);
124 if (! xdr_reference(xdrs, (caddr_t *)rp,
127 rp = (freeing) ? next : &((*rp)->pml_next);
137 xdr_pmaplist_ptr(xdrs, rp)
139 struct pmaplist *rp;
[all...]
/freebsd-9.3-release/usr.bin/talk/
H A Dctl_transact.c53 ctl_transact(struct in_addr target, CTL_MSG lmsg, int type, CTL_RESPONSE *rp) argument
96 cc = recv(ctl_sockt, (char *)rp, sizeof (*rp), 0);
106 } while (nready > 0 && (rp->vers != TALK_VERSION ||
107 rp->type != type));
108 } while (rp->vers != TALK_VERSION || rp->type != type);
109 rp->id_num = ntohl(rp->id_num);
110 rp
[all...]
H A Dlook_up.c56 CTL_RESPONSE *rp = &response; local
68 if (!look_for_invite(rp))
76 if (rp->addr.sa_family != AF_INET)
78 (void)memcpy(&addr, &rp->addr.sa_family, sizeof(addr));
79 addr.sa_family = rp->addr.sa_family;
92 ctl_transact(his_machine_addr, msg, DELETE, rp);
106 look_for_invite(CTL_RESPONSE *rp) argument
109 ctl_transact(his_machine_addr, msg, LOOK_UP, rp);
111 switch (rp->answer) {
114 msg.id_num = htonl(rp
[all...]
/freebsd-9.3-release/lib/libc/ia64/sys/
H A Dexect.S37 br.ret.sptk.few rp
H A Dcerror.S34 mov loc1=rp
38 br.call.sptk.few rp=__error
43 mov rp=loc1
45 br.ret.sptk.few rp
/freebsd-9.3-release/usr.bin/yacc/
H A Dwarshall.c52 unsigned *rp; local
74 rp = rowi;
77 *rowj++ |= *rp++;
102 unsigned *rp; local
111 rp = R;
112 while (rp < relend)
114 *rp |= (1 << i);
118 rp++;
121 rp += rowsize;
/freebsd-9.3-release/sys/net/
H A Draw_cb.c80 struct rawcb *rp = sotorawcb(so); local
89 KASSERT(rp != NULL, ("raw_attach: rp == NULL"));
94 rp->rcb_socket = so;
95 rp->rcb_proto.sp_family = so->so_proto->pr_domain->dom_family;
96 rp->rcb_proto.sp_protocol = proto;
98 LIST_INSERT_HEAD(&V_rawcb_list, rp, list);
107 raw_detach(struct rawcb *rp) argument
109 struct socket *so = rp->rcb_socket;
111 KASSERT(so->so_pcb == rp, ("raw_detac
[all...]
/freebsd-9.3-release/libexec/talkd/
H A Dprint.c77 print_response(const char *cp, CTL_RESPONSE *rp) argument
82 if (rp->type > NTYPES) {
83 (void)snprintf(tbuf, sizeof(tbuf), "type %d", rp->type);
86 tp = types[rp->type];
87 if (rp->answer > NANSWERS) {
88 (void)snprintf(abuf, sizeof(abuf), "answer %d", rp->answer);
91 ap = answers[rp->answer];
92 syslog(LOG_DEBUG, "%s: %s: %s, id %d", cp, tp, ap, ntohl(rp->id_num));
/freebsd-9.3-release/usr.sbin/pkg_install/lib/
H A Dexec.c66 char *cmd, *rp; local
70 rp = malloc(MAXPATHLEN);
71 if (!rp) {
97 get_string(rp, MAXPATHLEN, fp);
99 fprintf(stderr, "Returned %s\n", rp);
102 if (pclose(fp) || (strlen(rp) == 0)) {
103 free(rp);
106 return rp;
/freebsd-9.3-release/sys/rpc/
H A Drpcb_prot.c113 xdr_rpcblist_ptr(XDR *xdrs, rpcblist_ptr *rp) argument
127 more_elements = (bool_t)(*rp != NULL);
139 if (freeing && *rp)
140 next = (*rp)->rpcb_next;
141 if (! xdr_reference(xdrs, (caddr_t *)rp,
147 rp = &next_copy;
153 } else if (*rp) {
154 rp = &((*rp)->rpcb_next);
166 xdr_rpcblist(XDR *xdrs, RPCBLIST **rp)
197 xdr_rpcb_entry_list_ptr(XDR *xdrs, rpcb_entry_list_ptr *rp) argument
[all...]
/freebsd-9.3-release/contrib/traceroute/
H A Dfindsaddr-socket.c108 register struct rt_msghdr *rp; local
126 rp = &rtmsg.rtmsg;
127 rp->rtm_seq = ++seq;
128 cp = (u_char *)(rp + 1);
134 size = cp - (u_char *)rp;
135 rp->rtm_msglen = size;
137 cc = write(s, (char *)rp, size);
151 memset(rp, 0, size);
152 cc = read(s, (char *)rp, size);
159 } while (rp
[all...]
/freebsd-9.3-release/sys/contrib/altq/altq/
H A Daltq_red.c230 red_t *rp; local
234 rp = malloc(sizeof(red_t), M_DEVBUF, M_WAITOK);
235 if (rp == NULL)
237 bzero(rp, sizeof(red_t));
239 rp->red_avg = 0;
240 rp->red_idle = 1;
243 rp->red_weight = W_WEIGHT;
245 rp->red_weight = weight;
247 rp->red_inv_pmax = default_inv_pmax;
249 rp
313 red_destroy(red_t *rp) argument
326 red_getstats(red_t *rp, struct redstats *sp) argument
337 red_addq(red_t *rp, class_queue_t *q, struct mbuf *m, struct altq_pktattr *pktattr) argument
872 red_t *rp; local
969 struct redparams *rp; local
[all...]
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-sunrpc.c90 register const struct sunrpc_msg *rp; local
98 rp = (struct sunrpc_msg *)bp;
102 EXTRACT_32BITS(&rp->rm_xid));
106 EXTRACT_32BITS(&rp->rm_xid));
131 EXTRACT_32BITS(&rp->rm_call.cb_proc)));
132 x = EXTRACT_32BITS(&rp->rm_call.cb_rpcvers);
136 switch (EXTRACT_32BITS(&rp->rm_call.cb_proc)) {
142 x = EXTRACT_32BITS(&rp->rm_call.cb_prog);
147 printf(".%u", EXTRACT_32BITS(&rp->rm_call.cb_vers));
157 register struct rpcent *rp; local
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/sparc/dtrace/
H A Dfasttrap_isa.c200 fasttrap_anarg(struct regs *rp, int argno) argument
205 return ((&rp->r_o0)[argno]);
208 struct frame *fr = (struct frame *)(rp->r_sp + STACK_BIAS);
215 struct frame32 *fr = (struct frame32 *)rp->r_sp;
230 fasttrap_usdt_args(fasttrap_probe_t *probe, struct regs *rp, argument
239 * avoid a call to fasttrap_getreg(), and safely use rp->r_sp
247 struct frame *fr = (struct frame *)(rp->r_sp + STACK_BIAS);
254 argv[i] = fasttrap_getreg(rp, R_O0 + x + inc);
260 struct frame32 *fr = (struct frame32 *)rp->r_sp;
267 argv[i] = fasttrap_getreg(rp, R_O
279 fasttrap_return_common(struct regs *rp, uintptr_t pc, pid_t pid, uint_t fake_restore) argument
414 fasttrap_pid_probe(struct regs *rp) argument
1016 fasttrap_return_probe(struct regs *rp) argument
1386 fasttrap_getreg(struct regs *rp, uint_t reg) argument
1486 fasttrap_putreg(struct regs *rp, uint_t reg, ulong_t value) argument
[all...]

Completed in 219 milliseconds

1234567891011>>