Home
last modified time | relevance | path

Searched refs:rr (Results 1 – 25 of 72) sorted by relevance

123

/illumos-gate/usr/src/lib/libnisdb/
H A Dnisdb_rw.c93 for (rr = &rw->reader; rr != 0; rr = rr->next) { in find_reader()
95 rr = 0; in find_reader()
102 return (rr); in find_reader()
316 for (rr = &rw->reader; rr != 0; rr = rr->next) { in increment_reader()
317 if (rr->id == id || rr->id == INV_PTHREAD_ID) in increment_reader()
337 rr->count++; in increment_reader()
498 for (rr = &rw->reader, prev = 0; rr != 0; prev = rr, rr = rr->next) { in __nisdb_rulock()
503 if (rr == 0 || rr->count == 0) { in __nisdb_rulock()
516 free(rr); in __nisdb_rulock()
523 rr = rr->next; in __nisdb_rulock()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Drmcadm.c383 rr.req.msg_buf = kmem_alloc(rr.req.msg_len, KM_SLEEP); in rmcadm_ioctl()
388 kmem_free(rr.req.msg_buf, rr.req.msg_len); in rmcadm_ioctl()
393 if (rr.req.msg_len > 0) in rmcadm_ioctl()
405 rr.resp.msg_buf = kmem_alloc(rr.resp.msg_len, KM_SLEEP); in rmcadm_ioctl()
485 if (rr.req.msg_buf) in rmcadm_ioctl()
486 kmem_free(rr.req.msg_buf, rr.req.msg_len); in rmcadm_ioctl()
487 if (rr.resp.msg_buf) in rmcadm_ioctl()
488 kmem_free(rr.resp.msg_buf, rr.resp.msg_len); in rmcadm_ioctl()
513 rr32.status = rr.status; in rmcadm_ioctl()
522 sizeof (rr), mode)) in rmcadm_ioctl()
[all …]
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DmDNS.c196 for (rr = m->ResourceRecords; rr; rr=rr->next) in mDNS_ValidateLists()
208 for (rr = m->DuplicateRecords; rr; rr=rr->next) in mDNS_ValidateLists()
2273 for (rr = m->ResourceRecords; rr; rr=rr->next) in SendDelayedUnicastResponse()
2716 for (rr = m->ResourceRecords; rr; rr=rr->next) in SendResponses()
2737 for (rr = m->ResourceRecords; rr; rr=rr->next) in SendResponses()
2808 for (rr = m->ResourceRecords; rr; rr=rr->next) in SendResponses()
2820 for (rr = m->ResourceRecords; rr; rr=rr->next) in SendResponses()
2848 for (rr = m->ResourceRecords; rr; rr=rr->next) in SendResponses()
2880 for (rr = m->ResourceRecords; rr; rr=rr->next) in SendResponses()
5785 for (rr = ag->members; rr; rr=rr->next) in QuestionHasLocalAnswers()
[all …]
H A DuDNS.c3045 for (rr = m->ResourceRecords; rr; rr = rr->next) in RRMergeFailure()
3148 for (rr = m->ResourceRecords; rr; rr = rr->next) in MarkRRForSending()
3175 for (rr = m->ResourceRecords; rr; rr = rr->next) in MarkRRForSending()
3225 for (rr = startRR; rr; rr = rr->next) in SendGroupUpdates()
3501 if (rr->UpdateCallback) rr->UpdateCallback(m, rr, rr->OrigRData, rr->OrigRDLen); in hndlRecordUpdateReply()
4298 rr->UpdateCallback(m, rr, rr->QueuedRData, rr->QueuedRDLen); in uDNS_DeregisterRecord()
4373 if (rr->UpdateCallback) rr->UpdateCallback(m, rr, rr->resrec.rdata, rr->resrec.rdlength); in uDNS_UpdateRecord()
4908 for (rr = m->ResourceRecords; rr; rr = rr->next) in CheckRecordUpdates()
5020 for (rr = m->ResourceRecords; rr; rr=rr->next) in SleepRecordRegistrations()
5041 if (rr->UpdateCallback) rr->UpdateCallback(m, rr, rr->OrigRData, rr->OrigRDLen); in SleepRecordRegistrations()
[all …]
H A DDNSCommon.c1195 rr->resrec.name = &rr->namestorage; in mDNS_SetupResourceRecord()
1212 rr->resrec.rdata = &rr->rdatastorage; in mDNS_SetupResourceRecord()
1246 rr->zone = rr->resrec.name; in mDNS_SetupResourceRecord()
1255 mDNSPlatformMemZero(&rr->NATinfo, sizeof(rr->NATinfo)); in mDNS_SetupResourceRecord()
2219 DM_NAME_PARAM(rr->name), DNSTypeName(rr->rrtype)); in PutResourceRecordTTLWithLimit()
2450 rr->rdlength = GetRDLength(rr, mDNSfalse); in SetNewRData()
2451 rr->rdestimate = GetRDLength(rr, mDNStrue); in SetNewRData()
3142 rr->rrtype, DNSTypeName(rr->rrtype)); in SetRData()
3212 rr->resrec.rdata = (RData*)&rr->smallrdatastorage; in GetLargeResourceRecord()
3746 for (rr = m->NewLocalRecords; rr; rr = rr->next) in AnyLocalRecordReady()
[all …]
H A DDNSCommon.h178 #define UNICAST_NSEC(rr) ((rr)->rrtype == kDNSType_NSEC && RRAssertsExistence((rr), kDNSType_NSEC)) argument
180 extern mDNSu32 RDataHashValue(const ResourceRecord *const rr);
188 extern mDNSBool LocalOnlyRecordAnswersQuestion(AuthRecord *const rr, const DNSQuestion *const q);
189 extern mDNSu16 GetRDLength(const ResourceRecord *const rr, mDNSBool estimate);
219 #define PutResourceRecordTTL(msg, ptr, count, rr, ttl) \ argument
222 #define PutResourceRecordTTLJumbo(msg, ptr, count, rr, ttl) \ argument
229 #define PutRR_OS_TTL(ptr, count, rr, ttl) \ argument
237 extern mDNSu8 *putDeletionRecord(DNSMessage *msg, mDNSu8 *ptr, ResourceRecord *rr);
255 extern void SetNewRData(ResourceRecord *const rr, RData *NewRData, mDNSu16 rdlength);
276 extern mDNSBool RRAssertsNonexistence(const ResourceRecord *const rr, mDNSu16 type);
[all …]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsm_resolve.c137 RESOURCE_RECORD_T *rr; local
141 for (rr = r->dns_r_head; rr != NULL; )
149 rr = rr->rr_next;
178 RESOURCE_RECORD_T **rr; local
208 rr = &r->dns_r_head;
240 *rr = (RESOURCE_RECORD_T *) sm_malloc(sizeof(**rr));
241 if (*rr == NULL)
246 memset(*rr, 0, sizeof(**rr));
255 (*rr)->rr_ttl = ttl;
365 rr = &(*rr)->rr_next;
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_parse.c173 rr->ttl = 0; in ns_parserr()
174 rr->rdlength = 0; in ns_parserr()
175 rr->rdata = NULL; in ns_parserr()
183 rr->rdata = handle->_msg_ptr; in ns_parserr()
184 handle->_msg_ptr += rr->rdlength; in ns_parserr()
226 rr->nname, NS_MAXNNAME, &rr->nnamel); in ns_parserr2()
235 rr->ttl = 0; in ns_parserr2()
236 rr->rdlength = 0; in ns_parserr2()
237 rr->rdata = NULL; in ns_parserr2()
245 rr->rdata = handle->_msg_ptr; in ns_parserr2()
[all …]
H A Dns_newmsg.c69 ns_rr2 rr; in ns_newmsg_copy() local
72 if (ns_parserr2(msg, sect, i, &rr) < 0) in ns_newmsg_copy()
76 ns_rr_nname(rr), in ns_newmsg_copy()
77 ns_rr_type(rr), in ns_newmsg_copy()
78 ns_rr_class(rr)); in ns_newmsg_copy()
81 ns_rr_nname(rr), in ns_newmsg_copy()
82 ns_rr_type(rr), in ns_newmsg_copy()
83 ns_rr_class(rr), in ns_newmsg_copy()
84 ns_rr_ttl(rr), in ns_newmsg_copy()
85 ns_rr_rdlen(rr), in ns_newmsg_copy()
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Drune.c59 _RuneEntry *rr; in _Read_RuneMagi() local
190 rr[x].__min = frr[x].min; in _Read_RuneMagi()
191 rr[x].__max = frr[x].max; in _Read_RuneMagi()
192 rr[x].__map = frr[x].map; in _Read_RuneMagi()
193 if (rr[x].__map == 0) { in _Read_RuneMagi()
194 int len = rr[x].__max - rr[x].__min + 1; in _Read_RuneMagi()
202 rr[x].__types = NULL; in _Read_RuneMagi()
208 rr[x].__min = frr[x].min; in _Read_RuneMagi()
209 rr[x].__max = frr[x].max; in _Read_RuneMagi()
210 rr[x].__map = frr[x].map; in _Read_RuneMagi()
[all …]
H A Dnextwctype.c46 const _RuneRange *rr; in nextwctype_l() local
51 rr = &rl->__runetype_ext; in nextwctype_l()
63 if (rr->__ranges != NULL && wc < rr->__ranges[0].__min) { in nextwctype_l()
64 wc = rr->__ranges[0].__min; in nextwctype_l()
69 base = rr->__ranges; in nextwctype_l()
70 for (lim = rr->__nranges; lim != 0; lim >>= 1) { in nextwctype_l()
91 while (++re < rr->__ranges + rr->__nranges) { in nextwctype_l()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_iso9660.c218 if (rr_ptr.rr->version != 1) in iso9660_dir()
225 rr_ptr.rr->signature & 0xFF, in iso9660_dir()
226 rr_ptr.rr->signature >> 8); in iso9660_dir()
231 switch (rr_ptr.rr->signature) in iso9660_dir()
235 rr_flag &= rr_ptr.rr->u.rr.flags.l; in iso9660_dir()
238 name = rr_ptr.rr->u.nm.name; in iso9660_dir()
256 ce_ptr = rr_ptr.rr; in iso9660_dir()
266 slen = rr_ptr.rr->len - (4+1); in iso9660_dir()
267 slp = &rr_ptr.rr->u.sl.link; in iso9660_dir()
330 rr_len -= rr_ptr.rr->len; in iso9660_dir()
[all …]
H A Dmoddiv.c76 DWunion rr; in __udivmoddi4() local
112 rr.s.low = n0; in __udivmoddi4()
113 rr.s.high = 0; in __udivmoddi4()
114 *rp = rr.ll; in __udivmoddi4()
131 rr.s.low = n0; in __udivmoddi4()
132 rr.s.high = n1; in __udivmoddi4()
133 *rp = rr.ll; in __udivmoddi4()
163 rr.s.low = n0; in __udivmoddi4()
164 rr.s.high = n1; in __udivmoddi4()
165 *rp = rr.ll; in __udivmoddi4()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dlgamma.c213 struct Double rr; in small_lgam() local
234 rr = __log__D(z); in small_lgam()
235 rr.b += a0_lo; rr.a += a0_hi; in small_lgam()
236 return(((r+rr.b)+t+rr.a)); in small_lgam()
240 rr.a -= a0_hi; rr.b -= a0_lo; in small_lgam()
241 return(((r - rr.b) + t) - rr.a); in small_lgam()
259 rr = __log__D(z); in small_lgam()
261 return(rr.a + r); in small_lgam()
265 r += q; r-= rr.a; in small_lgam()
268 r -= rr.b; in small_lgam()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_findzonecut.c319 ns_rr rr; in get_soa() local
330 ns_rr_class(rr) != class) in get_soa()
332 t = ns_rr_name(rr); in get_soa()
366 rdata = ns_rr_rdata(rr); in get_soa()
523 ns_rr rr; in save_ns() local
531 ns_rr_class(rr) != class || in save_ns()
541 rdata = ns_rr_rdata(rr); in save_ns()
579 ns_rr rr; in save_a() local
589 ns_rr_class(rr) != class || in save_a()
604 switch (ns_rr_type(rr)) { in save_a()
[all …]
/illumos-gate/usr/src/lib/librsc/sparc/mpxu/common/
H A Dlibrsc.c202 rmcadm_request_response_t rr; in rscp_send_recv() local
203 rmcadm_msg_t *rr_req = &rr.req; in rscp_send_recv()
204 rmcadm_msg_t *rr_resp = &rr.resp; in rscp_send_recv()
246 rr.wait_time = RR_TIMEOUT; in rscp_send_recv()
251 rr.status = 0; in rscp_send_recv()
561 rmcadm_request_response_t rr; in rscp_send() local
562 rmcadm_msg_t *req = &rr.req; in rscp_send()
563 rmcadm_msg_t *resp = &rr.resp; in rscp_send()
614 rr.wait_time = rr_item->timeout; in rscp_send()
619 rr.status = 0; in rscp_send()
[all …]
/illumos-gate/usr/src/head/arpa/
H A Dnameser.h195 #define ns_rr_name(rr) (((rr).name[0] != '\0') ? (rr).name : ".") argument
196 #define ns_rr_nname(rr) ((const ns_nname_t)(rr).nname) argument
197 #define ns_rr_nnamel(rr) ((rr).nnamel + 0) argument
198 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) argument
199 #define ns_rr_class(rr) ((ns_class)((rr).rr_class + 0)) argument
200 #define ns_rr_ttl(rr) ((rr).ttl + 0) argument
201 #define ns_rr_rdlen(rr) ((rr).rdlength + 0) argument
202 #define ns_rr_rdata(rr) ((rr).rdata + 0) argument
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dhesiod.c345 } rr; in get_txt_records() local
408 rr.type = ns_get16(cp); in get_txt_records()
410 rr.class = ns_get16(cp); in get_txt_records()
412 rr.dlen = ns_get16(cp); in get_txt_records()
414 if (cp + rr.dlen > eom) { in get_txt_records()
418 rr.data = cp; in get_txt_records()
419 cp += rr.dlen; in get_txt_records()
420 if (rr.class != class || rr.type != T_TXT) in get_txt_records()
425 edst = dst + rr.dlen; in get_txt_records()
426 erdata = rr.data + rr.dlen; in get_txt_records()
[all …]
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy3.c132 int *q, *rr; local
151 rr = amem;
154 exp_act(&rr);
155 qq = rr;
158 diff = qq - rr;
160 exp_act(&rr);
161 qq = diff + rr;
174 qq = rr;
177 diff = qq - rr;
179 exp_act(&rr);
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dtgammal.c910 rr.l = r1 * (yy.h - rr.h * xh) - ((r1 * rr.h) * (x - xh) - in gam_n()
914 rr.h = yy.h; in gam_n()
915 rr.l = yy.l; in gam_n()
920 rr.h = zh * yy.h; in gam_n()
931 rr.h = xh * yy.h; in gam_n()
947 rr.h = xh * wh; in gam_n()
962 rr.h = xh * yy.h; in gam_n()
983 rr.h = wh * xh; in gam_n()
984 rr.l = z * wl + xl * wh; in gam_n()
1003 rr.h = wh * xh; in gam_n()
[all …]
H A Dtgammaf.c402 double rr = 0.0L, yy; in gam_n() local
417 rr = yy / x; in gam_n()
420 rr = yy; in gam_n()
423 rr = (x + one) * yy; in gam_n()
426 rr = (x + one) * (x + two) * yy; in gam_n()
430 rr = (x + one) * (x + two) * ((x + 3.0) * yy); in gam_n()
435 rr = z1 * z2; in gam_n()
440 rr = z1 * (z1 - two) * z2; in gam_n()
445 rr = z1 * (z1 - two) * z2; in gam_n()
448 return (rr); in gam_n()
H A Dtgamma.c1436 rr.l = r1 * (yy.h - rr.h * xh) - in gam_n()
1440 rr.h = yy.h; in gam_n()
1441 rr.l = yy.l; in gam_n()
1446 rr.h = zh * yy.h; in gam_n()
1456 rr.h = xh * yy.h; in gam_n()
1470 rr.h = xh * yy.h; in gam_n()
1484 rr.h = xh * yy.h; in gam_n()
1505 rr.h = wh * xh; in gam_n()
1506 rr.l = z * wl + xl * wh; in gam_n()
1525 rr.h = wh * xh; in gam_n()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dlistdev.c82 char **rr; in sortlist() local
102 rr = --pp; in sortlist()
103 while (*qq && (strcmp(*rr, *qq) > 0)) { in sortlist()
104 t = *rr; in sortlist()
105 *rr++ = *qq; in sortlist()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/refreserv/
H A Drefreserv_002_pos.ksh69 typeset -i rr=$(get_prop available $ds)
71 log_must zfs set refreserv=$rr $ds
73 zfs set refreserv=$((rr + incsize)) $ds >/dev/null 2>&1
75 ((rr += incsize))
/illumos-gate/usr/src/cmd/oawk/
H A Dlib.c80 wchar_t *rr, *er; in getrec() local
120 for (rr = record; /* dummy */; /* dummy */) { in getrec()
121 for (; (c = getwc(inf)) != sep && c != EOF && rr < er; in getrec()
122 *rr++ = c) in getrec()
124 if (rr >= er) in getrec()
132 *rr++ = '\n'; in getrec()
133 *rr++ = c; in getrec()
135 if (rr >= er) in getrec()
137 *rr = 0; in getrec()
140 if (c != EOF || rr > record) { /* normal record */ in getrec()

123