Searched refs:rp (Results 1 - 25 of 277) sorted by last modified time

1234567891011>>

/freebsd-head/sys/dev/xen/blkfront/
H A Dblkfront.c489 RING_IDX i, rp; local
500 rp = sc->xbd_ring.sring->rsp_prod;
501 rmb(); /* Ensure we see queued responses up to 'rp'. */
503 for (i = sc->xbd_ring.rsp_cons; i != rp;) {
/freebsd-head/usr.sbin/bluetooth/hccontrol/
H A Dle.c84 ng_hci_le_set_scan_parameters_rp rp; local
120 n = sizeof(rp);
124 (void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR)
127 if (rp.status != 0x00) {
129 hci_status2str(rp.status), rp.status);
140 ng_hci_le_set_scan_enable_rp rp; local
151 n = sizeof(rp);
157 (void *)&rp, &n) == ERROR)
160 if (rp
232 ng_hci_le_set_scan_response_data_rp rp; local
261 ng_hci_le_read_local_supported_features_rp rp; local
298 ng_hci_le_read_supported_states_rp rp; local
322 ng_hci_le_set_event_mask_rp rp; local
349 ng_hci_set_event_mask_rp rp; local
406 ng_hci_le_set_advertise_enable_rp rp; local
438 ng_hci_le_set_advertising_parameters_rp rp; local
514 ng_hci_le_read_advertising_channel_tx_power_rp rp; local
540 ng_hci_le_set_advertising_data_rp rp; local
572 } rp; local
774 ng_hci_le_read_white_list_size_rp rp; local
799 ng_hci_le_clear_white_list_rp rp; local
824 ng_hci_le_add_device_to_white_list_rp rp; local
883 ng_hci_le_remove_device_from_white_list_rp rp; local
942 ng_hci_status_rp rp; local
[all...]
H A Dhost_controller_baseband.c95 ng_hci_status_rp rp; local
98 n = sizeof(rp);
100 NG_HCI_OCF_RESET), (char *) &rp, &n) == ERROR)
103 if (rp.status != 0x00) {
105 hci_status2str(rp.status), rp.status);
116 ng_hci_read_pin_type_rp rp; local
119 n = sizeof(rp);
122 (char *) &rp, &n) == ERROR)
125 if (rp
142 ng_hci_write_pin_type_rp rp; local
243 ng_hci_read_stored_link_key_rp *rp = NULL; local
301 ng_hci_write_stored_link_key_rp rp; local
354 ng_hci_delete_stored_link_key_rp rp; local
401 ng_hci_change_local_name_rp rp; local
435 ng_hci_read_local_name_rp rp; local
459 ng_hci_read_con_accept_timo_rp rp; local
486 ng_hci_write_con_accept_timo_rp rp; local
524 ng_hci_read_page_timo_rp rp; local
551 ng_hci_write_page_timo_rp rp; local
589 ng_hci_read_scan_enable_rp rp; local
615 ng_hci_write_scan_enable_rp rp; local
651 ng_hci_read_page_scan_activity_rp rp; local
682 ng_hci_write_page_scan_activity_rp rp; local
732 ng_hci_read_inquiry_scan_activity_rp rp; local
763 ng_hci_write_inquiry_scan_activity_rp rp; local
814 ng_hci_read_auth_enable_rp rp; local
840 ng_hci_write_auth_enable_rp rp; local
877 ng_hci_read_encryption_mode_rp rp; local
903 ng_hci_write_encryption_mode_rp rp; local
940 ng_hci_read_unit_class_rp rp; local
966 ng_hci_write_unit_class_rp rp; local
1005 ng_hci_read_voice_settings_rp rp; local
1047 ng_hci_write_voice_settings_rp rp; local
1085 ng_hci_read_num_broadcast_retrans_rp rp; local
1111 ng_hci_write_num_broadcast_retrans_rp rp; local
1148 ng_hci_read_hold_mode_activity_rp rp; local
1181 ng_hci_write_hold_mode_activity_rp rp; local
1218 ng_hci_read_sco_flow_control_rp rp; local
1244 ng_hci_write_sco_flow_control_rp rp; local
1282 ng_hci_read_link_supervision_timo_rp rp; local
1327 ng_hci_write_link_supervision_timo_rp rp; local
1372 ng_hci_read_page_scan_period_rp rp; local
1398 ng_hci_write_page_scan_period_rp rp; local
1435 ng_hci_read_page_scan_rp rp; local
1460 ng_hci_write_page_scan_rp rp; local
1496 ng_hci_read_le_host_supported_rp rp; local
1520 ng_hci_write_le_host_supported_rp rp; local
[all...]
H A Dinfo.c45 ng_hci_read_local_ver_rp rp; local
48 n = sizeof(rp);
50 NG_HCI_OCF_READ_LOCAL_VER), (char *) &rp, &n) == ERROR)
53 if (rp.status != 0x00) {
55 hci_status2str(rp.status), rp.status);
59 rp.manufacturer = le16toh(rp.manufacturer);
62 hci_ver2str(rp.hci_version), rp
79 ng_hci_read_local_commands_rp rp; local
111 ng_hci_read_local_features_rp rp; local
140 ng_hci_read_buffer_size_rp rp; local
171 ng_hci_read_country_code_rp rp; local
196 ng_hci_read_bdaddr_rp rp; local
[all...]
/freebsd-head/sys/contrib/zstd/lib/dictBuilder/
H A Dcover.c237 * Returns -1 if the dmer at lp is less than the dmer at rp.
238 * Return 0 if the dmers at lp and rp are equal.
239 * Returns 1 if the dmer at lp is greater than the dmer at rp.
241 static int COVER_cmp(COVER_ctx_t *ctx, const void *lp, const void *rp) { argument
243 U32 const rhs = *(U32 const *)rp;
249 static int COVER_cmp8(COVER_ctx_t *ctx, const void *lp, const void *rp) { argument
252 U64 const rhs = MEM_readLE64(ctx->samples + *(U32 const *)rp) & mask;
264 static int COVER_strict_cmp(const void *lp, const void *rp) { argument
265 int result = COVER_cmp(g_ctx, lp, rp);
267 result = lp < rp
274 COVER_strict_cmp8(const void *lp, const void *rp) argument
[all...]
/freebsd-head/sys/net/
H A Drtsock.c249 struct rawcb *rp)
255 KASSERT(rp != NULL, ("%s: rp is NULL", __func__));
264 rp->rcb_socket == NULL ||
265 rp->rcb_socket->so_fibnum == fibnum)
314 struct rawcb *rp; local
320 rp = malloc(sizeof *rp, M_PCB, M_WAITOK | M_ZERO);
322 so->so_pcb = (caddr_t)rp;
325 rp
248 raw_input_rts_cb(struct mbuf *m, struct sockproto *proto, struct sockaddr *src, struct rawcb *rp) argument
367 struct rawcb *rp = sotorawcb(so); local
1022 struct rawcb *rp = NULL; local
[all...]
/freebsd-head/sys/net80211/
H A Dieee80211_freebsd.c626 struct ieee80211_toa_params *rp; local
633 rp = (struct ieee80211_toa_params *)(mtag + 1);
634 memcpy(rp, p, sizeof(*rp));
643 struct ieee80211_toa_params *rp; local
649 rp = (struct ieee80211_toa_params *)(mtag + 1);
651 memcpy(p, rp, sizeof(*p));
/freebsd-head/contrib/unbound/respip/
H A Drespip.c701 struct ub_packed_rrset_key* rp = data; local
727 rp = copy_rrset(&r, region);
728 if(!rp)
732 if(!rp)
739 if(rp == data) {
740 rp = copy_rrset(rp, region);
741 if(!rp)
743 rp->rk.dname = rep->rrsets[rrset_id]->rk.dname;
744 rp
[all...]
/freebsd-head/contrib/bmake/
H A Dmeta.c243 char *rp; local
258 if ((rp = strrchr(buf, '/'))) {
259 rp++;
261 if (strcmp(cp, rp) != 0)
262 strlcpy(rp, cp, sizeof(buf) - (rp - buf));
H A Dvar.c1692 char *rp; local
1721 for (rp = pat->replace; *rp; rp++) {
1722 if ((*rp == '\\') && ((rp[1] == '&') || (rp[1] == '\\'))) {
1724 Buf_AddByte(buf,rp[1]);
1725 rp++;
1727 else if ((*rp
1950 char *rp; local
[all...]
/freebsd-head/sys/fs/nfs/
H A Dnfs_commonsubs.c3527 struct nfssockreq *rp; local
3551 rp = &nfsrv_nfsuserdsock;
3552 rp->nr_client = NULL;
3554 rp->nr_sotype = SOCK_DGRAM;
3555 rp->nr_soproto = IPPROTO_UDP;
3556 rp->nr_lock = (NFSR_RESERVEDPORT | NFSR_LOCALHOST);
3557 rp->nr_cred = NULL;
3558 rp->nr_prog = RPCPROG_NFSUSERD;
3563 rp->nr_nam = malloc(sizeof(struct sockaddr_in), M_SONAME,
3565 ad = (struct sockaddr_in *)rp
[all...]
/freebsd-head/usr.sbin/acpi/acpidump/
H A Dacpi.c85 static void acpi_print_rsd_ptr(ACPI_TABLE_RSDP *rp);
1721 acpi_print_rsd_ptr(ACPI_TABLE_RSDP *rp) argument
1725 acpi_print_string(rp->OemId, ACPI_OEM_ID_SIZE);
1726 printf(", ACPI_Rev=%s (%d)\n", rp->Revision < 2 ? "1.0x" : "2.0x",
1727 rp->Revision);
1728 if (rp->Revision < 2) {
1729 printf("\tRSDT=0x%08x, cksum=%u\n", rp->RsdtPhysicalAddress,
1730 rp->Checksum);
1733 (uintmax_t)rp->XsdtPhysicalAddress, rp
1802 ACPI_TABLE_RSDP *rp; local
[all...]
/freebsd-head/sys/cam/scsi/
H A Dscsi_xpt.c857 void *rp; local
859 rp = malloc(periph->path->target->rpl_size,
861 if (rp == NULL) {
874 RPL_REPORT_DEFAULT, rp, periph->path->target->rpl_size,
/freebsd-head/sys/fs/nfsclient/
H A Dnfs_clstate.c5233 struct nfsclrecalllayout *rp, *nrp; local
5243 LIST_FOREACH_SAFE(rp, &layp->nfsly_recall, nfsrecly_list, nrp) {
5244 LIST_REMOVE(rp, nfsrecly_list);
5245 free(rp, M_NFSLAYRECALL);
5293 struct nfsclrecalllayout *rp, *orp; local
5312 LIST_FOREACH(rp, &lyp->nfsly_recall, nfsrecly_list) {
5313 orp = rp;
5315 (rp->nfsrecly_recalltype != NFSLAYOUTRETURN_FILE ||
5316 nfscl_seq(stateseqid, rp->nfsrecly_stateseqid) != 0)) ||
5318 rp
5377 struct nfsclrecalllayout *rp; local
[all...]
/freebsd-head/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
995 nfsrvd_derefcache(struct nfsrvcache *rp) argument
[all...]
/freebsd-head/share/man/man4/
H A DMakefile445 rp.4 \
/freebsd-head/sys/kern/
H A Dkern_procctl.c201 reap_getpids(struct thread *td, struct proc *p, struct procctl_reaper_pids *rp) argument
216 if (rp->rp_count < n)
217 n = rp->rp_count;
235 error = copyout(pi, rp->rp_pids, i * sizeof(*pi));
587 struct procctl_reaper_pids rp; member in union:__anon1
618 error = copyin(uap->data, &x.rp, sizeof(x.rp));
621 data = &x.rp;
H A Dsubr_physmem.c257 struct region *ep, *rp; local
260 for (i = 0, rp = regions; i < rcnt; ++i, ++rp) {
261 if (rp->addr == addr && rp->size == size) /* Pure dup. */
263 if (flags == rp->flags) {
264 if (addr + size == rp->addr) {
265 rp->addr = addr;
266 rp->size += size;
268 } else if (rp
[all...]
/freebsd-head/libexec/tftpd/
H A Dtftp-transfer.c64 struct tftphdr *rp; local
72 rp = (struct tftphdr *)recvbuffer;
146 if (rp->th_opcode == ACK) {
152 if (rp->th_block == window[i].block)
161 rp->th_block);
250 struct tftphdr *rp; local
288 rp = (struct tftphdr *)recvbuffer;
337 if (rp->th_opcode == DATA) {
340 if (rp->th_block == *block)
356 if (rp
[all...]
/freebsd-head/sbin/nvmecontrol/
H A Didentify.c67 uint32_t lbaf, lbads, ms, rp; local
179 rp = (lbaf >> NVME_NS_DATA_LBAF_RP_SHIFT) &
183 i, 1 << lbads, ms, (rp == 0) ? "Best" :
184 (rp == 1) ? "Better" : (rp == 2) ? "Good" : "Degraded");
/freebsd-head/sys/netgraph/bluetooth/hci/
H A Dng_hci_cmds.c500 ng_hci_role_discovery_rp *rp = NULL; local
504 NG_HCI_M_PULLUP(mrp, sizeof(*rp));
506 rp = mtod(mrp, ng_hci_role_discovery_rp *);
508 h = NG_HCI_CON_HANDLE(le16toh(rp->con_handle));
521 con->role = rp->role;
692 ng_hci_read_buffer_size_rp *rp = NULL; local
698 NG_HCI_M_PULLUP(mrp, sizeof(*rp));
700 rp = mtod(mrp, ng_hci_read_buffer_size_rp *);
704 le16toh(rp->num_acl_pkt), /* number */
705 le16toh(rp
[all...]
/freebsd-head/sys/compat/freebsd32/
H A Dfreebsd32_misc.c3378 struct procctl_reaper_pids rp; member in union:__anon26
3382 struct procctl_reaper_pids32 rp; member in union:__anon27
3412 error = copyin(uap->data, &x32.rp, sizeof(x32.rp));
3415 CP(x32.rp, x.rp, rp_count);
3416 PTRIN_CP(x32.rp, x.rp, rp_pids);
3417 data = &x.rp;
/freebsd-head/sys/dev/rp/
H A Drp.c40 * rp.c - for RocketPort FreeBSD
58 #include <dev/rp/rpreg.h>
59 #include <dev/rp/rpvar.h>
573 static void rp_do_receive(struct rp_port *rp, struct tty *tp, argument
610 rp->rp_overflows++;
636 static void rp_handle_port(struct rp_port *rp) argument
642 if(!rp)
645 cp = &rp->rp_channel;
646 tp = rp->rp_tty;
648 IntMask = IntMask & rp
670 struct rp_port *rp; local
709 struct rp_port *rp = softc; local
723 struct rp_port *rp; local
782 struct rp_port *rp; local
807 struct rp_port *rp; local
860 struct rp_port *rp; local
871 struct rp_port *rp; local
902 struct rp_port *rp; local
920 struct rp_port *rp; local
989 struct rp_port *rp; local
1088 struct rp_port *rp; local
[all...]
/freebsd-head/sys/dev/xen/console/
H A Dxen_console.c114 unsigned int rc, rp; /* Consumer/producer rbuf */ member in struct:xencons_priv
425 cons->rbuf[RBUF_MASK(cons->rp++)] = buf[i];
496 if (cons->rp != cons->rc) {
/freebsd-head/lib/libc/rpc/
H A Dgetrpcent.c223 char **rp; local
308 for (rp = rpc->r_aliases; *rp != NULL; rp++) {
309 if (strcmp(*rp, name) == 0)
396 char **rp; local
555 for (rp = rpc->r_aliases; *rp != NULL; rp++) {
556 if (strcmp(*rp, nam
[all...]

Completed in 203 milliseconds

1234567891011>>